Commit Graph

2878 Commits

Author SHA1 Message Date
satok
f1ce8554ba am c496652b: am 05f5236f: Merge "Make InputMethodSubtype thread safe" into jb-dev
* commit 'c496652b867b046cf825d1e0c000504e65d9be67':
  Make InputMethodSubtype thread safe
2012-05-09 10:08:42 -07:00
Jeff Brown
1c08c1b0f1 am e8e94a07: am 41a4704b: Merge "Small tweaks to orientation." into jb-dev
* commit 'e8e94a0743eae912658865645db75619533449b3':
  Small tweaks to orientation.
2012-05-09 10:08:26 -07:00
Svetoslav Ganov
807a4331ab am ba23196f: am 911b0c0b: Merge "Accessibility focus actinos incorectly set on accessibility node info." into jb-dev
* commit 'ba23196f1626409334f74e2d7e7cb34bef0b6f7f':
  Accessibility focus actinos incorectly set on accessibility node info.
2012-05-09 10:08:13 -07:00
Svetoslav Ganov
4833ca2903 am 755b2146: am b2ee0d57: Merge "Text traversal at various granularities." into jb-dev
* commit '755b2146735c15deb0eb611430a7da1e363d82a1':
  Text traversal at various granularities.
2012-05-09 10:08:03 -07:00
Romain Guy
b166539a47 am 0064c032: am e79e8758: Merge "Remove ViewTreeObserver allocations" into jb-dev
* commit '0064c032f4a890970c285567520c057976909ea9':
  Remove ViewTreeObserver allocations
2012-05-09 10:07:52 -07:00
Jeff Brown
012c9ed9ce am 1f455691: am 2fd54c41: Merge "Improve animation timing." into jb-dev
* commit '1f455691fe344e9dd44b092036f0dc8b8b00cce1':
  Improve animation timing.
2012-05-09 10:07:43 -07:00
satok
c496652b86 am 05f5236f: Merge "Make InputMethodSubtype thread safe" into jb-dev
* commit '05f5236f6093b7f518677289f023f033832218f7':
  Make InputMethodSubtype thread safe
2012-05-09 01:46:13 -07:00
Jeff Brown
e8e94a0743 am 41a4704b: Merge "Small tweaks to orientation." into jb-dev
* commit '41a4704b09f98723f4ddec895c9f2e651a5c0c8e':
  Small tweaks to orientation.
2012-05-09 01:45:49 -07:00
Svetoslav Ganov
ba23196f16 am 911b0c0b: Merge "Accessibility focus actinos incorectly set on accessibility node info." into jb-dev
* commit '911b0c0b15ae4f14a6f755278679ef9c6a6e6c05':
  Accessibility focus actinos incorectly set on accessibility node info.
2012-05-09 01:45:37 -07:00
Svetoslav Ganov
755b214673 am b2ee0d57: Merge "Text traversal at various granularities." into jb-dev
* commit 'b2ee0d57672faf42ca88fa878dc7e688046c915e':
  Text traversal at various granularities.
2012-05-09 01:45:24 -07:00
Romain Guy
0064c032f4 am e79e8758: Merge "Remove ViewTreeObserver allocations" into jb-dev
* commit 'e79e87581280f4f3b26b1d4496b34cbb9aa39ae5':
  Remove ViewTreeObserver allocations
2012-05-09 01:45:18 -07:00
Jeff Brown
1f455691fe am 2fd54c41: Merge "Improve animation timing." into jb-dev
* commit '2fd54c416b6f648e93bfa9dcb34fe8c6e4847a0f':
  Improve animation timing.
2012-05-09 01:44:57 -07:00
Philip Milne
3ed259a43c am 2a52d26c: am 7bb66c9c: Hide optical bounds feature for JB.
* commit '2a52d26c0b917de8b1e4d20ebad87b9b3825f6ca':
  Hide optical bounds feature for JB.
2012-05-08 11:32:06 -07:00
satok
05f5236f60 Merge "Make InputMethodSubtype thread safe" into jb-dev 2012-05-08 00:04:16 -07:00
satok
e52eb4e289 Make InputMethodSubtype thread safe
Bug: 6327800
Change-Id: I549d1ec377793e918800d919b39fd8f4b6f0db41
2012-05-08 14:45:09 +09:00
Jeff Brown
41a4704b09 Merge "Small tweaks to orientation." into jb-dev 2012-05-07 18:55:20 -07:00
Jeff Brown
daf5d894ef Small tweaks to orientation.
Improved threshold for detecting external acceleration.

Bug: 5976859
Change-Id: Iaf2298fba8eda72d1cacbb2f3aea72f460a9262f
2012-05-07 18:30:18 -07:00
Svetoslav Ganov
911b0c0b15 Merge "Accessibility focus actinos incorectly set on accessibility node info." into jb-dev 2012-05-07 18:29:09 -07:00
Svetoslav Ganov
b2ee0d5767 Merge "Text traversal at various granularities." into jb-dev 2012-05-07 17:54:31 -07:00
Svetoslav Ganov
02afe2cfd3 Accessibility focus actinos incorectly set on accessibility node info.
bug:6456267

