Commit Graph

28393 Commits

Author SHA1 Message Date
Chet Haase
d2e74f3400 am 1dd00221: am bcdaf8cb: am 62ea4363: Merge "Fix texture corruption" into jb-mr1-dev
* commit '1dd002214e9734aa862db9b7e7092aacd737e46d':
  Fix texture corruption
2012-10-01 11:17:35 -07:00
Dianne Hackborn
cc381fc182 am 3645f2cc: am 55241249: am 2a30547a: Merge "Work on issue #6949468: android.dpi.cts.ConfigurationScreenLayoutTest..." into jb-mr1-dev
* commit '3645f2ccde5ae22e26358d9670ecbc563d415045':
  Work on issue #6949468: android.dpi.cts.ConfigurationScreenLayoutTest...
2012-10-01 11:17:31 -07:00
Adam Powell
2831c963b4 am 5f260236: am 135ce20c: am fb42be77: Merge "Fix UNSPECIFIED measurement in RelativeLayout" into jb-mr1-dev
* commit '5f260236ed99a7e76ed1c65bd6e6dcf3b694e7d9':
  Fix UNSPECIFIED measurement in RelativeLayout
2012-10-01 11:17:19 -07:00
Dianne Hackborn
d847b594e4 am eede0f6f: am b4bca666: am 2effc77c: Merge "Update APIs to JB MR1 level 17." into jb-mr1-dev
* commit 'eede0f6fe0957bf559a01d94a1b4f5444b3743b5':
  Update APIs to JB MR1 level 17.
2012-10-01 11:17:08 -07:00
Adam Cohen
0886acb868 am 2e16cf67: am e1430669: am b97a71e8: Merge "Getting rid of keyguard widget flag that isn\'t used" into jb-mr1-dev
* commit '2e16cf67c12b09271e46bed617d940971a2a296e':
  Getting rid of keyguard widget flag that isn't used
2012-10-01 11:17:00 -07:00
Craig Mautner
000702e368 am 7b9a263b: am 61d32c0d: am a6efc965: Merge "Changing debug for b/7094175." into jb-mr1-dev
* commit '7b9a263b5022fbe8de031dfc7b9e9202d41199ff':
  Changing debug for b/7094175.
2012-10-01 11:16:56 -07:00
Fabrice Di Meglio
51e1f8c2a0 am e05c1726: am 3332a701: am 10c84edc: Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev
* commit 'e05c17263827fa26e63f83a82cb024af6b62900c':
  Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
2012-10-01 11:16:47 -07:00
Romain Guy
725fc438a1 am d49faf39: am 25c8c198: am 8ed6b6a9: Merge "Perform a long computation to catch bitmap sizes > 32 bits Bug #7257930" into jb-mr1-dev
* commit 'd49faf39ec1eaff58d51e7f6458347ffd51e137c':
  Perform a long computation to catch bitmap sizes > 32 bits Bug #7257930
2012-10-01 11:16:44 -07:00
Fabrice Di Meglio
639d09b466 am 840ea01f: am 93cea34a: am f2e5cf48: Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev
* commit '840ea01fcbafe5d6b3fc8d90dcb5d99a65fa0113':
  Fix bug #6427629 Clean up layout direction APIs
2012-10-01 11:16:35 -07:00
Jeff Brown
b42723b0d5 am 843b014a: am 489c1e9f: am 7f813202: Merge "Get rid of preventScreenOn()." into jb-mr1-dev
* commit '843b014aca849a80fe1b2193dc53228f7a8525bd':
  Get rid of preventScreenOn().
2012-10-01 11:16:18 -07:00
Dianne Hackborn
4f47f1cc0a am d6985428: am 66e92752: am 84215565: Merge "Fix issue #7255954: API Review: rename Dream to DreamService" into jb-mr1-dev
* commit 'd698542867b708f857ce33406249dbf99254086c':
  Fix issue #7255954: API Review: rename Dream to DreamService
