77109 Commits

Author SHA1 Message Date
Svetoslav Ganov
8f76176016 Merge "Removing default accessibility gesture handling." into jb-dev 2012-05-13 19:09:35 -07:00
Jeff Brown
85bd0d6283 More VelocityTracker refactoring.
Bug: 6413587
Change-Id: Ida1152e7a34d5fe5caab5e6b5e1bc79f6c7a25e6
2012-05-13 16:10:57 -07:00
Dianne Hackborn
4286d6d115 Fix build.
Change-Id: I53263d509559c70100cd78ad49f225f0dafd8891
2012-05-13 16:03:39 -07:00
Michael Jurka
500998d401 Prevent ViewPropertyAnimators from getting started twice 2012-05-13 15:35:02 -07:00
Dianne Hackborn
2a7a6ca00a Merge "Implement new window cropping." into jb-dev 2012-05-13 15:24:32 -07:00
Svetoslav Ganov
5a48f9758b Update the API version checks.
1. Since the API version has been finalized this change
   updates the SDk version checks to use the JellyBean
   verson number.

bug:5947249

Change-Id: Ie22fa7e18a7ea7b0c7077d80246a26c17f327ceb
2012-05-13 13:34:00 -07:00
Dianne Hackborn
85afd1b6f8 Implement new window cropping.
The window manager now performs the crop internally, evaluating
it every animation from, to be able to update it along with
the surface position.

Change-Id: I960a2161b9defb6fba4840fa35aee4e411c39b32
2012-05-13 13:31:06 -07:00
Svetoslav Ganov
7b1e0c7046 Removing default accessibility gesture handling.
1. The initial design was to have some accessibility gestures
   being handled by the system if the gesture handling access
   service does not consume the gesture. However, we are not
   sure what a good default is and once we add a default handler
   we cannot remove it since people may rely on it. Thus, we
   take the simples approach and let the accessibility service
   handle the gestures. If no gestures are handled the system
   will work in explore by touch as before.

bug:5932640

Change-Id: I865a83549fa03b0141d27ce9713e9b7bb45a57b4
2012-05-13 12:39:51 -07:00
Mathias Agopian
cbeb33249d fix SurfaceView visibility state changes
SurfaceView didn't recompute the transparent region
when the INVISIBLE state (as opposed to GONE) was involved.

Bug: 6467123
Change-Id: I05930bd568a345331840c1ad8d9123ef4904c04f
2012-05-12 19:57:07 -07:00
Guang Zhu
0d607fbe54 accessibility bug fix in NumberPicker
* moved View#isVisibleToUser to protected with @hide
* added a new View#isVisibleToUser(Rect), so that a portion of
  the view can be tested for visibility
* NumberPicker will report its concrete class name
* code to append virtual children was at wrong place
* boundInScreen for increment and decrement buttons are reported
  wrong

Change-Id: Ic5d644b3e1efa15b1f0537907c8cdd4ce43a97c1
2012-05-12 19:09:34 -07:00
Romain Guy
ce8b9c33b3 am 15e84399: Merge "Add call sites for OpenGL\'s debug label extension" into jb-dev
* commit '15e8439905cfae4605d101ae96a2694e69fb5017':
  Add call sites for OpenGL's debug label extension
2012-05-12 16:26:18 -07:00
Romain Guy
15e8439905 Merge "Add call sites for OpenGL's debug label extension" into jb-dev 2012-05-12 16:24:03 -07:00
Romain Guy
dfa1046eca Add call sites for OpenGL's debug label extension
Change-Id: I9c689127e8166cbef92c935f8aa07217ab806dda
2012-05-12 16:22:35 -07:00
Mangesh Ghiware
5794bf2b0e am 05efb04c: Merge "Maintain the anchor at top/left on orientation change." into jb-dev
* commit '05efb04c381e91980c68bcfd409d2994ce849b19':
  Maintain the anchor at top/left on orientation change.
2012-05-12 16:07:37 -07:00
Mangesh Ghiware
05efb04c38 Merge "Maintain the anchor at top/left on orientation change." into jb-dev 2012-05-12 16:04:00 -07:00
Mathias Agopian
db7dd2af93 fix BootAnimation timing
We were including the delay of the previous frame when
calculating the delay needed between a frame and the next.
This caused a bad jitter in the animation timing.

We also now use clock_nanosleep().

Change-Id: Iebb8cca4d57fe2f11d83b23a736e03db7a7d2006
2012-05-12 15:08:21 -07:00
Jim Miller
8c11350366 am 5a588dbe: Merge "Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet" into jb-dev
* commit '5a588dbe6e3d246523d7c04258f0129ba37df069':
  Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet
