23512 Commits

Author SHA1 Message Date
Svetoslav Ganov
bc896be574 Merge "NumberPicker not redrawn when current value is changed via an IME." 2012-04-12 16:58:34 -07:00
Svetoslav Ganov
fac14f9731 NumberPicker not redrawn when current value is changed via an IME.
1. The NumberPicker scroll wheel was not updated upon value change
   via an IME as well as the picker was not redraws after the change.

bug:6291879

Change-Id: I5ba30df42e38cd06fa150328399eb4deeb0b683d
2012-04-12 16:57:18 -07:00
Romain Guy
bc59bc355b Merge "Properly cache color state lists." 2012-04-12 16:31:51 -07:00
Romain Guy
5d911c3a95 Properly cache color state lists.
Clobbering the typed value's cookie with the alpha channel is not okay.

Change-Id: Ia75481be06699b42f80eb4c59672c6cd6cf8c0a8
2012-04-12 16:25:17 -07:00
Gilles Debunne
f6584a70e5 Merge "SpannableStringBuilder correctly broadcast span changes during replace" 2012-04-12 16:23:05 -07:00
Svetoslav Ganov
4a5af365af Merge "NumberPicker cannot fling in scrollable containers." 2012-04-12 16:22:34 -07:00
Svetoslav Ganov
83dc45c659 NumberPicker cannot fling in scrollable containers.
1. NumberPicker was not preventing its predecessor from
   intercepting touch events that are on top of it, hence
   it was not flingable in scrollable containres.

bug:5661117

Change-Id: I145f59b069f479935f551bc5e841f13468a6c676
2012-04-12 16:19:36 -07:00
Svetoslav Ganov
f6c8282cf3 Merge "NumberPicker truncates the edited value." 2012-04-12 16:07:04 -07:00
Svetoslav Ganov
f7c83bc4d3 NumberPicker truncates the edited value.
1. NumberPicker aims to reach the specified max width and height.
   If the max width was not specified, the picker computes it by
   measuring the widest value it will show. However, the case for
   recognizing whether the max width is specified incorrect, hence
   the max width was never measured.

bug:6193549

Change-Id: If67352a651e8d4a1d060868c876316e1c0e9bd0b
2012-04-12 16:05:09 -07:00
George Mount
ff39407595 Merge "Use selection handle to scroll edit text" 2012-04-12 15:36:50 -07:00
George Mount
557748dfbd Use selection handle to scroll edit text
Bug 6293151

Change-Id: I4362717a101cc297e9e8734aa975091a814aab1c
2012-04-12 15:35:22 -07:00
Dianne Hackborn
b0398f59aa Merge "Clean up lock screen hide animation." 2012-04-12 15:28:52 -07:00
Dianne Hackborn
0c2acffec8 Clean up lock screen hide animation.
We now have an animation to apply to the thing behind the lock
screen animation when it isn't on the wallpaper, which looks
similar to the animation we use when both are on the wallpaper.

In implementing this, cleaned up the code to figure out up-front
which animation to run, getting rid of that kludgy thing that
cleared the window animation if the wallpaper was not being used
for the lower windows.

Change-Id: Ifc4c8a8894ad384124dcf4bbdaab134f1157b0f3
2012-04-12 15:26:11 -07:00
John Reck
84d5e21921 Merge "Remove debug log" 2012-04-12 15:08:48 -07:00
John Reck
5c44fee5e9 Merge "Improve when highlight rects are shown" 2012-04-12 15:08:39 -07:00
Gilles Debunne
174c44c6cf SpannableStringBuilder correctly broadcast span changes during replace
Bug 6331765

A call to replace was previously not sending any span modification to the
attached span watchers.

Change-Id: Ic9e4a8ac0210e422961adfb18e205d80531889fe
2012-04-12 14:50:31 -07:00
John Reck
d855ffd514 Remove debug log
Change-Id: Ia76103b2a0225df2637af917c5ac352497ca0cf6
2012-04-12 14:45:49 -07:00
John Reck
2d8c13bd1c Improve when highlight rects are shown
Bug: 6319429