Change-Id: I9fce268623cebef49dd613d193a36a0a1a0654aa
2012-05-07 17:54:07 -07:00
Romain Guy
e79e875812 Merge "Remove ViewTreeObserver allocations" into jb-dev 2012-05-07 17:45:33 -07:00
Svetoslav Ganov
6d17a936f7 Text traversal at various granularities.
1. Implementing text content navigation at various granularities.
   For views that have content description but no text the
   content description is the traversed at character and word
   granularities. For views that inherit from TextView the
   supported granularities are character, word, line, and page.

bug:5932640

Conflicts:

	core/java/android/view/View.java

Conflicts:

	core/java/android/view/View.java

Change-Id: I66d1e16ce9ac5d6b49f036b17c087b2a7075e4c0
2012-05-07 17:31:52 -07:00
Jeff Brown
59bbef0cd7 Improve animation timing.
Detect when a vsync message was significantly delayed which may
indicate that a frame was skipped.  When this happens, update
the frame time to reflect the approximate start time of the
current frame instead of the start time of the frame that was
skipped a long time ago.

Removed an unnecessary call to getCurrentPlayTime() in the
animator framework.  The result was always zero and the call
just made the code confusing.

Bug: 6443611
Change-Id: I92b24f7ffd74c59b75a727b6bfc0bb51fc92a73a
2012-05-07 16:49:42 -07:00
Romain Guy
b999cc118f Remove ViewTreeObserver allocations
This change replaces CopyOnWriteArrayList with a custom CopyOnWriteArray.
The new CopyOnWriteArray only allocates when a concurrent modification
is detected. Only one loop can iterate over CopyOnWriteArray at any
given time and the class is not thread safe.

Change-Id: Ie67a1ec20ff095350bf3c5d4f87cdb231ad57221
2012-05-07 16:30:54 -07:00
Philip Milne
2a52d26c0b am 7bb66c9c: Hide optical bounds feature for JB.
* commit '7bb66c9cae7847e3d58f412a73d54ee5d4bcaba0':
  Hide optical bounds feature for JB.
2012-05-07 13:09:14 -07:00
Philip Milne
7bb66c9cae Hide optical bounds feature for JB.
Change-Id: I1fe38e9c64515acd550baa930ebc0af4c139bf40
2012-05-07 11:42:57 -07:00
Romain Guy
c0496ffd0e am 9929b59a: am 9d7bbcb8: Merge "Log more frame data when profiling GL apps" into jb-dev
* commit '9929b59ac5d0c5b0ab400d9d8edf4163ca4c557d':
  Log more frame data when profiling GL apps
2012-05-07 10:28:44 -07:00
Romain Guy
9929b59ac5 am 9d7bbcb8: Merge "Log more frame data when profiling GL apps" into jb-dev
* commit '9d7bbcb89a3f14331c55ed2bbdcf768a4aa91cc1':
  Log more frame data when profiling GL apps
2012-05-07 10:25:43 -07:00
Romain Guy
a21f877434 Log more frame data when profiling GL apps
Change-Id: Ib7377c22a2258aa6510677d80df34bb7e73dc714
2012-05-07 10:20:52 -07:00
Svetoslav Ganov
475fc46842 am 9879659a: am 2551e5a1: Merge "API REVIEW: android.view.accessibility" into jb-dev
* commit '9879659a1cbfe404c725df1e57ff92f151bf65bc':
  API REVIEW: android.view.accessibility
2012-05-06 14:59:51 -07:00
Svetoslav Ganov
d88eb08cc2 am ae825876: am 3f28a1b7: Merge "Performing click and long click for accessiblity not returning result." into jb-dev
* commit 'ae825876fa9303ff4b3ad0964085a2a338089139':
  Performing click and long click for accessiblity not returning result.
2012-05-06 14:57:06 -07:00
Svetoslav Ganov
9879659a1c am 2551e5a1: Merge "API REVIEW: android.view.accessibility" into jb-dev
* commit '2551e5a1d9990514d8116e352b8e5c2f10a9d303':
  API REVIEW: android.view.accessibility
2012-05-06 14:56:53 -07:00
Svetoslav Ganov
ae825876fa am 3f28a1b7: Merge "Performing click and long click for accessiblity not returning result." into jb-dev
* commit '3f28a1b7ebb3500d13a1672ab76fe68e9c0a75e8':
  Performing click and long click for accessiblity not returning result.
