Google search widget of i.MX6DQ kk4.4.2_1.0.0-ga.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Google search widget of i.MX6DQ kk4.4.2_1.0.0-ga.

Jump to solution
2,025 Views
satoshishimoda
Senior Contributor I

Hi community,

I have a question about i.MX6DQ kk4.4.2_1.0.0-ga BSP.

Generally, there is a blinking cursor in input area of google search widget of Android device as the attached video (sorry, it is upside down).

However, there is no cursor in it of i.MX6DQ kk4.4.2_1.0.0-ga.

Could you let me know how to change to show the blinking cursor with i.MX6DQ kk4.4.2_1.1.0-ga?

For your information, there is this cursor with jb4.2.2_1.1.0-ga.

Best Regards,

Satoshi Shimoda

Labels (3)
0 Kudos
1 Solution
1,418 Views
LiuXuegang
NXP Employee
NXP Employee

it is based on p13 and there is a readme.txt file in the zip which tracking the binary is build on which branch and commit.

View solution in original post

0 Kudos
18 Replies
1,418 Views
satoshishimoda
Senior Contributor I

Hi Xuegang Liu,

Would you let me know the base revision of the updated GPU binaries (CT45706177-KK4.4.2_1.0.0-GPU-fix-cursor-not-display.zip)?

p13? or other revision?

Best Regards,

Satoshi Shimoda

0 Kudos
1,419 Views
LiuXuegang
NXP Employee
NXP Employee

it is based on p13 and there is a readme.txt file in the zip which tracking the binary is build on which branch and commit.

0 Kudos
1,418 Views
satoshishimoda
Senior Contributor I

Hi Xuegang Liu,

Thank you for your prompt reply.

OK, I understood.

Best Regards,

Satoshi Shimoda

0 Kudos
1,418 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

Hi Satoshi, I think Google changed the UI in KK4.4.2.

0 Kudos
1,418 Views
satoshishimoda
Senior Contributor I

Hi Qiang Li,

Yes, I thought so, actually.

So I confirmed the UI of some smart phone with kk4.4.

But all of the smart phone have the google search widget a blinking cursor.

Therefore, I feel the google search widget without a blinking cursor is not general, and we can change it to the one with a blinking cursor.

Do you have the information how to do it?

Best Regards,

Satoshi Shimoda

0 Kudos
1,419 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

The freescal BSP release is based on KK4.4.2 r1, but the last KK4.4.2 release from Google is r2, I'm checking the updates from r1 to r2, but it needs time.

0 Kudos
1,419 Views
satoshishimoda
Senior Contributor I

Hi Qiang Li,

Could you let me know your progress?

For your information, I found blinking cursor is used on kk4.4.2_1.0.0-ga for "i.MX6Solo Lite".

Best Regards,

Satoshi Shimoda

0 Kudos
1,419 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

Hi Satoshi,

I had manually applied all Freescale patches to android 4.4.2-r2 code base, but the issue is still there.

0 Kudos
1,419 Views
satoshishimoda
Senior Contributor I

Hi Qiang Li,

OK, I understood.

I'll wait next update.

Best Regards,

Satoshi Shimoda

0 Kudos
1,419 Views
karina_valencia
NXP Apps Support
NXP Apps Support

Qiang_FSL do you have an update?

0 Kudos
1,419 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

Hi Karina, we are waiting for Vivante to release new GPU libs to fix this issue. No confirmed target date yet.

After we got the new GPU libs, GPU team will notify me in CT 45706177.

1,419 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

Hi Satoshi, I tried the Android 4.4.2 emulator, yes, there should be the blinking cursor. It seems some Frescale code caused this issue, I will check it again.

0 Kudos
1,419 Views
gbisson
Contributor I

Agreed, a 4.4.2_r1 emulator/device has the cursor blinking so some Freescale patch is causing the issue. No need to update the AOSP base version.

This behavior can be verified using any Android app that uses an EditText box. The source code for this latter hasn't been modified by Freescale and its "draw" method is properly called every blink.

Also, doing the opposite work, reverting all Freescale changes in frameworks/base, frameworks/native, frameworks/webview and frameworks/av doesn't help. Maybe something related to your egl libs implementation?

Could you give an update on this issue?

Thanks,

Gary

0 Kudos
1,419 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

Hi Gary, the issue is related with USE_OPENGL_RENDERER setting it will enable GPU accelerate for Android UI. Freescale Android  team is checking it.

0 Kudos
1,419 Views
satoshishimoda
Senior Contributor I

Hi Qiang Li,

Could you let me know your status about checking it?

Best Regards,

Satoshi Shiioda

0 Kudos
1,419 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

Hi Satoshi, GPU vendor vivante is checking it, no updated GPU code yet.

0 Kudos
1,419 Views
satoshishimoda
Senior Contributor I

Hi Qiang Li,

OK, I understood the status, and wait next update.

Best Regards,

Satoshi Shimoda

0 Kudos
1,419 Views
gbisson
Contributor I

Also, in order to see the area being refreshed, you can activate the following: Settings > Developer options > Show GPU view updates

Then going to E-Mail app (as an example), the cursor area can be seen being refreshed properly although no cursor appears.

Looking at the frameworks/base/core/java/android/widget/Editor.java source code, you can get some information on the cursor Drawable. As a FYI, calling getOpacity() on its instance will return a Translucent PixelFormat.

Finally, as Satoshi says below that it works fine on iMX6SL, I would definitely look into the 3D graphics libs as SoloLite doesn't have any 3D GPU.

Thanks,

Gary

0 Kudos