2012-05-12 14:56:28 -07:00
Jim Miller
5a588dbe6e Merge "Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet" into jb-dev 2012-05-12 14:54:06 -07:00
Mangesh Ghiware
cf034e3773 Maintain the anchor at top/left on orientation change.
Bug: 5291151
Change-Id: Id1d5c157668440fe4d0d1214477ba31e8f02d6b6
2012-05-12 14:46:05 -07:00
Jim Miller
c6e523ea9b Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet
This fixes a problem where the bounds of the view weren't being
calculated properly when a separate outer radius was specified.

The code now takes the maximum of the ring drawable's width/height
and that specified in the resource files.

This gives it the best default look on all devices while still
allowing minor tweaks.

Change-Id: I5daa40ff4f14653c8cc89b39102816afb976e4f7
2012-05-12 14:23:23 -07:00
Michael Jurka
e4046724f6 am c8179e78: Merge "Improve transition out of recents" into jb-dev
* commit 'c8179e78052af3d68725e1160214a736f143f8a2':
  Improve transition out of recents
2012-05-12 14:03:56 -07:00
Michael Jurka
c8179e7805 Merge "Improve transition out of recents" into jb-dev 2012-05-12 14:01:43 -07:00
Jim Miller
73c0638726 am 76e07e77: Merge "Fix 6474712: Disable the google gesture on prime while notifications are open" into jb-dev
* commit '76e07e7767098a885365e4ae8c8bb51f6a8c3b09':
  Fix 6474712: Disable the google gesture on prime while notifications are open
2012-05-12 13:58:46 -07:00
Jim Miller
76e07e7767 Merge "Fix 6474712: Disable the google gesture on prime while notifications are open" into jb-dev 2012-05-12 13:55:55 -07:00
Jim Miller
670d9dd2d0 Fix 6474712: Disable the google gesture on prime while notifications are open
Change-Id: I7c40e7bf4859d60c54c186fc49b670397a4ea723
2012-05-12 13:45:35 -07:00
Jim Miller
a11b24ef12 am 01119de9: Merge "Fix 6485058: remove OnTriggerListeners from Wave*Methods in cleanup" into jb-dev
* commit '01119de91d28d6e053ba2365ae6b1b03276446f0':
  Fix 6485058: remove OnTriggerListeners from Wave*Methods in cleanup
2012-05-12 13:34:05 -07:00
Jim Miller
01119de91d Merge "Fix 6485058: remove OnTriggerListeners from Wave*Methods in cleanup" into jb-dev 2012-05-12 13:31:41 -07:00
Michael Jurka
d5895a7e8a Improve transition out of recents
- During the transition, fade the bg to black
- Exiting activity fades to black
- Recents background no longer fades away, because
then it would fight against the fade to black
happening behind it
2012-05-12 13:24:58 -07:00
Geremy Condra
3d33c268cc Adds support for the CertBlacklister.
The CertBlacklister is a mechanism for allowing is to use gservices
to blacklist certs by serial number or public key.

Change-Id: Ie4b0c966a8a43c9823fb550c0b1691204f133ae7
2012-05-12 13:09:45 -07:00
Jean-Michel Trivi
3d486406ab am 2d97a70f: Merge "Start voice-based interactions from headsethook key" into jb-dev
* commit '2d97a70ff8bbac5ea807003d65b64e3b255e82bc':
  Start voice-based interactions from headsethook key
2012-05-12 08:08:28 -07:00
Jean-Michel Trivi
2d97a70ff8 Merge "Start voice-based interactions from headsethook key" into jb-dev 2012-05-12 08:06:28 -07:00
Pin Ting
4de3c27cc7 am 59e2a1ea: Merge "Fix typo in javadoc." into jb-dev
* commit '59e2a1ea01dc646ca68c6039b39eb809fe1a7a8e':
  Fix typo in javadoc.
2012-05-12 06:57:53 -07:00
Pin Ting
59e2a1ea01 Merge "Fix typo in javadoc." into jb-dev 2012-05-12 06:56:04 -07:00
Jeff Brown
a1f13767b3 am 11cfd0d4: Merge "Tell power HAL when user activity occurs." into jb-dev
* commit '11cfd0d41f3c848ffd54ba650aa921d5224e7917':
  Tell power HAL when user activity occurs.
2012-05-11 19:35:26 -07:00
Jeff Brown
a48816375f am 58770232: Merge "Move power HAL interactions to PowerManagerService." into jb-dev
* commit '58770232216cd735afdfd3dd53151070e06de5ce':
  Move power HAL interactions to PowerManagerService.
2012-05-11 19:35:23 -07:00
Jeff Brown
11cfd0d41f Merge "Tell power HAL when user activity occurs." into jb-dev 2012-05-11 19:33:17 -07:00
Jeff Brown
5877023221 Merge "Move power HAL interactions to PowerManagerService." into jb-dev 2012-05-11 19:32:56 -07:00
Jeff Brown
30e5eb4826 Tell power HAL when user activity occurs.
Bug: 6435382
Change-Id: I78754158b057851fcba807ebbda143899da387ec
2012-05-11 19:18:56 -07:00
Jeff Brown
7304c34382 Move power HAL interactions to PowerManagerService.
This refactoring sets the stage for a follow-on change that
will make use additional functions of the power HAL.

