74891 Commits

Author SHA1 Message Date
Chet Haase
1fb8a9e44a Fix init of Animation in View drawing code
The refactor of ViewGroup.drawChild() resulted in an error
in a new method (View.drawAnimation) where animations were being
initialized with their view dimensions instead of the parent dimensions.

Issue #6292681 RotateAnimationTest#testRotateAgainstPoint fails on JRN04
Issue #6293275 TranslateAnimationTest#testInitialize fails on JRN04

Change-Id: Ia90711cadd7a6c20fd788e5b8b18a5b28551e68c
2012-04-19 09:22:34 -07:00
Svetoslav Ganov
f01d3dd710 Merge "Adding some more gestures and actions for accessibility." 2012-04-18 14:14:37 -07:00
Craig Mautner
f35ea5d25b Merge "Delay rendering into Surface until draw completed." 2012-04-18 14:12:22 -07:00
Craig Mautner
9546e457fc Delay rendering into Surface until draw completed.
Hold off on updating surface with animation until the Surface draw has
completed. Previously we were calling Surface.setAlpha/setLayer/
setMatrix prior to the app drawing into the surface. This fixes a bug
that caused a flash of the target animation image before the animation
had begun.

Change-Id: Id9142e09b0b22d631dc002eba4dc787455dea03a
2012-04-18 14:04:38 -07:00
Eric Fischer
f341e5545c Merge "Import translations. DO NOT MERGE" 2012-04-18 13:47:34 -07:00
Svetoslav Ganov
005b83b0c6 Adding some more gestures and actions for accessibility.
1. Added more gesture for accessibility. After a meeting
   with the access-eng team we have decided that the current
   set of gestures may be smaller than needed considering
   that we will use four gestures for home, back, recents,
   and notifications.

2. Adding actions for going back, home, opening the recents,
   and opening the notifications.

3. Added preliminary mapping from some of the new gestures
   to the new actions.

4. Fixed a bug in the accessibility interaction controller
   which was trying to create a handled on the main looper
   thread which may be null if the queried UI is in the
   system process. Now the context looper of the root view
   is used.

5. Fixed a bug of using an incorrect constant.

6. Added a missing locking in a couple of places.

7. Fixed view comparison for accessibilityt since it was
   not anisymmetric.

bug:5932640
bug:5605641

Change-Id: Icc983bf4eafefa42b65920b3782ed8a25518e94f
2012-04-18 13:43:55 -07:00
Eric Fischer
d97e3ea1f3 Import translations. DO NOT MERGE
Change-Id: Ie7fff3835aff72ad821dec9db5053061186b9100
2012-04-18 13:38:51 -07:00
Eric Fischer
54ffee751c Merge "Import translations. DO NOT MERGE" 2012-04-18 13:29:09 -07:00
Eric Fischer
57670d8cea Import translations. DO NOT MERGE
Change-Id: I1ab82f7e1aef8171cb57c880fb942930d37dac00
2012-04-18 13:27:02 -07:00
Andreas Huber
142095f75a Merge "Information required to decrypt buffers is now packaged into MediaCodec.CryptoInfo" 2012-04-18 13:22:42 -07:00
Jeff Sharkey
4b12171c64 Merge "Update Environment fallback defaults." 2012-04-18 12:23:54 -07:00
Jeff Sharkey
e7d9cd363d Merge "Add ALLOW_METERED column to DownloadManager." 2012-04-18 12:22:49 -07:00
Andreas Huber
91befdc0c4 Information required to decrypt buffers is now packaged into MediaCodec.CryptoInfo
New API on MediaExtractor to retrieve a CryptoInfo structure where applicable.

Change-Id: I18edfc9ac56a4544c8f17cba24401b96dacbff7d
related-to-bug: 6275919
2012-04-18 12:19:51 -07:00
Michael Kolb
23a2ce1fad Merge "Prevent dialog from invalid context" 2012-04-18 10:40:59 -07:00
Jeff Sharkey
15ec7d6d7f Add ALLOW_METERED column to DownloadManager.
Also allow isActiveNetworkMetered() to inspect networks without
requiring ACCESS_WIFI_STATE.

