OSDN Git Service
Katie McCormick [Fri, 7 Sep 2012 23:41:51 +0000 (16:41 -0700)]
am
56b62939: am
21d8331d: am
ae050d56: Merge "Doc update: Appwidgets JB additions." into jb-dev
* commit '
56b6293976c37645476462e61ed554af495e3633':
Doc update: Appwidgets JB additions.
Dirk Dougherty [Fri, 7 Sep 2012 23:41:46 +0000 (16:41 -0700)]
am
7629a917: am
0152a51c: am
882b267d: Merge "Doc change: fix typo in JB highlights." into jb-dev
* commit '
7629a917d73d0bc51738a85129b484859cbf5553':
Doc change: fix typo in JB highlights.
Svetoslav Ganov [Fri, 7 Sep 2012 23:41:39 +0000 (16:41 -0700)]
am
390a06b8: Merge "Restore accessibility focus after ListView layout." into jb-mr1-dev
* commit '
390a06b882f555b73f466985067d71d856f55f2f':
Restore accessibility focus after ListView layout.
Romain Guy [Fri, 7 Sep 2012 23:41:35 +0000 (16:41 -0700)]
am
6543c292: Merge "The drawables cache strikes again Bug #
7117785" into jb-mr1-dev
* commit '
6543c292b2d1cb3547f4565f89b7cb649ad955d6':
The drawables cache strikes again Bug #
7117785
Fabrice Di Meglio [Fri, 7 Sep 2012 23:41:29 +0000 (16:41 -0700)]
am
f6aa537c: Merge "Make ProgressBar / SeekBar / RatingBar widgets aware of layout direction" into jb-mr1-dev
* commit '
f6aa537c2dddfa9c68af161c082b5d4f316bd068':
Make ProgressBar / SeekBar / RatingBar widgets aware of layout direction
Fabrice Di Meglio [Fri, 7 Sep 2012 23:41:25 +0000 (16:41 -0700)]
am
01fcb728: Merge "Use "ldrtl" and "ldltr" config qualifiers for RTL / LTR resources" into jb-mr1-dev
* commit '
01fcb728940c12498ab2c7503fe86a849725ea12':
Use "ldrtl" and "ldltr" config qualifiers for RTL / LTR resources
Mike Dodd [Fri, 7 Sep 2012 23:41:08 +0000 (16:41 -0700)]
am
37ee5342: Merge "Add context support to backdropper filter." into jb-mr1-dev
* commit '
37ee53420ce47860807eb8eaeb454c12fa46797b':
Add context support to backdropper filter.
Marco Nelissen [Fri, 7 Sep 2012 20:46:59 +0000 (13:46 -0700)]
am
41ed9104: Merge "Audio Effects test app" into jb-mr1-dev
* commit '
41ed9104398d549e8eb7b3ff9b4ec3bd358207b9':
Audio Effects test app
Matthew Xie [Fri, 7 Sep 2012 20:46:30 +0000 (13:46 -0700)]
am
240a90d2: Merge "Fault tolerance in Bluedroid" into jb-mr1-dev
* commit '
240a90d2789f8813bef11b499a026b8afe43bbd8':
Fault tolerance in Bluedroid
Jeff Sharkey [Fri, 7 Sep 2012 20:46:22 +0000 (13:46 -0700)]
am
9545dc02: Include primary flag in StorageVolume.
* commit '
9545dc020ea11649d70dcbe911a8e82a3254a4ea':
Include primary flag in StorageVolume.
Jeff Sharkey [Fri, 7 Sep 2012 20:46:19 +0000 (13:46 -0700)]
am
162fabbc: Let Pair represent null values.
* commit '
162fabbcf81157fddab1c38de09bdabaff8c068a':
Let Pair represent null values.
Christopher Tate [Fri, 7 Sep 2012 20:46:15 +0000 (13:46 -0700)]
am
1a9c0dfd: Mark all settings upgrade transactions as successful along the way
* commit '
1a9c0dfdbbeba1bc498170be283394ba3e0e9752':
Mark all settings upgrade transactions as successful along the way
Svetoslav Ganov [Fri, 7 Sep 2012 20:46:09 +0000 (13:46 -0700)]
am
8e21d4df: Merge "Adding accessibility check in the node provider of NumberPicker." into jb-mr1-dev
* commit '
8e21d4df2154ad13916b95efc6c4b89815bb2cfb':
Adding accessibility check in the node provider of NumberPicker.
Svetoslav Ganov [Fri, 7 Sep 2012 20:46:04 +0000 (13:46 -0700)]
am
01fa8889: Merge "Adding FEEDBACK_BRAILLE to AccessibilityServiceInfo." into jb-mr1-dev
* commit '
01fa888903fecd2e85bdfa9dd0bceebab6244389':
Adding FEEDBACK_BRAILLE to AccessibilityServiceInfo.
Svetoslav Ganov [Fri, 7 Sep 2012 20:46:01 +0000 (13:46 -0700)]
am
4b15ab66: Fixing the build
* commit '
4b15ab66a064ba4fae3bb1ff474d8b5fc38e5490':
Fixing the build
Christopher Tate [Fri, 7 Sep 2012 20:45:54 +0000 (13:45 -0700)]
am
f92b57ca: Merge "Don\'t use toArray() inappropriately" into jb-mr1-dev
* commit '
f92b57ca8beb231e06a792db88ef3a4605901a7d':
Don't use toArray() inappropriately
Svetoslav Ganov [Fri, 7 Sep 2012 20:45:50 +0000 (13:45 -0700)]
am
52832e0c: Merge "Granular navigation not possible in edit text if the view has content description." into jb-mr1-dev
* commit '
52832e0c4f353bbeaccf50ca8689056c392fc750':
Granular navigation not possible in edit text if the view has content description.
Svetoslav Ganov [Fri, 7 Sep 2012 20:45:42 +0000 (13:45 -0700)]
am
3540f1f2: Merge "Granular navigation uses mContentDescription instead of getCpontentDescription()s" into jb-mr1-dev
* commit '
3540f1f28be473d066bf79956e6b3184c85b32b5':
Granular navigation uses mContentDescription instead of getCpontentDescription()s
Svetoslav Ganov [Fri, 7 Sep 2012 20:45:35 +0000 (13:45 -0700)]
am
6da58271: Merge "Screen magnification - feature - framework." into jb-mr1-dev
* commit '
6da5827193408ec6d2a77b64448b2f1c40b9a482':
Screen magnification - feature - framework.
Jim Miller [Fri, 7 Sep 2012 20:45:31 +0000 (13:45 -0700)]
am
c71d4060: Merge "Better layout for Face Unlock on 600dp tablet" into jb-mr1-dev
* commit '
c71d4060609ee64939ad5369d33b86d44baa17a9':
Better layout for Face Unlock on 600dp tablet
Jim Miller [Fri, 7 Sep 2012 20:45:28 +0000 (13:45 -0700)]
am
a56f8f7c: Merge "Fix EmergencyDialer button on devices without telephony hardware" into jb-mr1-dev
* commit '
a56f8f7ca2298f1516115be60e07a8193737293e':
Fix EmergencyDialer button on devices without telephony hardware
Jeff Sharkey [Fri, 7 Sep 2012 20:45:23 +0000 (13:45 -0700)]
am
2b0442f3: Merge "Event logging for lockdown VPN state changes." into jb-mr1-dev
* commit '
2b0442f33029c6b6cf1247a1633a97f5908d6cab':
Event logging for lockdown VPN state changes.
Jeff Sharkey [Fri, 7 Sep 2012 20:45:11 +0000 (13:45 -0700)]
am
fa8d83d9: Merge "Restrict lockdown and firewall to AID_SYSTEM." into jb-mr1-dev
* commit '
fa8d83d90444354e8eca6ca0e080bc917e5a1f32':
Restrict lockdown and firewall to AID_SYSTEM.
Brian Muramatsu [Fri, 7 Sep 2012 20:45:07 +0000 (13:45 -0700)]
am
b75111df: Merge "Add wireless to KeyguardUpdateMonitor isPluggedIn" into jb-mr1-dev
* commit '
b75111df9bf22496bacb7a6f9d9412e4a7b6827f':
Add wireless to KeyguardUpdateMonitor isPluggedIn
Irfan Sheriff [Fri, 7 Sep 2012 20:44:58 +0000 (13:44 -0700)]
am
bf4d55cb: Merge "Add connection broadcast on group creation failure" into jb-mr1-dev
* commit '
bf4d55cb65da9e6205f4d33921d7e51340f47d46':
Add connection broadcast on group creation failure
Chris Craik [Fri, 7 Sep 2012 20:44:49 +0000 (13:44 -0700)]
am
65476e6b: Merge "Fix m11 to be Y scale instead of X" into jb-mr1-dev
* commit '
65476e6bd41208cba48386c9bf23c00b6e1560c6':
Fix m11 to be Y scale instead of X
Christopher Tate [Fri, 7 Sep 2012 20:44:36 +0000 (13:44 -0700)]
am
06efb530: Per-user settings
* commit '
06efb530a479ea12398c1b3ee4b80e2ac85a1680':
Per-user settings
Craig Mautner [Fri, 7 Sep 2012 20:44:30 +0000 (13:44 -0700)]
am
9e130e70: Merge "Limit certain actions to default Display." into jb-mr1-dev
* commit '
9e130e70eff57d15c0888f51c4f1a7cc4cd62573':
Limit certain actions to default Display.
Craig Mautner [Fri, 7 Sep 2012 20:44:12 +0000 (13:44 -0700)]
am
5851c6e6: Merge "Convert resized() method to new parameters." into jb-mr1-dev
* commit '
5851c6e63879ce7c08d345e80db9a2872657a59f':
Convert resized() method to new parameters.
Chris Craik [Fri, 7 Sep 2012 20:44:09 +0000 (13:44 -0700)]
am
a6b5eca7: Merge "Don\'t trigger log for empty views" into jb-mr1-dev
* commit '
a6b5eca796e3d70f29a42b32d742807f5b38aad9':
Don't trigger log for empty views
rich cannings [Fri, 7 Sep 2012 20:44:00 +0000 (13:44 -0700)]
am
c862d0fc: Merge "Add secure setting for package verification" into jb-mr1-dev
* commit '
c862d0fc0574de74bf1758f69c98ccbf8e506532':
Add secure setting for package verification
Chris Craik [Fri, 7 Sep 2012 20:43:51 +0000 (13:43 -0700)]
am
776dafa8: Merge "Log if a view fails to fit in the drawing cache" into jb-mr1-dev
* commit '
776dafa8fe359df77de30b72ffc82d1d99e111c9':
Log if a view fails to fit in the drawing cache
Adam Cohen [Fri, 7 Sep 2012 20:43:46 +0000 (13:43 -0700)]
am
66b9fb16: Iintial stab at multi-user switcher on Keyguard
* commit '
66b9fb1662b304d24984af1ac4cc02f2ae8f4cc3':
Iintial stab at multi-user switcher on Keyguard
Jean-Baptiste Queru [Fri, 7 Sep 2012 20:42:35 +0000 (13:42 -0700)]
am
fb3ec448: am
f66603e1: am
3f3ce8ad: am
bf3e62b8: Merge "Make SimpleSessionDescription locale safe"
* commit '
fb3ec448f1208d75edebff0e93fa97a8913ff29e':
Make SimpleSessionDescription locale safe
Baligh Uddin [Fri, 7 Sep 2012 20:42:28 +0000 (13:42 -0700)]
am
49a73874: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '
49a7387418c24f03d9248e0cbc12c59d8516ba83':
Import translations. DO NOT MERGE
Dianne Hackborn [Fri, 7 Sep 2012 20:42:23 +0000 (13:42 -0700)]
am
fae0d662: Merge "Nested fragments." into jb-mr1-dev
* commit '
fae0d66275d3a5fb5e51f346ab2c542746f41c20':
Nested fragments.
Baligh Uddin [Fri, 7 Sep 2012 20:42:16 +0000 (13:42 -0700)]
am
6f7c1391: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '
6f7c139137e12cabfad3922f42f48c53906388a7':
Import translations. DO NOT MERGE
Daniel Sandler [Fri, 7 Sep 2012 20:42:08 +0000 (13:42 -0700)]
am
40e86a56: Merge "New "Start dreams" launcher shortcut." into jb-mr1-dev
* commit '
40e86a56da7a39bc899ca78a69258199c2640420':
New "Start dreams" launcher shortcut.
Chris Craik [Fri, 7 Sep 2012 20:41:55 +0000 (13:41 -0700)]
am
378d131e: Merge "Varying-based AA rect drawing" into jb-mr1-dev
* commit '
378d131e65348d199db36c21ba7156542bbf0045':
Varying-based AA rect drawing
Irfan Sheriff [Fri, 7 Sep 2012 20:41:33 +0000 (13:41 -0700)]
am
369bb97d: Merge "P2p API for WFD" into jb-mr1-dev
* commit '
369bb97d02209fa800081fc3b4e8675ea7e75d34':
P2p API for WFD
Jean-Baptiste Queru [Fri, 7 Sep 2012 20:41:23 +0000 (13:41 -0700)]
am
c67fb6c3: am
657dba9e: am
4aa83ec3: am
bb60bc26: Merge "Musicplayer application can not display DRM files of internal storage."
* commit '
c67fb6c39e75a08e50977e143d7ae7bd11e2604c':
Musicplayer application can not display DRM files of internal storage.
The Android Open Source Project [Fri, 7 Sep 2012 20:41:17 +0000 (13:41 -0700)]
am
7a647522: (-s ours) am
1d9c5d8f: (-s ours) Reconcile with jb-mr0-release jb-release - do not merge
* commit '
7a6475220dbba9679fc15ef3fa92cd4f9f064615':
Revert "Update Back softkey icon Bug:
6020915"
DO NOT MERGE GestureDetector - Mask action when checking POINTER_UP
DO NOT MERGE Remove dead code
DO NOT MERGE - Use focal point for scrolling in GestureDetector
DO NOT MERGE - New implementation for ScaleGestureDetector
Fix CDMA decoding of multipart UTF-16 SMS messages.
Katie McCormick [Fri, 7 Sep 2012 18:10:53 +0000 (11:10 -0700)]
am
21d8331d: am
ae050d56: Merge "Doc update: Appwidgets JB additions." into jb-dev
* commit '
21d8331d610bb641e63e9f7ff00bb5db8f97f283':
Doc update: Appwidgets JB additions.
Katie McCormick [Fri, 7 Sep 2012 18:08:46 +0000 (11:08 -0700)]
am
ae050d56: Merge "Doc update: Appwidgets JB additions." into jb-dev
* commit '
ae050d56247257f652fecb71e3f2ed474238e23f':
Doc update: Appwidgets JB additions.
Katie McCormick [Fri, 7 Sep 2012 18:06:00 +0000 (11:06 -0700)]
Merge "Doc update: Appwidgets JB additions." into jb-dev
Dirk Dougherty [Fri, 7 Sep 2012 17:55:14 +0000 (10:55 -0700)]
am
0152a51c: am
882b267d: Merge "Doc change: fix typo in JB highlights." into jb-dev
* commit '
0152a51c46743a6759711b872c80b406ae4c8a44':
Doc change: fix typo in JB highlights.
Dirk Dougherty [Fri, 7 Sep 2012 17:52:37 +0000 (10:52 -0700)]
am
882b267d: Merge "Doc change: fix typo in JB highlights." into jb-dev
* commit '
882b267d189bdbab02e44f7fe87c5c55aa04c493':
Doc change: fix typo in JB highlights.
Dirk Dougherty [Fri, 7 Sep 2012 17:49:42 +0000 (10:49 -0700)]
Merge "Doc change: fix typo in JB highlights." into jb-dev
Dirk Dougherty [Fri, 7 Sep 2012 17:29:30 +0000 (10:29 -0700)]
Doc change: fix typo in JB highlights.
Change-Id: I807a8ecee5d352c8494154629b92474ba4b0e892
Svetoslav Ganov [Fri, 7 Sep 2012 17:32:54 +0000 (10:32 -0700)]
Merge "Restore accessibility focus after ListView layout." into jb-mr1-dev
Romain Guy [Fri, 7 Sep 2012 17:19:36 +0000 (10:19 -0700)]
Merge "The drawables cache strikes again Bug #
7117785" into jb-mr1-dev
alanv [Fri, 7 Sep 2012 17:31:16 +0000 (10:31 -0700)]
Restore accessibility focus after ListView layout.
Bug:
6439454
Change-Id: Ia61f5153b32c6ce5d18301f74e7e79c86349b987
Fabrice Di Meglio [Fri, 7 Sep 2012 17:19:04 +0000 (10:19 -0700)]
Merge "Make ProgressBar / SeekBar / RatingBar widgets aware of layout direction" into jb-mr1-dev
Fabrice Di Meglio [Fri, 7 Sep 2012 17:17:55 +0000 (10:17 -0700)]
Merge "Use "ldrtl" and "ldltr" config qualifiers for RTL / LTR resources" into jb-mr1-dev
Mike Dodd [Fri, 7 Sep 2012 15:43:35 +0000 (08:43 -0700)]
Merge "Add context support to backdropper filter." into jb-mr1-dev
Marco Nelissen [Fri, 7 Sep 2012 14:41:17 +0000 (07:41 -0700)]
Merge "Audio Effects test app" into jb-mr1-dev
Matthew Xie [Fri, 7 Sep 2012 07:07:23 +0000 (00:07 -0700)]
Merge "Fault tolerance in Bluedroid" into jb-mr1-dev
Syed Ibrahim M [Wed, 29 Aug 2012 12:37:26 +0000 (18:07 +0530)]
Fault tolerance in Bluedroid
When bluetooth process gets crashed/killed/stopped by Android
system, BluetoothManagerService will re-start AdapterService
to recover from the crash appropriately.
Change-Id: Iacb1a06a8245089517bbbd57de1378ca8ce4b41e
Jeff Sharkey [Fri, 7 Sep 2012 05:46:30 +0000 (22:46 -0700)]
Include primary flag in StorageVolume.
Bug:
7003520
Change-Id: Iaae2ae22253820c954c51e0199c31087bc825f3f
Jeff Sharkey [Fri, 7 Sep 2012 03:32:16 +0000 (20:32 -0700)]
Let Pair represent null values.
Bug:
7121262
Change-Id: I067ea0a4af40a0e8935a9408404df7a2e851e22c
Christopher Tate [Fri, 7 Sep 2012 05:17:43 +0000 (22:17 -0700)]
Mark all settings upgrade transactions as successful along the way
If you don't, then the upgrade gets rolled back by the open helper,
and Bad Stuff Happens.
Change-Id: I191263e5cceb21b96ef413d28e7ee00a924acfc2
Svetoslav Ganov [Fri, 7 Sep 2012 03:00:19 +0000 (20:00 -0700)]
Merge "Adding accessibility check in the node provider of NumberPicker." into jb-mr1-dev
Svetoslav Ganov [Fri, 7 Sep 2012 02:57:00 +0000 (19:57 -0700)]
Adding accessibility check in the node provider of NumberPicker.
1. The node provide in number picker was sending accessibility events
without checking whether accessibility is enabled leading to a
crash if accessibility is disable when the event is sent.
bug:
7095330
Change-Id: I2e14b757003b4db58922cf6e20ea8e119770e567
Svetoslav Ganov [Fri, 7 Sep 2012 02:43:54 +0000 (19:43 -0700)]
Merge "Adding FEEDBACK_BRAILLE to AccessibilityServiceInfo." into jb-mr1-dev
Svetoslav Ganov [Fri, 7 Sep 2012 02:40:29 +0000 (19:40 -0700)]
Adding FEEDBACK_BRAILLE to AccessibilityServiceInfo.
1. The feedback type provided by braille devices differs from all
already predefined types and this change defines braille
feedback type. Braille does not fit in the already predefined
categories.
bug:
6998945
Change-Id: Ide6043bed03fdecd6d2ee45a08762f5bd07a2118
Svetoslav Ganov [Fri, 7 Sep 2012 02:25:53 +0000 (19:25 -0700)]
Fixing the build
Change-Id: I123b128f5d9e50653d8d4ed73ea07920b370b0fb
Christopher Tate [Fri, 7 Sep 2012 02:21:30 +0000 (19:21 -0700)]
Merge "Don't use toArray() inappropriately" into jb-mr1-dev
Christopher Tate [Fri, 7 Sep 2012 02:07:19 +0000 (19:07 -0700)]
Don't use toArray() inappropriately
HashSet<String>.toArray() does not give you an array of strings.
Change-Id: I2053e714b12eab718aaf75d92bbc0625745b9932
Svetoslav Ganov [Fri, 7 Sep 2012 02:14:30 +0000 (19:14 -0700)]
Merge "Granular navigation not possible in edit text if the view has content description." into jb-mr1-dev
Svetoslav Ganov [Fri, 7 Sep 2012 02:07:44 +0000 (19:07 -0700)]
Granular navigation not possible in edit text if the view has content description.
1. We were giving precedence of content description over text and this is
what content description is supposed to do - override the text. However,
putting content description on an EditText by mistake would render the
text view not navigable which is pretty much unusable. Now we are giving
precedence to the text and use the content description as a fall back if
text is empty.
bug:
7078382
Change-Id: I00882ace149344478b127124bd5e641903e1b756
Svetoslav Ganov [Fri, 7 Sep 2012 02:06:37 +0000 (19:06 -0700)]
Merge "Granular navigation uses mContentDescription instead of getCpontentDescription()s" into jb-mr1-dev
Svetoslav Ganov [Fri, 7 Sep 2012 01:59:29 +0000 (18:59 -0700)]
Granular navigation uses mContentDescription instead of getCpontentDescription()s
1. Getting the value of the content description via the method since
there is nothing preventing developers to override the method to
return a desired value (they should not do that but it is feasible).
bug:
7079008
Change-Id: Iaf5848e9b065454ebfefccf685415fbf034ae475
Svetoslav Ganov [Fri, 7 Sep 2012 01:57:43 +0000 (18:57 -0700)]
Merge "Screen magnification - feature - framework." into jb-mr1-dev
Svetoslav Ganov [Mon, 6 Aug 2012 17:53:34 +0000 (10:53 -0700)]
Screen magnification - feature - framework.
This change is the initial check in of the screen magnification
feature. This feature enables magnification of the screen via
global gestures (assuming it has been enabled from settings)
to allow a low vision user to efficiently use an Android device.
Interaction model:
1. Triple tap toggles permanent screen magnification which is magnifying
the area around the location of the triple tap. One can think of the
location of the triple tap as the center of the magnified viewport.
For example, a triple tap when not magnified would magnify the screen
and leave it in a magnified state. A triple tapping when magnified would
clear magnification and leave the screen in a not magnified state.
2. Triple tap and hold would magnify the screen if not magnified and enable
viewport dragging mode until the finger goes up. One can think of this
mode as a way to move the magnified viewport since the area around the
moving finger will be magnified to fit the screen. For example, if the
screen was not magnified and the user triple taps and holds the screen
would magnify and the viewport will follow the user's finger. When the
finger goes up the screen will clear zoom out. If the same user interaction
is performed when the screen is magnified, the viewport movement will
be the same but when the finger goes up the screen will stay magnified.
In other words, the initial magnified state is sticky.
3. Pinching with any number of additional fingers when viewport dragging
is enabled, i.e. the user triple tapped and holds, would adjust the
magnification scale which will become the current default magnification
scale. The next time the user magnifies the same magnification scale
would be used.
4. When in a permanent magnified state the user can use two or more fingers
to pan the viewport. Note that in this mode the content is panned as
opposed to the viewport dragging mode in which the viewport is moved.
5. When in a permanent magnified state the user can use three or more
fingers to change the magnification scale which will become the current
default magnification scale. The next time the user magnifies the same
magnification scale would be used.
6. The magnification scale will be persisted in settings and in the cloud.
Note: Since two fingers are used to pan the content in a permanently magnified
state no other two finger gestures in touch exploration or applications
will work unless the uses zooms out to normal state where all gestures
works as expected. This is an intentional tradeoff to allow efficient
panning since in a permanently magnified state this would be the dominant
action to be performed.
Design:
1. The window manager exposes APIs for setting accessibility transformation
which is a scale and offsets for X and Y axis. The window manager queries
the window policy for which windows will not be magnified. For example,
the IME windows and the navigation bar are not magnified including windows
that are attached to them.
2. The accessibility features such a screen magnification and touch
exploration are now impemented as a sequence of transformations on the
event stream. The accessibility manager service may request each
of these features or both. The behavior of the features is not changed
based on the fact that another one is enabled.
3. The screen magnifier keeps a viewport of the content that is magnified
which is surrounded by a glow in a magnified state. Interactions outside
of the viewport are delegated directly to the application without
interpretation. For example, a triple tap on the letter 'a' of the IME
would type three letters instead of toggling magnified state. The viewport
is updated on screen rotation and on window transitions. For example,
when the IME pops up the viewport shrinks.
4. The glow around the viewport is implemented as a special type of window
that does not take input focus, cannot be touched, is laid out in the
screen coordiates with width and height matching these of the screen.
When the magnified region changes the root view of the window draws the
hightlight but the size of the window does not change - unless a rotation
happens. All changes in the viewport size or showing or hiding it are
animated.
5. The viewport is encapsulated in a class that knows how to show,
hide, and resize the viewport - potentially animating that.
This class uses the new animation framework for animations.
6. The magnification is handled by a magnification controller that
keeps track of the current trnasformation to be applied to the screen
content and the desired such. If these two are not the same it is
responsibility of the magnification controller to reconcile them by
potentially animating the transition from one to the other.
7. A dipslay content observer wathces for winodw transitions, screen
rotations, and when a rectange on the screen has been reqeusted. This
class is responsible for handling interesting state changes such
as changing the viewport bounds on IME pop up or screen rotation,
panning the content to make a requested rectangle visible on the
screen, etc.
8. To implement viewport updates the window manger was updated with APIs
to watch for window transitions and when a rectangle has been requested
on the screen. These APIs are protected by a signature level permission.
Also a parcelable and poolable window info class has been added with
APIs for getting the window info given the window token. This enables
getting some useful information about a window. There APIs are also
signature protected.
bug:
6795382
Change-Id: Iec93da8bf6376beebbd4f5167ab7723dc7d9bd00
Jim Miller [Fri, 7 Sep 2012 01:56:03 +0000 (18:56 -0700)]
Merge "Better layout for Face Unlock on 600dp tablet" into jb-mr1-dev
Jim Miller [Fri, 7 Sep 2012 01:45:18 +0000 (18:45 -0700)]
Merge "Fix EmergencyDialer button on devices without telephony hardware" into jb-mr1-dev
Jeff Sharkey [Fri, 7 Sep 2012 01:34:17 +0000 (18:34 -0700)]
Merge "Event logging for lockdown VPN state changes." into jb-mr1-dev
Jeff Sharkey [Fri, 7 Sep 2012 01:33:14 +0000 (18:33 -0700)]
Event logging for lockdown VPN state changes.
Bug:
7079350
Change-Id: I3670efe7f09c0fca55552b6a04a2be159b9beb3c
Fabrice Di Meglio [Tue, 12 Jun 2012 01:30:05 +0000 (18:30 -0700)]
Make ProgressBar / SeekBar / RatingBar widgets aware of layout direction
- see bug #
5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)
Change-Id: I8d76299090abf6b2b187696b1a83e71d7a44b1ce
Jeff Sharkey [Fri, 7 Sep 2012 01:02:44 +0000 (18:02 -0700)]
Merge "Restrict lockdown and firewall to AID_SYSTEM." into jb-mr1-dev
Brian Muramatsu [Fri, 7 Sep 2012 00:59:36 +0000 (17:59 -0700)]
Merge "Add wireless to KeyguardUpdateMonitor isPluggedIn" into jb-mr1-dev
Jeff Sharkey [Fri, 7 Sep 2012 00:54:29 +0000 (17:54 -0700)]
Restrict lockdown and firewall to AID_SYSTEM.
Bug:
7076289
Change-Id: Iafa3054335e8b1c3c8c3b8db2a4191d4ed4c8c41
Irfan Sheriff [Fri, 7 Sep 2012 00:56:16 +0000 (17:56 -0700)]
Merge "Add connection broadcast on group creation failure" into jb-mr1-dev
Jim Miller [Fri, 7 Sep 2012 00:55:04 +0000 (17:55 -0700)]
Better layout for Face Unlock on 600dp tablet
Change-Id: I1deac516253e8ea7c5138344353b41daac1f5eab
Jim Miller [Fri, 7 Sep 2012 00:51:12 +0000 (17:51 -0700)]
Fix EmergencyDialer button on devices without telephony hardware
This fixes showing the emergency dialer on devices without telephony.
Two fixes were required: 1. Move emergency dialer code to the view
that contains it (KeyguardSelectorView). 2. Always call onPause()
or onResume() in onScreenTurnedOff() and onScreenTurnedOn(), respectively.
Fixes bug
7117895
Change-Id: I96769fdda8478b6b60f46f7470bed2279ea2de72
Irfan Sheriff [Thu, 6 Sep 2012 21:19:30 +0000 (14:19 -0700)]
Add connection broadcast on group creation failure
Change-Id: I8075a53997d968e6926e5ca78c9aadc60d8fcb2a
Chris Craik [Fri, 7 Sep 2012 00:00:58 +0000 (17:00 -0700)]
Merge "Fix m11 to be Y scale instead of X" into jb-mr1-dev
Mike Dodd [Fri, 7 Sep 2012 00:00:38 +0000 (17:00 -0700)]
Add context support to backdropper filter.
Part of b/
7028438
Change-Id: Idcae38b452abc847c7b869a5568d1c5d831411b7
Chris Craik [Thu, 6 Sep 2012 23:44:51 +0000 (16:44 -0700)]
Fix m11 to be Y scale instead of X
bug:
7114630
Fixes different X and Y values resulting in blurry lines/rects.
Change-Id: I3eb244e0cf769efa6b38d08741cf37d0bf62b786
Romain Guy [Thu, 6 Sep 2012 23:33:31 +0000 (16:33 -0700)]
The drawables cache strikes again
Bug #
7117785
Draawables created from the ConstantState cache found in Resources must be
mutated before they can be safely modified by apps. Failure to do so results
in all drawables sharing the same constant state to be affected by the
modification.
In the case of the bugreport above, the status bar code plays tricks with
a background drawable and modifies its color to implement a fade in/out
effect. This drawable comes from a cached resource (color 0x0) and the
modifications made by the status bar apply to other clients of this drawable,
most notably the recents panel.
This change fixes several things:
- Simplifies colors caching by removing the assetCookie from the key. This
should result in better reuse of cached drawables
- Makes View.setBackgroundColor() honor the mutate() contract
- Ensure StateListDrawable properly mutates its children before modifying
them
- Optimize Bitmap/ColorDrawable to mark them mutated when they are not
created from an existing ConstantSate. The same optimization should be
applied to other drawables in the future
Change-Id: I54adb5d5b914c7d8930bf9b46f7e3f9dcbf4bcab
Christopher Tate [Fri, 24 Aug 2012 22:29:27 +0000 (15:29 -0700)]
Per-user settings
Each user has its own Settings.System.* and Settings.Secure.* namespace now. In
addition, this CL introduces the new Settings.Global.* namespace, which contains
a number of previously-elsewhere named settings entities; these Global.* entities
are common to all users. Because these elements have been moved from their prior
existence in the other namespaces, attempts to access them under their old names
and namespaces are detected and redirected (with appropriate compile-time and
logging messages) to their new homes.
The new Global.* namespace can only be written by system-level code, just like
the existing Secure.* namespace. If an app attempts to write a key that was
previously in the System.* namespace but has been moved to the Global.* namespace,
then a warning is logged and no write is performed; the action is a no-op. (The
app is explicitly not crashed, to avoid breaking well-behaved apps that can't
know any better.)
There is also now a hidden API for getting/setting settings entities associated
with a user other than the caller's. Reading/writing data for a user other than
yourself requires the signature-level INTERACT_ACROSS_USERS_FULL permission.
Manipulating data for a different user cannot be done via the ContentProvider
query() / insert() APIs; you must use the Settings.get/put APIs for that degree
of control. In general, use of the get/set API is *strongly* preferred over
query-type access to Settings.
Bug
6985398
Change-Id: Ibee54ddff99fb847c8c2479c23b50f1e7524d724
Craig Mautner [Thu, 6 Sep 2012 23:30:33 +0000 (16:30 -0700)]
Merge "Limit certain actions to default Display." into jb-mr1-dev
Craig Mautner [Thu, 6 Sep 2012 22:07:46 +0000 (15:07 -0700)]
Merge "Convert resized() method to new parameters." into jb-mr1-dev
Chris Craik [Thu, 6 Sep 2012 22:05:38 +0000 (15:05 -0700)]
Merge "Don't trigger log for empty views" into jb-mr1-dev
Craig Mautner [Thu, 6 Sep 2012 22:04:22 +0000 (15:04 -0700)]
Convert resized() method to new parameters.
When the BaseIWindow.resized method got switched from taking (int x,
int y, ...) to taking (Rect, ...) the SurfaceView.MyWindow override
never got updated.
Fixes bug
6992324.
Change-Id: Id0b9625559ae0100336f4573f09d313138c8a6e7
Chris Craik [Thu, 6 Sep 2012 21:56:39 +0000 (14:56 -0700)]
Don't trigger log for empty views
Change-Id: Idb2193d6dd064e5c4af1f02d0df2a83a7db0e0f8
rich cannings [Thu, 6 Sep 2012 21:55:54 +0000 (14:55 -0700)]
Merge "Add secure setting for package verification" into jb-mr1-dev
Chris Craik [Thu, 6 Sep 2012 21:49:17 +0000 (14:49 -0700)]
Merge "Log if a view fails to fit in the drawing cache" into jb-mr1-dev
Chris Craik [Thu, 6 Sep 2012 21:42:44 +0000 (14:42 -0700)]
Log if a view fails to fit in the drawing cache
Large software layers won't draw if they're larger than the size of the drawing
cache, in which case this log will be triggered.
bug:
7078391
Change-Id: Ib42a060b8e3b3642417df9243a086aa15b2989b1
rich cannings [Thu, 6 Sep 2012 19:04:37 +0000 (12:04 -0700)]
Add secure setting for package verification
Framework changes to store and read a secure setting for package verification.
Default is on/true.
This setting will be turned on/off via the Settings app.
Bug:
7082362
Change-Id: I6f93d3136add8af0dbbdc664f0473c5f5b7e3fee