Moved functionality from android.os.Power into PowerManagerService.
None of these functions make sense being called outside of the
system server.  Moving them to the PowerManagerService makes it
easier to ensure that the power HAL is initialized exactly once.

Similarly, moved ShutdownThread out of the policy package and into
the services package where it can tie into the PowerManagerService
as needed.

Bug: 6435382
Change-Id: I958241bb124fb4410d96f5d5eb00ed68d60b29e5
2012-05-11 18:42:42 -07:00
Jeff Brown
1f85b46b3f am dca5fb9e: Merge "Enable SQLite configuration to be set with system properties." into jb-dev
* commit 'dca5fb9e7e193d6aed233e0650691675a56022a3':
  Enable SQLite configuration to be set with system properties.
2012-05-11 18:22:12 -07:00
Jeff Brown
dca5fb9e7e Merge "Enable SQLite configuration to be set with system properties." into jb-dev 2012-05-11 18:19:39 -07:00
Svetoslav Ganov
c406be9036 Fix inconsitency in aAccessibilityNodeInfo cache.
1. Fixed errors in the accessibility node cache.

  A. The cache was not catching the case when the current window changes as a
     result the user touch exploring it. As a result the cache had nodes from
     more that one window but the node ids are not unique thus causing a mess.

  B. The node info tree was prefetched regardless if a prefetched node is root
     name space (i.e. view ids - not accessibility ids - are namespaced) while
     the prefetched nodes were taking this into account. As a result there can
     get disconnected subtrees in the cache.

  C. When an event for a property change such as focus was received the cache
     we were removing the source node. As a result there may be disconnected nodes.

  D. When a node was added to the cache and an older version exists there was
     no check if it will point to the same children and parent. As a result if
     the state of the node has fewer children the subtrees rooted at the no
     longer present children will stay disconnected in the cache.

  E. When a node got accessibility or input focus the old one in the cache was
     not removed. As a result you may have a state with more than one access
     or input focus.

2. Added integrity check enabled only on user builds when a specific flag is set
   for the cache which checks whether:

  A. All nodes are from the same window.

  B. All nodes are connected.

  C. There are no duplicates.

  D. There is only one input focus.

  E. There is only one accessibility focus.

3. The reported accessibility node info tree was stopping at the root namespace
   boundary which is not correct. The reported tree has to reflect everything
   on the screen that the user can see such a workspace with widgets. The root
   namespace is added to avoid clash of view id but the accessibility ids are
   unique no matter if the view is inflated from a remote view.

4. Added calls to notify the accessibility layer when a preoprty that is interesting
   for accessibiliy has changed.

bug:6471710

Change-Id: I069470d91f209ba16313fa6539787a55efa3512e
2012-05-11 17:42:07 -07:00
Jamie Gennis
131006b810 am d83fdd03: Merge "Trace: add a tracing tag for video" into jb-dev
* commit 'd83fdd03a1daaf577d80c8abda86c7c01bf6d3bb':
  Trace: add a tracing tag for video
2012-05-11 17:19:53 -07:00
Jamie Gennis
592cbb835a am c9e27d4b: Merge "Surface: replace active rect with window crop" into jb-dev
* commit 'c9e27d4ba1f46eb29aa8a794685ecb7c492d5d83':
  Surface: replace active rect with window crop
2012-05-11 17:19:50 -07:00
Jamie Gennis
d83fdd03a1 Merge "Trace: add a tracing tag for video" into jb-dev 2012-05-11 17:17:47 -07:00
Jamie Gennis
c9e27d4ba1 Merge "Surface: replace active rect with window crop" into jb-dev 2012-05-11 17:17:31 -07:00
Amith Yamasani
0df557289b am 775da5fa: Merge "Update assets that didn\'t scale nicely from hdpi to tvdpi." into jb-dev
* commit '775da5fa03d7b905ccf8545520c759401c84440d':
  Update assets that didn't scale nicely from hdpi to tvdpi.
2012-05-11 17:11:14 -07:00
Amith Yamasani
775da5fa03 Merge "Update assets that didn't scale nicely from hdpi to tvdpi." into jb-dev 2012-05-11 17:08:42 -07:00
Victoria Lease
a54e995377 am f1b0c4e5: Merge "Add fallback fonts for Malayalam, Kannada, and Telugu scripts" into jb-dev
* commit 'f1b0c4e5c810afb203e286eea0491a1f5670e5c3':
  Add fallback fonts for Malayalam, Kannada, and Telugu scripts
2012-05-11 16:54:04 -07:00
Victoria Lease
f1b0c4e5c8 Merge "Add fallback fonts for Malayalam, Kannada, and Telugu scripts" into jb-dev 2012-05-11 16:52:00 -07:00