Bug: 3001465
Change-Id: Ibc23577d4ad941e4f93db417be6b046881dcbfb1
2012-04-18 10:12:09 -07:00
Amith Yamasani
3cdfcdc1c4 Merge "Fix an NPE when launching an activity that's not found." 2012-04-18 10:04:28 -07:00
Amith Yamasani
95a6a96e1c Fix an NPE when launching an activity that's not found.
Bug: 6356194
Change-Id: I66aeeda3ecab36a4aa32fb78c1d0559a73cd9a7a
2012-04-18 09:54:43 -07:00
Fred Chung
f52b6ede24 am 59ec795a: am 3d467946: Merge "Updated "Making your App Location Aware" class to include information on location provider enable check." into ics-mr1
* commit '59ec795a0798a4a7b4e7e5e0c214a826556f2c5d':
2012-04-18 09:32:08 -07:00
Chris Wren
26fbf27ad1 fixing the build break in notification_template_big_text.xml
Change-Id: Ibeef587e27d1f97dae2b6184be5e7b2548768f5e
2012-04-18 11:50:56 -04:00
Michael Kolb
dfceaf2cdb Prevent dialog from invalid context
Bug: 6346748

Change-Id: Ia65ecc1ecb882b480127aca0034db25a9e51ed3c
2012-04-18 08:37:41 -07:00
Daniel Sandler
6a858c347f Gestures for expanding notifications.
Change-Id: I104c157ffcc2d60b3f0a95c59d4322b07103b69f
2012-04-18 11:21:19 -04:00
Chet Haase
3d100d97a5 Merge "Fix logic of animator start/cancel/end callbacks" 2012-04-18 07:41:45 -07:00
Daniel Sandler
b9a6d4d052 Merge "New InboxStyle template for expanded notifications." 2012-04-18 05:28:00 -07:00
satok
e1e874854a Optimize the timing to query sentence level spell checking
Bug: 6354647
Change-Id: I52e6c21387c7f4d6fc05b4c50bbb0a5a6c75194b
2012-04-18 16:52:44 +09:00
Bart Sears
cdd9d43c4e Merge "Try out the latest SystemUI version of DroidNaskh" 2012-04-17 22:11:46 -07:00
Michael Chan
2c1dcfdabb Merge "Added identity and namespace to Calendar Attendees" 2012-04-17 21:27:53 -07:00
Daniel Sandler
879c5e07c0 New InboxStyle template for expanded notifications.
Bug: 6336834
Change-Id: I67b273350b984673cbfb19267451a3782d0477fc
2012-04-17 23:41:58 -04:00
Jeff Brown
6947fd0f96 Merge "Fix build." 2012-04-17 19:53:47 -07:00
Jeff Brown
426f905b84 Fix build.
Change-Id: I277042c91b34af59e70941fd5b458581310b1c22
2012-04-17 19:52:56 -07:00
Steven Ross
b7f0af2aca Merge "Always showing FaceUnlock view before bind fixes 6330358" 2012-04-17 19:30:23 -07:00
Svetoslav Ganov
6da9677f49 Merge "Views with zero alpha are shown for accessibility." 2012-04-17 19:29:42 -07:00
Svetoslav Ganov
b3830f6737 Views with zero alpha are shown for accessibility.
1. Views that a user cannot see should not be reported for
   accessibility. The check for zero alpha was missing.

bug:6291855

Change-Id: I3cb4c19cccf0dc2427677df630d124c36bd4770b
2012-04-17 19:27:38 -07:00
Jeff Brown
6957b60378 Merge "Add Dvorak keyboard layout." 2012-04-17 19:21:34 -07:00
Michael Chan
37f1d29784 Added identity and namespace to Calendar Attendees
Bug: 6353721
Change-Id: I8cf7a5bbeb5380320b9bb11875168bef4e180b31
2012-04-17 19:03:38 -07:00
Jeff Brown
4a3862f6b0 Add Dvorak keyboard layout.
Added support for mapping both scan codes and HID usages to
KeyLayoutMap and KeyCharacterMap.  Keyboard overlays can
now influence how key events are mapped to key codes.