Change-Id: I8eb989d94433c01406cdb32e01034c644078a133
2012-04-12 14:19:05 -07:00
Svetoslav Ganov
f21bea245a Merge "CheckBox should not populate AccessibilityEvent with text." 2012-04-12 14:16:42 -07:00
Svetoslav Ganov
1728c07bfb CheckBox should not populate AccessibilityEvent with text.
1. Accessibility services are the ones that choose how to
   announces the checked state of a checkable control, so
   CheckBox should not add strings for its state to access
   events.

2. Removed some unused accessibility related strings.

bug:6241115

Change-Id: I572b961191da4b3537fb6cad529d9764d39161ec
2012-04-12 13:59:42 -07:00
Quddus Chong
4f8b71e41d am a97a7b5a: am 6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537" into ics-mr1
* commit 'a97a7b5a6efac20a112c1833579a0a2b17bc058e':
  docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537
2012-04-12 13:01:00 -07:00
Quddus Chong
a97a7b5a6e am 6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537" into ics-mr1
* commit '6971153d88ebe2e441b75081a273b88424498a45':
  docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537
2012-04-12 12:58:11 -07:00
Svetoslav Ganov
95487eb90c Merge "Some view not shown on the screen are reported for accessibility." 2012-04-12 12:54:25 -07:00
Svetoslav Ganov
aa6f3de253 Some view not shown on the screen are reported for accessibility.
1. Some applications are keeping around visible views off screen
   to improve responsiveness by drawing them in layers, etc. While
   such a view is not visible on the screen the accessibility layer
   was reporting it since it was visible. Now the check is improved
   to verify whether the view is attached, is in visible window,
   is visible, and has a rectangle that is not clipped by its
   predecessors.

2. AccessibilityNodeInfo bounds in screen were not properly set
   since only the top left point was offset appropriately to
   take into account any predecessor's transformation matrix
   and the not transformed width and height were used. Now
   the bounds are properly offset.

bug:6291855

Change-Id: I244d1d9af81391676c1c9e0fe86cf4574ff37225
2012-04-12 12:51:27 -07:00
Quddus Chong
ee71b1fa2d docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event).
Bug: 6318537

Change-Id: I4fb0f103bfe3ddf485e1bfa76eb39a51adce1aaa
2012-04-12 12:34:53 -07:00
Chet Haase
793807fff1 Merge "Fix AnimatorSet duration issue" 2012-04-12 12:02:13 -07:00
Romain Guy
decd3039ca Merge "Don't wait for screen on to finish animations" 2012-04-12 11:35:58 -07:00
Romain Guy
eb37889071 Don't wait for screen on to finish animations
OldAnimations™ would set their start time during the first frame drawn
after calling View.startAnimation(). If this method was invoked while
the screen was off, this would cause the animation to start playing
when the screen turned back on.

Change-Id: Ic45a1af2020a7f5e81c2544bd8f16a6bedbd6849
2012-04-12 11:33:14 -07:00
Steve Block
b187d52f8a Merge "Minor clean-up in DeviceOrientation and DeviceMotion" 2012-04-12 11:02:29 -07:00
John Reck
a3fab1cbd2 Merge "Cleanup unused code" 2012-04-12 09:54:28 -07:00
Chet Haase
c299a33841 Fix AnimatorSet duration issue
Setting the duration on an AnimatorSet should propagate that value
to its children. This works, but only if all children are added to the set
before setDuration() is called. This fix delays that propagation until
the set is started, making it possible to have a more flexible order of when
the children are added and when the duration is set.

Issue #6324904 AnimatorSet durations too long

