Commit Graph

2901 Commits

Author SHA1 Message Date
Svetoslav Ganov
7956d5a019 am 72912116: am a3b67289: Merge "Fixing View.getBoundsOnScreen()" into jb-dev
* commit '72912116cf0ff08dc655f065cff173d53b7152bd':
  Fixing View.getBoundsOnScreen()
2012-05-09 10:10:33 -07:00
Jeff Brown
eda88f0089 am 3d42f8f8: am 9ac663ef: Merge "Disable input dispatch until boot finished." into jb-dev
* commit '3d42f8f8cab56ab33cb587a7aa857051d92ada90':
  Disable input dispatch until boot finished.
2012-05-09 10:10:09 -07:00
Romain Guy
1313b08011 am 3607c338: am 27ef44c4: Merge "Invalidate display lists immediately when views are removed/added quickly" into jb-dev
* commit '3607c338c75bbfbc7e3ac61b5ead4eaf1ac61427':
  Invalidate display lists immediately when views are removed/added quickly
2012-05-09 10:09:59 -07:00
Svetoslav Ganov
2da197dff2 am aecb9b59: am 59f3f585: Merge "Add performAccessibilityAction to AccessibilityDelegate." into jb-dev
* commit 'aecb9b59e6c9e9a864bf4b302f978fb950df09ff':
  Add performAccessibilityAction to AccessibilityDelegate.
2012-05-09 10:09:44 -07:00
Svetoslav Ganov
eacfff7f47 am c2f5e797: am 6704c233: Merge "AccessibilityNodeInfo for visible views should reported." into jb-dev
* commit 'c2f5e797506fbc4235d4940846f3e2110e67daa6':
  AccessibilityNodeInfo for visible views should reported.
2012-05-09 10:09:32 -07:00
Svetoslav Ganov
529ddb895e am ca1e49ca: am cdbbecf3: Merge "Accessibility focus on temporary detached view not cleared." into jb-dev
* commit 'ca1e49cad5b5eebdd47039289b604bea6f00e8f7':
  Accessibility focus on temporary detached view not cleared.
2012-05-09 10:09:29 -07:00
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
Svetoslav Ganov
72912116cf am a3b67289: Merge "Fixing View.getBoundsOnScreen()" into jb-dev
* commit 'a3b6728933c13599f3b2f22aad7016cdaa04d706':
  Fixing View.getBoundsOnScreen()
2012-05-09 01:49:10 -07:00
Jeff Brown
3d42f8f8ca am 9ac663ef: Merge "Disable input dispatch until boot finished." into jb-dev
* commit '9ac663ef9ab6ec455403d1e71bf897c34d3b311e':
  Disable input dispatch until boot finished.
2012-05-09 01:48:32 -07:00
Romain Guy
3607c338c7 am 27ef44c4: Merge "Invalidate display lists immediately when views are removed/added quickly" into jb-dev
* commit '27ef44c46d24a5800e227d945ffede813d7f28f7':
  Invalidate display lists immediately when views are removed/added quickly
2012-05-09 01:48:23 -07:00
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
14b2b74c13 Fixing View.getBoundsOnScreen()
1. The function was not setting the initial rect properly.

bug:6462629

Change-Id: I7a832a979576fc5745794c68fb8414257efb21dd
2012-05-08 16:41:28 -07:00
Jeff Brown
9ac663ef9a Merge "Disable input dispatch until boot finished." into jb-dev 2012-05-08 15:15:56 -07:00
Romain Guy
27ef44c46d Merge "Invalidate display lists immediately when views are removed/added quickly" into jb-dev 2012-05-08 14:52:48 -07:00
Romain Guy
2a0f228a30 Invalidate display lists immediately when views are removed/added quickly
The deferred invalidation of display list could cause problems with
view like TextureView who destroy resources when detached from the
window but only recreate them later at draw time. This would cause
temporary flashes or other visual glitches on screen.

Change-Id: I018488ba09743df21c6434ea610813014fb80a85
2012-05-08 14:46:26 -07:00
Jeff Brown
c042ee2acd Disable input dispatch until boot finished.
Bug: 6263070
Change-Id: I25e15e3d8af8eb3343c7b684fec345337d9f6aab
2012-05-08 13:58:32 -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
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
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
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