Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion TMDXEVM8148 LCD virtual buttons
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Vishveshwar  
View profile  
 More options Apr 26 2012, 6:50 am
From: Vishveshwar <vishveshwarb...@aim.com>
Date: Thu, 26 Apr 2012 03:50:37 -0700 (PDT)
Local: Thurs, Apr 26 2012 6:50 am
Subject: Re: TMDXEVM8148 LCD virtual buttons
Vladimir,

I have posted a patch to rowboat groups based on your input. Please
have a look.
http://groups.google.com/group/rowboat/browse_thread/thread/ffd218c13...

Thanks again for the solution.

-Vishveshwar

On Apr 20, 1:23 pm, Vishveshwar <vishveshwarb...@aim.com> wrote:

> That works great on AM335xevm.

> Thanks.

> -Vishveshwar

> On Apr 20, 7:38 am, Vladimir Barinov <batare...@gmail.com> wrote:

> > Hi Vishveshwar,

> > Vladimir Barinov wrote:
> > > Vishveshwar wrote:
> > >> Vladimir,

> > >> Thanks for the tip. Will this conflict with the auto-rotation feature?

> > > yes, it's a fixup for solid orientation (landscape). If you need a
> > > rotation then just report to system the inversed orientations in the
> > > prev patch. Smth like:
> > > if (mDisplay.getRotation() == Surface.ROTATION_0)
> > >       rot = Surface.ROTATION_90)
> > > if (mDisplay.getRotation() == Surface.ROTATION_90)
> > >       rot = Surface.ROTATION_180)
> > > if (mDisplay.getRotation() == Surface.ROTATION_180)
> > >       rot = Surface.ROTATION_270)
> > > if (mDisplay.getRotation() == Surface.ROTATION_270)
> > >       rot = Surface.ROTATION_0)

> > oops, the above code is not logically correct, you can use these patch
> > to be able to use screen rotation:

> >      public void reorient() {
> > -        final int rot = mDisplay.getRotation();
> > +        int rot = mDisplay.getRotation();
> > +        switch (rot) {
> > +                case Surface.ROTATION_0:
> > +                        rot = Surface.ROTATION_90; break;
> > +                case Surface.ROTATION_90:
> > +                        rot = Surface.ROTATION_180; break;
> > +                case Surface.ROTATION_180:
> > +                        rot = Surface.ROTATION_270; break;
> > +                case Surface.ROTATION_270:
> > +                        rot = Surface.ROTATION_0; break;
> > +        }

> > Regards,
> > Vladimir

> > >> -Vishveshwar

> > >> On Apr 19, 4:21 am, Vladimir Barinov <batare...@gmail.com> wrote:

> > >>> Hi Jeppe,

> > >>> jledet wrote:

> > >>>> Hi Vishveshwar,
> > >>>>       On a closer look it seems that you are right. There is a
> > >>>> black line in
> > >>>> the right side of the screen on the LCD and also on a screendump:
> > >>>>http://goo.gl/mpXko
> > >>>>       The flickering of the cube is not on the LCD, so I assume
> > >>>> it's just
> > >>>> the screenshot program that cannot keep up with the framebuffer.
> > >>>>       I run the display at 800x480 using this
> > >>>> rc.syslink:http://goo.gl/zkv54
> > >>>> My boot sequence looks like this:http://goo.gl/KIJsW

> > >>> The resolution 800x480 as well as 1024x600 are landscape.
> > >>> Navigation buttons a hidden since the bar uses landscape view layout
> > >>> (it's horizontal instead of vertical).

> > >>> You can simply trick it in NavigationBarView to use rotated views:

> > >>>     public void reorient() {
> > >>> -        final int rot = mDisplay.getRotation();
> > >>> +        final int rot = Surface.ROTATION_90;
> > >>> //mDisplay.getRotation();
> > >>>         for (int i=0; i<4; i++) {
> > >>>             mRotatedViews[i].setVisibility(View.GONE);
> > >>>         }

> > >>> Regards,
> > >>> Vladimir


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.