85416 Commits

Author SHA1 Message Date
Fabrice Di Meglio
b023a587ad Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
- add CheckedTextViewStyle with "viewStart" as default text alignment
- fix some typos

Change-Id: Ia8161c48faf579c89ba5ed49a436e4269178b8c1
2012-09-30 16:20:52 -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
rich cannings
2b58c1b503 Merge "Disable package verification in test harness" into jb-mr1-dev 2012-09-30 15:23:41 -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
rich cannings
a2064df6ab Disable package verification in test harness
Bug: 7233608
Change-Id: I521980728f5fb68b42a3906ff4fd25cd59dbbd7a
2012-09-30 14:52:41 -07:00
Adam Cohen
2032a12036 Merge "Making runway lights appear for correct pages (issue 7232481)" into jb-mr1-dev 2012-09-30 14:52:03 -07:00
Adam Cohen
1d1fb6c5e6 Making runway lights appear for correct pages (issue 7232481)
Change-Id: I66a48cc8f14cb9ebfbf032287591565f38cb3606
2012-09-30 14:36:01 -07:00
Adam Powell
fb42be77ea Merge "Fix UNSPECIFIED measurement in RelativeLayout" into jb-mr1-dev 2012-09-30 14:24:53 -07:00
Adam Cohen
933a7546c8 Fix build
Change-Id: I7642494039edec85f8c690a7854b86f318589ff0
2012-09-30 12:58:45 -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
2effc77c9a Merge "Update APIs to JB MR1 level 17." into jb-mr1-dev 2012-09-30 12:22:50 -07:00
Adam Cohen
0a5bc22273 Merge "Integrate keyguard paging hint" into jb-mr1-dev 2012-09-30 12:21:55 -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
a6efc965cc Merge "Changing debug for b/7094175." into jb-mr1-dev 2012-09-30 11:45:32 -07:00
Fabrice Di Meglio
ce75fef756 Merge "Fix the build" into jb-mr1-dev 2012-09-30 11:36:47 -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
Fabrice Di Meglio
796e5bf9c3 Fix the build
Change-Id: I82c31a0091ee46d9e4923cf08f73f3db213c0762
2012-09-30 11:32:33 -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
Romain Guy
955b66d07d Merge "reset() should reset. Otherwise it would be called something else. Bug #7256095" into jb-mr1-dev 2012-09-30 11:23:51 -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
f2e5cf487e Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev 2012-09-30 10:53:26 -07:00
Baligh Uddin
ce803d8ed8 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-30 06:43:10 -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
Svetoslav Ganov
9ea8f390db Explore by touch enabled when screen magnification is on.
1. A recently added check was preventing touch exploration being
   disabled when the last touch exploring service was turned off.
   As a consequence enabling explore by touch was initializing the
   input filter with the magnification and the not disabled
   screen magnification features.
bug:7256223

Change-Id: I9ed5457705d625805462e4d316b2c8a5af9aabca
2012-09-29 10:46:16 -07:00
Mike Cleron
a995b6e37f Merge "Getting rid of blue outline in user switcher, instead brighten the user" into jb-mr1-dev 2012-09-28 19:43:16 -07:00
Jim Miller
c1aa6a54a7 Integrate keyguard paging hint
Bug 7232481

Change-Id: I1959ae61b8f5afd055158dad67bdceecc4870d24
2012-09-28 19:37:26 -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
Adam Cohen
9654329008 Getting rid of blue outline in user switcher, instead brighten the user
Change-Id: I4817615cc28eb1fea35ecb5c3d69c4298c9cf2cf
2012-09-28 19:28:41 -07:00
Romain Guy
885d82d427 reset() should reset. Otherwise it would be called something else.
Bug #7256095

