Commit Graph

2872 Commits

Author SHA1 Message Date
Svetoslav Ganov
aecb9b59e6 am 59f3f585: Merge "Add performAccessibilityAction to AccessibilityDelegate." into jb-dev
* commit '59f3f5853cd05103b5a83f5ddbe584a5270a9c6b':
  Add performAccessibilityAction to AccessibilityDelegate.
2012-05-09 01:47:55 -07:00
Svetoslav Ganov
c2f5e79750 am 6704c233: Merge "AccessibilityNodeInfo for visible views should reported." into jb-dev
* commit '6704c233390743890d23338a2329dcda5709b810':
  AccessibilityNodeInfo for visible views should reported.
2012-05-09 01:47:38 -07:00
Svetoslav Ganov
ca1e49cad5 am cdbbecf3: Merge "Accessibility focus on temporary detached view not cleared." into jb-dev
* commit 'cdbbecf357bf47e6eee6ba54caee5791834b5deb':
  Accessibility focus on temporary detached view not cleared.
2012-05-09 01:47:34 -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
Svetoslav Ganov
59f3f5853c Merge "Add performAccessibilityAction to AccessibilityDelegate." into jb-dev 2012-05-08 12:52:57 -07:00
Svetoslav Ganov
6704c23339 Merge "AccessibilityNodeInfo for visible views should reported." into jb-dev 2012-05-08 11:32:20 -07:00
Svetoslav Ganov
cdbbecf357 Merge "Accessibility focus on temporary detached view not cleared." into jb-dev 2012-05-08 11:29:37 -07:00
Svetoslav Ganov
961bf0e9b4 Accessibility focus on temporary detached view not cleared.
1. When a view that has accessibility focus is temporary detached
   we try to draw the focus highlight and crash. Since the detached
   view will be modified and then either attached or detached from
   the window we should not keep accessibility focus on a temporary
   detached view. Otherwise, we may have a scenario where the user
   thinks he is in one item scroll acound and being in completely
   different item because of the view being recycled but the user
   has no clue.

2. Clearing accessibility focus when the view is removed from the
   parent as opposed as when it is detached from the window. Since
   we may have transitioning views for removal we do not want
   accessibility focus on such views during the anumation.

bug:6457339

Change-Id: I62287a089ec6850fb1d691ae26dea54e1da39c94
2012-05-08 09:50:28 -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
alanv
8eeefefc84 Add performAccessibilityAction to AccessibilityDelegate.
Change-Id: I43dff2ced959af5d8a9ce9ed18858a6e74cb35c6
2012-05-07 18:42:31 -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
0a1bb6dffc AccessibilityNodeInfo for visible views should reported.
1. AccessibilityNodeInfos for visible views should always
   be reported and the clients should be able to check
   whether that node info is shown to the user. For example,
   focus search may return a node that is not on the screen
   and the accessibility layer may decide to give it focus
   which scroll the source view in the screen.

bug:6421991

Change-Id: Idc1fd8512dda767abe802aacedb0c69582e6fc2a
2012-05-07 18:22:59 -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
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
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
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
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
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
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
Svetoslav Ganov
2b435aada3 API REVIEW: android.view.accessibility
1. Changed all references to granularity to movement
   granularity. BTW, to be more precise it should be
   text movement granularity.

bug:6435232

Change-Id: If6366b002ca3390f74918995b342baff2cbcfd01
2012-05-04 17:16:41 -07:00
Svetoslav Ganov
9878a04b3c am 5fd72a2c: Merge "Finding focus for from rectangle now working." into jb-dev
* commit '5fd72a2cceae9955af316f32e17a84515c317738':
  Finding focus for from rectangle now working.
2012-05-04 15:52:45 -07:00
Svetoslav Ganov
5fd72a2cce Merge "Finding focus for from rectangle now working." into jb-dev 2012-05-04 15:49:44 -07:00
Fabrice Di Meglio
fc6ef88a3d am 8396830d: Merge "Hide RTL related APIs - DO NOT MERGE" into jb-dev
* commit '8396830d8fedc08c0a9de36bcce3c8b65691729f':
  Hide RTL related APIs - DO NOT MERGE
2012-05-04 13:21:59 -07:00
Fabrice Di Meglio
66388dcb09 Hide RTL related APIs - DO NOT MERGE
- fix bug #6441155 API review: @hide RTL layout APIs

Change-Id: I13c5ea5f579cecffed9d517f06180ab0576cd26a
2012-05-04 13:15:12 -07:00