2012-10-01 11:15:59 -07:00
Chet Haase
1dd002214e am bcdaf8cb: am 62ea4363: Merge "Fix texture corruption" into jb-mr1-dev
* commit 'bcdaf8cb6d75d721507739504732e0e3dc7f437c':
  Fix texture corruption
2012-10-01 10:16:25 -07:00
Dianne Hackborn
3645f2ccde am 55241249: am 2a30547a: Merge "Work on issue #6949468: android.dpi.cts.ConfigurationScreenLayoutTest..." into jb-mr1-dev
* commit '552412496c00c04c9af353785936a89743677d49':
  Work on issue #6949468: android.dpi.cts.ConfigurationScreenLayoutTest...
2012-10-01 10:16:22 -07:00
Adam Powell
5f260236ed am 135ce20c: am fb42be77: Merge "Fix UNSPECIFIED measurement in RelativeLayout" into jb-mr1-dev
* commit '135ce20c12ef869028aa7d0182960f92840b7cfc':
  Fix UNSPECIFIED measurement in RelativeLayout
2012-10-01 10:16:03 -07:00
Dianne Hackborn
eede0f6fe0 am b4bca666: am 2effc77c: Merge "Update APIs to JB MR1 level 17." into jb-mr1-dev
* commit 'b4bca6661784ab8087e382765c2e0d53e98d651f':
  Update APIs to JB MR1 level 17.
2012-10-01 10:15:27 -07:00
Adam Cohen
2e16cf67c1 am e1430669: am b97a71e8: Merge "Getting rid of keyguard widget flag that isn\'t used" into jb-mr1-dev
* commit 'e14306690096fc3a1ae78f411ba9a7b616224df7':
  Getting rid of keyguard widget flag that isn't used
2012-10-01 10:15:17 -07:00
Craig Mautner
7b9a263b50 am 61d32c0d: am a6efc965: Merge "Changing debug for b/7094175." into jb-mr1-dev
* commit '61d32c0d0f05a394129e03d774589b8d93f5f8fb':
  Changing debug for b/7094175.
2012-10-01 10:15:05 -07:00
Fabrice Di Meglio
e05c172638 am 3332a701: am 10c84edc: Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev
* commit '3332a701e1cd6453089d7b0c6501c7f37cb69327':
  Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
2012-10-01 10:14:47 -07:00
Romain Guy
d49faf39ec am 25c8c198: am 8ed6b6a9: Merge "Perform a long computation to catch bitmap sizes > 32 bits Bug #7257930" into jb-mr1-dev
* commit '25c8c198e6abc053fbba19145ed485e31dc5927e':
  Perform a long computation to catch bitmap sizes > 32 bits Bug #7257930
2012-10-01 10:14:40 -07:00
Fabrice Di Meglio
840ea01fcb am 93cea34a: am f2e5cf48: Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev
* commit '93cea34a7f7834f42f921402415f7797b677e442':
  Fix bug #6427629 Clean up layout direction APIs
2012-10-01 10:14:31 -07:00
Jeff Brown
843b014aca am 489c1e9f: am 7f813202: Merge "Get rid of preventScreenOn()." into jb-mr1-dev
* commit '489c1e9f82250770004ec9080778546b040f6146':
  Get rid of preventScreenOn().
2012-10-01 10:13:52 -07:00
Dianne Hackborn
d698542867 am 66e92752: am 84215565: Merge "Fix issue #7255954: API Review: rename Dream to DreamService" into jb-mr1-dev
* commit '66e92752260e4ef21e77a44379f3a6b8969b4d65':
  Fix issue #7255954: API Review: rename Dream to DreamService
2012-10-01 10:13:25 -07:00
Tadashi G. Takaoka
22816c34da Fix DigitsKeyListener to be able to accept "+" sign
Bug: 7255318
Change-Id: Id5a6c11ffc62cc79c1db0baaf8d184174691d034
2012-10-01 15:48:27 +09:00
Chet Haase
bcdaf8cb6d am 62ea4363: Merge "Fix texture corruption" into jb-mr1-dev
* commit '62ea4363362526d32b48f920601d3b4e27a117bb':
  Fix texture corruption