Change-Id: I610bbcaccdceaf2b5bb5f9d231283335911d4cd9
2012-09-28 19:24:37 -07:00
Jeff Brown
7f813202cb Merge "Get rid of preventScreenOn()." into jb-mr1-dev 2012-09-28 19:05:52 -07:00
Jatin Lodhia
7c3586c576 Merge "Make the theme for choose account and choose account type dialogs same." into jb-mr1-dev 2012-09-28 18:50:20 -07:00
Jim Miller
1ed143ea34 Merge "Clean up SIM PIN and PUK screens in keyguard." into jb-mr1-dev 2012-09-28 18:40:43 -07:00
Fabrice Di Meglio
343e11345e Fix bug #6427629 Clean up layout direction APIs
- remove onPaddingChanged(int) and fold it into onRtlPropertiesChanged(int)

Change-Id: I1d7f02d2b4538c6c991bd4285501bbc73e6aa5c3
2012-09-28 18:26:07 -07:00
Jeff Brown
120664816a Get rid of preventScreenOn().
Bug: 7165399
Change-Id: I1968265ecd74fff4d85efd2ca03b1983425ea518
2012-09-28 18:21:36 -07:00
Irfan Sheriff
d3081bc9a7 Merge "Revert setting GO idle time out" into jb-mr1-dev 2012-09-28 18:20:12 -07:00
Dianne Hackborn
84215565dd Merge "Fix issue #7255954: API Review: rename Dream to DreamService" into jb-mr1-dev 2012-09-28 18:17:13 -07:00
Dianne Hackborn
be87e2f588 Fix issue #7255954: API Review: rename Dream to DreamService
Change-Id: I89ecf2c3ec4fef09c0495aa68de11576f9cfd872
2012-09-28 17:42:39 -07:00
Svetoslav Ganov
c5211780ce Merge "Sending interaction end event at the end of a drag." into jb-mr1-dev 2012-09-28 17:38:33 -07:00
Svetoslav Ganov
46824214bb Sending interaction end event at the end of a drag.
1. In explore-by-touch when the user slides two fingers in the same
   direction we consider it a drag gesture. We merge the pointers into
   one and deliver a touch event. When one of the pointers goes up
   we were transitioning into touch exploring state. This means that
   were transitioning to another state in the middle of a gesture which
   creates complications and leads for interaction end event not being
   sent.

   This change transitions out of dragging state when all pointers go up
   - simple and all events are properly sent. Consequentially, staring a
   drag the user has to lift all pointers to touch explore. Since usually
   users either drags or touch explores this seems the simplest and
   *least risky* fix.

bug:7253731

Change-Id: Ie8588fbe9b26cb81312bd7fd377c94732e41e3f8
2012-09-28 17:04:14 -07:00
Jim Miller
3efe106264 Clean up SIM PIN and PUK screens in keyguard.
- new flow for PUK screen
- clean up SIM and PUK screen to match UX designs
- simplified logic for showing emergency call button

Change-Id: I66fcd312f3c52dd212d9836dc020735dbc88d5ee
2012-09-28 17:01:16 -07:00
Robert Greenwalt
2c22bb85f2 Merge "Update Premium-SMS detection UI." into jb-mr1-dev 2012-09-28 16:55:44 -07:00
Irfan Sheriff
ce6fc8d7a4 Revert setting GO idle time out
GO idle time out causes issues with multi-channel capable client which
can take longer to connect.

Use the supplicant default detection when acting as a GO.

Bug: 7254008
Change-Id: I6c40081cfa83ca0ddbb764640a48c92d69e609fd
2012-09-28 16:53:33 -07:00
Adam Powell
4984ec7222 Merge "Fix adjustViewBounds handling for ImageView" into jb-mr1-dev 2012-09-28 16:15:36 -07:00
Fabrice Di Meglio
be290dd850 Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev 2012-09-28 16:12:15 -07:00
Craig Mautner
106a69271d Merge "Keep callback reference from being null." into jb-mr1-dev 2012-09-28 15:54:44 -07:00
Dianne Hackborn
3ff8e1a800 Merge "Fix issue #7211769 and #7244492, thrash around on #7226656." into jb-mr1-dev 2012-09-28 15:54:44 -07:00