Change-Id: I797971c2310eb2e3fe931b4aa35de505f2a519f7
2012-04-12 07:51:50 -07:00
Steve Block
5ba2efeb9f Minor clean-up in DeviceOrientation and DeviceMotion
No functional change.

See corresponding external/webkit change
https://android-git.corp.google.com/g/#change,125700

Change-Id: I2693328cb058820587ac43dd3121818959efd2d0
2012-04-12 11:08:13 +01:00
Jonathan Dixon
39edeeefe7 Merge "Hide WebView.getZoomControls()" 2012-04-12 02:29:50 -07:00
Jeff Sharkey
d9818244f9 Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1 2012-04-11 19:18:45 -07:00
Jeff Sharkey
aa0a453a7a DO NOT MERGE: Make component names visible in javadoc.
Change-Id: I3770ea6616b8425c387bcd27d668e3114b14335d
2012-04-11 19:15:42 -07:00
Jeff Sharkey
a11236bf09 Merge "Include enforcement state in dumpsys." 2012-04-11 19:11:35 -07:00
Jeff Sharkey
1c27576aff Include enforcement state in dumpsys.
Bug: 6323087
Change-Id: I6d779798538c114ea9816d3bdbbff5552c285df6
2012-04-11 19:07:08 -07:00
Jeff Sharkey
b990893ffc Merge "Make component names visible in javadoc." 2012-04-11 18:39:26 -07:00
Jeff Sharkey
5554b70822 Make component names visible in javadoc.
Change-Id: I3770ea6616b8425c387bcd27d668e3114b14335d
2012-04-11 18:30:51 -07:00
Ashish Sharma
9766937ba5 Merge "Synchronize/align periodic sync alarms based on a random per device seed value." 2012-04-11 18:22:18 -07:00
Romain Guy
f1352d87ea Merge "Fix SurfaceTexture leak in TextureView Bug #6318631" 2012-04-11 18:19:10 -07:00
Romain Guy
1ac4765e95 Fix SurfaceTexture leak in TextureView
Bug #6318631

Change-Id: I282a7c9bb648365ba61c52a84ff510c8779130ef
2012-04-11 18:15:20 -07:00
Ashish Sharma
69d95de53b Synchronize/align periodic sync alarms based on a random per device seed value.
Removes duplicates SyncHandler.MESSAGE_CHECK_ALARM messages from the queue.

Change-Id: Ib29a06da904cebdd45ee05c9d9a6bf00b72100eb
2012-04-11 17:56:28 -07:00
John Reck
a511bbf872 Cleanup unused code
Bug: 6317798

Change-Id: Ibf38d680fabacb2987cd26fac464875dd8ebad2e
2012-04-11 17:51:41 -07:00
Quddus Chong
eb84cc6bbd am c4180594: am 51cb7ca5: am c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971" into ics-mr1
* commit 'c4180594855bf108fe6eccf9f7ab57605ba86b58':
  SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971
2012-04-11 16:15:57 -07:00
Quddus Chong
c418059485 am 51cb7ca5: am c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971" into ics-mr1
* commit '51cb7ca563dda1ea92b76f216e5d2960dcd62cf8':
  SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971
2012-04-11 16:12:23 -07:00
Quddus Chong
9fd39dedf9 am c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971" into ics-mr1
* commit 'c08787fc96473b5738a4c024a13a8c7d24af496b':
  SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971
2012-04-11 16:10:33 -07:00
Quddus Chong
51cb7ca563 am c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971" into ics-mr1
* commit 'c08787fc96473b5738a4c024a13a8c7d24af496b':
  SDK doc change: Fixed typo and added method parentheses in line 206. Bug: 6318971
2012-04-11 16:09:07 -07:00
Amith Yamasani
856fbbedbb Merge "Don't migrate accounts.db if already migrated." 2012-04-11 16:06:03 -07:00
John Reck
c2676102d2 Merge "New WebView input dispatcher." 2012-04-11 16:03:46 -07:00