2012-09-30 15:56:39 -07:00
Dianne Hackborn
552412496c am 2a30547a: Merge "Work on issue #6949468: android.dpi.cts.ConfigurationScreenLayoutTest..." into jb-mr1-dev
* commit '2a30547af44536f6b0e2f7020ac1a435c72afc84':
  Work on issue #6949468: android.dpi.cts.ConfigurationScreenLayoutTest...
2012-09-30 15:55:02 -07:00
Chet Haase
62ea436336 Merge "Fix texture corruption" into jb-mr1-dev 2012-09-30 15:54:10 -07:00
Dianne Hackborn
2a30547af4 Merge "Work on issue #6949468: android.dpi.cts.ConfigurationScreenLayoutTest..." into jb-mr1-dev 2012-09-30 15:52:47 -07:00
Chet Haase
6a2d17f713 Fix texture corruption
When memory gets low on a device, activities flush everything they can.
Hardware-accelerated activites, such as Launcher, flush GL resources and destroy
the GL context. However, some resources were still hanging around, due to deferred
destruction policies (we don't delete layers until the DisplayLists they are in
are finalized, to ensure we don't deref deleted objects). This meant that we were
referring to obsolete GL data in these objects. in particular, it meant that we might
come around later, after a new GL context was created, and delete a texture object
that was incorrect. We use the layer's "texture id" to refer to the texture underlying the
layer. But if there's a new GL context, then this texture ID is no longer valid, and
we may be deleting the texture that a different object (layer, icon, whatever) is referring
to, because the driver may return that same ID under the new GL context.

The fix is to more aggressively delete things that we know will not be used again
when the GL context is destroyed. In particular, we delete all resources being used
by all DisplayLists at GL context destruction time.

Issue #7195815 Textures corruption on all devices, in many apps

Change-Id: I52d2d208173690dbb794a83402d38f14ea4c6c22
2012-09-30 15:35:08 -07:00
Dianne Hackborn
fe37f8f51d Work on issue #6949468: android.dpi.cts.ConfigurationScreenLayoutTest...
...#testScreenLayout failures on JO

This doesn't actually fix it; I have concluded that the test is broken
(the platform is correctly reporting that this is a NOT LONG device
because in portrait once you account for the status bar and system
bar our size is 880dp high and 600dp wide, which is not enough for us
to be in the LONG config).

However while working on this I noticed that the code for computing
the configuration of the external display was wrong.  I have fixed
that by putting this code for computing these parts of the configuration
in a common place that both the window manager and external display
code can use.

Change-Id: Ic6a84b955e9ec345a87f725203a29e4712dac0ad
2012-09-30 15:06:05 -07:00
Adam Powell
135ce20c12 am fb42be77: Merge "Fix UNSPECIFIED measurement in RelativeLayout" into jb-mr1-dev
* commit 'fb42be77ea88470c71f2ad1e03bff7fdc3721465':
  Fix UNSPECIFIED measurement in RelativeLayout
2012-09-30 14:27:03 -07:00
Adam Powell
fb42be77ea Merge "Fix UNSPECIFIED measurement in RelativeLayout" into jb-mr1-dev 2012-09-30 14:24:53 -07:00
Adam Powell
132a742b94 Fix UNSPECIFIED measurement in RelativeLayout
Explicitly handle UNSPECIFIED MeasureSpec mode.

Bug 7258418

Change-Id: Idc7b4f0a4a92505379eb5479a84665f7908fcb83
2012-09-30 12:42:46 -07:00
Dianne Hackborn
b4bca66617 am 2effc77c: Merge "Update APIs to JB MR1 level 17." into jb-mr1-dev
* commit '2effc77c9a49f983779dbab656bba490bb7d4ba0':
  Update APIs to JB MR1 level 17.
2012-09-30 12:24:08 -07:00
Dianne Hackborn
2effc77c9a Merge "Update APIs to JB MR1 level 17." into jb-mr1-dev 2012-09-30 12:22:50 -07:00
Adam Cohen
e143066900 am b97a71e8: Merge "Getting rid of keyguard widget flag that isn\'t used" into jb-mr1-dev
* commit 'b97a71e8bd9877f4d4e47ec41408079552ab165b':
  Getting rid of keyguard widget flag that isn't used
2012-09-30 12:22:20 -07:00
Adam Cohen
b97a71e8bd Merge "Getting rid of keyguard widget flag that isn't used" into jb-mr1-dev 2012-09-30 12:19:50 -07:00
Craig Mautner
61d32c0d0f am a6efc965: Merge "Changing debug for b/7094175." into jb-mr1-dev
* commit 'a6efc965cc6f42ab88c08e48463ea4604d29cc77':
  Changing debug for b/7094175.
2012-09-30 11:47:17 -07:00
Craig Mautner
a6efc965cc Merge "Changing debug for b/7094175." into jb-mr1-dev 2012-09-30 11:45:32 -07:00
Fabrice Di Meglio
3332a701e1 am 10c84edc: Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev
* commit '10c84edcfa674f13d798f4de65f95c76269c6191':
  Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
2012-09-30 11:37:00 -07:00
Romain Guy
25c8c198e6 am 8ed6b6a9: Merge "Perform a long computation to catch bitmap sizes > 32 bits Bug #7257930" into jb-mr1-dev
* commit '8ed6b6a96bf887e0b49c48838a9f22bb0f256296':
  Perform a long computation to catch bitmap sizes > 32 bits Bug #7257930
2012-09-30 11:35:16 -07:00
Fabrice Di Meglio
10c84edcfa Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev 2012-09-30 11:33:31 -07:00
Romain Guy
8ed6b6a96b Merge "Perform a long computation to catch bitmap sizes > 32 bits Bug #7257930" into jb-mr1-dev 2012-09-30 11:28:54 -07:00
Romain Guy
af61cc4cbb Perform a long computation to catch bitmap sizes > 32 bits
Bug #7257930

Change-Id: I28d08024fabe8103251d480524b0b0f2fd2d2aba
2012-09-30 11:26:39 -07:00
Dianne Hackborn
fc4947491f Update APIs to JB MR1 level 17.
17 is current, resources are fixed, cleanup is done.

Change-Id: I6de446e209f59c5dd5fe1cde311776ab222817ea
2012-09-30 11:24:23 -07:00
Fabrice Di Meglio
47fb191841 Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
- do not need those variables. Use what we already have in View.
- reset padding to initial values before changing it.

Change-Id: Ib396b3dca6e98a94d83a538a9b594b5eb426c453
2012-09-30 11:00:02 -07:00
Fabrice Di Meglio
93cea34a7f am f2e5cf48: Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev
* commit 'f2e5cf487e9bda4da1b902cb5c816ba48c9b7004':
  Fix bug #6427629 Clean up layout direction APIs
2012-09-30 10:55:18 -07:00
Fabrice Di Meglio
f2e5cf487e Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev 2012-09-30 10:53:26 -07:00
Craig Mautner
c36c49ee83 Changing debug for b/7094175.
Fixes bug 7094175 (but not really).

Change-Id: Ice2abb93f479ea0bda931e9643710668c25aa285
2012-09-29 16:02:43 -07:00
Adam Cohen
82ebe6f777 Getting rid of keyguard widget flag that isn't used
-> issue 7238875

Change-Id: Ifad890b4061784889f3fc7711a165452cf230fbd
2012-09-28 19:33:05 -07:00
Jeff Brown
489c1e9f82 am 7f813202: Merge "Get rid of preventScreenOn()." into jb-mr1-dev
* commit '7f813202cb08a829b59e17be749ffee4a2f482b8':
  Get rid of preventScreenOn().
2012-09-28 19:08:17 -07:00