2012-05-06 14:54:01 -07:00
Svetoslav Ganov
2551e5a1d9 Merge "API REVIEW: android.view.accessibility" into jb-dev 2012-05-06 14:53:27 -07:00
Svetoslav Ganov
3f28a1b7eb Merge "Performing click and long click for accessiblity not returning result." into jb-dev 2012-05-06 14:52:23 -07:00
Romain Guy
6455f207ab am f4588f83: am ec4d9040: Merge "Attempt to recover from apps destroying their window at draw time Bug #6436642" into jb-dev
* commit 'f4588f837361c1710f1fe69347f7505053bf2cad':
  Attempt to recover from apps destroying their window at draw time Bug #6436642
2012-05-06 14:19:23 -07:00
Romain Guy
f4588f8373 am ec4d9040: Merge "Attempt to recover from apps destroying their window at draw time Bug #6436642" into jb-dev
* commit 'ec4d9040f603b57b1706299f51838b6cc68b8f99':
  Attempt to recover from apps destroying their window at draw time Bug #6436642
2012-05-06 14:16:05 -07:00
Romain Guy
ec4d9040f6 Merge "Attempt to recover from apps destroying their window at draw time Bug #6436642" into jb-dev 2012-05-06 14:13:19 -07:00
Romain Guy
1f59e5c19b Attempt to recover from apps destroying their window at draw time
Bug #6436642

Change-Id: I906b9c68225683f97b9c97c153a1132cf9ac6509
2012-05-06 14:11:16 -07:00
Romain Guy
4fa22f0b4d am 95b0c45b: am aaa71475: Merge "Remove unnecessary framework allocations" into jb-dev
* commit '95b0c45b06d9a053f9050e0f0ef1171a18ae0711':
  Remove unnecessary framework allocations
2012-05-06 13:34:34 -07:00
Romain Guy
95b0c45b06 am aaa71475: Merge "Remove unnecessary framework allocations" into jb-dev
* commit 'aaa7147595346fdd398e2932817e075acbb8e497':
  Remove unnecessary framework allocations
2012-05-06 13:31:15 -07:00
Romain Guy
aaa7147595 Merge "Remove unnecessary framework allocations" into jb-dev 2012-05-06 13:27:29 -07:00
Romain Guy
ab4c4f4ff7 Remove unnecessary framework allocations
These allocations were frequently triggered by the home screen. This change
removes dozens of allocations during page scrolls on home.

Change-Id: I7289efa28ecf5bd62459042b10062aa9cf0432dd
2012-05-06 13:11:24 -07:00
Dianne Hackborn
36cade591a am 7bedac94: am 139e5aa1: Fix issue #6404215: New ActionBar auto-hide can conflict with application
* commit '7bedac9417d60608003d739c8caed7ca81683825':
  Fix issue #6404215: New ActionBar auto-hide can conflict with application
2012-05-06 12:51:47 -07:00
Dianne Hackborn
7bedac9417 am 139e5aa1: Fix issue #6404215: New ActionBar auto-hide can conflict with application
* commit '139e5aa1da51b27231ab36344cf2d0dafab23f1e':
  Fix issue #6404215: New ActionBar auto-hide can conflict with application
2012-05-06 12:48:45 -07:00
Dianne Hackborn
139e5aa1da Fix issue #6404215: New ActionBar auto-hide can conflict with application
The action bar now maintains separate states for the things that can
impact its visibility (calls from the app, action mode, system UI) so
that the changes in these won't incorrectly mix together.

Also added a hack to force the status bar to be shown when showing
the action bar for an action mode, when the UI is in a state where
the action bar would be shown with a gap above where the status bar
is.

Change-Id: Ib0950a7f585c5d2c9e77d11b237ba6e150f15ebd
2012-05-06 11:52:05 -07:00
Svetoslav Ganov
773f2624ec Performing click and long click for accessiblity not returning result.
1. When performing the click and long click actions the code in View
   was not returning the resilt of the called method.

bug:6426849

Change-Id: I0cf396a8373f622948ed436ce09f8d1dcf246acd
2012-05-05 19:59:46 -07:00
Dianne Hackborn
4256391861 am ce1d03b3: am 3fd4a382: Merge "Implement cropping of windows based on system UI elements." into jb-dev
* commit 'ce1d03b39935c42cfa0d11ef782c8c6a2fd823d4':
  Implement cropping of windows based on system UI elements.
2012-05-05 14:20:44 -07:00
Dianne Hackborn
ce1d03b399 am 3fd4a382: Merge "Implement cropping of windows based on system UI elements." into jb-dev
* commit '3fd4a3822160e8ad84122641a56c9f92540d02b5':
  Implement cropping of windows based on system UI elements.
2012-05-05 14:17:57 -07:00
Dianne Hackborn
3556c9a806 Implement cropping of windows based on system UI elements.
Start calling Surface.setActiveRect().

Change-Id: I94197059c971c6ab7820e615ea8f285482b86c75
2012-05-05 14:12:13 -07:00