Bug: 6110399
Change-Id: I6619fd2d3e1337c55928f89869dbc45b535c7ccf
2012-04-17 18:50:05 -07:00
Michael Chan
62d52f9ff8 Fix build
Change-Id: I56d6305b6c28dab8c6d4d04d56df277e0ca39d91
2012-04-17 18:39:00 -07:00
James Dong
f7d3bdfc22 Merge "AddExternalSource(String path) needs to turn the path to fd if it is a file" 2012-04-17 18:36:48 -07:00
James Dong
c4c0284e45 AddExternalSource(String path) needs to turn the path to fd if it is a file
o related-to-bug: 5542712

Change-Id: Iea32012996ca9de4c86f144de916df64fcab3c52
2012-04-17 18:31:20 -07:00
Bart Sears
b285e83e26 Try out the latest SystemUI version of DroidNaskh
This is the latest drop (ver 1.00) of DroidNaskhShifAlt.ttf
from Monotype.  Checking it in so we can see if there is any
clipping.

Bug: 5987379
Change-Id: I25697e64c1643dc4d36fe4ff6a407549c1165d60
2012-04-17 18:25:16 -07:00
Jeff Brown
420489ca1f Merge "Support loading keyboard layout overlays from resources." 2012-04-17 17:59:03 -07:00
Jeff Brown
6ec6f79e1a Support loading keyboard layout overlays from resources.
Added the concept of a keyboard layout overlay, which is
a key character map file that has "type OVERLAY".

Added support for loading keyboard layout overlays from
resources dynamically.  The layouts are reloaded whenever they
are changed in the Settings application or an application
is installed.  This is somewhat more aggressive than necessary
so we might want to optimize it later.

Before system-ready, the input system uses just the generic
keyboard layouts that are included on the device system image.
After system-ready, it considers the user's selected keyboard
layout overlay and attempts to load it as necessary.  We need to
wait until system-ready before doing this because we need to
be in a state where it is safe to start applications or access
their resources.

Bug: 6110399
Change-Id: Iae0886d3356649b0d2440aa00910a888cedd8323
2012-04-17 17:56:32 -07:00
Michael Chan
4db3ca7f81 Merge "Add support for identity in calendar attendees" 2012-04-17 17:56:25 -07:00
Craig Mautner
1b66766f62 Merge "Add call-stack reporting methods into Debug" 2012-04-17 17:28:20 -07:00
Craig Mautner
a51a9564fd Add call-stack reporting methods into Debug
Added two public methods to Debug. These methods return a String
indicating the caller (getCaller()) or callers (getCallers(int depth))
of the calling method. The String indicates the class, method and line
number of the caller(s). Similar to using Throwable.fillInStackTrace()
but much more concise.

Change-Id: I53d0085aa50e4501d28e8eb3ad5b91ef700ac218
2012-04-17 17:25:50 -07:00
Jeff Sharkey
e704a15bbf Update Environment fallback defaults.
Change-Id: Ia385b03023e38c01546e57635ccf9b29d017220a
2012-04-17 16:28:44 -07:00
Guang Zhu
d7f256dd2f TileBenchmark test app needs read sdcard permission
Since the app is using JB API level, it's required to declare
an explicit READ_EXTERNAL_STORAGE permission

Change-Id: I84142d51aeab4bc28269a6fea716c8663e080118
2012-04-17 16:01:34 -07:00
Michael Chan
48ec622265 Add support for identity in calendar attendees
Bug: 6353721
Change-Id: I8667f55e09adf09b070323484342fc296240ff51
2012-04-17 15:58:28 -07:00
John Reck
06fd472390 Merge "Fix a bug with enterTouchMode removing focus" 2012-04-17 15:37:48 -07:00
Andreas Huber
c5cbcb51ba Merge "Make seekTo not throw exceptions." 2012-04-17 15:10:36 -07:00
Andreas Huber
2b9d6bd092 Make seekTo not throw exceptions.
Change-Id: I9d0469962364b86fbab920e9ac65f468fc630737
related-to-bug: 6276111
2012-04-17 15:02:22 -07:00