• Home
  • History
  • Annotate
  • only in /frameworks/base/core/java/android/widget/
History log of /frameworks/base/core/java/android/widget/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
51754778266652d206696fc905161db02b608880 17-Feb-2015 Alan Viverette <alanv@google.com> Fix year picker initial range

BUG: 19410328
Change-Id: I2a2952eb58eb856f93b7af2f49e08abe71078aa9
atePickerCalendarDelegate.java
9a166c7da3d77c4b9801dbe249f78149649d5b0e 06-Feb-2015 Alan Viverette <alanv@google.com> Merge "Mutate scroll bar drawables" into lmp-mr1-dev
f8512ce08174426dfbba96e8108e5a64332f1e71 06-Feb-2015 Alan Viverette <alanv@google.com> Mutate scroll bar drawables

Bug: 19285726
Change-Id: I4bb596433c1fa1cc4e2fa53d0cdae992f9add858
crollBarDrawable.java
bac8e12ebd8ed143cd2f1974280f0495c837def4 05-Feb-2015 Alan Viverette <alanv@google.com> Move layer-list to be top-level element in seek bar progress

There is a bug in <scale>, but this works around it for now. Removes
the previous fix, which broke the initial state due to the level not
propagating when the current drawable was swapped out.

Bug: 19269656
Change-Id: Ibe586ef4ea326a7ce7516ca42a369c5386c24359
rogressBar.java
ae12ee34f36226fce4de2314dbd69541d1a8863a 05-Feb-2015 Alan Viverette <alanv@google.com> Allow top-level drawable container in progressDrawable

Bug: 19269656
Change-Id: I82a49d1565f5c49320872f1489ce0f630ac85bd0
rogressBar.java
af461e12a12dba8fc544fa373831368ba2c18096 29-Jan-2015 Raph Levien <raph@google.com> Merge "Refine resolution order for typeface and fontFamily" into lmp-mr1-dev
42b3024efdec647266c1ae54a2a7c2c46915b380 29-Jan-2015 Raph Levien <raph@google.com> Refine resolution order for typeface and fontFamily

Previously any fontFamily value on a TextView would override a typeface
value, even if the fontFamily is from a TextAppearance (for example,
from the theme) and the typeface is explicitly set. This patch changes
the resolution order to fontFamily set directly on the TextView,
typeface set directly on the TextView, fontFamily from TextAppearance,
typeface from TextAppearance.

Bug: 16154223
Change-Id: I45c1e511fba8f64eb236200e3fa2e885c02b59dc
extView.java
197adec3656fc087d4aa56396e601bb8d04aa9fd 27-Jan-2015 Svetoslav <svetoslavganov@google.com> Merge "Accessibility: Ignore overlapping siblings when computing a click location" into lmp-mr1-dev
5efe0d199e9a6133af355ace6e4b52b82a65af6e 27-Jan-2015 Alan Viverette <alanv@google.com> Convert getHourForDegrees result to 12-hour format when needed

Also prevents the selector from jumping between the inner and outer
circle during touch exploration in 24-hour mode.

Bug: 19101918
Change-Id: If342056b378927397f8651dad5e8d806bcda03a6
adialTimePickerView.java
2563095d2d2798c05ebef81290c592826a1758f0 26-Jan-2015 Alan Viverette <alanv@google.com> Prevent drag-to-open from cycling pressed state, propagate hotspot

Avoids unnecessary changes to pressed state. Ensures hotspot propagates
to both the list view and the list item view since both receive the
pressed state.

Bug: 19134424
Change-Id: If2496ce2042e43fe1c1efd527eeca10dc53e1f4a
istPopupWindow.java
a1ac6a09252a8a615230f08767ab6153bd23a165 24-Jan-2015 Svetoslav <svetoslavganov@google.com> Accessibility: Ignore overlapping siblings when computing a click location

To click a view we were computing a click location by ignoring overlapping
views that are actionable. However, detection whether a view is actionable
is not always possible as the view may handle touch events directly. This
leads to unhandled edge cases. We are taking a conservative approach and
ignore all overlapping siblings regardless if clickable. This is also has
limitations but hopefully less frequent edge cases.

bug:18889611

Change-Id: Icea0b7b3e2d4ed53e50e01cb6a99b880be560b14
orizontalScrollView.java
oolbar.java
41fceb462b6eefbaa3a4d4e56b962fdb2910a6f5 23-Jan-2015 Svetoslav <svetoslavganov@google.com> Accessibilty: Cannot click on views in a scrollable container covered by the toolbar.

In accessibility mode we calculate a point where to click in the accessibility
focused view as a bridge-gap solution before switching to accessibility click
actions. We cannot detect whether a view is covered by another one that consumes
all touch events, and therefore we may click on the wrong target. This was the
case with the toolbar. As a result a partially scrolled view in a scrollable
container covered by a toolbar cannot be activated and this is not an edge case.

bug:18986806

Change-Id: Ib41470c39806cec13e9b00b319879cd7f3412ab5
oolbar.java
77e1f7a27bfdd040b00d7ec97440d3cb1e5b79a1 15-Jan-2015 Alan Viverette <alanv@google.com> Merge "Ensure scroll assets are drawn with correct opacity" into lmp-mr1-dev
03748a5707fe3d1f071226ea3caf571abdc0d25d 15-Jan-2015 Alan Viverette <alanv@google.com> Ensure scroll assets are drawn with correct opacity

Bug: 18903443
Change-Id: I5a7e738b1a09c22857683e2540c96a050b82866e
crollBarDrawable.java
7c0e7db67efda303a9964746dfcc7db243fb5fb4 15-Jan-2015 Roozbeh Pournader <roozbeh@google.com> Fudge getRightPaddingOffset in TextView to match clipRect.

A previous change (df68999dc7de3893ca80e4c736704dcc9ed94e35) adjusted
the clipRect slightly on the right side, but didn't adjust the
padding offset used in fading.

Bug: 18820846
Change-Id: I68c0918f914742d1e7b91f9ea8d5acbd41938233
extView.java
4a5baeaec9294dbb43fe3b36a44b3176101756b6 06-Jan-2015 Deepanshu Gupta <deepanshu@google.com> Merge "resolved conflicts for a0bc2e7e to lmp-mr1-dev" into lmp-mr1-dev
22a3163f1da8387e42c68c459f5667ac10744a3c 05-Jan-2015 Alan Viverette <alanv@google.com> Merge "Fix selector bug" into lmp-mr1-dev
dd508581216ef3ef47bd474316232f269db43f03 05-Jan-2015 Alan Viverette <alanv@google.com> Use min when comparing AM and PM text lengths

Also cleans up code a little to prevent unnecessary re-computation
of lower-cased strings and use final where possible.

BUG: 18874813
Change-Id: I852eb7a281aed64ac36e95f32f5fa410f50abfa4
imePickerClockDelegate.java
f5b02eb7c43a96d3f70a3ecc81738b0dff86df13 18-Nov-2014 Deepanshu Gupta <deepanshu@google.com> resolved conflicts for a0bc2e7e to lmp-mr1-dev

The original change wasn't properly merged into lmp-mr1-dev because of
merge conflicts. This change manually resolves the conflicts. The main
reason for the conflict was that TimePickerSpinnerDelegate was swapped
with TimePickerClockDelegate.

This change also fixes the typo in the original change which was fixed
in a subsequent change.

Original commit: 12b6d29b7b5592dcfb6e6fd6f0c21a40f37d014a
fix for typo: cb09bc45c58740af953874f9915306d351fc3d9d

Change-Id: I50bf8c2d86318f632465a38adfad16d1382a9319
imePickerClockDelegate.java
2167b11de6f239d7f747d2e11897b6759232b8fd 20-Dec-2014 Chet Haase <chet@google.com> Fix selector bug

Issue #18784539 Row stays highlighted if I begin scrolling after the rows been highlighted in "About phone"

Change-Id: Ia91467d8fe64eec077f20af70eae0d5bb070c255
bsListView.java
9973643bfc123fcc73803542ef8cb74e243907ce 15-Dec-2014 Alan Viverette <alanv@google.com> Merge "Give accessibility delegate the first pass at handling ACTION_CLICK" into lmp-mr1-dev
0cecbc9c7208f918ddf9d117057649f6e132069f 12-Dec-2014 Alan Viverette <alanv@google.com> Avoid self-recursion if client calls init() from date listener

BUG: 18736166
Change-Id: Ibe04040356f4a3e4479ea55c53a0e167144ff877
atePickerCalendarDelegate.java
cd305ae3ceef14dd5de807d75aa6167dfcd69c86 12-Dec-2014 Alan Viverette <alanv@google.com> Give accessibility delegate the first pass at handling ACTION_CLICK

Delegation is broken for widgets, but this fixes the most egregious issue
where TextViews that are top-level list items weren't handling CLICK
actions correctly. This will still need work, since now the focus action
won't run, but it's an improvement.

BUG: 18736135
Change-Id: I808ef628198946cc87f13c53d6245cd162a1e517
extView.java
ff44188309fca037892d0ded64cfee04a3a71c42 11-Dec-2014 Alan Viverette <alanv@google.com> Merge "Improve time picker accessibility" into lmp-mr1-dev
e6ec07fc5d7ce7732f63b6da73d3cc9e207df69f 10-Dec-2014 Alan Viverette <alanv@google.com> Always call onDateChanged() when the date picker selection changes

BUG: 18703635
Change-Id: I2f71aa2e3e053cc8afd1bb84641a9fb29de89c72
atePickerCalendarDelegate.java
3fc00e3139706c2c90f8e7261eef48086887dc11 10-Dec-2014 Alan Viverette <alanv@google.com> Improve time picker accessibility

Overrides click action description for TimePicker hour/minute selectors
and manually specifies traversal order for radial time picker nodes.

BUG: 17468036
Change-Id: I4472b42a95d762085d7a4d382feb2b9216c0d41c
adialTimePickerView.java
imePickerClockDelegate.java
7781647aa90d7d7a070ecd79e52c2d8a11b59b5c 09-Dec-2014 Alan Viverette <alanv@google.com> Merge "Fix auto-advance regression in radial time picker" into lmp-mr1-dev
11a68e18039b6bb2b67c5f7a82fa13d60583b2c3 09-Dec-2014 Alan Viverette <alanv@google.com> Fix auto-advance regression in radial time picker

If autoAdvance is set, we need to always fire the listener. We should
create a separate callback for auto-advance, but this is a minimal fix.

BUG: 18654878
Change-Id: Ie7b8a3ff91761325a508f580b27fa3b08f7b4e16
adialTimePickerView.java
882a1e89742607a3f1fdaa8f5bbd0eb894fc0150 08-Dec-2014 Alan Viverette <alanv@google.com> Merge "Let host view handle long-press when using drag-to-open" into lmp-mr1-dev
db82c9e00ee9eefab68f6b8fff5db60736583490 08-Dec-2014 Alan Viverette <alanv@google.com> Merge "Fix regression, don't NPE if Switch doesn't have a thumb set" into lmp-mr1-dev
381a423634a293d53f972a0ce4abd7fe7cf7d703 08-Dec-2014 Svet Ganov <svetoslavganov@google.com> Merge "When accessibility on cannot click on a view covered by a HorizontalScrollView" into lmp-mr1-dev
01a09630060eccc471ba3d8d83b34a602871d5c1 08-Dec-2014 Alan Viverette <alanv@google.com> Fix regression, don't NPE if Switch doesn't have a thumb set

BUG: 18670202
Change-Id: Iecb3498032c121c007ec87740ddebadb8e71c7a3
witch.java
298536b1a0873de211f8ab4588ec2acfb75f29f9 04-Dec-2014 Alan Viverette <alanv@google.com> Let host view handle long-press when using drag-to-open

BUG: 18605860
Change-Id: I75850138614f17cf728d4411c142a07bdf15d085
istPopupWindow.java
b942b6f15c51c2ff48c59d8f620ee6156d00f67e 08-Dec-2014 Alan Viverette <alanv@google.com> Fix hotspot coordinate propagation in ViewGroup and AbsListView

There was a weird disconnect between setPressed() and hotspot propagation
behavior. This makes hotspot propagation work like setPressed(). Also
fixes ripple animation during drag-to-open.

BUG: 18631557
BUG: 18593243
Change-Id: Id4adf5d815e4d426b4182aac4d0c780f04472ae4
bsListView.java
b3fa2787eabd2be6d7780e215db0d9a5904ba47c 05-Dec-2014 Svet Ganov <svetoslavganov@google.com> When accessibility on cannot click on a view covered by a HorizontalScrollView

In accessibility mode we send down and up events activate a view. We will later
switch to accessibility actions but for now as a bridge-gap we compute a point on
the screen where to click for activating the view. The heuristic we use has edge
cases such as a view that handles all touch events but does not have any listeners.
In this case we do not ignore the target view's area covered by a view that handles
all touch events. As a result we click on the wrong target. While we cannot solve
this generically, in the case of standard components such as HorizontalScrollView
we can.

bug:18612258

Change-Id: If8482aac0d0ea53c5c90367d099d1b8d3a4559ed
orizontalScrollView.java
9752428dc1829450e90417ca3e46d077e915ae90 03-Dec-2014 Alan Viverette <alanv@google.com> Use CURRENT_OR_SELF when checking SPEAK_PASSWORD setting

Using CURRENT isn't always safe.

BUG: 18557273
Change-Id: I12e197ab25b8ffdc04c5e74836945177870698a2
extView.java
002f918ceae416ba5c382de499ccff12e642c7b5 02-Dec-2014 Alan Viverette <alanv@google.com> Only send haptic events from time picker when time changes

BUG: 18572841
Change-Id: Iaa26e2f0804e301f8754e19a1d03dbd2142bf044
adialTimePickerView.java
0a310c99ee3217567f66578de2d2051e611d39aa 26-Nov-2014 Alan Viverette <alanv@google.com> Merge "Revert "Animates AbsSeekBar progress movement from key presses."" into lmp-mr1-dev
5ce0ec0efd541362359bfead8e62ade80a0425ca 25-Nov-2014 Alan Viverette <alanv@google.com> Revert "Animates AbsSeekBar progress movement from key presses."

Incorrect implementation that broke the Brightness dialog slider. Reverting
to the previous behavior.

This reverts commit c5c9d0af764f590ae0031b5470192a0a08ca42d1.

BUG: 18510040
Change-Id: I201b1da46be964fcf6f041bb92ef79c335c2d23d
bsSeekBar.java
rogressBar.java
atingBar.java
b6e0cb97b7d8e4acf345efc8066f1587408b83e0 25-Nov-2014 Alan Viverette <alanv@google.com> Load SPEAK_PASSWORD from currently active user rather than self

Also fixes a typo in UserHandle's docs.

BUG: 18295054
Change-Id: I1f5384f84062b9ea7dcbebe1e5f64af331028d41
extView.java
27fbf67644bed5d0d590458ad89cee38d8fddeaa 25-Nov-2014 Alan Viverette <alanv@google.com> Merge "Update documentation for DatePicker to reflect the new mode" into lmp-mr1-dev
d25eb9fbb9d659aab5e8ea25d16cb8bcb458a1a9 24-Nov-2014 Alan Viverette <alanv@google.com> Update documentation for DatePicker to reflect the new mode

BUG: 18508605
Change-Id: I23d45bf1cd7783fa6f397c15f0ba6802e4069d6b
atePicker.java
962b06f9a02f08392b6f87225a314ebf39dd7a07 24-Nov-2014 Selim Cinek <cinek@google.com> Merge "Fixed several time related states for secondary users" into lmp-mr1-dev
ace33655bff514698b322253c211f0af5a3edd37 21-Nov-2014 Yigit Boyar <yboyar@google.com> Merge "Improve GridLayout's weight calculations" into lmp-mr1-dev
9c4a707912da2c954b2d3d1311b8a691ded8aa16 21-Nov-2014 Selim Cinek <cinek@google.com> Fixed several time related states for secondary users

The 24 hour setting was not respected correctly. Also
fixed a bug where the next alarm would not display itself
in the QS panel.

Bug: 16239208
Change-Id: I89734f783912dead5831db49db53fba04dbf54ee
extClock.java
8ae8500365e71c59cbe96f600371391ac8d245b8 21-Nov-2014 Alan Viverette <alanv@google.com> Merge "Update scrollbars to match Material spec" into lmp-mr1-dev
199ea8c0c759d5993b23467f22f2bff120c93d38 21-Nov-2014 Alan Viverette <alanv@google.com> Update overflow menu alignment to match spec

BUG: 18417348
Change-Id: I5e4b1ca366c554bca33eac8e5403be6de72370f9
ctionMenuPresenter.java
7d5bcd7990704dd89c596a85429be661607b6dbc 21-Nov-2014 Alan Viverette <alanv@google.com> Update scrollbars to match Material spec

Adds a minimum touch target size to the fast scroller so that we can
edge-align an 8dp thumb but still maintain a 48dp touch target.

BUG: 18467743
Change-Id: I31e9cf1948856f5fce7d75383b84a9359684ebe5
astScroller.java
b130d5961cb154e8821cfa42fdd820d67497d84d 20-Nov-2014 Alan Viverette <alanv@google.com> Merge "Remove underline and search icon from ActionBar search view" into lmp-mr1-dev
552eca1a713ab8f6c60d6ec0d350ef33813cd25b 20-Nov-2014 Alan Viverette <alanv@google.com> Merge "Implement Material-style delegate for CalendarView" into lmp-mr1-dev
98d5f04f91580bf8b517c17132eeb8d42008b61d 19-Nov-2014 Yigit Boyar <yboyar@google.com> Improve GridLayout's weight calculations

This CL improves the method by which excess space is distributed in GridLayout.
Previously, GridLayout would assume weights were arranged in a 'line' and
sum the weights in the assumed line to figure out the proportional allocation
to each view. The system involved running GridLayout's internal constraint
solver twice.

Behavior was unspecified (and surprising) when weights appeared in views
that were not linked together linearly, typically leaving the last view
in each axis with more space than expected (in GridLayout's Bellman-Ford
constraint solver, remaining space goes to the last span of the axis).

This CL changes the weight distribution mechanism to effectively integrate it
with the Bellman-Ford constraint resolution algorithm. It does this
by returning a boolean value from the constraint solver saying whether or
not the constraints could be solved and then using a binary chop to find
a maximum amount of space that can be distributed without violating the
constraints.

This implementation runs the solver log(<axis size> * <number of Views>)
times until finding the maximum amount of space that can be distributed according
to the weights without causing a contradiction. We expect the cost of this
variation to be around a factor of 10 worse than the previous implementation
but to provide a simple and general definition of space distribution via
weights that will be open to many future optimizations.

As a side effect, this CL also fixes a bug in GridLayout where remaining space
was distributed only along the major axis.

Bug: 17485996
Change-Id: I120f39e95e90b5b35072ef8a6c348ec541aae42a
ridLayout.java
a489f0b3d9007d94ba514bf4ce71ce9957147e33 19-Nov-2014 Alan Viverette <alanv@google.com> Merge "Re-initialize data when changing time picker 24-hour mode" into lmp-mr1-dev
448ff718a0bb92c5b760668c12d2449a00f9aa2a 19-Nov-2014 Alan Viverette <alanv@google.com> Re-initialize data when changing time picker 24-hour mode

BUG: 18381313
Change-Id: Ie1fa9fbbf8edadfda71cf0ad4f1c39395e56ecc7
adialTimePickerView.java
cb8ed3705cd8f50d43ff4a0c5d91d545f28add7a 19-Nov-2014 Alan Viverette <alanv@google.com> Remove underline and search icon from ActionBar search view

BUG: 17396265
Change-Id: I751bc79538f1ea412192172035920e59351270f1
earchView.java
68235e4dbca1a51fa7df7ca5d2a68c8e4b3d541c 18-Nov-2014 Alan Viverette <alanv@google.com> Merge "Prevent NPE when computing FastScroller position with no visible items" into lmp-mr1-dev
25f7c4b99284cd1e118f50bd585e6534acfad7c4 14-Nov-2014 Raph Levien <raph@google.com> Merge "Update hint text color even when text present" into lmp-mr1-dev
cda81f2ded39b53dd813071760ad235363292d52 14-Nov-2014 Raph Levien <raph@google.com> Merge "Fudge clipRect in TextView for extra cursor width" into lmp-mr1-dev
df68999dc7de3893ca80e4c736704dcc9ed94e35 13-Nov-2014 Alan Viverette <alanv@google.com> Don't dismiss AutoCompleteTextView on focus change while temp detached

This is consistent with how TextView handles focus changes while
temporarily detached and prevents the suggestion popup from being
dismissed during layout when the AutoCompleteTextView is used
within a ListView.

BUG: 18364277
Change-Id: I8ca6fb9dba63b49a84a60a606bc441446c083cee
utoCompleteTextView.java
extView.java
44cb2432e90c7a9e0ee59b959d781ba8834c1736 13-Nov-2014 Raph Levien <raph@google.com> Fudge clipRect in TextView for extra cursor width

There are a number of cases (most commonly cursor at start of line in
RTL direction) where the cursor extends past the right edge of the
clipRect. This patch adds approximately 1dp on the right side of the
clip, so that the cursor doesn't get clipped.

Bug: 18035274
Change-Id: I489825a91750742c28e445f54f9d27000accbcfb
extView.java
4612740ddc76b3518dc6d189d5f8b5b7f60e9d64 13-Nov-2014 Alan Viverette <alanv@google.com> Implement Material-style delegate for CalendarView

BUG: 18266649
Change-Id: Ifd749328754b82dc43259ca7dadb472e449bdfff
alendarView.java
alendarViewLegacyDelegate.java
alendarViewMaterialDelegate.java
atePickerCalendarDelegate.java
ayPickerView.java
impleMonthAdapter.java
827015edb3037cc44c5133188684da0ec56f4027 13-Nov-2014 Alan Viverette <alanv@google.com> Prevent NPE when computing FastScroller position with no visible items

BUG: 18371212
Change-Id: I90b1f540cdc6095e18242b879c50e8060de662ee
astScroller.java
c1bf285966f95a52cfa7843efb2b8e37b5b752c9 12-Nov-2014 Raph Levien <raph@google.com> Update hint text color even when text present

When text is present (so the hint doesn't show), updating the hint color
was suppressed. This patch updates the hint color in all cases, but
still skips the invalidate when the hint text is not showing.

Bug: 17454233
Change-Id: I3887908fb184a10f7a1d7e64f1d92b4955323227
extView.java
4fc2ea8402b62001b225bf4e1a335c4cbf3b65ea 12-Nov-2014 Alan Viverette <alanv@google.com> Merge "Ensure time picker dialog fits on small screens" into lmp-mr1-dev
d9f3fdf45bd3e3b5b02f2d21b6df6598cbaf1c70 12-Nov-2014 Alan Viverette <alanv@google.com> Ensure time picker dialog fits on small screens

Also fixes dialog padding in landscape mode and a bug in the
ColorStateList method used to apply a selected color.

BUG: 18251582
Change-Id: Id5b8c7893ec42fd4d5f4a7520e6ac170839d3143
imePickerClockDelegate.java
993e3d2d40cbd95d78cd3d2a76c77af2f4ab0e88 11-Nov-2014 Alan Viverette <alanv@google.com> Merge "Call OnTimeChangedListener when new TimePicker values are selected" into lmp-mr1-dev
c0bf068bbff3080b930c9bb50bd6cc935b135536 10-Nov-2014 Alan Viverette <alanv@google.com> Merge "Clean up encapsulation in date picker classes" into lmp-mr1-dev
82aaf332b62c5a276c4046d1339441d68d817371 10-Nov-2014 Alan Viverette <alanv@google.com> Merge "Update above/below backgrounds in PopupWindow.setBackground()" into lmp-mr1-dev
73c3068b0ef9c14bfbe7b056905621cc147b9c38 08-Nov-2014 Alan Viverette <alanv@google.com> Call OnTimeChangedListener when new TimePicker values are selected

BUG: 18295303
Change-Id: Ib5922db3a16c1975554072e2af241bbd6cf807c4
imePickerClockDelegate.java
740da4753a878bfa2103ca3d4f487bdbfa75f445 07-Nov-2014 Adam Powell <adamp@google.com> Don't register more receivers and observers for every DateTimeView

SystemUI uses several of these per notification, so be a little more
conservative and track individual views to update per process instead.

Bug 16902706

Change-Id: Ib77a8e7727d027cae39d5e6f431cac1d1ff8a121
ateTimeView.java
ce8c358712414e4fa98e4504e6a1b8ad36d37c6c 07-Nov-2014 Alan Viverette <alanv@google.com> Update above/below backgrounds in PopupWindow.setBackground()

BUG: 17718714
Change-Id: I936dfede60bc006a59cd3eb1b18548c7702ae0ee
opupWindow.java
e763c9bd6ed0ca46daafc21fc4313ebcad4bcafa 07-Nov-2014 Alan Viverette <alanv@google.com> Clean up encapsulation in date picker classes

First step to replacing CalendarView with DayPickerView. Removes
dependencies on the DatePickerController class and adds setters
and listeners needed to hook up to DatePicker or CalendarView.

BUG: 18266649
Change-Id: Ic215f96eaddc0048040ec6bca0d85b776216fd26
atePickerCalendarDelegate.java
atePickerController.java
ayPickerView.java
impleMonthAdapter.java
aa33a487c8bfa0503a4c744a932a8344a96d52e1 05-Nov-2014 Alan Viverette <alanv@google.com> Merge "Always update date picker position after change in range" into lmp-mr1-dev
5ecbfeb38b6bdcfe8f3561f8cdcb4af9ba30c886 04-Nov-2014 Alan Viverette <alanv@google.com> Always update date picker position after change in range

BUG: 18204507
Change-Id: Id3ae11cdb68f60901a3145ebd93f3acbbccd71d2
ayPickerView.java
5ad076396c43b2d26f9c020f0914623972cadd0e 04-Nov-2014 Deepanshu Gupta <deepanshu@google.com> am cd5f3bab: Merge "Use the right layout for inflating Action Bar." into lmp-dev automerge: 84a89ed

* commit 'cd5f3bab37ef1dc041489f53f565416d295916d9':
Use the right layout for inflating Action Bar.
d8c941ff46a68b91c53b3b1dd26678593787e0f9 01-Nov-2014 Adam Powell <adamp@google.com> Merge "Don't update OverScroller fling state if no time has passed since start" into lmp-mr1-dev
311506afbba83c11b862c1f95a24dea83fab0aad 31-Oct-2014 Adam Powell <adamp@google.com> Don't update OverScroller fling state if no time has passed since start

If no time has passed when we try to update fling state, skip the
update computation since there is nothing to do.

Fixes a bug where we could return NaN from
OverScroller#getCurrentVelocity.

Bug 17700698

Change-Id: I65042d4d26a29593f66781b58456c2d1e85381c6
verScroller.java
b1ecf0d776a2dce5d60802f83fb97c893ba42bf1 31-Oct-2014 Svetoslav <svetoslavganov@google.com> Merge "Adding APIs to enable apps to influence accessibility traversal." into lmp-mr1-dev
6c70290ff0b20329c8f173d5c3423eb83ddc46f1 10-Oct-2014 Svetoslav <svetoslavganov@google.com> Adding APIs to enable apps to influence accessibility traversal.

Accessibility focus is a token that can be put on any view and is
entirely controlled by accessibility services which decide whether
to put accessibility focus on a given view and what the traversal
strategy is.

Currently accessibility service use the view tree structure for
traversal which does not always reflect the logical order and the
user experience is sub-optimal. In such cases apps should be able
to influence how they are traversed for accessibility.

This change adds the notion of an accessibilty traversal order.
If a view has next in the traversal, an accessibility service has
to traverse the content of this view before traversing the content
next one.

This change will enable accessibility service to move away from
using the view tree and use spatial location of the content while
app developers can also influence the treversal order.

bug:17319923

Change-Id: Ib67ae4577f30b2c96575c71538dc1afdea08bfd3
emoteViews.java
0bffc736e1f260724764d31f7499cbc09471a535 27-Oct-2014 Deepanshu Gupta <deepanshu@google.com> Use the right layout for inflating Action Bar.

The choice of Action Bar layout depends on the theme. This also affects
the widget used to render the Action Bar.

Bug: http://b.android.com/77853
Change-Id: I6219a02853b4cd207a6125a5ed96fa5d16699460
oolbar.java
f7dee54b62b02413fc6a0b8dc5666a7cd9758460 30-Oct-2014 Alan Viverette <alanv@google.com> Only draw AbsListView selector when focused or pressed

BUG: 18176135
Change-Id: Ibd9d9c0f439e5daa8eba606abc5ff055a3d8ff0c
bsListView.java
e436cb39da5ebd57b0ca072ba39bfbe52b0a75e7 30-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Fix ActionMenuView vertical alignment of items" into lmp-mr1-dev
d739d7bd8aa4dc9f12968f21a8faa3544215092b 30-Oct-2014 Alan Viverette <alanv@google.com> Ensure ImageView.setImageResource() always resolves Drawable

Fixes no-op on method call after configuration change at the expense
of removing a micro-optimization that wasn't really needed.

BUG: 18178233
Change-Id: I36eccf91b138e4bed34be96d9b87200edeb66938
mageView.java
4e7c562c43e9014c8fb3e75d02ba98fa4edadbde 29-Oct-2014 Alan Viverette <alanv@google.com> Merge "Update drawable state after updating tint list" into lmp-mr1-dev
66c0adcfd4351518512df2f3e81526d2d67d6d65 29-Oct-2014 Alan Viverette <alanv@google.com> Merge "Ensure accessibility focus rect is drawn correctly" into lmp-mr1-dev
d5133792391443521dc15f7da7de5d280e6703dd 28-Oct-2014 Alan Viverette <alanv@google.com> Update drawable state after updating tint list

BUG: 18155988
Change-Id: Ic536027a54c10b2082fbc22476530165b76e2c59
bsSeekBar.java
heckedTextView.java
ompoundButton.java
rameLayout.java
mageView.java
rogressBar.java
7a0ae7ed31a9e7e296c549dfbf035bf4270be69c 29-Oct-2014 Alan Viverette <alanv@google.com> Merge "Add content description to Toolbar collapse button" into lmp-mr1-dev
1970cfd4ef97a5a1b5dc385b114d615d858c359b 29-Oct-2014 Chris Banes <chrisbanes@google.com> Fix ActionMenuView vertical alignment of items

BUG: 18066203
Change-Id: I2a34f5b8b33e1e0f32c54acf79b281290fc047f1
ctionMenuView.java
85085343b378f00a34448b69e582226fa584b005 29-Oct-2014 Alan Viverette <alanv@google.com> Add content description to Toolbar collapse button

BUG: 17722111
Change-Id: If6caa8bc61b0d178648952c419591380f4edf4ba
oolbar.java
4bf9edfc1f3a66d6d2f782e7d6f8e9d9002b3971 28-Oct-2014 Alan Viverette <alanv@google.com> Merge "Update drag-to-open menu close behavior" into lmp-mr1-dev
632af849240f54f91b2b4fde77d3a51c4d045f74 28-Oct-2014 Alan Viverette <alanv@google.com> Ensure accessibility focus rect is drawn correctly

Reverts previous change that draws it as part of View.draw() and ensures
that the display is always redrawn if a view has accessibility focus.
Correctly removes focus from views with accessibility focused ancestors.

Also reverts the focus indicator to use a solid line since the dotted
line looked janky.

BUG: 17675993
Change-Id: I25718334cc1ae1c2cd19d3c23af1c18c6a67504c
bsListView.java
e5d27a22a6908026d346e86389cf414b5badeab6 28-Oct-2014 Alan Viverette <alanv@google.com> Merge "Play CLICK sound effect when compound buttons are clicked" into lmp-mr1-dev
d4e7790fee10e21b41a1c387c2734722bda56a0b 28-Oct-2014 Alan Viverette <alanv@google.com> Play CLICK sound effect when compound buttons are clicked

Also plays the sound effect when the switch changes state as a result
of dragging, since that's effectively the same as the click action.

BUG: 16308311
Change-Id: Ic187ece2a8190082617f5ac7aaf05c3511fa80b5
ompoundButton.java
witch.java
99b4e8507309f8e08ecc0baf994ccdc8020d6359 28-Oct-2014 Alan Viverette <alanv@google.com> Update drag-to-open menu close behavior

Menu now closes if the user opens using long-press and then lifts their
finger when touching outside of the menu. This is consistent with the
normal drag-to-open interaction model.

BUG: 16352041
Change-Id: I06aafae7b702ef44000ed19707c46e2bb595095e
istPopupWindow.java
384755230c52f0951820ba496f300959dcc84ead 28-Oct-2014 Alan Viverette <alanv@google.com> Merge "Fix min/max date range in DatePicker calendar mode" into lmp-mr1-dev
b32f04b785306f06d7d07b824fb8dcc1b4a61aa6 25-Oct-2014 Svet Ganov <svetoslavganov@google.com> Merge "Printing from two apps at the same time not working." into lmp-mr1-dev
99a82437ed8e0537d9a355a124d2bb30aea46ad8 25-Oct-2014 Svet Ganov <svetoslavganov@google.com> Printing from two apps at the same time not working.

When printing from two apps at the same time the second print UI is
getting stuck. There were a couple of issues here:

AdapterView was not notifying for item selection if the data changes
after scheduling a dalayed selection notification and the notification
execution. The code assumed that a layout pass will occur and posponed
the notification after the layout pass but it is not guaranteed that
such a layout pass will occur. Now we delay only if a layout pass is
being scheduled.

Also when binding to the PDF rendering service the print spooler was
using the same intent and as a result two print activites were getting
the same renderer instance while they should get separate ones. Now
we use different data in the intent to ensure we get separate renderer
instances.

Change-Id: I6aa7c7b041957804b4273549dd837a6d70064efc
dapterView.java
50eb025c2fea7e364e0be951ce8ba6ca605f901a 24-Oct-2014 Alan Viverette <alanv@google.com> Fix min/max date range in DatePicker calendar mode

Also cleans abstraction of various day/year pickers and adapters.

BUG: 18104457
Change-Id: Ifde664788d8123a3123303940bac63c1350c2cd7
atePickerCalendarDelegate.java
atePickerController.java
ayPickerView.java
impleMonthAdapter.java
impleMonthView.java
earPickerView.java
1ac52667ee03af090bb13d1ccf45ee6f38ddee3c 24-Oct-2014 Alan Viverette <alanv@google.com> Merge "Add support for Explore by Touch to RadialTimePickerView" into lmp-mr1-dev
ffb46bf2956d89e3190007ccf2ef3ce3eed005fe 24-Oct-2014 Alan Viverette <alanv@google.com> Add support for Explore by Touch to RadialTimePickerView

Also adds IntArray, which is like LongArray for integers, and prevents
the AM/PM label text in the time picker header from wrapping.

BUG: 17468036
Change-Id: I7120089885709f23e20368927e4b3ed9db2e5393
adialTimePickerView.java
impleMonthView.java
imePickerClockDelegate.java
104d2484ec605d9673e74cc125d92d41b6968327 24-Oct-2014 Jason Monk <jmonk@google.com> Merge "Show screen pinning toasts on all users" into lmp-mr1-dev
82fd842827fcdb3570d0c606bd049f42bf2b3fba 23-Oct-2014 George Mount <mount@google.com> Merge "Protect against ImageView changing to a null Drawable during Transition." into lmp-mr1-dev
daf33ed85353ab7d7a7668dd0e3f9a66f0d5583f 23-Oct-2014 Alan Viverette <alanv@google.com> Swap names for clock delegates so they are correct

Change-Id: Ic11affae802f0afe4746f65f0b96979a7c5a9c0a
imePicker.java
imePickerClockDelegate.java
imePickerSpinnerDelegate.java
a585268aff94b620b2c22e9ba3ae1163bb5dc8a8 23-Oct-2014 Jason Monk <jmonk@google.com> Show screen pinning toasts on all users

Bug: 17657660
Change-Id: I964a210e7fb105e9494a7ab7f383aa9d141ba136
oast.java
d8bc6677e5b923cda9e953b60c936815368fb84a 23-Oct-2014 Svet Ganov <svetoslavganov@google.com> Merge "Optimize text rendering in accessibility mode." into lmp-mr1-dev
e8f676c0e580f5ffffbc23befd4b4ffac0d0a332 23-Oct-2014 Alan Viverette <alanv@google.com> Merge "Use correct smooth scroll default duration" into lmp-mr1-dev
183cef06df00c20df97b6a964dead91c1f7fa0a2 23-Oct-2014 Alan Viverette <alanv@google.com> Merge "Ensure AdapterView doesn't post selection notifications forever" into lmp-mr1-dev
3b415e41cc2be7ede25be203b447143c3f8c046b 23-Oct-2014 Alan Viverette <alanv@google.com> Use correct smooth scroll default duration

BUG: 18092378
Change-Id: I503677129edb647b7970b4e39a175289d5798e1b
bsListView.java
d0aae5a2226c620c547690039fc06dfdf20ea35d 23-Oct-2014 Wale Ogunwale <ogunwale@google.com> Merge "Fix issue #17789629: PopupWindow overlaps with navigation bar." into lmp-mr1-dev
393b1c1e88cbdd0f65c8f217c495dbbe8de9125d 19-Oct-2014 Wale Ogunwale <ogunwale@google.com> Fix issue #17789629: PopupWindow overlaps with navigation bar.

The Lollipop release introduced a feature that allowed
apps to extend under the navigation bar. This also means
any popup window that is anchored to the bottom of its
parent window will overlap with the navigation bar if the
parent window is extending underneath the navigation bar.

This change introduces a new window flag
(FLAG_LAYOUT_ATTACHED_IN_DECOR) that allows the app to
specify if the popup window should be attached to the decor
frame of the parent window thereby avoiding an overlap
with the screen decorations.

By default the flag is set on SDK version LOLLIPOP_MR1 or
greater and cleared on lesser SDK versions.

Also, replaced flags FLAG_NEEDS_MENU_KEY and
PRIVATE_FLAG_NEEDS_MENU_KEY_SET with needsMenuKey state
variable to make room for the new
FLAG_LAYOUT_ATTACHED_IN_DECOR flag.

Bug: 17789629
Change-Id: I2150e0c6ac688c966c0e8f7e54d42fd20285bea6
opupWindow.java
3d52809bad2d96f7f39aa50e51bd53c69607cb4e 21-Oct-2014 Alan Viverette <alanv@google.com> Merge "Prevent excessive accessibility announcements in TimePicker" into lmp-mr1-dev
a496ba555292f091e4051ef7f0bc946a894b2804 18-Oct-2014 Alan Viverette <alanv@google.com> am e61519b4: am 15e7b2ac: Merge "Translate compound button drawable by scroll position" into lmp-dev

* commit 'e61519b4a541a4262389842ae8b72dac401b2199':
Translate compound button drawable by scroll position
b95c336d7863e6b63e2aa8682a90dd8ae213889c 18-Oct-2014 Alan Viverette <alanv@google.com> Translate compound button drawable by scroll position

BUG: 18028674
Change-Id: Iaba848642b87f0d134c6a6c57e5756d883e45904
ompoundButton.java
26c563b051aacf5be66a0453be00a645ed3f50cd 17-Oct-2014 Alan Viverette <alanv@google.com> Prevent excessive accessibility announcements in TimePicker

This is not a complete solution, and it's still awkward to use for
actually setting the time using the radial time picker. Better
software keyboard support and explore-by-touch CLs are still pending.

BUG: 17994166
Change-Id: Ia2871840a13cb00c140f7f2ab07fe03371acab2f
imePickerSpinnerDelegate.java
0db6536190fa34910c0bfe376c47b8d594f32a25 17-Oct-2014 Alan Viverette <alanv@google.com> Merge "Update AM/PM selectors for clock face TimePicker" into lmp-mr1-dev
b4a29247ffb58f44e50edad7cf56ffc2ea0d7c6b 16-Oct-2014 Alan Viverette <alanv@google.com> Merge "Set content description on CalendarView day labels" into lmp-mr1-dev
0511023432ff24c5ddda563e326273936b5d40f5 16-Oct-2014 Alan Viverette <alanv@google.com> Merge "Document Toolbar's vertical alignment strategy" into lmp-mr1-dev
29632521c36548d71b610fc4de864281bab4dfb4 16-Oct-2014 Alan Viverette <alanv@google.com> Add style support to PopupMenu, clean up constructor javadoc

BUG: 18002523
Change-Id: Ice492686b814460248ccbe9727c64dd002e7ed7a
opupMenu.java
ef71947fd38f7918a628a238fee2ae000bb6bb45 15-Oct-2014 Alan Viverette <alanv@google.com> Set content description on CalendarView day labels

BUG: 17985867
Change-Id: I64fa9c757504fe7aebd8d5b7576ebe57e3a3e3fd
alendarView.java
67945c11a5e9547f71be91ceb99e7b9ff15a6292 15-Oct-2014 Alan Viverette <alanv@google.com> Update AM/PM selectors for clock face TimePicker

The selectors are now CheckedTextViews, which makes more sense when
using a screen reader.

BUG: 17468036
Change-Id: I09c62a08172a710faa8fb7ed2bf99a66331e5701
adialTimePickerView.java
imePickerClockDelegate.java
imePickerSpinnerDelegate.java
9e1c67e861302f0df55859c422000b437cef2027 14-Oct-2014 Svet Ganov <svetoslavganov@google.com> Optimize text rendering in accessibility mode.

In accessibility mode when iterating over the text of a TextView we
use the selection to keep track of the current position. Consequentally,
if the text of a TextView does not support selection we change the text
to Spannable. Doing that has performance cost. While we need selection
support before we used to convert the text to Spannable even if we do
not need to. Now this transformation happens only when the user decides
to traverse the text which is very rare as opposed to doing this for
every TextView.

bug:17491082

Change-Id: Id7e82e01034e439b5d34133b9350a4efc4d19d4a
extView.java
157afde397f817e0a3a21c5d47011db462b6fff6 14-Oct-2014 Alan Viverette <alanv@google.com> Document Toolbar's vertical alignment strategy

BUG: 17526065
Change-Id: I78fdd8da225c33971985d3941f54624b20248409
oolbar.java
ef72a198afc4ded0b75534a97142fae2e91b46f5 26-Aug-2014 Jorim Jaggi <jjaggi@google.com> Apply color to progress bar for notifications

Bug: 17128179
Change-Id: Ia642ff2a352bbabf2d1e468367d45dc188ee0e73
rogressBar.java
emoteViews.java
d83e9e42805e340384f30199777fbc472c5c6f20 09-Oct-2014 Dianne Hackborn <hackbod@google.com> am 0761b1b5: am 89b19695: Merge "Put in real "code" (aka marketing) name." into lmp-dev

* commit '0761b1b5ebb453a411e3289c1c972dbfddcee880':
Put in real "code" (aka marketing) name.
955d8d69ea6caabce1461dc25b339b9bf9dc61a6 08-Oct-2014 Dianne Hackborn <hackbod@google.com> Put in real "code" (aka marketing) name.

Change-Id: Idb3976edfae37293ed75cb5b869b4b42d8042bbe
ditor.java
pinner.java
ec8e720ae209d975ac34dc66e51f280d9a9482ef 07-Oct-2014 Alan Viverette <alanv@google.com> Ensure AdapterView doesn't post selection notifications forever

Previously we would loop forever if a selection notification was
posted after data had changed but the data changed bit was never
reset (e.g. a layout pass never occurred). This moves the pending
notification to occur as part of a layoutChildren() /
checkSelectionChanged() pass. If the client does horrible things
to prevent layout, no notification will occur -- but we won't loop
forever.

BUG: 17736536
Change-Id: I9773a769ad402c92dcbe2af7b8982d4443001961
dapterView.java
f6c763d6a4c84a576ed0ec99b8c22f3550eb39ba 26-Sep-2014 George Mount <mount@google.com> Protect against ImageView changing to a null Drawable during Transition.

Bug 17600191

Change-Id: I5918866dbb6594725f4712a92acdef23003e8f3e
mageView.java
31409c0ccd1434efdcfff8f7ddcd7c4207660104 06-Oct-2014 Benjamin Franz <bfranz@google.com> Merge "Introduce new API to get an unbadged icon and unbadge permissions." into lmp-mr1-dev
ec2d48b96d1f95fb266914df294a27c210f8c3f5 01-Oct-2014 Benjamin Franz <bfranz@google.com> Introduce new API to get an unbadged icon and unbadge permissions.

Bug: 17125560
Change-Id: I61b884186c96cc54dcaf1d3c7ee8f47610fd1d21
ppSecurityPermissions.java
94f5155d6c81b5fd3326a91e4a2670bccfddf284 02-Oct-2014 Newton Allen <newt@google.com> am c68aad9f: am d84ce32b: Merge "Fix some documentation typos." into lmp-dev

* commit 'c68aad9fd0f7937176ac6a8238e6236dd7ea3427':
Fix some documentation typos.
d84ce32bd2d7c3cebac15545504f4fec464a6956 02-Oct-2014 Newton Allen <newt@google.com> Merge "Fix some documentation typos." into lmp-dev
62a8b61f929315c82448888a7addb0853f62293e 02-Oct-2014 Alan Viverette <alanv@google.com> Manage pressed state during drag-to-open

BUG: 17573390
Change-Id: Ia85d7b51d6e4a18dcbf99b930f9f7c045697a31b
istPopupWindow.java
3be5e0e625534126a922d407d8c5f3ffc7d26568 30-Sep-2014 Alan Viverette <alanv@google.com> Implement missing visibility management for FrameLayout foreground

BUG: 15350931
Change-Id: I16900d0d95051489852385d682e7b5aa4adad327
rameLayout.java
8f8a11b7fa26e603519131001ab46596aa30ba1a 26-Nov-2013 Newton Allen <newt@google.com> Fix some documentation typos.

Change-Id: I747a0ade5c7b9c45d4465bf327952338bbc1cfaa
(cherry picked from commit 4465d1a03ee5fddc5987c19fc36b0bb79e19572f)
elativeLayout.java
extView.java
b067405bf453289a6b6bfd34b06700f08be58c24 27-Sep-2014 Alan Viverette <alanv@google.com> Add callback to track and thumb drawables, propagate state in ASLD

BUG: 17665424
Change-Id: I22da4530f3e2869d856102e804f020461a46fe49
witch.java
c8ffeeca673cc667f781116b269eb0886ab3bb86 26-Sep-2014 Raph Levien <raph@google.com> Merge "Defer spelling correction with apostrophe" into lmp-dev
b1fef1114e31e35c90bc885fd9e8f9381895846f 25-Sep-2014 Raph Levien <raph@google.com> Defer spelling correction with apostrophe

When typing a contraction (such as "doesn't") we don't want a spell
right after the apostrophe, as this will create a false temporary red
underline, and the span split also breaks a kern pair causing text to
shift. This patch detects the case where the cursor is immediately after
such a word and suppresses correction in that case.

Bug: 17641350

Change-Id: I4d09576a31df551c96f820242fd2cbc675506dae
pellChecker.java
80c0bbe82c9804af3499bae5f55a5931c92f1a7b 26-Sep-2014 Alan Viverette <alanv@google.com> Merge "Correctly advertise accessibility scrolling actions" into lmp-dev
947a96956035e1ee22a82d18aec018b9046b641b 25-Sep-2014 Alan Viverette <alanv@google.com> Correctly advertise accessibility scrolling actions

Previously, we didn't take into account partially-visible views. This
extracts existing logic for determining whether the list can scroll
up or down and applies that when adding scrolling actions.

BUG: 17648502
Change-Id: I7ed9382e1645970ab098c210ad10f8a077da834b
bsListView.java
744beffb6ae76d682c559970bb634722c835a32e 22-Sep-2014 Adam Powell <adamp@google.com> Track persistent nested Y offset for fling velocity

Track the nested offsets applied persistently in AbsListView and
ScrollView. This allows accurate velocity to be reported to nested
fling/pre-fling.

Bug 17548219

Change-Id: I66199c534aca7fb81746eff6d04c931e4c4e48da
bsListView.java
crollView.java
1258dd21422880ec8d3e1b7a115a1a86965cb295 19-Sep-2014 Svetoslav <svetoslavganov@google.com> Merge "Keep existing API behavior that regressed." into lmp-dev
b62424432555d8069f24c2a3550c97a06e5b02f6 19-Sep-2014 Svetoslav <svetoslavganov@google.com> Keep existing API behavior that regressed.

If RemoteViews get a null package in the constructor we are
using the context in which they are applied to obtain resources
during inflation. In such a case if we call the getPackage()
method we were getting null, i.e. the package passed in the
contructor, but now we are returning the package if the app
that created the remote views.

bug:17513823
Change-Id: I0c4a8953c8320469a9160dbaae46ce31465b313b
emoteViews.java
17f48457d29af96050c03609ac17126f0acbdf5b 19-Sep-2014 Adam Powell <adamp@google.com> Merge "Add colorEdgeEffect to themes, default it to colorPrimary" into lmp-dev
c6c744da75cfb79ba758a60baa3029495016fcfe 19-Sep-2014 Adam Powell <adamp@google.com> Add colorEdgeEffect to themes, default it to colorPrimary

Allow edgeeffect colors to be changed independently of the primary
color for the current theme.

Bug 16512225

Change-Id: Ibc13ad755f489fe1f6d16af0c61a1d12dd1a61f7
dgeEffect.java
840855c021fe012fcf02b2704c8ca2dd4b092f2f 19-Sep-2014 Alan Viverette <alanv@google.com> Merge "Fix radial time picker inner circle (1-12) selections" into lmp-dev
bb696dcca988c828898a4b7685e8ce715fe53c65 19-Sep-2014 Alan Viverette <alanv@google.com> Fix radial time picker inner circle (1-12) selections

Result of a poorly collapsed set of if block conditionals.

BUG: 17580782
Change-Id: I7f7e5038f943d1f49e1541acfa282479cb2505ea
adialTimePickerView.java
40c6c555e9497bde30e5b1c1fc9026c784b29fa5 19-Sep-2014 Yigit Boyar <yboyar@google.com> Fix scroll position calculation when clipToPadding is false

Bug: 17568582
Change-Id: I904450d62c93105db5c61a071c7816278bb441be
astScroller.java
5665c0f265c7d1e46f0af832ffdf39af183c038e 17-Sep-2014 Brian Attwell <brianattwell@google.com> Merge "Pass different dy into dispatchNestedSCroll" into lmp-dev
af8e823d99549896b78e751e38e3632c5e3226fc 17-Sep-2014 Alan Viverette <alanv@google.com> Merge "Preserve NPE behavior of removed TextView.getTextColors() API" into lmp-dev
48134823247cc380831b2d92ae422b53de208054 17-Sep-2014 Alan Viverette <alanv@google.com> Merge "Fix TimePicker.setCurrentHour() when argument is 0" into lmp-dev
a67d9095b7731df3a6ae3f45738a2980151fd1af 17-Sep-2014 Craig Mautner <cmautner@google.com> Restore changes that were needed.

Reverting the changes in ag/548487 also reverted alanv's changes
in ag/547793. This restores alanv's changes.

Fixes build.

Change-Id: Ifa2aa928a3ad29fe49e52dbec4e4833538dfe7e9
atePicker.java
atePickerCalendarDelegate.java
e0e4217330fc3fa86046c284696df3b2d9785632 16-Sep-2014 Brian Attwell <brianattwell@google.com> Pass different dy into dispatchNestedSCroll

Bug: 16462679
Bug: 17529919
Change-Id: I328457a27507253cc7bfeab0e2daa4d4563aab17
bsListView.java
fe16787bd4887627937480bb1ead8e4e93110160 17-Sep-2014 Alan Viverette <alanv@google.com> Preserve NPE behavior of removed TextView.getTextColors() API

BUG: 17511449
Change-Id: Iea7e9aed69c21b230e3c474d4c1378a8663cfcb1
extView.java
704991224d8a3c17e84330e6b69c77bb0c503827 17-Sep-2014 Craig Mautner <cmautner@google.com> Merge "Revert "Fix various bugs in DatePickerCalendarDelegate"" into lmp-dev
706b3547f88c9f5aaf6e3949e2d32dbe57cea5b4 17-Sep-2014 Craig Mautner <cmautner@google.com> Revert "Fix various bugs in DatePickerCalendarDelegate"

alanv@ fixed this yesterday.

This reverts commit 82537efa4c5f4aad12b9aa249fb27eda21647f39.

Change-Id: If2b91ee36f8b24f695200ac1a87a306246ee5e44
atePicker.java
atePickerCalendarDelegate.java
f6b4254befa7e07eb74b8d3244593fdcc4a5b70b 16-Sep-2014 Craig Mautner <cmautner@google.com> Merge "Fix various bugs in DatePickerCalendarDelegate" into lmp-dev
9c26b54d3c6b958cb097a32115b9e24780c879e1 16-Sep-2014 Craig Mautner <cmautner@google.com> Fix various bugs in DatePickerCalendarDelegate

These bugs were exposed by cts DatePickerTest.

Fixes one item in 17459129.

Change-Id: Ifab52c6e6e760b75633aa4fe8ccf2d724f587e09
atePicker.java
atePickerCalendarDelegate.java
915a666c21284a4f75033c809d3953e1b37ac549 16-Sep-2014 Amit Mahajan <amitmahajan@google.com> Merge "Use Op package name when creating toasts" into lmp-dev
929442d50961d36f5b3e5dacf48ab279a2209fb6 16-Sep-2014 Tony Hill <tonyhill@motorola.com> Use Op package name when creating toasts

Some components may be running in processes other than their
base package using android:process directives. The op package
name must therefore be used otherwise the AppOps check will fail
due to a mismatch between the base package name and the UID.

Bug: 17431423
Change-Id: I429aa46066935b964151a2ec0854f0e14c117c4e
oast.java
d015e3454ec1271ba6e5e3e6f0e5f7459b8b09ea 16-Sep-2014 Alan Viverette <alanv@google.com> Properly handle dispatchRestoreInstanceState for new-style DatePicker

Fixes reversed day/month/year in restore instance state.

BUG: 17514055
Change-Id: Id839f2f0dbca47034dc84100dbeb1c32e8848178
atePicker.java
atePickerCalendarDelegate.java
d735c9b1ed36c7a45afc662c109c2dbf3e205e39 16-Sep-2014 Alan Viverette <alanv@google.com> Fix TimePicker.setCurrentHour() when argument is 0

BUG: 17515453
Change-Id: Ie67db01ed3c574a23ec377de15e48aa1b4ae3709
adialTimePickerView.java
38f93bcb2155d9af821261f4eff5c2d7ba9234e5 16-Sep-2014 Alan Viverette <alanv@google.com> Always apply ImageView's tint attribute using SRC_ATOP by default

Preserves pre-L behavior and avoids requiring developers to manually
set the tintMode to SRC_ATOP when targeting SDK 21+.

BUG: 17507827
Change-Id: I43f86cbcb9662172254f46700441ca85a54428f6
mageView.java
b56f5d2ab18f881eb075b698e9ce1b4a4a09ff64 15-Sep-2014 Alan Viverette <alanv@google.com> Clean up view drawable tinting methods, fix default modes

Calling setTint now only modifies the tint. It won't force a mode change.

BUG: 17494736
Change-Id: I91392634869ed23981d8e61a403bb2be42aa7a07
bsSeekBar.java
heckedTextView.java
ompoundButton.java
rameLayout.java
mageView.java
rogressBar.java
f116056a80253ddc89ad513e99293f403ebcfbee 12-Sep-2014 Adam Powell <adamp@google.com> Merge "Make Toolbars eat touch events" into lmp-dev
61d15b98561ab500ccaec5d21d98c8c0ea3ae47f 12-Sep-2014 Adam Powell <adamp@google.com> Make Toolbars eat touch events

Just like action bars, toolbars shouldn't allow touches to fall
through to sibling views that they overlap.

Bug 17483356

Change-Id: I9068e1f9cf3c4226000e0058c371283a997b1bd0
oolbar.java
9d9581f52edcbd086edcd4153e9daa29c0205256 12-Sep-2014 Alan Viverette <alanv@google.com> Fix toolbar height, list divider alpha, action item padding

BUG: 17487305
BUG: 17470290
BUG: 17486967
Change-Id: Ib0cb4308f9d57e730504bdeb125662b648cad0f7
ctionMenuPresenter.java
3fadee479107f0494e1e190aba2a1eea12cb0a75 08-Sep-2014 Yohei Yukawa <yukawa@google.com> API Review: Clean up removed APIs

This CL removes old API signatures marked as @removed
in the follow CLs.
- Ic8c6fab58c01206872a34e7ee604cdda1581364d
- Ia8cbb9f6b41cd9509fc0147fd68763dfde593ffc
- I772c48ff18918e48a81e807b48ff907614485c09

This is just a clean-up CL. No behavior change is intended.

BUG: 17200900
BUG: 17320996
BUG: 17365414
Change-Id: Ibfbd5cc1cdebb8851c73477cff55c9b2d631fdea
bsListView.java
e461d549bf571fcca7698d1b5e7da71310e0998d 12-Sep-2014 Alan Viverette <alanv@google.com> Merge "Remove unsafe methods that take TypedArray" into lmp-dev
5171dee2152758f307c9a1d70396fa79a921aef5 12-Sep-2014 Alan Viverette <alanv@google.com> Remove unsafe methods that take TypedArray

BUG: 15782973
Change-Id: Ief4ff69c90c16b0e8c93316af9d46ae9639648fa
extView.java
34e53ab66e9e25150479a0c524183e853accce45 12-Sep-2014 Alan Viverette <alanv@google.com> Merge "Vertically align toolbar child views with similar gravities" into lmp-dev
e3cb7baeb9563cd78fecbd84f9ab43be62d25013 12-Sep-2014 Alan Viverette <alanv@google.com> Vertically align toolbar child views with similar gravities

Also fixes Body1 text size, action bar title size on sw600dp-land.

BUG: 17266152
Change-Id: Ib686dd6e80dfcdad920c922a532f4f5d6252fa19
oolbar.java
0c1964e76db4d1debcf5b2f2f45b4d38a8770c93 11-Sep-2014 Alan Viverette <alanv@google.com> Merge "Use Calendar day of week rather than Time in SimpleMonthView" into lmp-dev
5878076456a2eb510c03b6160a0cfb99a54e0cfd 11-Sep-2014 Alan Viverette <alanv@google.com> Use Calendar day of week rather than Time in SimpleMonthView

BUG: 17377360
Change-Id: I685f35b760c049edaa8934eccaf5ce1bbf326cf2
impleMonthView.java
593f2d33bb1741123263e0179edda21315ea590c 11-Sep-2014 Alan Viverette <alanv@google.com> Merge "Fix docs and nulling behavior for TextView.setCompoundDrawables" into lmp-dev
7ff0270e7d6f7f2549555e316d1a5f3b20ab3e8e 11-Sep-2014 Alan Viverette <alanv@google.com> Merge "Make SearchView styles public, remove public Holo styles added in L" into lmp-dev
362f984df3b3ef555cce128acc7c693209c6841c 11-Sep-2014 Alan Viverette <alanv@google.com> Make SearchView styles public, remove public Holo styles added in L

We shouldn't adding styles for a deprecated theme. Also this cleans up
the removed public resources for easier deletion later.

BUG: 17455273
Change-Id: I2c5caf354aab91463702f25c38f0dd29c153ba44
earchView.java
20dbc370e3b61882400b93174ecfc3a2167a5f22 10-Sep-2014 Raph Levien <raph@google.com> Merge "Remove auto spaceifying behavior on paste" into lmp-dev
5a689ce78ed85cb5df1f2c7c680dcc6525dfe9eb 10-Sep-2014 Raph Levien <raph@google.com> Remove auto spaceifying behavior on paste

The paste action contained some logic to automatically insert or remove
spaces, basically to emulate the semantics of the text being a sequence
of space-separated words. This was never universally loved, and gives
particularly unexpected behavior with a hardware keyboard.

This patch simply removes the logic to automatically adjust spaces on
paste, so what gets pasted is simply the literal buffer contents.

Bug: 16900326
Bug: 3304489
Change-Id: I5cdf9c43d98a17aa708883b47245aa7929a124d2
ditor.java
extView.java
97f84eeb0a123700b6d57cb288b57547a5fcb735 10-Sep-2014 Alan Viverette <alanv@google.com> Fix docs and nulling behavior for TextView.setCompoundDrawables

BUG: 17444686
Change-Id: I879f32722dda4c976b00fcd003ed18b9488654ab
extView.java
a7cbaeb138b280b51f282a371cd11c65c0d05d1b 10-Sep-2014 Alan Viverette <alanv@google.com> Merge "Bring up the IME when TextView receives ACTION_CLICK" into lmp-dev
ad0c450d4d9a1db6384984884e2a8244fe0c5071 10-Sep-2014 Adam Powell <adamp@google.com> Merge "ActionMenuViews always reserve overflow when creating their own menus" into lmp-dev
e8d153673bdbbb113559ad592ad8a4e92e8d0d7e 09-Sep-2014 Adam Powell <adamp@google.com> ActionMenuViews always reserve overflow when creating their own menus

ActionMenuViews work in two modes: hosting another Menu instance or
creating their own. The former is used when an action bar is
displaying a window's options menu. The latter is used when an
ActionMenuView (or Toolbar) is placed within an arbitrary layout and
the getMenu method is called.

When showing a window's options menu, ActionMenuPresenter calls into
the ActionBarPolicy to determine if we should reserve an overflow
button or if overflow will be presented by the window instead. Always
reserve overflow if the ActionMenuView is presenting its own menu.

Bug 17381966

Change-Id: I17c495986994d421bf6276ae39ba233243432e97
ctionMenuView.java
b687788f52e8367a32efbfdbc4738c2cae5804c1 08-Sep-2014 Alan Viverette <alanv@google.com> Bring up the IME when TextView receives ACTION_CLICK

Simulates the relevant portions of a DOWN/UP event pair to request focus
and bring up the IME.

BUG: 8213791
Change-Id: Idb32d81552ecbbdefc64686c914eba6d8e28b0b8
extView.java
b505298489ca55e605dda7195dc5e2d58f6be365 09-Sep-2014 Alan Viverette <alanv@google.com> Merge "Use correct row/column order in list and grid CollectionItems" into lmp-dev
fd1e93d128da9dbb2f97630c01239bb56199686e 08-Sep-2014 Adam Powell <adamp@google.com> New new design for ResolverActivity

Switch back to using a list as the grid and differently positioned
activity icons were confusing to users. Keep the distinct "last used"
presentation but align icons and titles with the further choices
below. Adjust this to make the fold more apparent. Remember
open/closed slider state across config changes.

Fix some bugs in nested scrolling and flinging.

Bug 17301272

Change-Id: I175937d5821df27b6ac7ffad7f01cd9a6ed3e3e3
bsListView.java
77c180a5137348022fce388930a9781863f83e74 09-Sep-2014 Alan Viverette <alanv@google.com> Use correct row/column order in list and grid CollectionItems

BUG: 17427260
Change-Id: Ie90767100bc38fa903173ae150b9807203230020
ridView.java
istView.java
5f183f0671dfa1d87ca6d741deb457170c432493 02-Sep-2014 Yohei Yukawa <yukawa@google.com> L API proposal: Introduce IS_RTL flag

This CL introduces CursorAnchorInfo.FLAG_IS_RTL for better
RTL support. This CL also renames *CharacterRect() with
*CharacterBounds() so that they can look more consistent
with other existing APIs.

Rationale:

CursorAnchorInfo.FLAG_IS_RTL addresses following issues.
1. There is no way to associate the RTL information with
the insertion marker.
2. Returning mirrored (right < left) RectF for RTL in
CursorAnchorInfo#getCharacterRect() is turned out
to be bug-prone. Such usage of RectF is not fully
supported. For example, RectF#isEmpty() always returns
false when right < left.
3. There is no reliable to provide the RTL information
when CursorAnchorInfo#getCharacterRect() returns an
empty (right == left) RectF. Perhaps we could use +0.0
and -0.0, but I'm afraid that it is also bug-prone.

BUG: 17365414
BUG: 17335734
Change-Id: Ic8c6fab58c01206872a34e7ee604cdda1581364d
ditor.java
a3ca5a31a5db14e7c4597de074f01c1af6161872 08-Sep-2014 Alan Viverette <alanv@google.com> Merge "Add first day of week API to date picker" into lmp-dev
da3af8fe1b529b14106f02410158bdc5f63346fc 05-Sep-2014 Kenny Guy <kennyguy@google.com> Merge "Fix RemoteViews to inflate views for current user." into lmp-dev
c46125042493e66f7dfdccec24e3b0739600b194 05-Sep-2014 Adam Powell <adamp@google.com> Menu callbacks for ToolbarActionBars, part 2

Pass through the menu mode change events and make sure Activities get
prepare/open/close events properly.

Bug 17326424

Change-Id: I0ac2f56e4d0054ef01720b2ff1c41ded053750c7
ctionMenuView.java
oolbar.java
e50a26f3d874940dd345d7f65a1aa98aa9527bd4 05-Sep-2014 Adam Powell <adamp@google.com> Merge "Dispatch more menu events to window callbacks from ToolbarActionBar" into lmp-dev
1e7b18188ce3ee95e64e8bc3d74948b53333932d 05-Sep-2014 Adam Powell <adamp@google.com> Merge "Material EdgeEffect refinements" into lmp-dev
710c456ddb32fe05e13965183e7018015da52eae 05-Sep-2014 Adam Powell <adamp@google.com> Material EdgeEffect refinements

Add back auto-recede for EdgeEffect, but with a longer delay. Removing
it caused compatibility issues in existing custom views that never
call onRelease. The longer delay will be a signal that something is
amiss without disrupting the UX too badly.

Recede the glow more quickly on release.

Start translucent and fade to more opaque as the glow grows and is
pulled further. Make the opacity stronger in the extreme cases so the
glow is more prominent.

Equalize glow size across the width and height.

Bug 15146438
Bug 15936708

Change-Id: I020d705906e6225b044d0f5303bafa733a679a66
dgeEffect.java
04c0d4607897157f01c908475fa0c6d7301cf7e5 05-Sep-2014 Adam Powell <adamp@google.com> Dispatch more menu events to window callbacks from ToolbarActionBar

Wire through the callbacks that result in onPrepareOptionsMenu being
called properly when an activity overflow menu is opened.

Bug 17326424

Change-Id: Ifc5b67af0d215f210bb00326f82f60ba55a36d52
ctionMenuView.java
oolbar.java
3b256c850c86a9a5d543496e118c84a33b851fae 04-Sep-2014 Alan Viverette <alanv@google.com> Merge "Fix AM/PM text i18n and clean up keyboard support in time picker" into lmp-dev
773200640ba6561432e57b86a94bd3836494e4cf 27-Aug-2014 Kenny Guy <kennyguy@google.com> Fix RemoteViews to inflate views for current user.

Fix RemoteViews so that it loads resources from
user that created the RemoteViews but inflates
for the user applying the RemoteViews.
Fix Notification to rebuild RemoteViews with
same ApplicationInfo as original app.

Bug: 17302505
Change-Id: I39f21eef83d63e9e494ea35818e1eb969edd38d7
emoteViews.java
692356b7c392130b7f38f46a60570617c978ba75 04-Sep-2014 Kenny Guy <kennyguy@google.com> Revert "Ensure all RemoteViews use myUserId rather than context."

This reverts commit 5287e37687f117ac0b690100ad90842eff58d15a.
Reverting because only worked if settings cache had been populated
already.

Bug: 17302505
Change-Id: I4360606e9d9c6409951f0a02bd0b78c55085e0c6
ateTimeView.java
emoteViews.java
extClock.java
extView.java
a449018105252f6d8d83c4b7064ce54476a6c6f7 04-Sep-2014 Kenny Guy <kennyguy@google.com> Merge "Ensure all RemoteViews use myUserId rather than context." into lmp-dev
879ebec4e2a12a802339549cb4fefa32b5368379 02-Sep-2014 Kenny Guy <kennyguy@google.com> Ensure all RemoteViews use myUserId rather than context.

Remote views may be inflated in another user so
explicitly use processes user id rather than the
user id of the context.

Bug: 17302505
Change-Id: I985c91745f03dd7e6b2ab6357600077664d8e6be
ateTimeView.java
emoteViews.java
extClock.java
extView.java
0a04bb0d4bf18318fe5473bf5615c2016bc26373 04-Sep-2014 Alan Viverette <alanv@google.com> Add first day of week API to date picker

BUG: 17377360
Change-Id: Id4c109ac68e083d488a4281655bf9411fea92163
atePicker.java
atePickerCalendarDelegate.java
atePickerController.java
588e117cce8d9a7a2a763713cecc3b0fa44e8031 04-Sep-2014 Svetoslav Ganov <svetoslavganov@google.com> This is no longer needed for factory ROM and since it changes behavior - reverting. Also causes NPE crash.

Revert "NumberPicker not announcing current selection."

This reverts commit 44d026c95bb9e582b7b18e355ec7a3458df52259.

Change-Id: I0bb6db9666fc9eb477737d1114c5c87035ed202b
umberPicker.java
ba9bf41a77261471a4dc9d7964aec41726b4e4e6 04-Sep-2014 Alan Viverette <alanv@google.com> Fix AM/PM text i18n and clean up keyboard support in time picker

Also updates date picker to use drawable for the header background to
match the implementation in time picker. The time picker background
now supports showing a focused state ripple.

BUG: 17344077
BUG: 16227517
Change-Id: Ida715badb4a151fc16edd91fd4a0dae32953c99e
atePicker.java
atePickerCalendarDelegate.java
adialTimePickerView.java
imePickerSpinnerDelegate.java
ea4ecd6241dbe3a336b39619fd2f281ddfaae1d4 04-Sep-2014 Adam Powell <adamp@google.com> Fix a regression in SearchView focusability

A bit of code was removed that re-read the View style attributes
during SearchView construction to extract the focusable attribute, but
with a different default value if it was entirely missing. Restore it,
and lump re-reading the focusable attribute in with SearchView's
styleable filter array instead of using the giant View one for a
second time during inflation.

Bug 17292230

Change-Id: Ic5a2dd2d55893b0b290f1f7a3b6de09b37329245
earchView.java
058e1f5a38390d578700da73ca8215b5a066df57 03-Sep-2014 Svetoslav <svetoslavganov@google.com> Merge "NumberPicker not announcing current selection." into lmp-dev
ca505661010cae519408b3cc96e18e6c95339bd0 03-Sep-2014 Svetoslav <svetoslavganov@google.com> NumberPicker not announcing current selection.

bug:17299486

Change-Id: I73fd33ef3518ef8e6cdd40cd036e8f104dc492b6
umberPicker.java
d8636ea7ca78df83d6b04088eab7853f15f3e999 03-Sep-2014 Yohei Yukawa <yukawa@google.com> API Review: InputConnection

This CL does nothing but rename some L API candidates
in InputConnection class, as per requested.

- requestUpdateCursorAnchorInfo()
-> requestCursorUpdates()
- REQUEST_UPDATE_CURSOR_ANCHOR_INFO_IMMEDIATE
-> CURSOR_UPDATE_IMMEDIATE
- REQUEST_UPDATE_CURSOR_ANCHOR_INFO_MONITOR
-> CURSOR_UPDATE_MONITOR

BUG: 17320996
Change-Id: I772c48ff18918e48a81e807b48ff907614485c09
bsListView.java
f6f7b0c56907b1a57f1793a2b879b27ce233ad57 03-Sep-2014 Alan Viverette <alanv@google.com> Merge "Fix accessibility events emitted from TwoStatePreference" into lmp-dev
d400ca2f8db42e57e41f2a999833703619348fef 03-Sep-2014 Adam Powell <adamp@google.com> Merge "Automatically supply a content description for ToolbarActionBar nav" into lmp-dev
d780ce19201b0e0e220a3d002d903502267092c9 03-Sep-2014 Yohei Yukawa <yukawa@google.com> Merge "API Review: CursorAnchorInfo" into lmp-dev
996a63859fd6e1e77f88ae465afa2c71e4dd3245 03-Sep-2014 Alan Viverette <alanv@google.com> Fix accessibility events emitted from TwoStatePreference

Removes redundant and conflicting events emitted from check and switch
preferences. Sends VIEW_CLICKED accessibility events from AdapterView
rows after calling their on click listeners, which ensures data is
consistent.

BUG: 16961152
Change-Id: I4b57bceec6830d775c2da57226b8ee482242caf7
dapterView.java
12b0321c0b400f105cad40568a1f572020ba6336 03-Sep-2014 Adam Powell <adamp@google.com> Automatically supply a content description for ToolbarActionBar nav

If the developer hasn't set a navigation content description on the
Toolbar assigned to be an action bar or a home-action content
description via the ActionBar interface, use the framework default
"navigate up" string.

Also make sure that the default Up description is supplied in the
screen_toolbar window decor layout and that it is parsed properly in
all toolbars, even if we don't have an icon set during construction.

Bug 17298370

Change-Id: Ie2f9e34f92046d4d4ffb9a07e38fa89581891f7b
oolbar.java
4c5ea10caf8b84ab05c2d032145a7a3a26aa9b51 02-Sep-2014 Raph Levien <raph@google.com> Merge "Ensure layout in getExtendedPadding calls" into lmp-dev
463cf1aea84c6f27155b45f3df70ec2550afb6ab 02-Sep-2014 Raph Levien <raph@google.com> Ensure layout in getExtendedPadding calls

There are cases in which getExtendedPaddingTop() and Bottom can get
called even without a valid layout. This patch just makes sure there
is some reasonable layout available.

Fix for bug 14819392 "java.lang.NullPointerException in
android.widget.TextView"

Change-Id: I203899402ddfe857a688b16b7855a8991eee82b7
extView.java
cc24e2b6a2a429d70b75c6810a5cfd8816ce03ad 30-Aug-2014 Yohei Yukawa <yukawa@google.com> API Review: CursorAnchorInfo

This CL introduces following combinable flags as a replacement
of CHARACTER_RECT_TYPE_* constants.
- CursorAnchorInfo.FLAG_HAS_VISIBLE_REGION
- CursorAnchorInfo.FLAG_HAS_INVISIBLE_REGION

This CL also replaces #isInsertionMarkerClipped() with
flags.

Rationale:
getCharacterRectFlags() should return a set of flags, rather
than enum-like types.

getInsertionMarkerFlags() is more consistent with
getCharacterRectFlags() than isInsertionMarkerClipped().
It is also open for future extension.

BUG: 17200900
Change-Id: Ia8cbb9f6b41cd9509fc0147fd68763dfde593ffc
ditor.java
a7118c9bb2764a98ac5920f211af15d19553c6a8 02-Sep-2014 Ronghua Wu <ronghuawu@google.com> Merge "API: Document android-allow-cross-domain-redirect in MediaPlayer and VideoView" into lmp-dev
17ee3ec0b85f1ca29920bc3bf26e613b82a0ecf8 29-Aug-2014 Jorim Jaggi <jjaggi@google.com> Media notification updates

- Make text white.
- Adjust padding & metrics to redlines.
- Use different narrow layout when 3 or less notifications with big
picture.
- Update action ripples.
- Fix progress bar size & fix color for indeterminate progress bar.
- Apply default background in SystemUI when no color is set, so we
don't end up with white text on white background.

Bug: 15437369
Bug: 16625746
Bug: 15147533
Change-Id: Ie8bd5ad0bbca972685adb50034fff88ea97456bd
emoteViews.java
f825e0c561cc3ba79e62b01f13ea9d4d2f62c1cc 29-Aug-2014 Adam Powell <adamp@google.com> Merge "Doc improvements for new Toolbar changes, now with attributes." into lmp-dev
d760249623a57d35dc0b4e57972eb9a72934d500 29-Aug-2014 Adam Powell <adamp@google.com> Doc improvements for new Toolbar changes, now with attributes.

Change-Id: I3f67899b4f9ab9ae4ab4f5dcbc853c08d7867947
oolbar.java
b051ef62af58d8628555503535b349b4401677aa 29-Aug-2014 Adam Powell <adamp@google.com> Merge "Don't add title margins during to Toolbar layout if titles don't fit" into lmp-dev
0c1dc53e74694a747b49cd4fdccb4e59ba636126 29-Aug-2014 Adam Powell <adamp@google.com> Merge "Add xml attributes to Toolbar for navigation icon" into lmp-dev
4c9765a654f7db15091d373f989908da54bfd155 29-Aug-2014 Adam Powell <adamp@google.com> Don't add title margins during to Toolbar layout if titles don't fit

When all space is consumed in a Toolbar by other views the special
shared title/subtitle margins shouldn't be added to the running
position during layout.

Bug 17253638

Change-Id: I179fcbf286fa68fd8df6e25bb1879bccbf1532ed
oolbar.java
7c13bc2a7090544a04fc93813794a8b97bc86ff7 29-Aug-2014 Adam Powell <adamp@google.com> Add xml attributes to Toolbar for navigation icon

...to match the existing setters/getters.

Change-Id: I9814c5d7f2aa0559c93fbb74881e29064473f186
oolbar.java
2635b7b0d33d166e081587922b2fe96bf294ac57 29-Aug-2014 Svetoslav <svetoslavganov@google.com> Fix app widget serices not being unbound.

bug:17321037

Change-Id: I44578df1104f9bd2e28700a3422a3323844d92c0
emoteViewsAdapter.java
40ce0707143895d8ea07e8a57e1dff38c0ac303b 29-Aug-2014 Alan Viverette <alanv@google.com> Fix docs build

Change-Id: Id7b961ebcfffe536992208a157f625b5a1b1e1b6
utoCompleteTextView.java
pinner.java
b1b267114cbcad19735011eb6ab305cdd3d54585 28-Aug-2014 Alan Viverette <alanv@google.com> Merge "Update action bar item widths, overflow menu, button, and spinner styles" into lmp-dev
f023c2530a4591889dda614aaa016d5a9f9617ed 28-Aug-2014 Alan Viverette <alanv@google.com> Update action bar item widths, overflow menu, button, and spinner styles

Manually modifies the overflow button hotspot bounds so that the ripple
appears to be centered on the overflow icon. Adds styleable and parsing
for list popup window offsets. Updates spinner text appearance to be
consistent with drop down item text appearance. Also updates horizontal
inner padding in buttons.

BUG: 17305079
BUG: 17304391
BUG: 17302567
Change-Id: Iafddfef290078de968894a3b443ba9f60f84c6d4
ctionMenuPresenter.java
utoCompleteTextView.java
istPopupWindow.java
pinner.java
3e92d2ec474f041ce73e9710ab31f7d18dc37a36 28-Aug-2014 Yigit Boyar <yboyar@google.com> Merge "Use a weak observable in AutoCompleteTextView" into lmp-dev
4c5a27b5f667ebc7cb2b188655820ad3fddedb52 28-Aug-2014 John Reck <jreck@google.com> Merge "Animator stuff" into lmp-dev
119907cd2575c56b1ebf66348b52e67aaf6a88d8 14-Aug-2014 John Reck <jreck@google.com> Animator stuff

Bug: 17228458

Change-Id: Id884a429a512f9cd2be0ed16dbd0f10e92b4440d
ditor.java
6490644b4d37667a73d2e48450d1de9297c3bf0b 25-Aug-2014 Yigit Boyar <yboyar@google.com> Use a weak observable in AutoCompleteTextView

If adapter has longer life span than AutoCompleteTextView, it may leak
the View. This change prevents it by using a static observer with a
weak reference to the actual TextView.

Bug: 11287688
Change-Id: I2c9db94dfa1be3b3f5368406e557f3e8e34bbce9
utoCompleteTextView.java
03740d74cae3afd4aeaaf3b20f12cfafdc3883a5 27-Aug-2014 Alan Viverette <alanv@google.com> Merge "Update date and time picker styling" into lmp-dev
b79a70ab7177386ec1c3a2c83fe2ded4cf040fb9 26-Aug-2014 Adam Powell <adamp@google.com> Merge "Add state save/restore for Toolbar" into lmp-dev
31c91c81798802f62d55f8bccb6d4071471c1aa4 23-Aug-2014 Adam Powell <adamp@google.com> Add state save/restore for Toolbar

Save and restore the menu state for Toolbars. This will make sure that
we remember expanded action views and opened overflow menus across
state save/restore.

Remove an extra event post involved in the initial population of
action bar menus. Apparently at some point an extra level of this was
added that isn't necessary. Process any pending menu invalidations
immediately when we perform window state restoration. This makes sure
individual bits of state in action views, etc. are also restored
properly.

Bug 12005461

Change-Id: Icf905698576b11a59641bc319adc62300857906f
oolbar.java
7119d0d66bd8649508c5bbb973a34b3b858bf8cf 26-Aug-2014 Alan Viverette <alanv@google.com> Update date and time picker styling

Change text sizes, fix year picker selected color, remove pulse
animations, fix landscape layout centering.

BUG: 17185948
BUG: 17187072
BUG: 14973897
BUG: 16938600
Change-Id: I11ad0abb217a950f4a96d1f781e08f09796c67bb
atePickerCalendarDelegate.java
ayPickerView.java
imePickerClockDelegate.java
imePickerSpinnerDelegate.java
earPickerView.java
48db7834830215a3ee00f31a442a62acf33cabfa 25-Aug-2014 Ronghua Wu <ronghuawu@google.com> API: Document android-allow-cross-domain-redirect in MediaPlayer and VideoView

Bug: 17238151
Change-Id: Ib1e780cf5f93b07a7abbca839e7cc9f92a60d451
ideoView.java
f2a778683d602d9483bfaf8fdbc63e9fd19a7e5f 25-Aug-2014 Svet Ganov <svetoslavganov@google.com> Merge "RemoteViews service not unbound." into lmp-dev
5771ad7bc7533f4a9bc72ac1ecabfdf6ca493b16 24-Aug-2014 Svet Ganov <svetoslavganov@google.com> RemoteViews service not unbound.

We are checking whether an app can access an app widget
based on the calling uid and the package name. The package
is mostly to make sure that hosts in different apps do
not accidentally interfere whereas the security is enforced
by the uid.

When remote views adapter binds and unbinds to a remote
views serivce it was passing the package of the context we
create to load resources for the widget instead the package
of the host. Now it is passing the host package and also
we are checking if the caller of bind remove serivce API
is in uid that has the host package - this makes it
consistent with elsewhere.

bug:17226052

Change-Id: I2b0b6669e3dc027037b7481c2871cedabd642433
emoteViewsAdapter.java
3edb23bc8e7ebc7c8b8daa6afae3d8df6324d8db 23-Aug-2014 Yigit Boyar <yboyar@google.com> Merge "Clear TextView error when text changes" into lmp-dev
412bb5ca634eb981774ae23768d7e8c713f7faa5 23-Aug-2014 Yigit Boyar <yboyar@google.com> Clear TextView error when text changes

This change also fixes another bug where error popup
is cleared when cursor moves using dpad, even though
the text is not changed.

Bug: 15538489
Bug: 3370191
Change-Id: I2804b90178e77ced46477a594331ae1f7306717a
extView.java
ed402566707e1910145a289929185a19b4dc38a5 23-Aug-2014 Elliott Hughes <enh@google.com> Merge "Use CLDR narrow am/pm markers." into lmp-dev
0e9e3b213e70fd4be044524d2151e8585bf0acd8 21-Aug-2014 Ronghua Wu <ronghuawu@google.com> VideoView: unhide setVideoURI api and add document.

Bug: 16899444
Change-Id: I576a4b334d8b1fe89f93df3587386ac7f9455687
ideoView.java
a277db28e990d1f6f74ace0c32fe92401660a840 22-Aug-2014 Yohei Yukawa <yukawa@google.com> Remove CursorAnchorInfoRequest and related stuff

This CL removes CursorAnchorInfoRequest and related stuff
in favor of InputConnection.requestUpdateCursorAnchorInfo,
which is more easy to understand. This CL also deprecates
InputMethodManager#updateCursor and related stuff.

Rationale:
1. The spec of #updateCursor says that it provides the cursor
position in local coordinates, while the input method
requires it in the screen coordinates.
2. #updateCursor has never been enabled in AOSP, because
InputMethodManager#isWatchingCursor always returned false.
3. There has been no way to let
InputMethodManager#isWatchingCursor return true.
4. In L, InputMethodManager#updateCursorAnchorInfo is
introduced to address all the issues above.

Given that we no longer need to support #updateCursor,
CursorAnchorInfoRequest is overkill when we need to convey
just a couple of parameters.

BUG: 17185263
BUG: 17182367

Change-Id: I4a577bfd02b37b9e56c80b8b41bb25afa95dd8ef
bsListView.java
ditor.java
1cc51a6c6c656c6ef0a0e57f2acd6f6d82f17bd9 22-Aug-2014 Elliott Hughes <enh@google.com> Use CLDR narrow am/pm markers.

Bug: 16938600
Bug: 16842390
Change-Id: Ia1c6470e233966c0d8c399d7c1a22c640fbc40e9
imePickerClockDelegate.java
imePickerSpinnerDelegate.java
9468c6a28e696f4ddca2c5b9ba312ffb590c3161 21-Aug-2014 Alan Viverette <alanv@google.com> Clean up nullable listeners in date and time picker delegates

Removes the NO_OP listener from TimePicker since we actually do null
checks everywhere already.

BUG: 17179502
Change-Id: I39a7d68253845c004027e31c59afc43be42195b7
atePickerCalendarDelegate.java
imePickerClockDelegate.java
c56a1a51a995480e9d1c1909c17d9793b53d6eb5 21-Aug-2014 Chris Craik <ccraik@google.com> Merge "Clarify text shadow attribute/method comments" into lmp-dev
5faf85b6ddb233220f994e34bd218777dd40460c 21-Aug-2014 Chris Craik <ccraik@google.com> Clarify text shadow attribute/method comments

bug:17157162

Change-Id: I7abe7c0eb1973ddf7d7a17d9dd85c08833c4bf88
extView.java
567e44797bca5fd12beb213b90d25cd40b55c8db 20-Aug-2014 Alan Viverette <alanv@google.com> Fix alignParentRight/End in RelativeLayout

BUG: 17136816
Change-Id: If7edb2e0216384429f4caf7e9aae01c09ddd8be4
elativeLayout.java
aff1efa6226937c1ea4079dd9933ec953df9d337 20-Aug-2014 Alan Viverette <alanv@google.com> Merge "Use correct single-letter date format in SimpleMonthView" into lmp-dev
fd2dd208d9b0957657589b26c14c48b8e2b7f387 20-Aug-2014 Alan Viverette <alanv@google.com> Use correct single-letter date format in SimpleMonthView

Also fixes layout on sw600dp-land (by removing the sw600dp layout!).

BUG: 17068298
Change-Id: I2545d0e1904a0028156b96b6ad17674c6107ce5d
impleMonthView.java
240ecfe54f280f30439d4aca8069c3d0671eb982 20-Aug-2014 Adam Powell <adamp@google.com> Merge "Update text selection handles to have a minimum touch target size." into lmp-dev
3fceabd64c95bfd2c563972e243117af308438d3 20-Aug-2014 Adam Powell <adamp@google.com> Update text selection handles to have a minimum touch target size.

The text selection handles were traditionally sized based on the size
of the provided drawables. When these drawables are visually small, do
not restrict the size of the touch target beyond a certain minimum.

Bug 16851360

Change-Id: If6a468c7b3a9a1a21913006633f00699637751c0
ditor.java
d59c585588f7273e58673ef0349eeb27e53cd6d7 19-Aug-2014 Alan Viverette <alanv@google.com> Merge "Update fast scroller preview for Material" into lmp-dev
14494a8760052aad760fb0f4124b6fe76ec313f6 18-Aug-2014 Svetoslav <svetoslavganov@google.com> Fix a crash in RemoteViews.

We are now using the application info of the target app
of the remote views to create a deicated context for
loading resources. The code that is looking up the app
info was using the appilcation context of the current
app which may be null. Now we are using the base context
which is never null.

bug:17005860

Change-Id: Ibcf8b6f81fe24d23a82327870741146c8864ce8f
emoteViews.java
e8311ac850374c5362e8c1e48b81eb4b0211c70b 16-Aug-2014 Alan Viverette <alanv@google.com> Update fast scroller preview for Material

BUG: 16374061
Change-Id: Iefbbc4f3e8eccb89072bd0885cc337f9e0470d81
astScroller.java
aeda0586f3a005193bd85409bc1ef998ae4d8a34 16-Aug-2014 Alan Viverette <alanv@google.com> Merge "Fix date and time picker styling" into lmp-dev
518ff0de95e64116ecb07706fc564d4c19197ca7 15-Aug-2014 Alan Viverette <alanv@google.com> Fix date and time picker styling

Removes done buttons from widgets, fixes date picker day selection, fixes
dialog layouts in landscape, updates colors. Adds API on AlertDialog for
setting the view by resource ID, which is necessary to correctly inflate
the view against the dialog's parent view.

BUG: 16941550
BUG: 16852521
BUG: 16878697
BUG: 16838659
BUG: 17047435
Change-Id: I138858ce06cd4abf68a2c3361ec170370236b33b
atePicker.java
atePickerCalendarDelegate.java
adialTimePickerView.java
impleMonthView.java
imePicker.java
imePickerClockDelegate.java
imePickerSpinnerDelegate.java
earPickerView.java
4771b55d13f45c96a11d9b03be284f94eb4431c8 16-Aug-2014 Alan Viverette <alanv@google.com> Scrapping the view at position zero is still position zero

BUG: 16418789
Change-Id: I8334d6b37efa1f853152ef2cea041db69e41d24e
istView.java
f32efebf9b9659ac7f4e70978034cb9804defc18 14-Aug-2014 Alan Viverette <alanv@google.com> Fix TextView clickable state when using onClick attribute

Change-Id: I67347f3c80958e47abc124f1a8c0ffec01175378
extView.java
16f2b90d6a54a824e60f09a31bb2a9263166cdd2 12-Aug-2014 Adam Powell <adamp@google.com> Show checkmarks at the start of material AlertDialog list items

Also fix a bug in parsing CheckedTextView tinting attributes

Bug 16552638

Change-Id: I20d41b6f6d418fdc115108d31f4f463e371794d2
heckedTextView.java
f2546bf4235d0c875e9394986535febf068b6101 13-Aug-2014 Alan Viverette <alanv@google.com> Merge "Add API for obtaining max text length for accessibility" into lmp-dev
029942f77d05ed3d20256403652b220c83dad6e1 12-Aug-2014 Alan Viverette <alanv@google.com> Add API for obtaining max text length for accessibility

BUG: 16736956
Change-Id: I15ffb9bf68e074adf3e0dbcd230367e115c03e3c
extView.java
467d629ca714cd74658043c1ddfec36c60d898c1 13-Aug-2014 Alan Viverette <alanv@google.com> Use correct checked value when animating Switch

BUG: 16984959
Change-Id: I1b4ffea568619663e26c097a28b86579d090c0ce
witch.java
987eb3f109c646476d1310a54f7037a558ccfef3 08-Aug-2014 Yohei Yukawa <yukawa@google.com> Fix handling of line-end and RTL characters in CursorAnchorInfo

This CL addresses line-end handling and RTL characters handling
in CursorAnchorInfo.

BUG: 16499624
Change-Id: Ie23569fb136751c40f79dd9886e279dc01cefae9
ditor.java
414222c28a18e6acac946659b1c2e341ca5eb4fc 08-Aug-2014 Yigit Boyar <yboyar@google.com> Merge "Fix RTL horizontal spacing in Gridview" into lmp-dev
e272a26de16b7eebb6f9e1303254f11544a5d3b8 08-Aug-2014 Raph Levien <raph@google.com> Make letterSpacing and fontFeatureSettings public

We added APIs and TextView xml attributes to give access to letter
spacing and OpenType features. This patch makes these changes part of
the public API.

Bug: 15246510
Bug: 15594400

Change-Id: I7a54cb0da2746304a5c72a687612a279cac652e0
extView.java
661041194c0c5b0fe1ee659589531397e2d58d41 08-Aug-2014 Yigit Boyar <yboyar@google.com> Fix RTL horizontal spacing in Gridview

Bug: 16659566
Change-Id: I0e7c834c6fedf39562fe880284373eda43412563
ridView.java
dbf45c14af8200234ef3d47adc0cce96745f882c 08-Aug-2014 RoboErik <epastern@google.com> Merge "Add descriptions to MediaController buttons" into lmp-dev
94ca53641975005cda900ad35372c6e5c6b0ff04 06-Aug-2014 RoboErik <epastern@google.com> Add descriptions to MediaController buttons

This widget was missing some accessibility descriptions.

bug:16536697
Change-Id: I6f50fd1f4fc0a804151ff465b612128d71a1fde6
ediaController.java
4884c642882af0a279673d7a95485069e58beb69 07-Aug-2014 Adam Powell <adamp@google.com> Add AbsListView#fling

ScrollViews can programmatically fling from public API and now
ListViews/GridViews can too. This helps support applications that wish
to propagate flings across scrolling containers as part of nested
scrolling.

Bug 15538504

Change-Id: I0318c6717c7fb8788a006f96c8f8170556dd8b9e
bsListView.java
271ed9ae870f3a9cbe339161748aa553a87fe2e9 07-Aug-2014 Alan Viverette <alanv@google.com> Use translatable strings for time picker AM/PM labels

BUG: 16842390
Change-Id: Ibdbe9cffb39373f200a09eb0d28b956a1eeb5d13
imePickerClockDelegate.java
imePickerSpinnerDelegate.java
9413b245a6e5264ce4e57c48a90ee96f914476e2 07-Aug-2014 Adam Powell <adamp@google.com> Nested pre-fling for AbsListView and ScrollView

Add nested pre-fling support to all framework widgets that currently
support nested fling.

Change-Id: Ieaf9d12938dbfeea779c2aee2f5a081c287c8e96
bsListView.java
crollView.java
3053b2fdcf7486f2e2f572f9b05ce65dacdd2b4c 06-Aug-2014 Chet Haase <chet@google.com> Allow TimePicker/DatePicker to use legacy layout style

In L, the TimePicker was rewritten to use a clock face and the
DatePicker was rewritten to use a calendar. This
change allows developers to opt into the old style instead
(android:timePickerMode="spinner|clock" and
android:datePickerMode="spinner|calendar").)

Issue #16717952 Pre-L style android.widget.TimePicker on L
Issue #16846963 Allow developer to use legacy DatePicker appearance

Change-Id: I4ee071fcbc5bf25eab83d6a5cb6ff352a603f90a
atePicker.java
atePickerCalendarDelegate.java
atePickerDelegate.java
egacyTimePickerDelegate.java
imePicker.java
imePickerClockDelegate.java
imePickerDelegate.java
imePickerSpinnerDelegate.java
985e566ceca9c11d2f740499053f37dfaeb9033d 07-Aug-2014 Svetoslav <svetoslavganov@google.com> Fix cross-user talk.

An app can access widgets hosted or provided by its uid and package.
Access is also allowed if the caller has the bind app widgets permission
but this caller can be in the wrong user. Now the caller should not
only have the bind app widget permission but also be in the same user
as the host or the provider of the widget.

bug:16834230

Change-Id: I5ddb6309f63f2b4ba95360446c2b9584350fb66f
dapterViewFlipper.java
67739a3a19a76773440e8a4353b311e9ee31e18c 07-Aug-2014 Svet Ganov <svetoslavganov@google.com> Merge "Fix regression in remote views." into lmp-dev
0da85b6c9073956b620c6a88b44027e9ee80066c 06-Aug-2014 Svet Ganov <svetoslavganov@google.com> Fix regression in remote views.

Now remote views contain the application info for the app on whose
behalf they should show content. The application info contains the
user id and the package name which makes it unique in the multi
user environment. If the app which creates the remote views does
not have the same package as the one passed in the contructor of
the remote views, we lookup the app info for the target package.
There is a special hidden overload that allows creating a remote
views instance that represents an app in given package and user
(requires interact across users) permission. The latter is used
by SystemUi when creating remote views for apps that posted a
notification.

bug:16838651

Change-Id: I2daa974629f89a2446848e59300d994dadcf4439
emoteViews.java
098e7fb5875c31aede4e6d40a3acec876d948527 06-Aug-2014 Adam Powell <adamp@google.com> Have TextView editors use the Menu context for action mode icons

Using the TextView's context instead when resolving these icons from
the theme causes issues if a dark action bar theme is in use.

Bug 16686041

Change-Id: I44cb4a83516d8610103b6ebaf604860b67ac84dd
ditor.java
a426445dfdab43886dd894f2ba8a1d55bfcbb278 29-Jul-2014 Alan Viverette <alanv@google.com> Separate tint and tintMode properties

BUG: 16054922
Change-Id: I820fb857b671faf9eb27612e470e820c5c4cd6b5
bsSeekBar.java
heckedTextView.java
ompoundButton.java
rameLayout.java
mageView.java
rogressBar.java
54b9e5baa30a5b5f3f5dac1db877f389c250cafc 06-Aug-2014 Chet Haase <chet@google.com> Fix Scroller interpolation

The ViscousFluid interpolator simply returns the input value and not the
interpolation of that value.

Issue #16815073 Scroller.ViscousFluidInterpolator short circuited

Change-Id: Ifa189026c1396a42a2348260a2a54cf0c3caad08
croller.java
e04499ad930ff4f112114683dc9f1e5411d6802b 06-Aug-2014 Chet Haase <chet@google.com> Actually set the internal modal value in ListPopupWindow.setModal()

The current code ignores the parameter and sets the internal modal
value to true. This has probably gone unnoticed because all framework
usage of this method calls it with 'true', except for one case where
it sets it to 'false' temporarily, and then to 'true'.

Issue #16815832 ListPopupWindow setModal broken

Change-Id: I4ac7ab31b4ab91c9959efd4ccf2264a8e381708f
istPopupWindow.java
976e8bd2017d0263216c62111454438cc0f130e3 17-Jul-2014 Svetoslav <svetoslavganov@google.com> Allow adding widgets from user profiles.

The goal of this change is to enable support for appwidget from
user profiles to the user main profile. A user profile is a user
which is associated as a child of the main user profile. For example,
a user may have a personal (parent) and corporate (child) profile.
The device policy should be able to control whether adding a widget
from a child profile and given packages is allowed. This change
assumes that all packages from managed profiles are white listed.
Another change will add the device policy changes.

Change-Id: I267260b55d74c48b112a29979a9f59eef7a8194e
nalogClock.java
emoteViews.java
emoteViewsAdapter.java
iewFlipper.java
e9ad3931fae71c8a8cd000fd52d5df4be79b0895 31-Jul-2014 Behdad Esfahbod <behdad@google.com> Add fontFeatureSettings to TextView and attrs

New API is hidden.

Bug: 15246510
Change-Id: I8cdbbd3a36fc280e07569dbb130f8c237062fff5
extView.java
0c0dde7171c7ea35bbc6d64a41f94b428cb4d1f6 30-Jul-2014 Alan Viverette <alanv@google.com> Update switch assets, fix SearchView asset 9-patch areas

BUG: 16606037
BUG: 16467249
Change-Id: I9a5888e37317d1f8a6481f9733f784bbd37268f3
witch.java
4600f9b60753adab4e65258a05744a46938fce86 22-Jul-2014 Christoph Studer <chstuder@google.com> Strip RemoteViews from Notifications, re-create them in SysUI

Bug: 16329721
Change-Id: Ic0bea763ffaec4c5644ca78705007211ac6b4b88
emoteViews.java
9b38f6c2cd1d97bb0d1a21e2f9545e02fae851e0 30-Jul-2014 Alan Viverette <alanv@google.com> Revert "Update switch assets, fix SearchView asset 9-patch areas"

Missing updated current.txt

This reverts commit dbf6b0d68a3d502430d061cd14f03f344b50f019.

Change-Id: I70846883f56be661fa89f9eaf20f5d103f2833c6
witch.java
8bb399069da4e46b231333cff6880a0cf35b9417 30-Jul-2014 Alan Viverette <alanv@google.com> Update switch assets, fix SearchView asset 9-patch areas

BUG: 16606037
BUG: 16467249
Change-Id: Iabdf1634f4d8f87031ab3e5579140cdd428173de
witch.java
0615026ba15d7d7a68d0a191d449da47a1ceabea 29-Jul-2014 Jon Miranda <jonmiranda@google.com> Merge "Exposed getLocationOnScreen, added formatToHexString method." into lmp-dev
4597e9806948256e82b9f1cdaa7019cbbd912668 29-Jul-2014 Jon Miranda <jonmiranda@google.com> Exposed getLocationOnScreen, added formatToHexString method.

In order to use the ExportedProperty annotation, I needed a public non-void
method which is why I created a new "public int[] getLocationOnScreen()."

The formatToHexString method is used to convert an int or byte to a hex string
prefixed with "0x". I set the value to true on these flags: mGravity,
mPrivateFlags, mSystemUiVisibility, mViewFlags, mGroupFlags, mMarginFlags,
and flags.

Change-Id: I5914992ba19b80643dfcc6caa487398452e18cbc
inearLayout.java
60727e07c6ef72e2f494266939c02494a3df28f8 29-Jul-2014 Alan Viverette <alanv@google.com> Clean up TimePicker and DatePicker styling

Removes the time and date picker specific themes and defaults their
theme attributes to use the alert dialog theme attribute's value.

BUG: 14973897
Change-Id: Id5cc74ea0c1a379fc1ee76b354a1bb5ba329585a
atePicker.java
atePickerDelegate.java
adialTimePickerView.java
extViewWithCircularIndicator.java
imePickerDelegate.java
earPickerView.java
75b121553f9c7498581a4b10d932f1c499feef25 26-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #16245852 Clean SimpleMonthView.setMonthParams() in the new DatePicker

- simply create a method for passing those parameters
- remove non needed constants

Change-Id: If6e7d21ff07370edd8c73d1e9b5c5f820f3deb5d
impleMonthAdapter.java
impleMonthView.java
78b7211507eefdf48a23050284195e39bced9313 25-Jul-2014 Alan Viverette <alanv@google.com> Merge "Remove duplicate Toolbar method for setting content description" into lmp-dev
e88700a2ad69e9b99824f2de3d8ba3d44054b24c 25-Jul-2014 Alan Viverette <alanv@google.com> Remove duplicate Toolbar method for setting content description

Also moves the setNavigationIcon(int) method closer to the one that
takes a Drawable.

BUG: 16491458
Change-Id: Ia02f05e6270c9d420f61f7ab34117b4c7e6548ec
oolbar.java
40d83df87e3e972a1009b8f934f3c6c59d1e2fe6 25-Jul-2014 Raph Levien <raph@google.com> Fix docs build breakage in #TextView_letterSpacing

This patch removes the @hide annotations and public reference from the
new letterSpacing attribute, so the docs will build. It's still not an
ideal state because a test app can't find the attribute, but at least it
unbreaks the build.

Change-Id: I5425fbe3d63f7a759fabe43bd2136196c7112eed
extView.java
28308e8494933baf6c28012d7599346633671337 23-Jul-2014 Chet Haase <chet@google.com> Fix corner case of RelativeLayout with pinned edges

LayoutParams without a specified layout_width value automatically
get a default of 0. This works in most cases, when the view is pinned by
various constraints (such as alignParentLeft and alignParentRight),
but breaks down when the child lies in negative coordinates.

Negative coordinates are supposed to be a signal, in RelativeLayout, that
that coordinate is variable. However, negative margins can cause a negative
value to be calculated, at which point it should be used as a concrete value,
not a behavior trigger.

The fix is to use Integer.MIN_VALUe as the tirgger instead, to distinguish that
impossible value from negative values which could reasonably have been computed
during measurement.

Also, removes dead code from earlier attempt at rtl.

Issue #10606777 Time picker can't display 10, 11, or 12 oclock when font size is huge
Issue #16516577 resolveLayoutDirection doesn't act as intended

Change-Id: Ia564603012f3c45636e69cd3776205fb544fda48
elativeLayout.java
fa80f7491df82d71b7084500519a2195afbea706 18-Jul-2014 Behdad Esfahbod <behdad@google.com> Add letter-spacing to Paint and TextView

New API is hidden.

Bug: 15594400
Change-Id: I5cbe7aebef0b7280eb13924f2a706c0cb4a4688e
extView.java
3fbad42a4b315827df8159fcb74b78ef055aa3ef 25-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #16307124 Not able to select hour 12 in TimePicker with 24-hour time enabled

- ahhh modulo ...

Change-Id: Ief08594590480bfcecc09cad1f782e57b05d9786
adialTimePickerView.java
ca7a229eabbcca8f6d0b65df12bc5231d54a5ea4 25-Jul-2014 Jon Miranda <jonmiranda@google.com> Fixes the build.

Change-Id: I4d0f04c480ff787e5f0310fd92a3734180154a9a
bsSeekBar.java
1a0449eb1d509684b2aa4b5b0256937037315078 25-Jul-2014 Jon Miranda <jonmiranda@google.com> Merge "Animates AbsSeekBar progress movement from key presses." into lmp-dev
0c11a489075e05ae84d3c8b5d7ac1ae293af00f9 21-Jul-2014 Jon Miranda <jonmiranda@google.com> Animates AbsSeekBar progress movement from key presses.

Change-Id: I9ef00c61351e8fe28be7a7a7d592f09a5124caa0
bsSeekBar.java
rogressBar.java
atingBar.java
bca05f5ce7716b82f4b3d9221480a807aeb7ff15 24-Jul-2014 Alan Viverette <alanv@google.com> Allow medium-long-press to initiate drag-to-open menus

BUG: 16352041
Change-Id: I58933ae8cce1b3cecc1c533338d02a2f6ef1523b
istPopupWindow.java
77e5037d8125b94e524264dc1890ab9b6b7df0af 23-Jul-2014 Alan Viverette <alanv@google.com> Update spinner asset, fix default popup context and elevation

BUG: 15985882
Change-Id: Ica8c2597c35bd3012da11e315a93bbd1df2f3f38
oolbar.java
22a117d1b60869ed36d125796396f190b4b002fb 22-Jul-2014 Alan Viverette <alanv@google.com> Add popupTheme attr, propagate from ActionBar to ToolBar

BUG: 16347549
Change-Id: I934ec2469f8c136f750e2e2cf9b333e229393ac3
oolbar.java
4f64c048505a432e549ccb756634ecebf28f9e80 22-Jul-2014 Alan Viverette <alanv@google.com> Clean up view tinting APIs, tileModeX/Y attribute docs

BUG: 16400590
BUG: 16403307
Change-Id: Ie924815a39eb0e683d1982b08ec478ed3edbfb7b
bsSeekBar.java
heckedTextView.java
ompoundButton.java
rameLayout.java
mageView.java
rogressBar.java
13420f2311757554c314f620c83cb55153b67612 19-Jul-2014 Dianne Hackborn <hackbod@google.com> Fix issue #16400873: Apps that show ads as new tasks stay in recents...

...even when I hit back or close the activity in UI

Change the semantics of NEW_DOCUMENT to have the recents entry be
removed by default when its activity is finished, with various ways
to explicitly turn off this behavior.

Change-Id: Idc717706d27de80f28b53ad76f9e375d85118d71
hareActionProvider.java
2aa09a94dd540650d3ebad7363e4fb3aab2ebc95 20-Jul-2014 Adam Powell <adamp@google.com> Don't apply the ActionBar style to a Toolbar as a result of setActionBar

While this is a convenient idea, it effectively means that any styling
directly applied to a Toolbar in a layout gets stomped by the
theme-global ActionBar style. Obey the more local, specific styling
from the Toolbar instead.

Change-Id: Ief6a7cb90052bdced87f1dc0925c1dfbc0df4792
oolbar.java
b606a3a312fe6d69d97c66d76803eb2412d8329a 19-Jul-2014 Adam Powell <adamp@google.com> Measure Toolbar titles last

Give the maximum amount of room to "real" content views before taking
up space for the title and subtitle of a toolbar.

Bug 16039951

Change-Id: I10da9cdc39e84e6fb3975ee40958c57031002dd5
oolbar.java
c80f95228560e5912e97886ed637f4d538e87c70 19-Jul-2014 Adam Powell <adamp@google.com> Fix Toolbar title layout in RTL mode

Welp, that one was embarrassing.

Bug 16192193

Change-Id: I4e94e71ef34b4b08b5dd4c7b7f0dfb22e834ca19
oolbar.java
eb97f473fc075c91760c2b657a7014681cd6f3ce 19-Jul-2014 Adam Powell <adamp@google.com> Adapt ActionBar.LayoutParams to Toolbar.LayoutParams on demand

When Toolbar is acting in the role of an action bar it needs to handle
the case where app code calls setLayoutParams on a custom view with an
ActionBar.LayoutParams instance. Run the newly set LayoutParams
through the check/generate routine normally performed when adding a
child view whenever LayoutParams are set on an existing child to
correct for it.

This might not be a bad thing to generalize someday but it would make
for very confusing compatibility behavior when running code that
was written to expect it on older platform versions.

Bug 16219488

Change-Id: I568a335fe8ebbbaa666690d1f0e95f313abd2f1e
oolbar.java
abdd154334eced2595d42e17a9dbac242a9af7da 17-Jul-2014 Craig Stout <cstout@google.com> Fix timepicker double done buttons.

Leanback theme uses a legacy layout with a done button, but
apps won't necessarily have target apilevel L.

Change-Id: Ib38b08df1fe07bd8fb4e64e93633ce0b7eb12567
egacyTimePickerDelegate.java
imePicker.java
imePickerDelegate.java
5134478151d8aa3d776f8d4f368dbcdbc501a92a 17-Jul-2014 Alan Viverette <alanv@google.com> Add public attributes for TimePicker styling

BUG: 11218747
Change-Id: Ifdf981280ebe20a9066f219c9a4505d0d7486b2e
egacyTimePickerDelegate.java
adialTimePickerView.java
imePicker.java
imePickerDelegate.java
62cc377c0304415830eb01b03098d4dfb0da29a0 16-Jul-2014 Chris Craik <ccraik@google.com> Merge "Avoid arc for edge effect drawing." into lmp-dev
8eeb729cf20b770823514d83d3c2b5391a3d51e1 16-Jul-2014 Chris Craik <ccraik@google.com> Avoid arc for edge effect drawing.

b/16131698

Tessellation doesn't support joins, which filled arcs have.

Change-Id: I566d0c1c39f058bb641aa24d2a4488b0aaa1b454
dgeEffect.java
bd9152f6ee156ee473f05f6f05f238605996fca4 01-Oct-2013 Fabrice Di Meglio <fdimeglio@google.com> Update DatePicker widget and its related dialog

- the old DatePicker widget is still there for obvious layout compatibility reasons
- add a new delegate implementation for having a new UI
- use the new delegate only for the DatePickerDialog (which does not need to be
the same)
- added support for Theming and light/dark Themes
- added support for RTL
- added support for Accessibility
- verified support for Keyboard
- verified that CTS tests for DatePicker are passing (for both the legacy and the
new widgets)

Also added a new HapticFeedbackConstants.CALENDAR_DATE and its related code for
enabling day selection vibration

Change-Id: I256bd7c21edd8f3b910413ca15ce26d3a5ef7d9c
atePicker.java
atePickerController.java
atePickerDelegate.java
ayPickerView.java
nDateChangedListener.java
impleMonthAdapter.java
impleMonthView.java
extViewWithCircularIndicator.java
imePickerDelegate.java
earPickerView.java
49a22e82025ea947d81681a0abb7ef00600eac3b 13-Jul-2014 Alan Viverette <alanv@google.com> Add window elevation for dialogs, clean up surface insets API

BUG: 13211941
Change-Id: I9d605d0b2fb24f9bf8e73fbecd520b6b52ae5751
opupWindow.java
1dada3da99c4521920c74dcc70e7a042ea75b8d2 14-Jul-2014 Alan Viverette <alanv@google.com> DO NOT MERGE Remove sub-position scroller

BUG: 14477472
Change-Id: I019c58dedb383e9e906831c8e44bab8b88e92604
(cherry picked from commit 66072fe0e1494a851e54bc7756734141dfbf4fe0)
bsListView.java
ridView.java
istView.java
dec17299fef93f673d8e8cab0ec0f734bf6b8539 12-Jul-2014 Alan Viverette <alanv@google.com> Fix switch text position when thumb is null

Change-Id: I05a107423fabf5a538258cf0562e0916c8be18b6
witch.java
4d065a04ce42c07569cf20651c949c4da97aa4a9 12-Jul-2014 Alan Viverette <alanv@google.com> Remove old listener when rebinding SwitchPreference

Also fixes switch animation during scrolling, unnecessary call to
requestLayout() on drawable invalidate, and potential NPE.

BUG: 16225972
BUG: 4312303
Change-Id: I015d1f03206dd2c812592b0abfa4214a3de73d3f
witch.java
dfaa6c7439d1506b2450005a6c1e0be6771eb9e5 11-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix TimePicker behavior

- use Alert Theme and make the TimePickerDialog show its done button
in the legacy mode
- if targetSdkVersion < L or if TV UI show the legacy TimePicker

Change-Id: I19ca6dbbcb50599c7e230262a23956c185f53a5c
egacyTimePickerDelegate.java
imePicker.java
0023d0e0c4f5339b299d1eacbd4e7181c2fd271f 10-Jul-2014 Yohei Yukawa <yukawa@google.com> Polish new IME API for L part 2: CursorAnchorInfo

This CL addresses feedbacks from internal customers for new
input method APIs that are mainly used for physical keyboard
support in L.

For performance reasons, #onUpdateCursorAnchorInfo is not called
back by default and each input method has to enable this
event notification explicitly whenever fine-grained character
locations are needed.

In L-preview, InputMethodSession#setCursorAnchorMonitorMode was
introduced for this purpose. However, we got several feedbacks
to be addressed.
- The effect of #setCursorAnchorMonitorMode is not preserved
during focus change. IMEs need to call
#setCursorAnchorMonitorMode every time when #onStartInput is
called. This is tricky and hard to understand.
- As #onUpdateCursorAnchorInfo is a new API, not all
applications/text editors have supported it. Therefore IMEs
can't always rely on it. However, there is no way to query
if the attached target is supporting this new API or not.
It would helpful for IME authors if we can provide a
reliable way to query if the attached input target is
supporting the new API or not.

In order to address these issues, the triggering method has
moved from InputMethodSession to InputConnection in this CL,
as an analogy of existing InputConnection#getExtractedText API,
which has provided similar functionality including optional
reactive event callbacks from the application to the IME.

BUG: 15812658
BUG: 16118603
Change-Id: I3c6b69bd9d79b199afe68d838f25effa6048e5cc
bsListView.java
ditor.java
244911f9769946249aad1e0ed7187f2cb1d01831 11-Jul-2014 Alan Viverette <alanv@google.com> Merge "API for inflating action bar menus against a different theme"
3d0f21dab8d891b9aebdd5277348d549eeb843e6 11-Jul-2014 Alan Viverette <alanv@google.com> API for inflating action bar menus against a different theme

BUG: 16162344
Change-Id: I5bf9f133de56a1830028bca6326cc2c50888a052
ctionMenuView.java
oolbar.java
a25dc428db3ec951933b619b2e0cbad8e2244b52 01-Jul-2014 Jon Miranda <jonmiranda@google.com> Exposes more properties to assist in evaluating contrast ratios.

Change-Id: I43468df4d842e03001ab33e139095afadaeacd20
extView.java
503dca6f58b9c774165dfe270bc1bc3bebac64f5 10-Jul-2014 Alan Viverette <alanv@google.com> Merge "Add API for specifying popup window shadows and shadow insets"
0b01e7fc58cdde00d8350285a3386c4209b72d78 08-Jul-2014 Yohei Yukawa <yukawa@google.com> Polish new IME API for L: CursorAnchorInfo

This CL allows application authors and input method authors to
communicate with each other more precisely on the visibility of
insertion marker and composing characters. Now we can describe
the situation where the coordinates of them are available but
they are overlapped by other UI elements.

This change is based on feedbacks from internal customers of
this preview API.

Change-Id: I82eba0e844a6f8b99ba11a68fad272399034cc24
BUG: 16118303
ditor.java
ccb11e183763db5cbaca96abe461adf480ed8e44 09-Jul-2014 Alan Viverette <alanv@google.com> Add API for specifying popup window shadows and shadow insets

BUG: 14569120
BUG: 13211941

Change-Id: Ia21596b25a0471344d42d59377074f67fce00042
opupWindow.java
554776e51596abd519e26d5eb9766468c4a2e74c 09-Jul-2014 Svetoslav <svetoslavganov@google.com> Remove an obsolete code comment

Change-Id: Ia04f18eb9e9153d46e12219482e84b862e4ec8e6
ctivityChooserModel.java
9eef3f4fb92d4abd4e217c13cdf72bd4fc3e59f2 23-Jun-2014 Craig Stout <cstout@google.com> NumberPicker fixes for Android TV.

Fixed stuck dpad navigation when end of range is reached.
Adds theme attribute 'hideWheelUntilFocused'.

b/15194230

Change-Id: I9a77c6ad29a1fd930a8920d9944ad1eb15ca6b96
umberPicker.java
032fb0a2a221c7912ab7f425da7819b1767d50c8 08-Jul-2014 Adam Powell <adamp@google.com> Merge "Avoid texture path drawing for EdgeEffect"
ccb2466b5db5314c3f2beed4ecb474373160ffc0 08-Jul-2014 Adam Powell <adamp@google.com> Avoid texture path drawing for EdgeEffect

Make sure we stay on tesselated geometry code paths instead of texture
generation.

Bug 16131698

Change-Id: I6b934e718e1d3c5164a8ede71b1240ce761eaf71
dgeEffect.java
59c7b4b04f8f69b1c03bd26b289d805d7e23498f 23-Jun-2014 Craig Stout <cstout@google.com> TimePickerDialog does not force new ui on TV.

Add support for done button in LegacyTimePickerDelegate.
Provide leanback themed legacy time picker layout with buttons
on the side.

b/15194230

Change-Id: Ie05c1cf45b334e9642095d63c682aba314ff3c6b
egacyTimePickerDelegate.java
aab726c53e761752e506471408b28673387cd10f 08-Jul-2014 Adam Powell <adamp@google.com> Fix consistency in nested pre-scroll with ScrollView for AbsListView

Keep sign consistency for nested pre-scroll dispatch in AbsListView
with ScrollView. Also correctly invoke nested flings.

Bug 16015770

Change-Id: Ia8a82667ea548aafda66f04e32046c3b0a5c2314
bsListView.java
fccbff5f021a6f95fe1c18f55866545c767ef8eb 08-Jul-2014 Alan Viverette <alanv@google.com> Add API on AccessibilityNodeInfo for retrieving TextView error

BUG: 11155198
Change-Id: Ie01b92e1071ff584b360cfa3ece4320ad05e4aae
extView.java
f209ef9c3a80f9fcc4b8467626d50746ef2ab52b 03-Jul-2014 Craig Stout <cstout@google.com> Fix TextView drawing issue.

The predraw listener was lost because the view was detached and reattached
after layout but before the first draw.

b/15376022

Change-Id: Idf38f7373df3c457f54b6e3f995b00256914f775
extView.java
f8d4602c9bd7dc163323368beb8db23f5a8fe36b 03-Jul-2014 Brian Duff <bduff@google.com> am 51d70ce9: am c542745e: am a6e9dd3f: Merge "Fix a typo in NumberPicker javadoc."

* commit '51d70ce9b8dbbcb7f354c87b722efe84b2a62a28':
Fix a typo in NumberPicker javadoc.
51d70ce9b8dbbcb7f354c87b722efe84b2a62a28 03-Jul-2014 Brian Duff <bduff@google.com> am c542745e: am a6e9dd3f: Merge "Fix a typo in NumberPicker javadoc."

* commit 'c542745e23fe9d2e71c1f607d66f5570f585133d':
Fix a typo in NumberPicker javadoc.
a6e9dd3f9a2d966faf2d1710d2189127b968dc52 03-Jul-2014 Brian Duff <bduff@google.com> Merge "Fix a typo in NumberPicker javadoc."
5dddb70b4eb37acd2d7a7abe6604153b6089eea9 03-Jul-2014 Alan Viverette <alanv@google.com> Add style for SearchView

BUG: 6420978
Change-Id: I31d9f7e66c2404388ccbe6d2e43a005deb0b7c25
earchView.java
uggestionsAdapter.java
b3e411458cd7b96bb308e2de3086efc4da10d64d 02-Jul-2014 Adam Powell <adamp@google.com> Fix a copy/paste bug in Toolbar.

Bug 15868762

Change-Id: Ie2a0c492f9d7baa05d520cd2fee652245ab4b61b
oolbar.java
d361a4f98bbc03cb61b9ac4504eda490ff704b60 01-Jul-2014 Alan Viverette <alanv@google.com> Use touch hotspot in drag-to-open, fix forwarding cancellation

BUG: 14230395
Change-Id: Ibea615bcd6a2e57fca8b49ffea23f0df951d497c
bsListView.java
ctionMenuPresenter.java
istPopupWindow.java
d76008352eeb246af76ba4a81eaeb4901ca4ef7f 02-Jul-2014 Adam Powell <adamp@google.com> Remove ActionBar.LayoutParams MarginLayoutParams constructor

Adding this for L caused some fun issues with source compatibility.
Apps that previously passed another MarginLayoutParams subclass to
ActionBar.LayoutParams' constructor started statically linking to a
constructor overload that did not exist on older platform changes with
no other source changes. In the interests of avoiding these headaches
for developers, remove it.

Bug 15933193

Change-Id: I01cf8dfa2341b9d9629331639433b59352e7e15a
oolbar.java
3aa422033abad9d97d278913c6f63d8700a55b50 01-Jul-2014 Jorim Jaggi <jjaggi@google.com> Fix jank in TextView.Marquee

Use Choreographer animation callbacks to update the scrolling and
make the delta dependent on the time passed since the last update.

Change-Id: If6ce365014e8d32dadfc93bba0d4733050f673f7
extView.java
d87c7767d9ca40022c09e070539d7b61413d94ae 01-Jul-2014 Alan Viverette <alanv@google.com> Merge "Fix NPE in AbsListView hotspot management"
8390fab6f4c305e89e1eb32bbf82c74a55f79424 01-Jul-2014 Alan Viverette <alanv@google.com> Fix NPE in AbsListView hotspot management

BUG: 15989761
Change-Id: I1c2fc2ddf3128bf3ba4aa7d986899193559b0c76
bsListView.java
6c8fef7fb866d244486a962dd82f4a6f26505f16 28-Jun-2014 Chet Haase <chet@google.com> Avoid null-deref crashes in ScrollBarDrawable

Some of the code in ScrollBarDrawable automatically derefs
the horizontal and/or vertical thumb objects. The drawable can
sometimes be in a state where these objects are null, causing
a null deref. This fix simply avoids dereferencing null objects.

Also, fixed doc bug in attrs.xml for Transition tags.

Issue #13210554 Transition style documentation refers to 'move' instead of 'changeBounds'
Issue #15636059 ScrollBarDrawable crashes in setAlpha() and other methods when thumbs are null

Change-Id: I6664ba17dae0845de8a8658381ae6e9c9ef99214
crollBarDrawable.java
5d6b6f2892c90e95ef3bc650a245a5f2ca021d38 25-Jun-2014 Yohei Yukawa <yukawa@google.com> Allow TextInfo to store ParcelableSpans for TextService

This CL adds a new constructor of TextService so that spell
parcelable spans can be preserved in TextInfo. The primary usage
scenario is to provide locale information for spell checker
service.

BUG: 15869548
Change-Id: Ib58ece68dee4c6187d469049fca8c35a307c7a01
pellChecker.java
abda54808800512891c2d8e2f6048b0fee568c83 28-Jun-2014 Alan Viverette <alanv@google.com> Fix unsafe public methods that take TypedArray

BUG: 15782973
Change-Id: Ifeb032976cd20cf25fe7ecea83eab9d71a16ebc3
extView.java
31e8005e06acf363a0cd92b891d43f79c72dac30 27-Jun-2014 George Mount <mount@google.com> Merge "Don't use overlay to transition ImageViews."
990205eada00ad3e575761d19607bb03e12f9aa3 24-Jun-2014 George Mount <mount@google.com> Don't use overlay to transition ImageViews.

Bug 15744992

MoveImage used an overlay to transition ImageViews. This
caused strange problems when ImageViews were contained in
other Views. The new ChangeImageTransform does a smooth
transition for changes in scale type and bounds.

Change-Id: Ia5021f4828f8f818a8699b3bdd38437aeba1cfc8
mageView.java
7901b2a54981b769bf27852c41ce612871a8e019 25-Jun-2014 Adam Powell <adamp@google.com> Set the default content description for Toolbars acting as action bars

Bug 15814044

Change-Id: I07c20de1349cb07f21eaf0db718da94c0ba7043d
oolbar.java
1a264ce3d915b187b71101436bec3328c76288b0 24-Jun-2014 Adam Powell <adamp@google.com> Add Toolbar methods to set title text colors

Bug 15836670

Change-Id: If62da4104853c772790597be44f7a1efde2505ef
oolbar.java
a279918c5b709ce15edcccbd176108a0b0a07750 21-Jun-2014 Brian Attwell <brianattwell@google.com> Add EdgeEffect#setColor

Bug: 15725269
Change-Id: Ifdb0a53d1f17e2433683e51d09588545b69e6238
dgeEffect.java
287c0361877057e50190cc0d7224e5bb2a7c4955 23-Jun-2014 Adam Powell <adamp@google.com> Compatibility shim for apps calling View methods with TypedArray params

Apps calling the View methods that accept TypedArray params have
always been wrong. There is no way to call these methods safely since
apps can't get at the correct filter array assumed in these methods'
implementations. Do the best we can with these calls anyway; ignore
whatever they did pass and just get the styled attributes from the
Context used to construct the view and its associated theme.

Bug 15792674

Change-Id: I6dfa1abf273b581e79a17a72f68c97ff9a9148c5
bsListView.java
a7090e0cfd7c719a6d4c03aae34f5db98754cbdd 21-Jun-2014 Chris Craik <ccraik@google.com> Update 'DisplayList' vs 'RenderNode' naming in several places

Change-Id: I635c6627d098b661fb9b0ba1bd42fa6d7277d287
ditor.java
e599488968f41cf7ad7f6b0fbdc3ce37213e38da 20-Jun-2014 John Spurlock <jspurlock@google.com> If we're not showing switch text, don't include in measure.

Naive fix for switch crashes when !showText.

Bug:15770311
Change-Id: I68839b61b907d62159e2c12349005683e9ac6436
witch.java
2a37cf8d763750853e2b4e036bc7cb4486c78e1d 20-Jun-2014 Alan Viverette <alanv@google.com> Don't show text in Material-styled switch

BUG: 15754341
Change-Id: Iae43b31c6e445207a0c95b48d0f0befac0f5cc78
witch.java
b9a45aae8d07e7a92806b53cbc36f5488e3bac2d 19-Jun-2014 Jeff Sharkey <jsharkey@android.com> am 447b68e7: am b5e05cff: Merge "Fixing parcel leaks to avoid virtual memory leak"

* commit '447b68e767943fdde297d78321378e2623985a0a':
Fixing parcel leaks to avoid virtual memory leak
db1a9a3862e62ea088ced2ae04a78e515089ba7e 19-Jun-2014 Maunik Shah <mshah@codeaurora.org> Fixing parcel leaks to avoid virtual memory leak

Client has to call recycle() on parcel object after its usage
otherwise native layer of binder won't clear the resources of
parcel which were allocated for IPC

Change-Id: Ib31ddcc92aa4ebd80bb66729922b9133692e9c9e
emoteViews.java
e3c433aa457138425e514494e4d06590076a1d07 19-Jun-2014 Alan Viverette <alanv@google.com> Persist selector on ListView and GridView layout

BUG: 15472031
Change-Id: I0d10be3e0cf8a4d7580bd834e432c1c15fc481f5
ridView.java
istView.java
65dfc83cef6dd936deef428f1d318d10ff1d7af5 19-Jun-2014 Jeff Sharkey <jsharkey@android.com> am b9a45aae: am 447b68e7: am b5e05cff: Merge "Fixing parcel leaks to avoid virtual memory leak"

* commit 'b9a45aae8d07e7a92806b53cbc36f5488e3bac2d':
Fixing parcel leaks to avoid virtual memory leak
88dc8f1e41d3bd4bb49d89fe9c71476f08175253 19-Jun-2014 Alan Viverette <alanv@google.com> Merge "Fix clamped starting position, seek bar hotspot bounds"
304624100b363137913d1d910690fc83872e41c3 19-Jun-2014 Alan Viverette <alanv@google.com> Fix clamped starting position, seek bar hotspot bounds

BUG: 15720430
Change-Id: I11d40c747ea1a3665e9e2058d95dda1bc8a547ab
bsSeekBar.java
8de1494557cf1d00c1c3fce439138a28de7fbd61 19-Jun-2014 Alan Viverette <alanv@google.com> Fix switch & slider anim, make View drawable hotspot API public

BUG: 15287810
Change-Id: Ic7a9549dc1ba8afd07e9a196371ed349a54aaf2f
bsSeekBar.java
heckedTextView.java
ompoundButton.java
rameLayout.java
mageView.java
rogressBar.java
uickContactBadge.java
witch.java
extView.java
d52697784fcf91b62a1a487a0229c1a6548853cd 18-Jun-2014 Alan Viverette <alanv@google.com> Throw exception when a bad adapter is passed to Spinner

BUG: 13570583
Change-Id: Ia38fa907bad7634f79d0da15b885905de23c9c46
pinner.java
911743652b597057a1bd7ef8a921e9ff8dce0f4a 17-Jun-2014 Alan Viverette <alanv@google.com> Add attributes and accessors for tinting View drawables

Also cleans up handling in setters for managed drawables.

BUG: 15391544
Change-Id: Idc08f7eaea0050feb6403566985a6d58185b81f8
bsSeekBar.java
ompoundButton.java
rameLayout.java
mageView.java
rogressBar.java
466cd7a2a65b1204c07ff5eaeebb7decc86a1fff 17-Jun-2014 Raph Levien <raph@google.com> Merge "Clean up dirFlags / bidiFlags confusion"
051910b9f998030dacb8a0722588cc715813fde1 16-Jun-2014 Raph Levien <raph@google.com> Clean up dirFlags / bidiFlags confusion

The dirFlags and bidiFlags enums are distinct, and have different
meanings. The former is a determined direction for a run of text, while
the latter is a request for the bidi algorithm. They have been used
interchangeably, and this has caused some problems, notably running the
bidi algorithm needlessly when the direction for a run is already
determined.

This patch cleans up the confusion, by always naming each occurrence
explicitly "boolean isRtl" or "int bidiFlags" (the previous code often
just used "int flags", which added to the confusion), and converts
between the meanings when a function takes an isRtl argument but passes
it to another function expecting bidiFlags.

Fixes b/15089607 Clean up bidi flag mess

Change-Id: I410b6604376e853dd12c255e7f5a9d2b9a310dd9
extView.java
206c6e85ab0bc08aa5feeef207969aac59d2d938 16-Jun-2014 Adam Powell <adamp@google.com> Add TextView#set/getShowSoftInputOnFocus

These APIs allow an application to suppress the default editable
TextView focus gain behavior of displaying the IME. Useful in cases
where an app provides an alternate way of entering content, such as a
dialpad or calculator pad.

Bug 11540727

Change-Id: I1abd98db6e1522a9655a42b6ee712f50a962ea00
extView.java
90c91c2adfb3a720f846c39b5f3f7cff6dea534e 16-Jun-2014 Chong Zhang <chz@google.com> Merge "support for CEA-608 closed caption"
bdfd91024767893829017918ab565f224ccd35ec 12-Jun-2014 Chong Zhang <chz@google.com> support for CEA-608 closed caption

Bug: 15470448
Change-Id: Ic6a527f5c35a8ee0a08a5b043336e4d193216083
ideoView.java
cebc6bab51d9c77db8f346c1390169eabac4f27d 14-Jun-2014 Alan Viverette <alanv@google.com> Support hotspots in View drawables

BUG: 15285217
Change-Id: Iad44454fe16ac27ed20b9c17ae2df69649339eed
bsSeekBar.java
heckedTextView.java
ompoundButton.java
rameLayout.java
mageView.java
rogressBar.java
uickContactBadge.java
witch.java
extView.java
11abbdcb787f026002ba2886da82c988e37f4df6 12-Jun-2014 Jean Chalard <jchalard@google.com> am 7d8b87f0: Merge "Fix a CTS test" into lmp-preview-dev

* commit '7d8b87f0d9b35694099d5f57777d27f577496960':
Fix a CTS test
2a97b54f491346be193cc72b89d6712cf1abacc9 12-Jun-2014 Yohei Yukawa <yukawa@google.com> am f09cb58d: Merge "Rename CursorAnchorInfoBuilder with Builder" into lmp-preview-dev

* commit 'f09cb58d5f528665e6e96d8740eeeeab4167e357':
Rename CursorAnchorInfoBuilder with Builder
c78f2f7feae7ec4e0439759332af4f195ba87115 12-Jun-2014 Adam Powell <adamp@google.com> am 22e41e9a: Merge "Enable collapsing empty Toolbar-based ActionBars above tabs" into lmp-preview-dev

* commit '22e41e9add1aeb0c8a79741f587c270752a50d16':
Enable collapsing empty Toolbar-based ActionBars above tabs
360c1d89227570510de7bb11195c986300488464 12-Jun-2014 Adam Powell <adamp@google.com> Enable collapsing empty Toolbar-based ActionBars above tabs

Fixes a regression where Toolbar ActionBars would hold empty space
when previous platform versions would collapse to tabs-only.

Bug 15573337

Change-Id: I6da379d2ed58e8ba8cadcd727606c7fc160ecf91
oolbar.java
13592c623cdd87047e68d88d87be84819292819a 12-Jun-2014 Yohei Yukawa <yukawa@google.com> Merge "Rename CursorAnchorInfoBuilder with Builder" into lmp-preview-dev
1f3bb8477b0de925b3251933379f93ae18b06bee 12-Jun-2014 Jean Chalard <jchalard@google.com> Merge "Fix a CTS test" into lmp-preview-dev
0a993100f98e0cacaf6281214e6b54be9cd1f9fc 11-Jun-2014 Jean Chalard <jchalard@google.com> Fix a CTS test

SpannableStringBuilder should throw an exception when the
parameters to #insert and related methods are in the wrong
order.
We'll have to reopen b/9570771 and deal with it separately.

Bug: 14965397
Change-Id: I01847e0010d23f98ad3def8ba030d36570528900
extView.java
c46b5f04aa2a9fd292c117d2824f70fcf06e86ba 09-Jun-2014 Yohei Yukawa <yukawa@google.com> Rename CursorAnchorInfoBuilder with Builder

Inner Builder class should not inherit full class name of outer
class.

BUG: 15516230
Change-Id: I2d56edebb0c85639db57ca5b2aadb22c67fc5926
ditor.java
830960cce032a1b0dc0cf54bcc44ffa339388c21 07-Jun-2014 Alan Viverette <alanv@google.com> Material theme

BUG: 15467097
Change-Id: I15191362e104a902895418fc615892c21db64c35
adialTimePickerView.java
imePickerDelegate.java
3cb07a462be293634e6a83ea6c82f3647cd17dad 06-Jun-2014 Alan Viverette <alanv@google.com> DO NOT MERGE Material theme

BUG: 15467097
Change-Id: I15191362e104a902895418fc615892c21db64c35
adialTimePickerView.java
imePickerDelegate.java
748a3779f3084e7b47e263b14e738ee9c9765f99 06-Jun-2014 Raph Levien <raph@google.com> am 455b351b: Merge "Make elegantTextHeight xml attribute public" into lmp-preview-dev

* commit '455b351bba515c3a7e6139368c4110abbf1e4e89':
Make elegantTextHeight xml attribute public
e1c4a0d2999b5e05aa1113b9d74bd56f95ab7b1b 06-Jun-2014 Raph Levien <raph@google.com> Make elegantTextHeight xml attribute public

The elegantTextHeight attribute of TextView was made public through
Java code, but the corresponding attribute wasn't public. This patch
makes it so.

This is a fix for bug 15428791 "elegantTextHeight is hidden (not in
android.R.attr)"

Change-Id: I7011f10ae58fd2e212da9cbaca4a484f011d8fed
extView.java
a0c808bb755228f288ca035166ee681a5e9fdc2f 05-Jun-2014 Craig Mautner <cmautner@google.com> am d842513c: Merge "Launch document sharing into unique activities" into lmp-preview-dev

* commit 'd842513c3df5fd3e46a70ab6798b4d3d20c4ef0b':
Launch document sharing into unique activities
27f78dc7f2314ee83fd5fcc519d3aac64d592b11 04-Jun-2014 Adam Powell <adamp@google.com> am 45366a20: Merge "Fix EdgeEffect clipping and AbsListView\'s use of it" into lmp-preview-dev

* commit '45366a2036483d5beca5b9cffdb5acdae72d787a':
Fix EdgeEffect clipping and AbsListView's use of it
4c6debb7678794401e9732cad4475e28ab91a496 04-Jun-2014 Craig Mautner <cmautner@google.com> Merge "Launch document sharing into unique activities" into lmp-preview-dev
9be22455ac2548dd822bdfa7e4091561eac67d57 04-Jun-2014 Adam Powell <adamp@google.com> Fix EdgeEffect clipping and AbsListView's use of it

Make sure that we clip the edge glow against the edges of the view and
not against padding. If we're clipping to padding already, this will
happen automatically.

Bug 15020863

Change-Id: I4645c92f2a372d3c9fa8bb5a9fda44c0d82ac4cf
bsListView.java
dgeEffect.java
7820b7bf5d6603cce772a65c09769b360abf1aed 04-Jun-2014 Alan Viverette <alanv@google.com> am 4dd60289: Merge "Fix RadialTimePicker styling" into lmp-preview-dev

* commit '4dd60289af766c9a256b57a3d1a8662131d28230':
Fix RadialTimePicker styling
a649e8def9eaee4866dff5a7d50a99250eb21312 04-Jun-2014 Adam Powell <adamp@google.com> am 5519852e: Merge "Implement action bar tab mode for Toolbar-based decor action bars" into lmp-preview-dev

* commit '5519852e01a646af65efeee30f5b8e80c2cd87e7':
Implement action bar tab mode for Toolbar-based decor action bars
22b893fde125ea6620563c91aab7a28dd68a1f73 04-Jun-2014 Alan Viverette <alanv@google.com> Merge commit '096d52fb' into manualmerge

Conflicts:
api/current.txt

Change-Id: Iaf1f9172a73e74885475c30ffefcb7d0e32a5883
2c60de3f6d849a581cca89ece7149c3836b3b6e4 04-Jun-2014 Craig Mautner <cmautner@google.com> Launch document sharing into unique activities

If the same item is shared twice (or more) a new activity for
sharing will be launched each time. Previously the first sharing
activity would be reused.

Fixes bug 14903271.

Change-Id: Ib9e618f3d42079836529e86c138a6c999350cac5
hareActionProvider.java
eb1d3798e37572ca515aad572350f5745adf023d 04-Jun-2014 Alan Viverette <alanv@google.com> Fix RadialTimePicker styling

Also sneaks in some whitespace cleanup for PhoneWindow!

Change-Id: I1bc8a889a59d69ae80b6cfbf54d57cd7f8ad4a36
adialTimePickerView.java
imePickerDelegate.java
e002c2fb39f9df1db38a7412832882ae622660d4 04-Jun-2014 Adam Powell <adamp@google.com> Implement action bar tab mode for Toolbar-based decor action bars

Coordinate between the stacked row, etc. Also fix a silly bug in
Toolbar child views with Gravity.BOTTOM.

Bug 15332084

Change-Id: Ie91b7d5255c63d9befcc65d7939c1523e018809f
oolbar.java
dcf7b59f845297c6e96950615e439d96ce3fb739 03-Jun-2014 Alan Viverette <alanv@google.com> Update theme colors, fix EditText state transition

BUG: 11218747
BUG: 15200201
Change-Id: I94368897ea9466ae971b25fc80d6ca43433aadd5
dgeEffect.java
02a078d088cabe694a07e6f916fe8a0eda58f74c 03-Jun-2014 Alan Viverette <alanv@google.com> am 25931ade: Merge "Clean up drawable theming APIs" into lmp-preview-dev

* commit '25931adee5ba954220190f48901bb66c8c9dd462':
Clean up drawable theming APIs
6dbe51b50e82057af4d29882889444d22ac19c9c 03-Jun-2014 Alan Viverette <alanv@google.com> Clean up drawable theming APIs

Removes APIs for themed creation of a drawable from a stream, since
that doesn't involve any inflation. Also cleans up tinting methods
left over from previous clean up.

BUG: 15089957
Change-Id: I2af7aa9a6d351ae61b33ee1216c674fae1bffe11
Signed-off-by: Alan Viverette <alanv@google.com>
mageView.java
rogressBar.java
uggestionsAdapter.java
535499204be8d6af83435317524983f06d49e858 02-Jun-2014 Adam Powell <adamp@google.com> am 16b0baa4: Merge "Further implementation for ToolbarActionBar" into lmp-preview-dev

* commit '16b0baa45bd68bb05863d3a6e92b7e8e0b452cb2':
Further implementation for ToolbarActionBar
9558232a2eab997f81b462420936794f9b34b4cd 02-Jun-2014 Adam Powell <adamp@google.com> Merge "Further implementation for ToolbarActionBar" into lmp-preview-dev
07a74548ae5c1e064508cb1c79ac34de1142b240 31-May-2014 Adam Powell <adamp@google.com> Further implementation for ToolbarActionBar

Integrate activity options menu and inline Toolbars. Fix a series of
small associated bugs.

Activities now (privately) offer several menu-related events directly
to the associated ActionBar. In the future this should help us
untangle some of the menu-based pasta in PhoneWindow.

Bug 15344598

Change-Id: I76211ad17d2bcbb58cf1d88914e855416d084ded
ctionMenuView.java
oolbar.java
c65c7ae6356ea1b7809854cc205c328abed8d59b 02-Jun-2014 Alan Viverette <alanv@google.com> Merge commit '6682183b' into manualmerge

Conflicts:
core/res/res/values/public.xml

Change-Id: Ic91db6ee85dcd8a6b13716b600b04c78ceac4b33
4d2f2483f6d9e2eb25d843d676981f4ebc9c79e5 02-Jun-2014 Alan Viverette <alanv@google.com> Fixes hotspot list transitions, update to use a single hotspot

Also updates background and button colors to match spec, removes
dependency on bouncycastle Arrays. Vastly simplifies ripple drawing.
Adds APIs for maximum ripple radius. Makes selectableItemBackground
bounded by default and adds an unbounded version and theme attribute.

BUG: 15315168
BUG: 15314684
BUG: 15314830
BUG: 15316768
BUG: 15333033
BUG: 15344050
Change-Id: Ib0619587ce78e43056b66571bae185e0f1613185
bsListView.java
f8abeb8457feb766fb45829f6b175a22d4814d66 31-May-2014 Elliott Hughes <enh@google.com> resolved conflicts for merge of 04c987a8 to master

Change-Id: I27912e203e4d4e39aef6ffbb58b0934a2796ddfe
04c987a806a2c8c7097fcbbb55b9dff5ad0b47a9 31-May-2014 Elliott Hughes <enh@google.com> am 79067b3c: am 5568e0e4: Merge "Move frameworks/base off private libcore.ICU API."

* commit '79067b3cb2f43e62b9a4d46082fb01cbcc513990':
Move frameworks/base off private libcore.ICU API.
79067b3cb2f43e62b9a4d46082fb01cbcc513990 31-May-2014 Elliott Hughes <enh@google.com> am 5568e0e4: Merge "Move frameworks/base off private libcore.ICU API."

* commit '5568e0e45fff7ffe5061770cb527b22d09cf5519':
Move frameworks/base off private libcore.ICU API.
570f44b4ab083069f042d63948af0c1204a1ec20 31-May-2014 Elliott Hughes <enh@google.com> Move frameworks/base off private libcore.ICU API.

Change-Id: I55355b7ea68174063f31d6bb08a71bcb9dc76d62
atePicker.java
fb50dd580db46d0433ff66fecbbbbafdbb93b577 31-May-2014 Adam Powell <adamp@google.com> am 8ce8cb05: Merge "Collapse contentInsets and View margins in Toolbars" into lmp-preview-dev

* commit '8ce8cb05143964700d85067fc88ae914f382f0c4':
Collapse contentInsets and View margins in Toolbars
7a32401c2a62f778da7056cc9aa65bd1489aa153 31-May-2014 Adam Powell <adamp@google.com> Collapse contentInsets and View margins in Toolbars

As content insets are meant to help line up the edges of views with
the content in adjacent ViewGroups, collapse individual view margins
with the insets to preserve this property. Margins still define a
minimum spacing between adjacent sibling views or the edges of the
Toolbar container.

Bug 15328526

Change-Id: I786ccdbed6b40930250fa22e2a6d0376d759f2d2
oolbar.java
92bcf31f541ceb4e5af031d249370c32c5cd4713 31-May-2014 Adam Powell <adamp@google.com> am 338382de: Merge "Fix action bar title TextAppearance usage for Toolbar decor" into lmp-preview-dev

* commit '338382de18d9df699c15eb9adbaaa50d8a6664fd':
Fix action bar title TextAppearance usage for Toolbar decor
ebba5d4edd763b19124b715a0f084d2f00c84a47 31-May-2014 Adam Powell <adamp@google.com> Fix action bar title TextAppearance usage for Toolbar decor

Pass through the appropriate action bar styles for title/subtitle
TextAppearance.

Bug 15345937

Change-Id: I93c648cf60b4a63498d127dbd6eac2c1fae33aa7
oolbar.java
7d330757d9194435e75d70681a93eee2308608fd 29-May-2014 Adam Powell <adamp@google.com> am ee1a3f16: Merge "Fix for setting Toolbar content descriptions" into lmp-preview-dev

* commit 'ee1a3f1612cb69fe5567bf7cde2496a4774ab8ed':
Fix for setting Toolbar content descriptions
8e5372fe93ee2ee3bf20baab9054b39b4c5043ce 29-May-2014 Adam Powell <adamp@google.com> Fix for setting Toolbar content descriptions

Allow resid 0 as a null content description.

Change-Id: I0663feac229a77d5efffece2bd686de4ee99d840
oolbar.java
88e719fd3e7f998f77124fa3c969790409916060 29-May-2014 Adam Powell <adamp@google.com> am 49a4961e: Merge "Toolbar factoring and ActionBar functionality integration" into lmp-preview-dev

* commit '49a4961efde042f4921393f59cff86c2b7889c71':
Toolbar factoring and ActionBar functionality integration
e021e6ed8931a0a8296af182fc9b0c76b64fb0c4 24-May-2014 Adam Powell <adamp@google.com> Toolbar factoring and ActionBar functionality integration

Toolbars now can act in the role of ActionBar with the exception of
navigation modes. Expandable action views are now supported as well as
populating menu items from a host window.

Change-Id: If477db9c7ad9f95723f28cf73cbf03a07ce9d6ad
ctionMenuPresenter.java
ctionMenuView.java
oolbar.java
dea890fa64bca15637e824306aa301775e933eee 25-May-2014 Philip Milne <pmilne@google.com> More on weights in GridLayout

Chance as little as possible from existing. If weights are defined only a
subset of the views in a layout (the normal case) leave the layout of the
remaining views unaffected.

Change-Id: I27473e303c0666930e2fb515b794df96a8b97272
ridLayout.java
4885f2f773915a48d0e2f67bc604b081327372a0 24-May-2014 Philip Milne <pmilne@google.com> More on adding support for weights to GridLayout

Remove fields that are not needed with view-based allocation.

Change-Id: I23dc75fea47c532ad46e23b7fb14ff8e46c68db1
ridLayout.java
9505480ee37494a33e12565db4febfb18b6d7494 24-May-2014 Philip Milne <pmilne@google.com> More on weighted space distribution in GridLayout

This CL changes the weight distribution algorithm to act on views rather
than rows/columns. This is a more general mechanism that is simpler to
define.

Change-Id: Ifa5adbe0b0a9a9ae271616321385f8e926aba054
ridLayout.java
de220369c60264c6bc637e1a65486f6c79f15309 23-May-2014 Alan Viverette <alanv@google.com> am e11794a2: Merge "Update switch, checkbox, radio button, button, and toggle button" into lmp-preview-dev

* commit 'e11794a2c1af70a265b6476ce3f3587814e9f0b3':
Update switch, checkbox, radio button, button, and toggle button
2356c5e69b0911e6334ebf6374217898371be5ac 23-May-2014 Alan Viverette <alanv@google.com> Update switch, checkbox, radio button, button, and toggle button

Add optical inset support to BitmapDrawable with gravity. Fix optical
inset support in DrawableContainer. Fix visibility change support in
AnimatedStateListDrawable. Adds a whole bunch of missing drawable
support to CheckedTextView.

BUG: 15127013
BUG: 15126976
BUG: 15125529
BUG: 15025806
BUG: 14597955
BUG: 14594498
BUG: 15152746
Change-Id: Id2d99e10838d25b6f927ca1e49996c8da8e78ab1
bsSeekBar.java
heckedTextView.java
witch.java
87260844afc3ff2adf63b156c052e15a2f8c68f0 22-May-2014 Philip Milne <pmilne@google.com> Support for weights in GridLayout

Change-Id: I31993cb7da331e0bcf404e858f2438a579093e7d
ridLayout.java
d6a91b0bb64b17dcf4ae635f428dfd4ad310f73e 20-May-2014 Alan Viverette <alanv@google.com> Merge "Fix password obscuring in TextView accessibility node"
c80ad99a33ee49d0bac994c1749ff24d243c3862 20-May-2014 Alan Viverette <alanv@google.com> TouchFeedbackDrawable is now RippleDrawable

Change-Id: I59f5f04b73089215c6320560556ac21beb03db06
bsListView.java
bsSeekBar.java
ompoundButton.java
witch.java
3a499e013ce1dfa6b90e222e030fab03333fb016 20-May-2014 Alan Viverette <alanv@google.com> Fix password obscuring in TextView accessibility node

BUG: 14998638
Change-Id: I215ea7b11bef5242e6adb1e595df36555548c165
extView.java
ad2f8e334f3ef22d3e412b0660a2e1f996f94116 16-May-2014 Alan Viverette <alanv@google.com> Update ripple behavior, use render thread animation

Change-Id: Ib6bc1e08b05d29606f452961963d58b8fc866746
witch.java
07d5e7d5fa971c60776fe6388467b77e7d3f1970 16-May-2014 Sungsoo Lim <sungsoo@google.com> Merge "Implements TtmlRenderer."
76d8f968059d27ef8500cabf7690c18552c22d5a 15-May-2014 Adam Powell <adamp@google.com> Add content insets to Toolbar

Content insets allow a Toolbar to define horizontal gridlines for the
start/end or left/right edges of major content (not counting the
navigation button or menu). This allows apps to align their layout
content above or below a Toolbar with the title and other contents of
the bar by using app-defined measurements.

Change-Id: Ibd7e0810bf81070eb5f59a42ad3257f35bc0156a
tlSpacingHelper.java
oolbar.java
9edfec8b4527c62f594adb275e49f6d6ca945c05 15-May-2014 Yohei Yukawa <yukawa@google.com> Merge "Enable CursorAnchorInfo to contain composing string"
7a8a284d46c740e8b2cd1ccd088c0ba41e020642 15-May-2014 Adam Powell <adamp@google.com> Fix layout positioning for Toolbar

Fix a bug where the starting position was not properly updated for the
previous view's measured width.

Bug 14900794

Change-Id: I6064c5353abc83159cd4c7d6ccfce64640735791
oolbar.java
ba3699b568e656910641b246b27448d92632a389 17-Mar-2014 Sungsoo Lim <sungsoo@google.com> Implements TtmlRenderer.

Change-Id: I99772745c5c005ee1eefbc29187116f0c2820988
ideoView.java
81f4cb3f858f46a4d9b793c4d326b9bf6aca868d 13-May-2014 Yohei Yukawa <yukawa@google.com> Enable CursorAnchorInfo to contain composing string

This CL adds one more functionality to CursorAnchorInfo
that enables applications to associate the composition
string with its positional information. This is useful
for an IME to handle CursorAnchorInfo asynchronously.

This is also useful for the framework to detect if
the application is unnecessarily calling
IMM#updateCursorAnchroInfo with duplicate event.

BUG: 14579622
Change-Id: Ie75c17b523dad33e97b08c15f5f5267573ce2063
ditor.java
d6f4e37554398b46e84485707d114b5b1a408a8a 14-May-2014 Yohei Yukawa <yukawa@google.com> Merge "Support IMM#updateCursorAnchorInfo in Editor"
83b68ba4ad7e80dd0afe34f9f53dde5884325f58 12-May-2014 Yohei Yukawa <yukawa@google.com> Support IMM#updateCursorAnchorInfo in Editor

With this CL, Editor starts calling IMM#updateCursorAnchorInfo
iff IMM#isWatchingCursor(View) returns true. The performance
regression should be negligible when IMM#isWatchingCursor(View)
returns false.

BUG: 14579622
Change-Id: Ib35a6f4201b26d837a6aa07d1204c9eb75404da1
ditor.java
2897a6fdedd23efe96cd373886da78f1f1d18442 13-May-2014 Adam Powell <adamp@google.com> Tweak EdgeEffect

Make the effect less prominent/bulbous and not hit limits quite so
easily.

Change-Id: Ib8fdc29867276e6d0db447b60db0d7be3503d4d8
bsListView.java
dgeEffect.java
e2e19391d422b6abb6abccb0e412debdf4a67716 12-May-2014 Yorke Lee <yorkelee@google.com> Fix magnitude of AbsListView nested scrolling offset

Change-Id: I9402fd4b788c9e93163974fbd4d89c200fe49581
bsListView.java
1cb088c1281deec042bdf00e0f2d227f7e5cd718 12-May-2014 Alan Viverette <alanv@google.com> Merge "Support for hollow switch and seek bar thumbs"
661e63658da39cccfe49a129e4860455716ff3c9 12-May-2014 Alan Viverette <alanv@google.com> Support for hollow switch and seek bar thumbs

Also cleans up AbsSeekBar.

Change-Id: I996ea90c732c1da6a801aad3079f6bb3692d5c67
bsSeekBar.java
rogressBar.java
witch.java
033655636e9b936244f2ee3ae28e1363506007d4 12-May-2014 Yorke Lee <yorkelee@google.com> Merge "Fix nested scrolling bugs in AbsListView"
43943d8bbc628c7d6e0c3afe49e43161cbaf8b12 08-May-2014 Yorke Lee <yorkelee@google.com> Fix nested scrolling bugs in AbsListView

* rawDeltaY should be offset by mMotionCorrection when passing it
to dispatchNestedPreScroll
* mScrollOffset should offset the next motion event, not the current
one

Bug: 14572732

Change-Id: Ib98f27d608b91706af4537e1cf9ad42adce121ea
bsListView.java
c501db9f44f7967961f0ba61a0b3b63055ac1190 08-May-2014 Adam Powell <adamp@google.com> New, inkier EdgeEffect visual style

Remove the two-part gradient and edge glow and replace it with a
circular ink-like style instead. This now follows the theme color
palette so that it can be more in tune with the app's overall visual
design.

Add API to EdgeEffect to specify a horizontal displacement for the
effect. This lets the larger middle section follow relevant touch
points.

Fix a bug that caused EdgeEffect pulls to stutter in ListView/GridView
as a result of some annoying state-fluttering.

Change-Id: Ief144b06bd9d3dbe85d3154585a703fa552b0808
bsListView.java
dgeEffect.java
orizontalScrollView.java
crollView.java
7486ae202f02d3d58063d39e6163e0bc9609db11 08-May-2014 Craig Mautner <cmautner@google.com> Merge "Make ChooserActivity intents doccentric and transitory"
411d2aed2bb51ea0ba258fc45c8f8029c409e881 08-May-2014 Craig Mautner <cmautner@google.com> Make ChooserActivity intents doccentric and transitory

Activities launched from the chooser activity will now appear in
their own tasks which will be automatically removed from recents
when they are finished.

Also qualified application of new flags with null check and
Action check. Must be either ACTION_SEND or ACTION_SEND_MULTIPLE.

Fixes bug 14463859.
Fixes bug 14633773.

Change-Id: I8832462163958f6a43bc4c6a020f78948ce70ac3
hareActionProvider.java
5b554f010358d8f47e31d92a42aa3edc4a71ec47 08-May-2014 Derek Sollenberger <djsollen@google.com> Merge "Avoid caching shadow properties in Java & HWUI."
41db4a77fa4659d60ad055ec1819a410ce35bf28 08-May-2014 Craig Mautner <cmautner@google.com> Use new doccentric flags and attributes in Sharing

Put the new doccentric flags and attributes into use. And make their
first application the Share widget. Sharing now creates a new task
which is destroyed once the share action has completed.

Fixes bug 14463859.

Change-Id: I34c4c79775ef44d65e1967be5601997a2d46b210
hareActionProvider.java
c29a0a4664a4b9871fadd668b632469a0db240b9 31-Mar-2014 Derek Sollenberger <djsollen@google.com> Avoid caching shadow properties in Java & HWUI.

bug: 10650594
Change-Id: I6f57df002710bb0567ed7e53fc0bfe96cfd504b8
extView.java
ccd3a6a519030989c18371c1d58d6d3632de78ee 06-May-2014 Yorke Lee <yorkelee@google.com> Merge "Fix nested prescrolling bug in ScrollView"
f4ce9e115e10d81c08732b14c7f2dfb3f1aa8799 06-May-2014 Alan Viverette <alanv@google.com> Merge "Add support for popups overlapping anchors"
560f17098f90b15c8894cce127f2fed85f7aeb6b 05-May-2014 Alan Viverette <alanv@google.com> Add support for popups overlapping anchors

BUG: 14471731
Change-Id: I16e8d76caedfebd0c38b8c0b22cd9619d70877c8
ctionMenuPresenter.java
istPopupWindow.java
opupWindow.java
e9a0d6a859961bf97e9e7a0d06b2c47c7516e9b7 03-May-2014 Yorke Lee <yorkelee@google.com> Fix nested prescrolling bug in ScrollView

mScrollOffset should not be applied to deltaY for the current
MotionEvent. Instead, it should be used to offset the y position
of the next motion event instead.

Change-Id: Iaed85083556d4606300d9a888662c32ab4dbf3ca
crollView.java
11d0069f9228400943e9932e3286babb2b5f4135 05-May-2014 Adam Powell <adamp@google.com> Fix a bug in AbsListView nested scrolling support.

Bug 14564701

Change-Id: I8cb854b987736e6f141610c8e6e77eb263a718db
bsListView.java
96d62aff0f97557bc15de98e145d9345288d060c 02-May-2014 Adam Powell <adamp@google.com> ListViews in ScrollViews and ScrollViews in ListViews

Dogs and cats, living together, mass hysteria!

Add support for nested scrolling to AbsListView, granting the ability
to both ListView and GridView.

Change-Id: Iae5c0518c5cebe41927720a7a27916ef13ca706e
bsListView.java
crollView.java
de399397947c5379c61a1003c017b96accbbf545 02-May-2014 Alan Viverette <alanv@google.com> Support for list selector ripple during arrow movement & drag

BUG: 14231774
BUG: 14230395
Change-Id: I23efbc88c3f05b3f323e47bcb34f55ff70ad6828
bsListView.java
istPopupWindow.java
istView.java
b36e4f944fe28ce68182f9ec91e5341866b49084 01-May-2014 Adam Powell <adamp@google.com> Add support for hiding action bars on scroll.

Also tweak the nested scrolling API around nested flings and fix a bug
where recursive nested scrolling would stop prematurely.

Change-Id: I561226db878b2493970440a6af3e2332c56a1913
crollView.java
293513a59d36cd96a3e474dde5981380d372d8c9 30-Apr-2014 Bill Yi <byi@google.com> Merge commit '0b62467b142b61ee1e449ba958ba37dfd961ef56' into HEAD
a702ccdf9f067c0604a0ca571dca5c4a2a291040 28-Apr-2014 Yorke Lee <yorkelee@google.com> Add setOverlay method to QuickContactsBadge

Allow apps to disable/configure their own overlay to be used
on the QuickContactsBadge

Bug: 13747208

Change-Id: Id84c6ee1ebde6ce17477c12d22522ca19c27ea9b
uickContactBadge.java
d1ca75bffef070f62ab70ed514f7f91824f73cbc 28-Apr-2014 Alan Viverette <alanv@google.com> Quantum ripple for ListView selector

Also fixes row clipping and ripple alpha channel. Only supports showing
ripple on a single list row -- multiple rows for focus traversal and
drag-to-open are coming soon.

BUG: 13212804
BUG: 14257108
Change-Id: Ided15611dc868a513e8d2a994723cdf57b0d206c
bsListView.java
e9a16a5a3e7e41551e8c95b84d0e2af0dd130afe 25-Apr-2014 Adam Powell <adamp@google.com> Fix ScrollView nested scrolling with touch down on buttons

Start ScrollView's nested scroll in onIntercept to signal nested
scrolling parents not to intercept along the vertical axis.

Change-Id: Ieb343ff6b8216b113d3876bf93a804e609257f2a
crollView.java
10ba27734ee6274a772be8d6b1faa703ee3a3d6b 15-Apr-2014 Adam Powell <adamp@google.com> Nested scrolling!

or, "Excuse me, Egon, you said crossing the streams was bad."

Add API for driving a nested scroll from the most deeply nested
applicable scrolling view. The deepest scrolling view dispatches
high-level scrolling events up to cooperative parent views.

Augment ScrollView to support nested scrolling. Next up, more public
framework scrolling views.

Change-Id: I53b5e207fcdece796e08c8592ddb4496b96f600e
crollView.java
aec98fee141c268660e23d0ea675a2f709b00335 23-Apr-2014 Alan Viverette <alanv@google.com> Add null bg check to switch

BUG: 14271950
Change-Id: I6f4833c916ddc8d939f5bfa6ab7b1ed1993e862e
witch.java
70ad9bc03341cc0a5b8d6c9c1f43afac6bcc9c62 23-Apr-2014 Alan Viverette <alanv@google.com> Fix null and bounds checks

BUG: 14271950
BUG: 14271753
BUG: 14270202
Change-Id: I8708107d3803b170a323f584a268ea6b096458ce
bsSeekBar.java
ompoundButton.java
61956606818918194a38e045a8e35e7108480e5e 23-Apr-2014 Alan Viverette <alanv@google.com> Add ripple to switches, radio buttons, check boxes, seek bars

BUG: 14231772
Change-Id: Ie40eac9f68815294460175965a999dd75f4144b5
bsSeekBar.java
ompoundButton.java
witch.java
0613657426aecb7ed6141c133f100baf24166ae0 17-Apr-2014 Raph Levien <raph@google.com> Merge changes Ia693f512,If3b7d41f

* changes:
Enable elegant text metrics in Quantum theme
Add elegantTextHeight text appearance attribute
53c0077256afebb0312f01ef4f60a7445da1f5d9 14-Apr-2014 Raph Levien <raph@google.com> Add elegantTextHeight text appearance attribute

This patch adds an elegantTextHeight text appearance attribute and
plumbs it through to the paint. This attribute selects the elegant
variant of fonts (when appropriate, which is typically Arabic and indic
scripts), and also specifies larger vertical metrics, to avoid clipping.

The intent is for this to be the default for quantum themes, but this
patch doesn't change any default behavior, just adds the attribute.

The larger vertical metrics are applied to top and bottom, but should
not affect line spacing in the common case. Also, with the setting,
metrics are no longer dependent on the font, so setting a custom font
will preserve layout and spacing.

Change-Id: If3b7d41f141deff50ca078f479ca90c2aa07829a
extView.java
f2d085e867dd59aa2aaff74f6e5b265b1bffbaba 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am d023360a: am 484c88c3: am 4ccc4bd5: Action bar rendering in layoutlib [DO NOT MERGE]

* commit 'd023360aa03db1a7831a5697d49faa2575e4a9c3':
Action bar rendering in layoutlib [DO NOT MERGE]
d023360aa03db1a7831a5697d49faa2575e4a9c3 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 484c88c3: am 4ccc4bd5: Action bar rendering in layoutlib [DO NOT MERGE]

* commit '484c88c3655991759dc64276404d0cf7e33b455f':
Action bar rendering in layoutlib [DO NOT MERGE]
484c88c3655991759dc64276404d0cf7e33b455f 16-Apr-2014 Deepanshu Gupta <deepanshu@google.com> am 4ccc4bd5: Action bar rendering in layoutlib [DO NOT MERGE]

* commit '4ccc4bd54f85d86818f61d728c6361d2003ddd8e':
Action bar rendering in layoutlib [DO NOT MERGE]
4ccc4bd54f85d86818f61d728c6361d2003ddd8e 12-Dec-2013 Deepanshu Gupta <deepanshu@google.com> Action bar rendering in layoutlib [DO NOT MERGE]

This also makes a couple of changes to the framework:
1. ShareActionProvider - Use edit mode to execute activity chooser code.
2. ActionBarImpl - add a new constructor for use by layoutlib.

This also relies on some changes to the plugin to pass the correct params.

Change-Id: Ia30fef816afd91ec1e439734d56b59b1323bfee2
(cherry-picked from 14bf0cef7eeed572a67c29a328581afac4decc20)
hareActionProvider.java
875f4c2918961fe34a5a74e7a54f970432977116 16-Apr-2014 Alan Viverette <alanv@google.com> Allow clamped bound position to be INVALID_POSITION

Change-Id: Idd392e41cb8df31e2933851fa6abd87fc3e2001b
bsListView.java
8d95b5009ce5592f55a9487536fa640724dc316b 15-Apr-2014 Deepanshu Gupta <deepanshu@google.com> Merge "Action bar rendering in layoutlib"
7bc016e88a854d8de870ddb6e235fab3c902c0c7 14-Apr-2014 Raph Levien <raph@google.com> am f6ee7e3f: am 202d1ec7: Fix text shadow attributes in textAppearance

* commit 'f6ee7e3f47ee443078d803b03c0507ea1bf5cd54':
Fix text shadow attributes in textAppearance
f6ee7e3f47ee443078d803b03c0507ea1bf5cd54 14-Apr-2014 Raph Levien <raph@google.com> am 202d1ec7: Fix text shadow attributes in textAppearance

* commit '202d1ec753ff9401f3a1ea93a09a7419e76b7f91':
Fix text shadow attributes in textAppearance
202d1ec753ff9401f3a1ea93a09a7419e76b7f91 14-Apr-2014 Raph Levien <raph@google.com> Fix text shadow attributes in textAppearance

The various text shadow attributes were not being properly applied
because they were being retrieved from the wrong TypedArray.

This is the proper fix for bug 13525033 Shadow* attributes in a style
not being applied in textAppearance.

Change-Id: I57a8f498bf6059c5c5c74c1072edb277a24ea053
extView.java
1f2966ea2bd001adde9ee4773d97d1bb6007aa53 11-Apr-2014 Elliott Hughes <enh@google.com> am 8e6992fb: am 1ea1857d: am 8cd319b8: Merge "Add additional languages to be accepted by the NumberPicker input filter"

* commit '8e6992fb3ac986d3bbb93cd2d55d3e18eb03b3b5':
Add additional languages to be accepted by the NumberPicker input filter
8e6992fb3ac986d3bbb93cd2d55d3e18eb03b3b5 11-Apr-2014 Elliott Hughes <enh@google.com> am 1ea1857d: am 8cd319b8: Merge "Add additional languages to be accepted by the NumberPicker input filter"

* commit '1ea1857de9c98199015f0188678a12a82a6248d4':
Add additional languages to be accepted by the NumberPicker input filter
8cd319b84635454746803b0eed7e2626d7945a09 11-Apr-2014 Elliott Hughes <enh@google.com> Merge "Add additional languages to be accepted by the NumberPicker input filter"
14bf0cef7eeed572a67c29a328581afac4decc20 12-Dec-2013 Deepanshu Gupta <deepanshu@google.com> Action bar rendering in layoutlib

This also makes a couple of changes to the framework:
1. ShareActionProvider - Use edit mode to execute activity chooser code.
2. WindowDecorActionBar - add a new constructor for use by layoutlib.

This also relies on some changes to the plugin to pass the correct params.

Change-Id: Ia30fef816afd91ec1e439734d56b59b1323bfee2
hareActionProvider.java
8de65a8e05285df52a1e6f0c1d5616dd233298a7 10-Apr-2014 John Reck <jreck@google.com> Switch DisplayListData to a staging model

Bug: 13912977

Change-Id: I5b2f664e797be22a58300964f57ceb4fab60528c
ditor.java
e43340c80dc66c45edc793ecd0343774aa34d108 18-Mar-2014 Adam Powell <adamp@google.com> android.widget.Toolbar

Add the new Toolbar widget for use in app layouts.

ActionBar can now be used as a point of control for either a
traditional window decor action bar or for a Toolbar that appears
inline in an Activity's layout.

ToolbarActionBar is currently WIP.

Change-Id: I0da093e5645840f4fd032aa34efa0ae5f1825ff2
ctionMenuPresenter.java
ctionMenuView.java
oolbar.java
537be409f281d4a872cbcebb6ac3a4d767ded4da 03-Apr-2014 Raph Levien <raph@google.com> am c333381b: am 24a2f20f: am c420ce34: Merge "Marquee text RTL improvements"

* commit 'c333381b4c1b46f13f75388099cafb740844c497':
Marquee text RTL improvements
c333381b4c1b46f13f75388099cafb740844c497 03-Apr-2014 Raph Levien <raph@google.com> am 24a2f20f: am c420ce34: Merge "Marquee text RTL improvements"

* commit '24a2f20fe64e893e28dc70b288e12567ff71019f':
Marquee text RTL improvements
1970f570714a4746bf592e26731ea0ee8933d363 03-Apr-2014 Alan Viverette <alanv@google.com> Don't use TypedArray after recycling it

BUG: 13771701
Change-Id: Ib3ccb270f44cd236ce5294f8d0e01f1922005a3b
imePickerDelegate.java
4669cfff1ed590087eade846aee8b4ef58f31739 29-Mar-2014 Michael Wright <michaelwr@google.com> am d020fd33: Merge changes Ib18c99b9,I9f42eeb9 into klp-modular-dev

* commit 'd020fd33d147c88a9cda4976d2fa559e55b4ab03':
Generate and respect ACTION_CANCEL for joystick fallbacks. DO NOT MERGE
Adds API for determining confirm and cancel keys.
efaf51ad0cb7a371aefe9ac7e08bff637ba59021 29-Mar-2014 Alan Viverette <alanv@google.com> Merge "Fix drag-to-open forwarding behavior"
78efdbac8a35a199f602e10a2d9ec3d86c0dbf5f 29-Mar-2014 Alan Viverette <alanv@google.com> Fix drag-to-open forwarding behavior

BUG: 13695088
Change-Id: I4c6e824267b145e6dcedb1aa46c8378fd5b6ff83
istPopupWindow.java
c0469c00bfd0701d8a8bce9e600cf90a0e60ba98 29-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "SearchView improvement for IME"
2182f2aaf4bdecac3f936d061e0da9c718718e12 25-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> SearchView improvement for IME

- fix IME not closing when not having a SearchableInfo

Change-Id: I3e6e168be1e26138fe0ceb967bbd12fa35db0903
earchView.java
776abc24cdd18610232a50b997cce3cffa74609b 07-Mar-2014 Adam Lesinski <adamlesinski@google.com> Uses VMRuntime.newUnpaddedArray for ideal array sizes

Bug:13028925

Change-Id: I0a9301248b10a339afbdc5e4ffe3310ac4fa1fb7
ditor.java
pellChecker.java
73581effb0b4029961501c6f699e95a9930ea1e6 27-Mar-2014 Jorim Jaggi <jjaggi@google.com> Merge "Move legacy notification processing to Notification.Builder"
5c2d84675b239bc04ae98c75526e5b81897ee183 21-Mar-2014 Jorim Jaggi <jjaggi@google.com> Move legacy notification processing to Notification.Builder

Bug: 13485610
Change-Id: I5466d3dbc328c77876dc701c17e7a5a06777dbbe
emoteViews.java
1e3c93975ee9c88284449406d49df2569f03f498 24-Mar-2014 Michael Wright <michaelwr@google.com> Adds API for determining confirm and cancel keys.

Bug: 13624048
Change-Id: I9f42eeb9c3a6bdae35eb0d7213fb4ac0fd8dc0d9
bsListView.java
allery.java
istPopupWindow.java
89bc413b8f04a85dffd9c80fe497208357009c7b 11-Jan-2012 Michael Lekman <michael.lekman.x@sonyericsson.com> Marquee text RTL improvements

Changed marquee text to scroll according to
the reading direction. Arabic text will
show the right edge and scroll towards
the left edge and vice versa for Latin.

Corrected marquee flicker when scroll animation
finished. The ghost scroll's x position was cast
to int and it made the text flicker when
marquee stops.

Ghost part didn't display for RTL languages.
Added multiplication with
getParagraphDirection to negate the ghost
offset.

Change-Id: I689039118df01a62f73ef0079c857fea1bfcc5a0
extView.java
52b999f0721b53e9c6e18a4bd664e89aeb65b2d5 25-Mar-2014 Alan Viverette <alanv@google.com> Implement APIs for obtaining, caching themed Drawables

When Drawables are inflated during preload (or otherwise without a theme)
they cache their themeable attributes in their constant state as an array
keyed on attribute index. Drawables inflated with a theme will simply
resolve theme attributes as part of normal inflation, and they will not
cache any themeable attributes.

Drawables obtained from Resources are pulled from theme-specific cache
when possible. If an unthemed Drawable exists in the preload cache, a
new constant state will be obtained for the Drawable and the theme will
be applied by resolving the cached themeable attributes and overwriting
their respective constant state properties. If no cached version exists,
a new Drawable is inflated against the desired theme.

Constant states from themed drawables may be cached if the applied theme
is "pure" and was loaded from a style resource without any subsequent
modifications.

This CL does not handle applying themes to several Drawable types, but it
fully supports BitmapDrawable, GradientDrawable, NinePatchDrawable,
ColorDrawable, and TouchFeedbackDrawable.

BUG: 12611005
Change-Id: I4e794fbb62f7a371715f4ebdf946ee5f9a5ad1c9
mageView.java
uggestionsAdapter.java
f666ad7046c0b1b255835f75aeb7d1391067df93 15-Mar-2014 John Reck <jreck@google.com> Rename DisplayList->RenderNode

Change-Id: Idcca6f26ba6282594789962f5edb3ed53a290fef
ditor.java
4111e7e17665b1142853c71e9fd1cf6af5f68b82 14-Mar-2014 Daniel 2 Olofsson <daniel2.olofsson@sonymobile.com> am 09421fab: Re-initialize error after attach

* commit '09421fab0784bcfc6660a09d02faea7835c28e31':
Re-initialize error after attach
09421fab0784bcfc6660a09d02faea7835c28e31 13-Aug-2013 Daniel 2 Olofsson <daniel2.olofsson@sonymobile.com> Re-initialize error after attach

If flag for error after attach is not reinitialized, it may cause
NullPointerException on subsequent onAttachedWindow if error text
was reset to null.

Change-Id: I8976c28a6ca71017e5c4b3f29d4eeeb2eda48c38
ditor.java
d7cc4bf482d69d146eb5386b790816c8a46f278a 13-Mar-2014 Alan Viverette <alanv@google.com> am cf2b65ce: am 9ebe031c: am 6e6dc23c: Merge "DO NOT MERGE Quick fix for updating the FastScroller long list property" into klp-dev

* commit 'cf2b65ce7a5a1d60755a00ae4da6cd6b1101af8c':
DO NOT MERGE Quick fix for updating the FastScroller long list property
839321a362ec1cd40fc7267a7883641bcc8ee429 13-Mar-2014 Alan Viverette <alanv@google.com> am c25dbb50: am 7b09a4e5: am e910a7ce: Merge "DO NOT MERGE Check item type before re-binding transient state views" into klp-dev

* commit 'c25dbb50c30816c97227b9a26cc46afec4e5318e':
DO NOT MERGE Check item type before re-binding transient state views
ba3d0fd5fc520d1a6dcf6e6abc5f9d90c08e9f88 13-Mar-2014 Alan Viverette <alanv@google.com> am af6288b7: am 3c3377a2: am 6a5b7c6f: Merge "DO NOT MERGE Ensure transient state views are temporarily detached" into klp-dev

* commit 'af6288b721110ffc4b4e68d55398b5ca31fc32e8':
DO NOT MERGE Ensure transient state views are temporarily detached
cf2b65ce7a5a1d60755a00ae4da6cd6b1101af8c 13-Mar-2014 Alan Viverette <alanv@google.com> am 9ebe031c: am 6e6dc23c: Merge "DO NOT MERGE Quick fix for updating the FastScroller long list property" into klp-dev

* commit '9ebe031cdc916646e95ffcd92dde67e1655be7ba':
DO NOT MERGE Quick fix for updating the FastScroller long list property
c25dbb50c30816c97227b9a26cc46afec4e5318e 13-Mar-2014 Alan Viverette <alanv@google.com> am 7b09a4e5: am e910a7ce: Merge "DO NOT MERGE Check item type before re-binding transient state views" into klp-dev

* commit '7b09a4e5df908783a95dbfef3bc9fabda339c3a1':
DO NOT MERGE Check item type before re-binding transient state views
af6288b721110ffc4b4e68d55398b5ca31fc32e8 13-Mar-2014 Alan Viverette <alanv@google.com> am 3c3377a2: am 6a5b7c6f: Merge "DO NOT MERGE Ensure transient state views are temporarily detached" into klp-dev

* commit '3c3377a2290764937548de5a49ca8ec28dc98153':
DO NOT MERGE Ensure transient state views are temporarily detached
8d377b3ac0625adc7c90249ca3a2e447eab5d493 13-Mar-2014 Jeff Brown <jeffbrown@android.com> am fc7315c6: am 6d71e165: Merge "Round off when calculate next step in Seekbar"

* commit 'fc7315c6c17e6ebc559d2ea0afb8be64c5d7b86c':
Round off when calculate next step in Seekbar
1d296469233301e54855c0af36c5981e238d0e86 12-Mar-2014 Alan Viverette <alanv@google.com> am 9ebe031c: am 6e6dc23c: Merge "DO NOT MERGE Quick fix for updating the FastScroller long list property" into klp-dev

* commit '9ebe031cdc916646e95ffcd92dde67e1655be7ba':
DO NOT MERGE Quick fix for updating the FastScroller long list property
cc9cd2135d38ae8c8524d5c2feef3b7a68e38eae 12-Mar-2014 Alan Viverette <alanv@google.com> am 7b09a4e5: am e910a7ce: Merge "DO NOT MERGE Check item type before re-binding transient state views" into klp-dev

* commit '7b09a4e5df908783a95dbfef3bc9fabda339c3a1':
DO NOT MERGE Check item type before re-binding transient state views
3b908e95a3a1686533723e789c156d79231f7fd2 12-Mar-2014 Alan Viverette <alanv@google.com> am 3c3377a2: am 6a5b7c6f: Merge "DO NOT MERGE Ensure transient state views are temporarily detached" into klp-dev

* commit '3c3377a2290764937548de5a49ca8ec28dc98153':
DO NOT MERGE Ensure transient state views are temporarily detached
9ebe031cdc916646e95ffcd92dde67e1655be7ba 11-Mar-2014 Alan Viverette <alanv@google.com> am 6e6dc23c: Merge "DO NOT MERGE Quick fix for updating the FastScroller long list property" into klp-dev

* commit '6e6dc23c692b14f5e70ee1453eab726978e4984e':
DO NOT MERGE Quick fix for updating the FastScroller long list property
7b09a4e5df908783a95dbfef3bc9fabda339c3a1 11-Mar-2014 Alan Viverette <alanv@google.com> am e910a7ce: Merge "DO NOT MERGE Check item type before re-binding transient state views" into klp-dev

* commit 'e910a7ce8b42580b8bc184dfc340859a65e98c80':
DO NOT MERGE Check item type before re-binding transient state views
3c3377a2290764937548de5a49ca8ec28dc98153 11-Mar-2014 Alan Viverette <alanv@google.com> am 6a5b7c6f: Merge "DO NOT MERGE Ensure transient state views are temporarily detached" into klp-dev

* commit '6a5b7c6ffbef87c6591dbc8f5813f61b3086bfad':
DO NOT MERGE Ensure transient state views are temporarily detached
6e6dc23c692b14f5e70ee1453eab726978e4984e 11-Mar-2014 Alan Viverette <alanv@google.com> Merge "DO NOT MERGE Quick fix for updating the FastScroller long list property" into klp-dev
e910a7ce8b42580b8bc184dfc340859a65e98c80 11-Mar-2014 Alan Viverette <alanv@google.com> Merge "DO NOT MERGE Check item type before re-binding transient state views" into klp-dev
6a5b7c6ffbef87c6591dbc8f5813f61b3086bfad 11-Mar-2014 Alan Viverette <alanv@google.com> Merge "DO NOT MERGE Ensure transient state views are temporarily detached" into klp-dev
d0fd73d7c5ddc1ff17097f24cdfcfc2120e57096 11-Mar-2014 Jeff Brown <jeffbrown@android.com> am 1c4d86c7: am f54d62dc: am fc7315c6: am 6d71e165: Merge "Round off when calculate next step in Seekbar"

* commit '1c4d86c7b4eba393058db62fc1e61c9dc30aaa82':
Round off when calculate next step in Seekbar
f54d62dc80b43a72adaa273836f00153ce7edc72 11-Mar-2014 Jeff Brown <jeffbrown@android.com> am fc7315c6: am 6d71e165: Merge "Round off when calculate next step in Seekbar"

* commit 'fc7315c6c17e6ebc559d2ea0afb8be64c5d7b86c':
Round off when calculate next step in Seekbar
6d71e165ba961251f0705b75aafed74eba1bc570 11-Mar-2014 Jeff Brown <jeffbrown@android.com> Merge "Round off when calculate next step in Seekbar"
be34f2f3b340196426bdf558b28951359a4d84fa 10-Mar-2014 John Reck <jreck@google.com> DisplayList lifecycle changes

Bug: 13360343
Change DisplayList to be more forgiving with weaker lifecycle
requirements. Is more self-managed with a strong reference
to the renderer it needs

Also fix naming mismatch

Change-Id: I5c89453a72a52954f6f959f0846199705dbb6476
ditor.java
be59a211644d17b00bc24b3359f5ffc8723a4be0 08-Mar-2014 Elliott Hughes <enh@google.com> am 29d60b95: am 8d41e653: Merge "Miscellaneous small documentation fixes."

* commit '29d60b95fa8019c0542f46551057c4d376bb8a7a':
Miscellaneous small documentation fixes.
bca20aaf0e216b2628a889ea93a10ce3197f65e0 08-Mar-2014 Alan Viverette <alanv@google.com> DO NOT MERGE Quick fix for updating the FastScroller long list property

BUG: 12553181
Change-Id: I5305b0ec4ae8e069fc98d45dc3d5daaa0628ca79
bsListView.java
astScroller.java
732ca4642f042d04fb2ebb091bb829e33a3de3de 08-Mar-2014 Alan Viverette <alanv@google.com> Update fast scroller item count after layoutChildren()

BUG: 12553181
Change-Id: I4ea1b45d08c153b0146868bf57884d6b8dde6245
bsListView.java
df262cd922a7f337c50bec441d1d12161f701587 07-Mar-2014 Alan Viverette <alanv@google.com> DO NOT MERGE Check item type before re-binding transient state views

BUG: 12701797
Change-Id: I180613cc342d24b63f80fd699937c7543c38fc20
bsListView.java
e8d2846fb9bc5f353a3a4af2678932895b7a242f 07-Mar-2014 Alan Viverette <alanv@google.com> DO NOT MERGE Ensure transient state views are temporarily detached

BUG: 12024471
Change-Id: I02659d65d664b3fd8991a0527bd23801db6f1a9d
bsListView.java
09279ece2ff7a46ac7e88b226f8ff10dd498b1ef 07-Mar-2014 Svetoslav <svetoslavganov@google.com> am d2a244f9: am 8cb232cb: Merge "ProgressBar is important for accessibility by default." into klp-dev

* commit 'd2a244f9767ee678d3971c9ad43a07100db4e8c9':
ProgressBar is important for accessibility by default.
94c349d8165db57a6484a5ea95965c38f67a588f 07-Mar-2014 Jay Shrauner <shrauner@google.com> am 1276295b: am a3ea4be5: Prevent SpellChecker from setting invalid range - DO NOT MERGE

* commit '1276295b6b157b583480fbdf2be72b9bc0fb1c54':
Prevent SpellChecker from setting invalid range - DO NOT MERGE
b28f87301fbb4f7db0b195c210af8006a321a030 07-Mar-2014 Svetoslav <svetoslavganov@google.com> am 3cd04c99: am d2a244f9: am 8cb232cb: Merge "ProgressBar is important for accessibility by default." into klp-dev

* commit '3cd04c99aca7d0c7d1a5edf8e0868c76b0725400':
ProgressBar is important for accessibility by default.
3cd04c99aca7d0c7d1a5edf8e0868c76b0725400 07-Mar-2014 Svetoslav <svetoslavganov@google.com> am d2a244f9: am 8cb232cb: Merge "ProgressBar is important for accessibility by default." into klp-dev

* commit 'd2a244f9767ee678d3971c9ad43a07100db4e8c9':
ProgressBar is important for accessibility by default.
d2a244f9767ee678d3971c9ad43a07100db4e8c9 07-Mar-2014 Svetoslav <svetoslavganov@google.com> am 8cb232cb: Merge "ProgressBar is important for accessibility by default." into klp-dev

* commit '8cb232cb796718ad91e56672a2c8fdbf88633001':
ProgressBar is important for accessibility by default.
8cb232cb796718ad91e56672a2c8fdbf88633001 07-Mar-2014 Svetoslav <svetoslavganov@google.com> Merge "ProgressBar is important for accessibility by default." into klp-dev
1276295b6b157b583480fbdf2be72b9bc0fb1c54 07-Mar-2014 Jay Shrauner <shrauner@google.com> am a3ea4be5: Prevent SpellChecker from setting invalid range - DO NOT MERGE

* commit 'a3ea4be5425fc2a561290c08a9f5f31f374afc31':
Prevent SpellChecker from setting invalid range - DO NOT MERGE
a3ea4be5425fc2a561290c08a9f5f31f374afc31 07-Feb-2014 Jay Shrauner <shrauner@google.com> Prevent SpellChecker from setting invalid range - DO NOT MERGE

Add check for invalid range before setting for further check
at end of parse() loop.

Bug:12936072
Change-Id: Ie0b33b8e69fe47e5d3371640be5681f13a4e4f6e
(cherry picked from commit ea4adf28474d949c51518a5abe6dbd3a3529cf29)
pellChecker.java
b14dfe20ef300c47cc5cdfbd844c21f7fd302f0c 06-Mar-2014 John Reck <jreck@google.com> Revert "Revert "Workaround apps not calling super.onDetachedFromWindow()""

This reverts commit bac16fae7e6fceb1e516252ede673844b772e7c3.

Change-Id: I61e997b23fac1aa984129fdc0328426ff8891bdd
extView.java
bac16fae7e6fceb1e516252ede673844b772e7c3 06-Mar-2014 Bart Sears <bsears@google.com> Revert "Workaround apps not calling super.onDetachedFromWindow()"

Requested by jreck to fix the build.

This reverts commit 198d20842a537f3df3584ea084e74220e172b086.

Change-Id: I733065cc124b59bf914034f5bac5e2e951a5b604
extView.java
198d20842a537f3df3584ea084e74220e172b086 06-Mar-2014 John Reck <jreck@google.com> Workaround apps not calling super.onDetachedFromWindow()

Bug: 13338698
Move the releasing of hardware resources to a new
@hide onDetachedFromWindowInternal

Change-Id: I52b4e6ba4d5b3ce20b89cabffa248d1d780e3e81
extView.java
6a1846a084fd09b3ade3fa80a49c29dcbe7cd60d 14-Jan-2014 Svetoslav <svetoslavganov@google.com> ProgressBar is important for accessibility by default.

If a view does not have callbacks, or content description, or does not draw
content, and it is marked as important for accessibility auto, then the system
decides it is not important and does not report it. Apparently progress bar
draws content that means something and it should be important for accessibility
by default.

Change-Id: Icd3837fb8b9e208c98b90707f3b195622d71949e
(cherry picked from commit 7face75f2c655a371a4dcdf6063886f92c637ce4)
rogressBar.java
db3e77825d339cbe8840486bffbf7e03a53c1c4c 06-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> am 71c3a3d9: am 6c3a45d7: am 57f8a4b4: am 1ff2df61: Merge "Fix bug #12066726 java.lang.NullPointerException at android.widget.CalendarView.onScroll(CalendarView.java:1216) - DO NOT MERGE" into klp-dev

* commit '71c3a3d9474e1ce4210209bbd68055f3b780057d':
Fix bug #12066726 java.lang.NullPointerException at android.widget.CalendarView.onScroll(CalendarView.java:1216) - DO NOT MERGE
1eb5c0551f98b0340db37525f1f490c2d100cf38 06-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> am cf33fe68: am e1190a99: am cb6dcd7a: am 2b58a29f: Merge "Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API - DO NOT MERGE" into klp-dev

* commit 'cf33fe683d2cd9ea25fa83f5354c682a788ec074':
Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API - DO NOT MERGE
71c3a3d9474e1ce4210209bbd68055f3b780057d 06-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> am 6c3a45d7: am 57f8a4b4: am 1ff2df61: Merge "Fix bug #12066726 java.lang.NullPointerException at android.widget.CalendarView.onScroll(CalendarView.java:1216) - DO NOT MERGE" into klp-dev

* commit '6c3a45d7df0dc708e3981c79df32b5bb3fb1758a':
Fix bug #12066726 java.lang.NullPointerException at android.widget.CalendarView.onScroll(CalendarView.java:1216) - DO NOT MERGE
cf33fe683d2cd9ea25fa83f5354c682a788ec074 06-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> am e1190a99: am cb6dcd7a: am 2b58a29f: Merge "Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API - DO NOT MERGE" into klp-dev

* commit 'e1190a994e7d86ae7ad6f4680b7cd58d50d4a770':
Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API - DO NOT MERGE
6c3a45d7df0dc708e3981c79df32b5bb3fb1758a 06-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> am 57f8a4b4: am 1ff2df61: Merge "Fix bug #12066726 java.lang.NullPointerException at android.widget.CalendarView.onScroll(CalendarView.java:1216) - DO NOT MERGE" into klp-dev

* commit '57f8a4b4ed48ae3e2488bb3bafcd40137c71ec18':
Fix bug #12066726 java.lang.NullPointerException at android.widget.CalendarView.onScroll(CalendarView.java:1216) - DO NOT MERGE
e1190a994e7d86ae7ad6f4680b7cd58d50d4a770 06-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> am cb6dcd7a: am 2b58a29f: Merge "Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API - DO NOT MERGE" into klp-dev

* commit 'cb6dcd7af2d015b7a3d49f1224936241747bcb43':
Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API - DO NOT MERGE
57f8a4b4ed48ae3e2488bb3bafcd40137c71ec18 06-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> am 1ff2df61: Merge "Fix bug #12066726 java.lang.NullPointerException at android.widget.CalendarView.onScroll(CalendarView.java:1216) - DO NOT MERGE" into klp-dev

* commit '1ff2df6194148f487ccb014a7c5302fa8ffe2571':
Fix bug #12066726 java.lang.NullPointerException at android.widget.CalendarView.onScroll(CalendarView.java:1216) - DO NOT MERGE
cb6dcd7af2d015b7a3d49f1224936241747bcb43 06-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> am 2b58a29f: Merge "Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API - DO NOT MERGE" into klp-dev

* commit '2b58a29f825e6442d8767a36adaf1770b86d5725':
Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API - DO NOT MERGE
1ff2df6194148f487ccb014a7c5302fa8ffe2571 06-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #12066726 java.lang.NullPointerException at android.widget.CalendarView.onScroll(CalendarView.java:1216) - DO NOT MERGE" into klp-dev
2665f6e9f5163d27608c21ed029a224d53ede43d 06-Mar-2014 John Reck <jreck@google.com> Merge "Remove invalid usage of DisplayList.isValid()"
7558aa708160c287552f4e1e33c33d8b191e9f0e 05-Mar-2014 John Reck <jreck@google.com> Remove invalid usage of DisplayList.isValid()

Bug: 13324734

Editor was using isValid as a mechanism to track whether or not it
needed to re-record the DisplayList. This is not correct as isValid()
is not a general-purpose dirty bit. Add an explicit dirty bit for
Editor to use instead

Change-Id: I5608b151791870fca3681056b5507bd39ee48f52
ditor.java
8c6ed03c8fb991ef5bf8c4e2fd79a1582bafc90f 05-Mar-2014 Svetoslav <svetoslavganov@google.com> am 1caa092f: Allow click listener registration in NumberPicker.

* commit '1caa092f94aaa4b9b7b382263dfd13581d92d2de':
Allow click listener registration in NumberPicker.
1caa092f94aaa4b9b7b382263dfd13581d92d2de 04-Mar-2014 Svetoslav <svetoslavganov@google.com> Allow click listener registration in NumberPicker.

NumberPicker is composed of three areas, increment, decrement, and value,
which take the entire space. Hence, adding a click listener was a no-op.
Clicking on the value brings up the IME but for devices with very small
screens a developer may want to override this default behavior to say
confirm the selection.

This change allows adding a click listener to NumberPicker to override the
behavior of clicking on the current value. This is applicable only to the
new look and feel of the NumberPicker, i.e. the holo themes. This change
is safe as previously setting a click listener had no effect.

bug:13287234

Change-Id: I34e12a2e2bd64344a4797153fa6c820001a4722e
(cherry picked from commit 46a27efe9528ac3c5b37726707844e7c868815ac)
umberPicker.java
dd2ce3448bfdfa6ccc3a0c21a5a803974ad5f507 05-Mar-2014 Svetoslav <svetoslavganov@google.com> Merge "Allow click listener registration in NumberPicker."
25d9ce40584e8544098842154a0b84e626244840 10-Dec-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #12066726 java.lang.NullPointerException at android.widget.CalendarView.onScroll(CalendarView.java:1216) - DO NOT MERGE

- fix the NPE by checking the validity of the child reference retrieved by View.getChildAt(...)

Change-Id: I61b9233345a4f1110aa06ea563a81dcdf6b35783
alendarView.java
b3670c54e60387fde633fb91c649c5b896f8b962 07-Jan-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API - DO NOT MERGE

- force TextView internal layout recreation when its TextDirection is changed

Change-Id: I7d6b088a9235362e03cb6694392df71bbf5a323a
(cherry picked from commit 22228fec05129af9684f95d7a13aeff92144bd90)
extView.java
24ba99c235c328824ec8bcc1bf0382972f5b1616 05-Mar-2014 John Reck <jreck@google.com> Merge "DisplayList overhaul"
44fd8d24f761f82d21e9b00932648a1b6bf91449 26-Feb-2014 John Reck <jreck@google.com> DisplayList overhaul

Change-Id: I53418d580c98f706e971545cff81b9921c12cc5f
ditor.java
5876ff4a0ac938297bfd114da6b5d8c9dcb4cef6 04-Mar-2014 Alan Viverette <alanv@google.com> Quantum for seek bars, spinners, switches

Fixes a bug in Switch that ignores the switch intrinsic height. Reverts
list selectors since they're not implemented in AbsListView yet. Also
adds Quantum for some miscellaneous widgets and icons.

Change-Id: I918bb0165b84e108cdf17a29eadc8424ac35f9ee
witch.java
46a27efe9528ac3c5b37726707844e7c868815ac 04-Mar-2014 Svetoslav <svetoslavganov@google.com> Allow click listener registration in NumberPicker.

NumberPicker is composed of three areas, increment, decrement, and value,
which take the entire space. Hence, adding a click listener was a no-op.
Clicking on the value brings up the IME but for devices with very small
screens a developer may want to override this default behavior to say
confirm the selection.

This change allows adding a click listener to NumberPicker to override the
behavior of clicking on the current value. This is applicable only to the
new look and feel of the NumberPicker, i.e. the holo themes. This change
is safe as previously setting a click listener had no effect.

bug:13287234

Change-Id: I34e12a2e2bd64344a4797153fa6c820001a4722e
umberPicker.java
2ac93ae9194f84e18eafe07dc0304cfbb1297b00 28-Feb-2014 Alan Viverette <alanv@google.com> Don't smooth scroll if the adapter is null

BUG: 13235508
Change-Id: I1ca8a5675aa07b9a987e47a6eacdc0a1e4adde74
bsListView.java
cb23bce60ae8d2c75f8b2053a9da6b6b3880988e 28-Feb-2014 Alan Viverette <alanv@google.com> Refactor smooth scrolling sub-row calculation and clamp target

BUG: 13205615
Change-Id: If3757be35593a072ba6e92aa9da085330a12fd9d
bsListView.java
e6be9c78b55c46e221ebc3cd6b08f1be3588b1d7 27-Feb-2014 Alan Viverette <alanv@google.com> Always set item type on obtained ListView item views

If a view is scrapped without layout params being set, it will
incorrectly be recycled as item type 0.

BUG: 13212603
Change-Id: I2a42c04ec5065067ab260a0a8afb07207db729f6
bsListView.java
813d85b82cb7cbaa5dbe05496d1038caa17a1698 27-Feb-2014 Alan Viverette <alanv@google.com> Fix progress bar tinting, add tint support to ShapeDrawable

Cleans up APIs a little, since I think we may want to add tinting
modes beyond what Porter-Duff can provide. Plus we don't actually
support some of the Porter-Duff modes in hardware.

Change-Id: I2cea1b737cc93607a24842c54eb9f0d8346b29d4
rogressBar.java
2546fcf5c9cf16f5ffe8dcee09f4830bcf5f7e33 26-Feb-2014 Alan Viverette <alanv@google.com> Constrain starting sub row to list bounds

BUG: 13077653
Change-Id: Id01da055e8502b1447519666eb439d8480437c6c
bsListView.java
65be9cc34c1619d3ba71726c821820f394b694ab 25-Feb-2014 Alan Viverette <alanv@google.com> Force measurement in LinearLayout if any views are skipped

BUG: 12249256
Change-Id: I805cc70c4a2982befd9eb625be1378e6a2d9eba6
inearLayout.java
462c2177f73754458821cfc0441a863c1fa527e4 24-Feb-2014 Alan Viverette <alanv@google.com> Check for ongoing detachment in AbsListView

BUG: 13167767
Change-Id: Ie1a828eadbb99daef46af77544f233fee09fd1bc
bsListView.java
2e6fc8ca5696367a680656f73c1b9b95648eb6fa 24-Feb-2014 Alan Viverette <alanv@google.com> Check for null view root before checking for accessibility focus

BUG: 13168971
Change-Id: Ia75d77b18112371f56a624e11f9509f14ec98093
ridView.java
istView.java
dc8d7db35aae71ea747457cc1073fe8d60a8b277 22-Feb-2014 Alan Viverette <alanv@google.com> Merge "Fix transient state, accessibility focus in ListView, GridView"
c8124a1e7905a20e221a40546d4cf42b2aaaff45 21-Feb-2014 Guang Zhu <guangzhu@google.com> Merge "add new accessibility action for EditText to set text content"
503923220cca802f6dfc12f902ab0f6d1a12434f 21-Feb-2014 Alan Viverette <alanv@google.com> Merge "Fix scrolling when the bound target offset is too high"
00b982920222dd364e690d8856bad4caf5734ba5 21-Feb-2014 Alan Viverette <alanv@google.com> Fix scrolling when the bound target offset is too high

BUG: 13033556
Change-Id: I7a61548d3c604f004726117b40882f84ddf75337
bsListView.java
449e46600f75a21975ceb1c991f768f833ed7fbf 21-Feb-2014 Elliott Hughes <enh@google.com> am 0047d3e0: am e253b514: am 29d60b95: am 8d41e653: Merge "Miscellaneous small documentation fixes."

* commit '0047d3e025b43fd2dc05734f7ea6229291445046':
Miscellaneous small documentation fixes.
e253b514f4ef74a23c784d2cd893eb035d1c793f 21-Feb-2014 Elliott Hughes <enh@google.com> am 29d60b95: am 8d41e653: Merge "Miscellaneous small documentation fixes."

* commit '29d60b95fa8019c0542f46551057c4d376bb8a7a':
Miscellaneous small documentation fixes.
8d41e653bae240488281d430309e2d501e9524e5 21-Feb-2014 Elliott Hughes <enh@google.com> Merge "Miscellaneous small documentation fixes."
4cd353c038ec3c21f25c12897992e5e9826fe824 13-Feb-2014 Guang Zhu <guangzhu@google.com> add new accessibility action for EditText to set text content

Bug: 12872344
Change-Id: I85a3805ab0c34b96a7d4228f2382c8ff664e36e8
ditText.java
ff699570f62113b4df5b0efd74b9df8b9dbcd1a9 20-Feb-2014 Alan Viverette <alanv@google.com> Check item type before re-binding transient state views

BUG: 12701797
Change-Id: I180613cc342d24b63f80fd699937c7543c38fc20
bsListView.java
ca7d37bd270addab2fb764c86b56792bc9349730 19-Feb-2014 Jean Chalard <jchalard@google.com> Merge "Fix a crash where user data was not validated."
3e14162fc655e7a0dae61318911f3e29c07d0bf0 19-Feb-2014 Alan Viverette <alanv@google.com> Fix transient state, accessibility focus in ListView, GridView

Reverts portions of "Use transient state to preserve accessibility focus
in ListView," "Set transient state for focus container in ListView," and
"Restore A11y and keyboard focus positions after GridView layout."

Basically, using transient state here was bad and I should feel bad.

Replaces reverted code with better handling of accessibility properties
for scrapped views that are reused for the same stable ID.

BUG: 12701797
Change-Id: I7afcb2fe14413828435d1476b4f0f40108edd2dd
bsListView.java
ridView.java
istView.java
ae58624157798ef72be6bcbdaaca7979302e3f7f 19-Feb-2014 Jay Shrauner <shrauner@google.com> Merge "Prevent SpellChecker from setting invalid range"
bb9364279fd1f8ebd444b765ebea22af0199f34d 18-Feb-2014 Alan Viverette <alanv@google.com> Fix sub scroller bounds checking

BUG: 13031919
Change-Id: I6b569b50034fbe70441e11e56706faa9f2acfcbd
bsListView.java
23160f4fb911811759643bd3ef42e7b96abc1265 14-Feb-2014 Alan Viverette <alanv@google.com> Merge "Refactor AbsListView position scrollers for better abstraction"
d22db216fe7da01d70d4db3b3e76797aea64e956 14-Feb-2014 Alan Viverette <alanv@google.com> Refactor AbsListView position scrollers for better abstraction

The AbsListView sub-scroller knows nothing about layout. That's now
handled by ListView and GridView, with subclasses of AbsListView using
the default PositionScroller. Removes unnecessary (unreleased) APIs.

Also fixes a bounds check that was using the item position rather than
the child view position.

BUG: 13006641
Change-Id: I2adb0f15623e32295facf81f5ada974083ba03ce
bsListView.java
ridView.java
istView.java
84a3320507aa2948098c4964cea68b818f76ff88 13-Feb-2014 Jean Chalard <jchalard@google.com> Fix a crash where user data was not validated.

ExtractedText#partialStartOffset and #partialEndOffset are
from the app, that sets it as it sees fit. We need to
validate them so that we don't crash.
Still emit a warning if this is the case, as this is
not expected.

Bug: 9570771
Change-Id: Id9d6babd1620da39bf0e454b14d7ce716bd9d9d3
extView.java
76769ae02e713f50816ee67ff618b748d95050a8 13-Feb-2014 Alan Viverette <alanv@google.com> Add selection properties to CollectionInfo, CollectionItemInfo

BUG: 12552541
Change-Id: Iae10abc02eeffea7c7fcb25020b343181e1e3482
bsListView.java
ridView.java
istView.java
71c6ca2a752d9b722a9774a881f8e539a24ea862 13-Feb-2014 Alan Viverette <alanv@google.com> Merge "Update smoothScrollToPosition to move faster for large offsets"
d5694f02d5de16580c3e6cc7babc2e0204715e0f 13-Feb-2014 Alan Viverette <alanv@google.com> Fix RelativeLayout measurement

BUG: 12993953
Change-Id: Idf82734eb9a06ea7610e8eb42705da9f4a4639e9
elativeLayout.java
441b437b72dd92c1267c4f2cce5f28337e51cd2c 12-Feb-2014 Alan Viverette <alanv@google.com> Update smoothScrollToPosition to move faster for large offsets

Adds a method to AbsListView for translating from position to row
and vice-versa. Doesn't NPE this time.

BUG: 3434554
Change-Id: I6a731aedda6d951ad46322dbe87df00b8d34a22c
bsListView.java
ridView.java
istView.java
ea4adf28474d949c51518a5abe6dbd3a3529cf29 07-Feb-2014 Jay Shrauner <shrauner@google.com> Prevent SpellChecker from setting invalid range

Add check for invalid range before setting for further check
at end of parse() loop.

Bug:12936072
Change-Id: Ie0b33b8e69fe47e5d3371640be5681f13a4e4f6e
pellChecker.java
e6875f1575a71402cd86f75e4d031c95ccd43cc4 05-Feb-2014 Alan Viverette <alanv@google.com> Temporary fix for background invalidation

Not a complete solution, since we could be more efficient, but enough
to have both background display lists and proper invalidation.

Change-Id: I0216a104948c0930760275bb2b98318b0a4487e7
extView.java
8eea3ea5591e59f55cbb4f6b2b7e9363a285ced3 04-Feb-2014 Alan Viverette <alanv@google.com> Add APIs for obtaining themed Drawable from Theme, Context

BUG: 12611005
Change-Id: Ic0057be4e4c2d0c61ce02a019b3f7d0625e3a016
bsListView.java
nalogClock.java
ppSecurityPermissions.java
utoCompleteTextView.java
alendarView.java
heckedTextView.java
ompoundButton.java
dgeEffect.java
ditor.java
mageView.java
uickContactBadge.java
earchView.java
hareActionProvider.java
pinner.java
uggestionsAdapter.java
witch.java
abWidget.java
extView.java
4803bc1ab732323f907260e3eb89e4498bc75739 03-Feb-2014 Alan Viverette <alanv@google.com> Fix ordering of dimension caching during ImageView.setResource()

BUG: 12876148
Change-Id: I8c27546851f491e229a880307d34e1da8e74e6c2
mageView.java
53a470af6574dea27a2701e763e6c6b10be75af7 03-Feb-2014 John Spurlock <jspurlock@google.com> am be878d87: am b6a4926c: am 647db9fa: am 76ecd66a: am 0196e561: Fix typo in ImageView.java

* commit 'be878d8773cc841e5e144a6332c576c650e88126':
Fix typo in ImageView.java
647db9fae37b36d99ce290acfae7b453f00ae5af 03-Feb-2014 John Spurlock <jspurlock@google.com> am 76ecd66a: am 0196e561: Fix typo in ImageView.java

* commit '76ecd66a6d5f8ceaebbe9cd109948f01aff4cd27':
Fix typo in ImageView.java
76ecd66a6d5f8ceaebbe9cd109948f01aff4cd27 03-Feb-2014 John Spurlock <jspurlock@google.com> am 0196e561: Fix typo in ImageView.java

* commit '0196e561f280e6cc361442036da277a630e68558':
Fix typo in ImageView.java
0196e561f280e6cc361442036da277a630e68558 03-Feb-2014 John Spurlock <jspurlock@google.com> Fix typo in ImageView.java

Change-Id: Iaa7b020f09c893a5fe006a8523686dd8b9a8f872
mageView.java
25da1bac824033be3807d79eb22e83a32a57cfd8 30-Jan-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #12066726 java.lang.NullPointerException at android.widget.CalendarView.onScroll(CalendarView.java:1216)"
ab5e089585e01fd14ad7854391c10e6d8ae07144 29-Jan-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #12467741 Java crash in com.android.settings: java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification."
ef4aad220fbd2e79cd44e11a09657d3aab58a673 29-Jan-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API"
fa55105137e5b84e467aeb25e847859437e80de0 29-Jan-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix new TimePicker accessibility"
83ed4fe1d5ff00c2e1bd334c61f0acd3105a09ab 29-Jan-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #12066726 java.lang.NullPointerException at android.widget.CalendarView.onScroll(CalendarView.java:1216)

- fix the NPE by checking the validity of the child reference retrieved by View.getChildAt(...)

Change-Id: I6821448a5831c83c0931eb7bb0ef4c3f1a47247f
alendarView.java
ba4d2a08f910581ea2caa4efab5657e0ca9a40e4 28-Jan-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #12467741 Java crash in com.android.settings: java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification.

- add missing notifyDataSetChanged() call

Change-Id: I633b78be3805bc8610b4aaeb70b1988768f764b7
alendarView.java
ca5766cf26c23deb123b10cd362ce2d57a36d21e 27-Jan-2014 Christopher Tate <ctate@android.com> am 86824cf0: am 3a3def13: am 0e8f02d6: am 76dcacad: am 1ff4293e: Merge "Fixed race condition in Spinner.DialogPopup on null reference."

* commit '86824cf0a994abc38f08ac5692cf6b73cd10526e':
Fixed race condition in Spinner.DialogPopup on null reference.
0e8f02d68f8cfe14e14800520a8133bc7efd13b7 27-Jan-2014 Christopher Tate <ctate@android.com> am 76dcacad: am 1ff4293e: Merge "Fixed race condition in Spinner.DialogPopup on null reference."

* commit '76dcacada75f192d74ea83cf6b5ce1747c9437ad':
Fixed race condition in Spinner.DialogPopup on null reference.
1ff4293e33f98e6dc19e4f154cb497af9bd88c9d 27-Jan-2014 Christopher Tate <ctate@android.com> Merge "Fixed race condition in Spinner.DialogPopup on null reference."
c9c93e75ba80eee7309bd4adcdfa082747009ce7 21-Jan-2014 Adam Powell <adamp@google.com> Merge "Revert "Update smoothScrollToPosition to move faster for large offsets""
56032a37df89511c8d3b3b3c79818e2c86dedb92 21-Jan-2014 Adam Powell <adamp@google.com> Revert "Update smoothScrollToPosition to move faster for large offsets"

This reverts commit 203af24e4c2975c0b95fb4cc85ea03865e3b0e5b.

Change-Id: Ic56a9ded03eec188fb2834b42b60171f3cacb58b
bsListView.java
ridView.java
istView.java
3b2272cb2372933f22d769be4c885a176e4ef542 17-Apr-2013 Marcus Danielsson <marcus.danielsson@sonymobile.com> Round off when calculate next step in Seekbar

When the positions for the new step is calculated in
a Seekbar, a rounding error can appear.
This is fixed by round off before casting.

Change-Id: Ie2cf201ef670ccc2297e9bc4c7f415a826e44a41
bsSeekBar.java
3abc47acf8ea2bea2f8a92a100bbceead2178914 16-Jan-2014 Alan Viverette <alanv@google.com> Merge "Update smoothScrollToPosition to move faster for large offsets"
d849f546db7a95d4fa0c4c2ed2323c5e64ff7ead 16-Jan-2014 Victoria Lease <violets@google.com> check for null mEditor in TextView.canCopy()

canSelectText(), canCut(), and canPaste() do it, too!
canCopy() wants to be cool like them!

Bug: 11388122
Change-Id: I8595effbff269c05ac3f763419298970045ba054
extView.java
7a993a3d548dc53acd1495da4d8bc467d047c9f6 15-Jan-2014 Marco Nelissen <marcone@google.com> am 4e53edf7: am e495a5a3: am cb15fb60: am 0d4916f1: am c3036a12: Merge "Before requerying a cursor, check if it is closed."

* commit '4e53edf7ea8f8158a123a451530146f23e3fed81':
Before requerying a cursor, check if it is closed.
cb15fb6041e604025d4b76645435f8cbafee754c 15-Jan-2014 Marco Nelissen <marcone@google.com> am 0d4916f1: am c3036a12: Merge "Before requerying a cursor, check if it is closed."

* commit '0d4916f19f81f80fc83eb7646c6d339630d5f618':
Before requerying a cursor, check if it is closed.
c3036a12467395465b86e6935af8aa500c1b128d 15-Jan-2014 Marco Nelissen <marcone@google.com> Merge "Before requerying a cursor, check if it is closed."
4b95cc7ef7f1364799eba3bfa8830515282dcab7 15-Jan-2014 Alan Viverette <alanv@google.com> Quick fix for updating the FastScroller long list property

BUG: 12553181
Change-Id: I5305b0ec4ae8e069fc98d45dc3d5daaa0628ca79
bsListView.java
astScroller.java
88926a5482552ddf2f4906df581bbbf1cc9d03aa 14-Jan-2014 John Spurlock <jspurlock@google.com> am 4b67b88e: am cce06eda: am b3436359: am e05190ea: am 85f98508: Merge "Docfixes: three typos and escape */*." into klp-docs

* commit '4b67b88e344a147317fc6b32e5364d4cfabf1e1d':
Docfixes: three typos and escape */*.
b34363590953e4efd70168cdf03386d1e469a548 14-Jan-2014 John Spurlock <jspurlock@google.com> am e05190ea: am 85f98508: Merge "Docfixes: three typos and escape */*." into klp-docs

* commit 'e05190eae74be57dd517bb5afbccf901543329bf':
Docfixes: three typos and escape */*.
e05190eae74be57dd517bb5afbccf901543329bf 14-Jan-2014 John Spurlock <jspurlock@google.com> am 85f98508: Merge "Docfixes: three typos and escape */*." into klp-docs

* commit '85f98508366e8422f71553d2a5e682eb804c7419':
Docfixes: three typos and escape */*.
7f79302d2b0614d989151d01b1dc3fa920603eb5 14-Jan-2014 Svetoslav <svetoslavganov@google.com> Merge "ProgressBar is important for accessibility by default."
7face75f2c655a371a4dcdf6063886f92c637ce4 14-Jan-2014 Svetoslav <svetoslavganov@google.com> ProgressBar is important for accessibility by default.

If a view does not have callbacks, or content description, or does not draw
content, and it is marked as important for accessibility auto, then the system
decides it is not important and does not report it. Apparently progress bar
draws content that means something and it should be important for accessibility
by default.

Change-Id: Icd3837fb8b9e208c98b90707f3b195622d71949e
rogressBar.java
56110725f2a0b3f09703f2cbe9705d97609ee1e5 10-Jan-2014 Alan Viverette <alanv@google.com> Move drag-to-open handling into ActionMenuItemView

This prevents the menu item's OnClickListener from being overwritten,
allows the client to override item invocation, and prevents showing
multiple popups when items are re-initialized.

BUG: 11969895
BUG: 12489213
Change-Id: I97ca737810073df348171cdba5442f24a5527f89
ctionMenuPresenter.java
fe9c354ccdf02247eae8e5f4d1cceb10484ab904 10-Jan-2014 Adam Powell <adamp@google.com> am 9c9975ac: Merge "Fix a bug where OnTouchListeners in action views could be removed" into klp-modular-dev

* commit '9c9975ac3dc63423751c4783162d4ade11d156c1':
Fix a bug where OnTouchListeners in action views could be removed
962dde734b7e347948a1624571e8c180260bae85 05-Jul-2013 Martin Olsson 4 <martin4.olsson@sonymobile.com> Add additional languages to be accepted by the NumberPicker input filter

Adds Devanagari, Bengali and Kannada numerals to be accepted by the
input text filter of the NumberPicker class. Before this patch only
Latin and Arabic-Indic numerals was accepted as input.

Change-Id: I82a7e88e09c894ee55ef301d109e3d6b867c6ff6
umberPicker.java
fa18d182a3f37505940e73ae6cd76c2e939f7f7c 08-Jan-2014 Adam Powell <adamp@google.com> Move ActionMenuView into android.widget and make it public

Expose ActionMenuView as a way for applications to present
ActionBar-style menus in other embedded or repeating contexts.

Change-Id: I54b7ccd9b2116ca68bc72956da9262bca9d5085f
ctionMenuPresenter.java
ctionMenuView.java
22228fec05129af9684f95d7a13aeff92144bd90 07-Jan-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API

- force TextView internal layout recreation when its TextDirection is changed

Change-Id: I7d6b088a9235362e03cb6694392df71bbf5a323a
extView.java
d8a6c59d3df483536c3b3b538297cb0ef5336976 07-Jan-2014 Conley Owens <cco3@android.com> am 5b44325f: am 849ab14d: am 7f16047b: am 73a6702e: am 4440a824: Merge "CompoundButton: Let text can be changed by config"

* commit '5b44325fff247558ca36d83930b877dc44e5e219':
CompoundButton: Let text can be changed by config
7f16047b9efeba7cf82690b0492eaed44ca017df 07-Jan-2014 Conley Owens <cco3@android.com> am 73a6702e: am 4440a824: Merge "CompoundButton: Let text can be changed by config"

* commit '73a6702eeaabdeb7b405ec504413d41716ef3508':
CompoundButton: Let text can be changed by config
4440a8244ea4fdd7c63083bcd7d4b179e851c17a 07-Jan-2014 Conley Owens <cco3@android.com> Merge "CompoundButton: Let text can be changed by config"
203af24e4c2975c0b95fb4cc85ea03865e3b0e5b 04-Jan-2014 Alan Viverette <alanv@google.com> Update smoothScrollToPosition to move faster for large offsets

Adds a method to AbsListView for translating from position to row
and vice-versa.

BUG: 3434554
Change-Id: I08459a6545cd02ac4eb5007c59bda1f3fece9e9f
bsListView.java
ridView.java
istView.java
dcd8258e2447afacb6d6f793c2cfb7ad94d2acec 06-Jan-2014 Raph Levien <raph@google.com> am 971003c9: am ece5bc9d: am 7b6b85d2: am d7d07498: am a980c7aa: Merge "Re-initialize error after attach"

* commit '971003c9ffc854f4b080af902457e7a6447f692a':
Re-initialize error after attach
7b6b85d260fb4fe739e0af0cc0328e0678872899 06-Jan-2014 Raph Levien <raph@google.com> am d7d07498: am a980c7aa: Merge "Re-initialize error after attach"

* commit 'd7d0749805b6ae8bb345731ac9dd960f6b5aa5dd':
Re-initialize error after attach
3390018c6b45acffa6edf97a4174ca49f1e8c76d 02-Jan-2014 John Spurlock <jspurlock@google.com> Docfixes: three typos and escape */*.

Change-Id: I418d855b5d08a1a20eaca3d8e4d2e5d0fca23dd5
opupWindow.java
014b8cfcf87507e629a728582b196b62aee71e37 18-Dec-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix new TimePicker accessibility

- make AM/PM TextView accessible
- fix accessibility node loop (which is making the TalkBack service to crash)

Change-Id: Iea2152f0ab223039a6d92eafcd92f86c4055b316
imePickerDelegate.java
9525f2a72e2786f1b53927878dd8234859ea5c39 02-Jan-2014 Mark Doliner <markdoliner@google.com> Miscellaneous small documentation fixes.

Most of these I noticed on my own. The change to docs/html/tools/testing/testing_ui.jd is mentioned in a bug report:
https://code.google.com/p/android/issues/detail?id=56324

Signed-off-by: Mark Doliner <markdoliner@google.com>
dapterView.java
7999170276f18a5c5b9941ef65e4dff2ad7d9225 27-Dec-2013 quddusc <quddusc@google.com> am 6208ef25: am c609cb0d: am b889885e: am 34dbf7c3: am ad7b5993: Merge "docs: Fixed duplicate text in onScrollStateChanged() scrollState parameter description. Bug: 6804017" into klp-docs

* commit '6208ef25fd9b570770065edbfa71bbb2de8aa511':
docs: Fixed duplicate text in onScrollStateChanged() scrollState parameter description. Bug: 6804017
34dbf7c32327dc61a106b9a2f50e22cdb6cf6242 21-Dec-2013 quddusc <quddusc@google.com> am ad7b5993: Merge "docs: Fixed duplicate text in onScrollStateChanged() scrollState parameter description. Bug: 6804017" into klp-docs

* commit 'ad7b5993b579994c0b0838783bb8d0a94dffb1ee':
docs: Fixed duplicate text in onScrollStateChanged() scrollState parameter description. Bug: 6804017
9072110b8293ea3f933822df479c700d8bd9be4c 20-Dec-2013 quddusc <quddusc@google.com> docs: Fixed duplicate text in onScrollStateChanged() scrollState parameter description.
Bug: 6804017

Change-Id: I1e08fc7a9a5db85341c57f6ec04c434a94183cd0
bsListView.java
217694199fd94f2162d5467aee95adfef74b99c2 18-Dec-2013 Alan Viverette <alanv@google.com> Merge "Correctly report isOpaque() from ImageView"
92f33b0754cc37af82c5cb7678cbca0a2b4dc1b2 18-Dec-2013 Alan Viverette <alanv@google.com> Merge "Peek the fast scroll thumb when it transitions to enabled state"
63567e38290d8c9a8bdace9939a8a9e2c806a239 18-Dec-2013 Alan Viverette <alanv@google.com> Merge "Ensure transient state views are consistently temporarily detached"
add12e56d0700593e5faa94ddd2c4b2a131130f0 17-Dec-2013 Alan Viverette <alanv@google.com> Merge "Don't cast FastScroller adapter to BaseAdapter"
8a7af570ac43ff3601de405f99e8ee7a4745bbbf 16-Dec-2013 Robert Shih <robertshih@google.com> Merge "MediaController does not check for cancelled motions in onTouchEvent, causing nested invocations of WindowManagerGlobal.addView. Sample stack trace below."
f4ecc55657c535b8b2d7113095903b3808e903e9 13-Aug-2013 Daniel 2 Olofsson <daniel2.olofsson@sonymobile.com> Re-initialize error after attach

If flag for error after attach is not reinitialized, it may cause
NullPointerException on subsequent onAttachedWindow if error text
was reset to null.

Change-Id: I8976c28a6ca71017e5c4b3f29d4eeeb2eda48c38
ditor.java
4f434c7fb40b75d94e3ca2e4a905808ca34296e5 13-Dec-2013 Alan Viverette <alanv@google.com> Don't cast FastScroller adapter to BaseAdapter

BUG: 12130253
Change-Id: I78864a4603599daf39829d33414202c43ca97aa9
astScroller.java
e10dd5389407481f49115b74a95cb4333cd1d63d 13-Dec-2013 Alan Viverette <alanv@google.com> Correctly report isOpaque() from ImageView

Includes special handling for attributes that can affect the image's
drawing opacity and bounds, e.g. xfermode, alpha, and matrix transform.

BUG: 12120109
Change-Id: Ieeec11ff35af899c4e6fcf6364633c15ec94241e
mageView.java
8ac22b0ada459d8f97787d4f12973894778f03e1 13-Dec-2013 Alan Viverette <alanv@google.com> Peek the fast scroll thumb when it transitions to enabled state

Change-Id: I0b472c898c5975a74da3af2c8da6e55c3678b850
astScroller.java
595115089fe3a55615b05c29352fc682d9a43f96 09-Dec-2013 Alan Viverette <alanv@google.com> Ensure transient state views are consistently temporarily detached

BUG: 12024471
Change-Id: I02659d65d664b3fd8991a0527bd23801db6f1a9d
bsListView.java
517a00460365a5f9d4616f1216f13bc74974c488 05-Dec-2013 Alan Viverette <alanv@google.com> Fix handling of constraints for unspecified height RelativeLayouts

BUG: 11897546
Change-Id: If26c4be3763072f53f889574a51af16bbd6532c7
elativeLayout.java
78c66c747ba0cf75406885e53f95ce63cae15e77 04-Dec-2013 Alan Viverette <alanv@google.com> Merge "Defer event interception in FastScroller"
4cfeedb6aea057606cbc461fd1019f71b8aca843 03-Dec-2013 Alan Viverette <alanv@google.com> Defer event interception in FastScroller

BUG: 11273369
Change-Id: Ic380069075b6317062697298a1b928cea9f3c484
astScroller.java
d786a1900e94c4f0c919b50b44667cea32fd2939 02-Dec-2013 Katie McCormick <kmccormick@google.com> resolved conflicts for merge of 37e4c405 to master

Change-Id: I7df89be84384369ef5e89bb3b924ca38c1b5d9bd
26606007be1c6e5f0dd57101fc4daeeafe30fc20 26-Nov-2013 Alan Viverette <alanv@google.com> Merge "Fix header and footer dividers to match docs"
484b57a5655f28967e0062f578f38535dff52323 26-Nov-2013 Katie McCormick <kmccormick@google.com> am 9d0a88bd: Merge "Doc updates: Javadoc fixes" into klp-docs

* commit '9d0a88bd4e07deac01d7759b70cdf160456be1c0':
Doc updates: Javadoc fixes
f2ef28d840647d2f16792313bdc22b2114a5df6a 26-Nov-2013 Katie McCormick <kmccormick@google.com> Doc updates: Javadoc fixes

Change-Id: I82381056f9f13e53ab8a0525f5a53bf98674c052
hareActionProvider.java
6090995951c6e2e4dcf38102f01793f8a94166e1 19-Nov-2013 John Spurlock <jspurlock@google.com> Remove unused imports from frameworks/base.

Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
ctivityChooserView.java
hronometer.java
ateTimeView.java
ialerFilter.java
ditor.java
ridView.java
mageButton.java
istPopupWindow.java
istView.java
adioButton.java
emoteViewsAdapter.java
pace.java
extView.java
imePicker.java
oast.java
oomButtonsController.java
cfe4b59334d72abaedcc2f9cea10979069ac6c1c 06-Nov-2013 Robert Shih <robertshih@google.com> MediaController does not check for cancelled motions in onTouchEvent, causing
nested invocations of WindowManagerGlobal.addView. Sample stack trace below.

android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:228)
android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
android.widget.MediaController.show(MediaController.java:346)
android.widget.MediaController.onTouchEvent(MediaController.java:445)
android.view.View.dispatchTouchEvent(View.java:7690)
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2184)
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1945)
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2186)
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2186)
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2186)
android.view.ViewGroup.cancelAndClearTouchTargets(ViewGroup.java:2049)
android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2567)
android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:2836)
android.view.ViewRootImpl.doDie(ViewRootImpl.java:5259)
android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:233)
android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
android.widget.MediaController.show(MediaController.java:346)

Duplicated views are consequently added to WindowManagerGlobal.mViews.
Subsequent calls to WindowManagerGlobal.removeView does not remove the
duplicated entry. Another subsequent call to WindowManagerGlobal.addView
detects the extra entry and fails.

Bug: 11399773
Change-Id: I1e07fcaf341fbae1b0f93bed0f42645801b9df2d
ediaController.java
20cc605b69a017316112929666255226c184a376 16-Nov-2013 Alan Viverette <alanv@google.com> Fix header and footer dividers to match docs

BUG: 11712110
Change-Id: I9c62f086b6957e124a392ff5f811427557518590
istView.java
bd686a1e1d3cb8662661cbabcab09b224abf97a2 14-Nov-2013 Lajos Molnar <lajos@google.com> am 752926c7: am 1197bc37: am 7e11b16b: VideoView: expand documentation on state save/restore limitations

* commit '752926c752b9516c05a36f3eed6ab6b77d32b2c6':
VideoView: expand documentation on state save/restore limitations
1197bc37e58fe7cd5ab32278367e53f19f01f784 14-Nov-2013 Lajos Molnar <lajos@google.com> am 7e11b16b: VideoView: expand documentation on state save/restore limitations

* commit '7e11b16b9f8896170d492240a5fd50c8bd04105d':
VideoView: expand documentation on state save/restore limitations
7e11b16b9f8896170d492240a5fd50c8bd04105d 30-Oct-2013 Lajos Molnar <lajos@google.com> VideoView: expand documentation on state save/restore limitations

Change-Id: I46f231d314fc4ae8d9d11389aa62a3e2698122ed
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 11412889
ideoView.java
7117c0c184b02d703f2a8612b2d253e44999cbfb 12-Nov-2013 Jeff Brown <jeffbrown@google.com> am 40c81e4a: am 3105b6d2: am 12c32b4d: Merge "Make quick settings show the standard media router icon." into klp-dev

* commit '40c81e4a5d96f8a3853045b289f6131c44d3155d':
Make quick settings show the standard media router icon.
912ab78c5fa65dcdebaf5d4b26ff4964b6785907 11-Nov-2013 jangwon.lee <jangwon.lee@lge.com> Before requerying a cursor, check if it is closed.

Before updating a cursor,
it needs to be checked if it is valid.
Currently a defence code only checks
if it is not null.
But in case of "Cursor", it is not valid,
if it is closed.
So just like in CursorAdapter.onContentChanged(),
add the additional defence code to check validation.

Change-Id: I1302f1b6d009897815d4bdb2f20f625688cf9901
ursorTreeAdapter.java
3105b6d2f192fc25f57911ef7bafbd62bae5b7e3 11-Nov-2013 Jeff Brown <jeffbrown@google.com> am 12c32b4d: Merge "Make quick settings show the standard media router icon." into klp-dev

* commit '12c32b4d484cc7cc2278a76c6e0fc2304a74b593':
Make quick settings show the standard media router icon.
e2126baf72f007d079efcabd45c7a546db34361a 08-Nov-2013 Jeff Brown <jeffbrown@google.com> Make quick settings show the standard media router icon.

Fixed a bug in ImageView where we failed to inform a newly updated
Drawable about the visibility state. This caused AnimationDrawables
to not animate when attached to an existing ImageView *unless* that
ImageView happened to be attached to the window *later* or have
its visibility toggled for some other reason.

Bug: 11257292
Change-Id: Iba9e0db5ba0db2b022950aec0c6f60a435da8ad2
mageView.java
badb59cd5d2a2905494964889f002a277211000a 07-Nov-2013 Newton Allen <newt@google.com> am 47feee53: Merge "Fix some documentation typos." into klp-docs

* commit '47feee535f9e4e77165b93b6b9f10379e7aa4bbd':
Fix some documentation typos.
339f901ba65d6b8478b6d7680cfb2f5421e42d9b 06-Nov-2013 John Reck <jreck@google.com> Cleanups

Simplify DisplayList creation
Remove unnecessary debug code

Change-Id: I310c9196485c6bf65a6793669bd2dc2b9a8a0a15
ditor.java
8f86d3d28e21f7fd77bded1493ff23ff74303c42 05-Nov-2013 Victoria Lease <violets@google.com> am c403afb6: am 79007026: am 3dbea35f: Merge "use SpannedStringBuilder to build a SpannedString" into klp-dev

* commit 'c403afb6421f0ab840303ac7f5a207067e976e77':
use SpannedStringBuilder to build a SpannedString
c403afb6421f0ab840303ac7f5a207067e976e77 05-Nov-2013 Victoria Lease <violets@google.com> am 79007026: am 3dbea35f: Merge "use SpannedStringBuilder to build a SpannedString" into klp-dev

* commit '79007026935acf84baba183aad0ef654d9ed91aa':
use SpannedStringBuilder to build a SpannedString
04b7821496a5aac43a1f023e7cd6c7f1a8925099 05-Nov-2013 Newton Allen <newt@google.com> am 47feee53: Merge "Fix some documentation typos." into klp-docs

* commit '47feee535f9e4e77165b93b6b9f10379e7aa4bbd':
Fix some documentation typos.
3dbea35f7eaa6d5f94601a48ebb3be18223d4604 04-Nov-2013 Victoria Lease <violets@google.com> Merge "use SpannedStringBuilder to build a SpannedString" into klp-dev
88e82ed2fe87606323a8f59ab172463e1730ae39 01-Nov-2013 Marco Nelissen <marcone@google.com> Merge "Use audio focus instead of legacy music command"
71068f694849353bb99c1906f486fbe29a14c074 29-Oct-2013 Marco Nelissen <marcone@google.com> Use audio focus instead of legacy music command

Bug 8612500

Change-Id: Id443b754d683b9f2d2010ee3a03e54590cda0b48
ideoView.java
ff236f5fc1a088b1210d37a67b0e88b06c0fbdb2 13-Aug-2013 Newton Allen <newt@google.com> Fix some documentation typos.

Change-Id: I0360d468d54d970c87f313e24e50965245206f28
(cherry picked from commit c502744f2ddcc80a34f5197b5d2c0d701c7d6e71)
aseAdapter.java
52e3393afd1f6b6351357d6a45df7097ba3579f8 01-Nov-2013 Newton Allen <newt@google.com> Merge "Fix some documentation typos."
2a7de4eb8d4ee240908de09e28d58c5add61b540 01-Nov-2013 Svetoslav <svetoslavganov@google.com> am c896147c: am 9eae380b: am a9f28eea: Merge "Temporary detached views not properly reported to accessibility layer." into klp-dev

* commit 'c896147c96c020a923711b8a667baf2c881786c0':
Temporary detached views not properly reported to accessibility layer.
d4bdd6befa4e3cc29bedaaea3678c1075e0b7d24 01-Nov-2013 Svetoslav <svetoslavganov@google.com> Temporary detached views not properly reported to accessibility layer.

A view may be temporary detached. While in this state the view
state may change for which we fire accessibility events. Clients
use them to know when the view changed and what the change is.
However, detached views do not fire accessibility events.
Hence, a client may hold a stale AccessibilityNodeInfo since
the changes to its source view happened in a temporary detached
state.

bug:11388752

Change-Id: I9052700ca9195841cc2881b65c17f5615e6f71fb
bsListView.java
2ea312c1bf5f618f4877806b07e0fb2aa4541e6f 01-Nov-2013 Alan Viverette <alanv@google.com> Merge "Allow styling of fast scroll decorations, add default styles"
8636ace69640566768f89c2d92d2851ff064a2e9 31-Oct-2013 Alan Viverette <alanv@google.com> Allow styling of fast scroll decorations, add default styles

Also fixes bad old-style thumb 9-patches.

BUG: 11030706
Change-Id: I51abba952acf87586449fbda329212b435d1d6df
bsListView.java
astScroller.java
62ac0501c69410a126172be23aa6f109599739ad 31-Oct-2013 Chris Craik <ccraik@google.com> am 7595aa94: am 3be09114: am b320f4d5: Merge "Revert "Fixed incorrect calculation of dirty invalidation area"" into klp-dev

* commit '7595aa9420cec603674327b9056fc5ad8a6aa191':
Revert "Fixed incorrect calculation of dirty invalidation area"
7546a4bea78487bb868d2d95b7e4ba9ce9d2612a 31-Oct-2013 Chris Craik <ccraik@google.com> Revert "Fixed incorrect calculation of dirty invalidation area"

bug:11351836

Because SeekBar's thumb Drawable (among others) is positioned without
padding offset baked in, include that offset when invalidating.

This revert fixes invalidate positioning in the system volume SeekBar,
where the original CL broke full redrawing of the thumb Drawable when
it switched states.

This reverts commit e9018f7716d3d2f61602c07c273674585482653d.

Change-Id: I5b3b07e47f466269f8d349e9a63dc29bf213120b
rogressBar.java
c502744f2ddcc80a34f5197b5d2c0d701c7d6e71 13-Aug-2013 Newton Allen <newt@google.com> Fix some documentation typos.

Change-Id: I0360d468d54d970c87f313e24e50965245206f28
aseAdapter.java
5d565faab21324862fa24490f116424e1b668b1d 30-Oct-2013 Alan Viverette <alanv@google.com> Restore A11y and keyboard focus positions after GridView layout

Implementation copied verbatim from ListView. Moved a common helper
method into AbsListView.

BUG: 11438088
Change-Id: Iae44a8f3743669f63a67fd20f22dfc0486a1d063
bsListView.java
ridView.java
istView.java
76a8dac72d481830b394e378b1caa8dc21a95fba 29-Oct-2013 Svetoslav <svetoslavganov@google.com> am 3a855ba5: am a4e1f435: am ac5d3827: Merge "Share pack historical sorting using wrong keys." into klp-dev

* commit '3a855ba5225ac6b3f85397713178a7b85069057a':
Share pack historical sorting using wrong keys.
201006fd35e56bee55a62aea3f4f8020499858b1 29-Oct-2013 Svetoslav <svetoslavganov@google.com> am 37a5a1ea: am 330c6be9: am 86bfb3af: Merge "Not show share targets that cannot be launched." into klp-dev

* commit '37a5a1ea8743d439db7bc0384f62589537c21d28':
Not show share targets that cannot be launched.
27f592df8ce604c62327cc93ee5adac3152a0bd2 29-Oct-2013 Svetoslav <svetoslavganov@google.com> Share pack historical sorting using wrong keys.

The ActivityChooserModel keeps a history of the last fifty
share targets and based on past usage orders the targets in
the UI. The soring implementation is using a map for improving
performance. However, the activities in this map were keyed
on the package name but there maybe more that one share
target per package. Thus, the sorting was generating bad
results. Now the unique component name is used.

bug:11195578

Change-Id: I8c7018fea168b7253ddbe57b477028368726e75e
ctivityChooserModel.java
baeabb65e1e818c6679036774933f40e8540b293 28-Oct-2013 Svetoslav <svetoslavganov@google.com> Not show share targets that cannot be launched.

This changes filters out share targets that we cannot start
because the target does not properly implement the SEND protocol
and has either share target activity hidden or requires a
permission to launch it. Also the code that launches the share
target activity catches the runtime exception and shows an error
message. Note that being able to launch an activity in a moment
of time is not a guarantee that one can do that latter. Hence,
being able to launch an activity while building the share UI
does not guarantee that one can launch it when selecting the
share target.

bug:11402139

Change-Id: Id35732510755b2eeb9eccacc046d289c2f2ee856
ctivityChooserModel.java
ctivityChooserView.java
af7dcdf35a37d7a7dbaad7d9869c1c91bce2272b 24-Oct-2013 Victoria Lease <violets@google.com> use SpannedStringBuilder to build a SpannedString

It turns out that copy constructors do not respect NoCopySpan. Using
SpannedStringBuilder addresses this oversight.

Bug: 11326070
Change-Id: I949ef4f477d65cf645f3b1b2651f8ce423995237
extView.java
e673aa419801a465571122c203219f3df42f8a0a 11-Oct-2013 SeongJae Park <sj38.park@gmail.com> CompoundButton: Let text can be changed by config

Because CompoundButton freezes text inside onSaveInstanceState, the text
can't be changed automatically after locale of device changed.
Bug from such a case reported via url below:
https://code.google.com/p/android/issues/detail?id=24013

It would be better to don't freeze text for default case and let users
to freeze text if they need manually.

Change-Id: I2d6a192b6ff05a95b21487c2362cbc14691c68cf
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
ompoundButton.java
e9293c1a1f9ac72b1ff1c47d41465eee39d44c1b 21-Oct-2013 Deepanshu Gupta <deepanshu@google.com> am 7d641de1: am a14f25c5: am bf3acff1: Merge "Don\'t run the async query if being rendered in EditMode." into klp-dev

* commit '7d641de1f6ca4af977233220590d1e74be970dab':
Don't run the async query if being rendered in EditMode.
34e9c696583d128b35ed449383341055e9862989 18-Oct-2013 Deepanshu Gupta <deepanshu@google.com> Don't run the async query if being rendered in EditMode.

Skips the QueryHandler if the QuickContactBadge widget is being rendered
in edit mode.

Bug: 11288332
Change-Id: I04b115292f61afc7f515787fa4a396bc6ea56a16
uickContactBadge.java
4732783143445826ec2073913af3ef542ea60793 17-Oct-2013 Alan Viverette <alanv@google.com> am 20fbf7ea: am a74cf4f9: am 280dc0ea: Merge "Fix assorted FastScroller regressions" into klp-dev

* commit '20fbf7ea91c321e6e8974cc1750b86c6c456ab3c':
Fix assorted FastScroller regressions
280dc0ea2f1071809d7619918c33091e13d1f25a 17-Oct-2013 Alan Viverette <alanv@google.com> Merge "Fix assorted FastScroller regressions" into klp-dev
eb66b5d4cd27d51a8b395c37d724063aae98b4c0 17-Oct-2013 Adam Powell <adamp@google.com> am 406e9a01: am 708bc0e2: am f80a7af0: Merge "Register receivers from ViewFlipper with an explicit Handler" into klp-dev

* commit '406e9a01c35e4a22e1f15b9f4ce1c4ce329f78a2':
Register receivers from ViewFlipper with an explicit Handler
b6ed2b1cff8bf5f0c3b6b844135dd945f3bd82b8 17-Oct-2013 Adam Powell <adamp@google.com> Register receivers from ViewFlipper with an explicit Handler

Make sure that the BroadcastReceiver registered by ViewFlipper
enforces that messages come in on the correct (UI) thread.

Bug 11228463

Change-Id: I97f2a1c392f9c58a99afebc60170c9656bba86ad
iewFlipper.java
f9af7b250e9f12bd6955101919f3fd603d135e01 16-Oct-2013 Alan Viverette <alanv@google.com> Fix assorted FastScroller regressions

Fixes the following bugs:
- Don't show preview if text is empty, e.g. whitespace
- Avoid transitioning decor from DRAGGING to DRAGGING
- Restore original font size
- Restore thumb position adjustment for last row

BUG: 11207575
Change-Id: I72fc031d1fd22a41d81e7f52ca0856cf82d1be27
astScroller.java
cf2d725b554d1af322e3f2139d52f08b00a47ad3 14-Oct-2013 John Spurlock <jspurlock@google.com> resolved conflicts for merge of f1dd32c8 to master

Change-Id: Ied96bfce952fa95eeceb1b8cf64e53830d4d03ac
f3bd8d4843dc811a29854bdb11ce6ea2b2834e9c 14-Oct-2013 Victoria Lease <violets@google.com> am 4c4a469c: am 677687c2: am edbab7b5: Merge "no layout = no visibility" into klp-dev

* commit '4c4a469cbfe61f50c23b70d8b2e63f7b661745c7':
no layout = no visibility
d33c97e2de9e900c9ba59119b2a38d78e2f709f5 14-Oct-2013 Adam Powell <adamp@google.com> am 5d96f61a: am c12f46eb: am 5db566f1: Fix updating fast scroll state for data set changes

* commit '5d96f61a92de034cb736fa831067759809ca83f9':
Fix updating fast scroll state for data set changes
161b157b874ed876cc7a2f6a422043c1feb66645 14-Oct-2013 Adam Powell <adamp@google.com> am 6a564f96: am 7555372f: am 85e5ed63: Merge "Account for translationY when targeting the fast scroller via touch" into klp-dev

* commit '6a564f961675e8dd6b1a518a5c82555d616b3d04':
Account for translationY when targeting the fast scroller via touch
774e8ad88331f82994e38d721418da556ce9edea 14-Oct-2013 John Spurlock <jspurlock@google.com> Merge "Implement new SYSTEM_UI_FLAG_IMMERSIVE_STICKY." into klp-dev
f1a36648ca099d7ffa8a19e403673820d4b8417a 12-Oct-2013 John Spurlock <jspurlock@google.com> Implement new SYSTEM_UI_FLAG_IMMERSIVE_STICKY.

Migrate transient bar mode to IMMERSIVE_STICKY, and
introduce new behavior for IMMERSIVE: namely the
opaque bars are revealed by clearing the flags on swipe.

Remove low-profile optimization that confuses api demos
and other apps using low-profile as a signal.

TransientNavigationConfirmation renamed to
ImmersiveModeConfirmation, and its associated resources,
since the confirmation is now shown when the nav bar is
shown in either of the two immersive modes.

Remove unused Toast.makeBar and associated hidden framework
bits now that the confirmation uses a cling instead.

Bug:11062108
Change-Id: Iae49d31973940b9bee9f5b1827756db5eaa76aa3
oast.java
edbab7b58227e66c2cc4e868bba314020ef52080 14-Oct-2013 Victoria Lease <violets@google.com> Merge "no layout = no visibility" into klp-dev
5db566f16a1b8f36e84a9be00cde40482d48466b 14-Oct-2013 Adam Powell <adamp@google.com> Fix updating fast scroll state for data set changes

Only looking for old/new count changes is incomplete with the current
state of things. The observer's onChanged method will update this in
some cases, stomping the different values needed to trigger a fast
scroller update. Also update the fast scroller if the data change flag
is set.

Also fix the positioning of the legacy text overlay.

Bug 11188512

Change-Id: I35b3915ce49f8494c6d82f6be6d6df7169deddd7
bsListView.java
astScroller.java
istView.java
b9b77aecf22307300bbf923fbde39422c8c12e80 14-Oct-2013 Victoria Lease <violets@google.com> no layout = no visibility

This fixes an Editor crash when the associated TextView's Layout
is null.

Bug: 11165608
Change-Id: I061c0db6eef95bf39a7696ad6e6f919bd22bfb11
ditor.java
d8273896843b20ac70eea06abdf7378f132dfa4b 13-Oct-2013 Adam Powell <adamp@google.com> Account for translationY when targeting the fast scroller via touch

Bug 11188512

Change-Id: Ia8e0088760a18d5862bbe1b904610abd908a190e
astScroller.java
e6931c14baee7902ca3dd3082cf486a6f97cdc0a 11-Oct-2013 Chris Craik <ccraik@google.com> am 87e127d5: am 1ae78c07: am c2245e1a: Merge "Workaround fading edge incompatibility with alpha modulation" into klp-dev

* commit '87e127d5a8d095b58c0d433be31ba04ce31aae98':
Workaround fading edge incompatibility with alpha modulation
7bcde5009d4478d6f1af22687e2fa43be400fcfa 11-Oct-2013 Chris Craik <ccraik@google.com> Workaround fading edge incompatibility with alpha modulation

bug:11121809

Fading edges, such as drawn by a scrolling marquee TextView, don't
behave correctly when their view is modulated, as done by the view
system when alpha is set on a view that returns false from
hasOverlappingRendering.

To work around this, always return true from hasOverlappingRendering
if a TextView has horizontal fading edges enabled.

Change-Id: I64c9b8c653aa1d9ca320292306fd24333e3ee225
extView.java
80da140cc4ce2df529bae92d379ed8598acf356c 08-Oct-2013 Adam Powell <adamp@google.com> am 266b3026: am 20ba658b: am 31049d76: Use SCREEN Xfermode for keyguard badges; update SeekBar

* commit '266b3026c42ed3ba0feedd9abe3e3bb6932c2f23':
Use SCREEN Xfermode for keyguard badges; update SeekBar
31049d76c55b18a6d9993f0d9687598740b16014 07-Oct-2013 Adam Powell <adamp@google.com> Use SCREEN Xfermode for keyguard badges; update SeekBar

Plumb through the necessary API features through Drawables and
ImageView but leave it hidden for now pending future API review and
plumbing through the rest of the framework Drawable implementations.

Update SeekBar assets used for keyguard transport control.

Set selected status directly instead of finding views by id.

Bug 10531608
Bug 10784913

Change-Id: Ia38bd04ad1bc26e9e6da1dda8a374c9ba3ceccb3
mageView.java
14b875b09be38cbd5b4bc0923d7d2e2c8c08bf02 05-Oct-2013 Alan Viverette <alanv@google.com> am 6de0ee41: am 8d6730fd: am b89e969c: Merge "Fix font scaling issues in FastScroller and SubtitleView" into klp-dev

* commit '6de0ee41f9a9668180368d82da688793cef9489d':
Fix font scaling issues in FastScroller and SubtitleView
7b63063625467baff1db048e84c5781408a5c86d 04-Oct-2013 Alan Viverette <alanv@google.com> Fix font scaling issues in FastScroller and SubtitleView

BUG: 11080227
Change-Id: I0aa84e9b56c6900ad47efd45a5a0f772ce43f810
astScroller.java
973d778b27eaeb289032f2d4479ac0a5349592e1 02-Oct-2013 Alan Viverette <alanv@google.com> am f58462f0: am 0d5fe0dd: am 4c6b2900: Merge "Clear accessibility focus from recycled views when needed" into klp-dev

* commit 'f58462f0c03c274ba829d74ecfe4c5e37a647719':
Clear accessibility focus from recycled views when needed
4c6b29006f2e6605da18ff8ad9acba2594ec78a2 02-Oct-2013 Alan Viverette <alanv@google.com> Merge "Clear accessibility focus from recycled views when needed" into klp-dev
df1487dbd8d9333bd87b83f464e6fc6bca56e1e8 02-Oct-2013 Mindy DelliCarpini <mindyp@google.com> am a66c2c29: am e84c87bf: am f5085088: Merge "New, less blue overscroll assets with tuned constants in EdgeEffect class." into klp-dev

* commit 'a66c2c294f0477d55211171a607ea70f88dbeaf7':
New, less blue overscroll assets with tuned constants in EdgeEffect class.
f50850882dd4eb7fa6e2768115bee2f2553820c5 02-Oct-2013 Mindy DelliCarpini <mindyp@google.com> Merge "New, less blue overscroll assets with tuned constants in EdgeEffect class." into klp-dev
69fdba4c383bb03eddac109aaf6429a81d426cad 02-Oct-2013 Alan Viverette <alanv@google.com> am ed2cfdbf: am 6f07cc84: Merge "Rebind transient state views when available" into klp-dev

* commit 'ed2cfdbf42203463cffbbc7184d93af6187c60fc':
Rebind transient state views when available
2d1acfc9f7e1502a5dbb8cab54289d6fbb880467 28-Sep-2013 Christian Robertson <robertsonc@google.com> New, less blue overscroll assets with tuned constants in EdgeEffect class.

Glow absorb animation was very slow with high velocity flings. Clamped the velocity
and adjusted constants for start values and duration of absorb animation.

Change-Id: Id2a87814498e05f5f8ceb942dd1d765874461beb
dgeEffect.java
c993e7447d4520e5499a722971f13bcb40e84b76 01-Oct-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Update TimePicker widget and its related dialog"
6f07cc8424caccda695918f83e1b57f7a67d9f0c 30-Sep-2013 Alan Viverette <alanv@google.com> Merge "Rebind transient state views when available" into klp-dev
acb108818969a4d68866881540ca9f86e894b096 30-Sep-2013 Lajos Molnar <lajos@google.com> am 974a6e12: Merge "Make SubtitleController thread safe" into klp-dev

* commit '974a6e1231f80644e382567c5f0a5fb9b6962d27':
Make SubtitleController thread safe
ea8b77ae00817069115fd60fe62937fbd92d51eb 30-Sep-2013 Raph Levien <raph@google.com> am e048f84a: Fix for jank when fast-scrolling DeskClock\'s world cities list in RTL

* commit 'e048f84a762d5f85829ceb2b45de52b73727de74':
Fix for jank when fast-scrolling DeskClock's world cities list in RTL
182637f6c2895473b17d9b060a901e55d8aa1682 30-Sep-2013 Alan Viverette <alanv@google.com> am 015bcd4d: Merge "Add warning about using MergeCursor in CursorAdapter" into klp-dev

* commit '015bcd4dd43b850ef209c64dae9c08ccaef9ea80':
Add warning about using MergeCursor in CursorAdapter
66d1cd9da1f5bd3aa3c70a28cbd6bd8801049ace 30-Sep-2013 Adam Powell <adamp@google.com> am 8fb6d97a: Merge "Add gravity settings to PopupWindow/ListPopupWindow/PopupMenu" into klp-dev

* commit '8fb6d97ad5671b4abc1940d8bc56cf7448e45c35':
Add gravity settings to PopupWindow/ListPopupWindow/PopupMenu
8ba675293542050e74375981a009b72513ceec88 30-Sep-2013 Raph Levien <raph@google.com> am adf14902: Merge "Fix for Text fading on RTL app names is done at the beginning..." into klp-dev

* commit 'adf149029f701464c66cc5cacbbbc649c1319bcd':
Fix for Text fading on RTL app names is done at the beginning...
f9736d3b9aca08433382c18eb9157ab52c55ec2f 30-Sep-2013 Alan Viverette <alanv@google.com> Rebind transient state views when available

If a view is obtained, it is guaranteed to represent the same data.

BUG: 10901462
Change-Id: Ice2b3508ae8cf444f006c084e6b7a3e79373723b
bsListView.java
974a6e1231f80644e382567c5f0a5fb9b6962d27 28-Sep-2013 Lajos Molnar <lajos@google.com> Merge "Make SubtitleController thread safe" into klp-dev
29f5183794efd58a3442aedcf829e3dbcd3fd867 20-Sep-2013 Lajos Molnar <lajos@google.com> Make SubtitleController thread safe

Add the concept of an anchor looper.
Allow show/hide/selectTrack/selectDefaultTrack to be called from thread
other than anchor looper.

Change-Id: Iaf2f3d3c46d1b00a0a24156745ec16b301c80c04
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10919206
ideoView.java
1e51cc7e71d30626a8e7f4311883fed8ac3107b7 27-Sep-2013 Alan Viverette <alanv@google.com> Clear accessibility focus from recycled views when needed

BUG: 10913323
Change-Id: I99c20269b4f5e491685f75c2e3bbb36d541a5525
bsListView.java
e048f84a762d5f85829ceb2b45de52b73727de74 27-Sep-2013 Raph Levien <raph@google.com> Fix for jank when fast-scrolling DeskClock's world cities list in RTL

This is a fix for bug 10863979.

The onPreDraw() method in TextView was canceling the draw every time a
the horizontal scroll changed. These dropped frames were visible as
jank. The fix is to never cancel the draw. It seems likely that the
previous rationale for canceling draw is no longer valid, due to other
fixes, because the scroll state will have been fully updated.

Change-Id: I8c2da5450723f993055a49b1cb57320c08f2a11e
extView.java
eeff63a5c347f282b5c8c3ae6a0924bf03fbce8f 05-Aug-2013 Fabrice Di Meglio <fdimeglio@google.com> Update TimePicker widget and its related dialog

- the old TimePicker widget is still there for obvious layout compatibility reasons
- add a new delegate implementation for having a new UI based on a radial picker
- use the new delegate only for the TimePickerDialog (which does not need to be
the same)
- added support for Theming and light/dark Themes
- added support for I18N (hour formatting and time separator and also position of
AM/PM indicator coming from Unicode CLDR)
- added support for RTL
- verified support for Keyboard
- verified that CTS tests for TimePicker are passing (for both the legacy and the
new widgets)

Also added a new HapticFeedbackConstants.CLOCK_TICK and its related code for
enabling ticks vibration.

Change-Id: Ib9b53a152bd9e97383dc391ef8c26da91217298f
egacyTimePickerDelegate.java
adialTimePickerView.java
imePicker.java
imePickerDelegate.java
015bcd4dd43b850ef209c64dae9c08ccaef9ea80 27-Sep-2013 Alan Viverette <alanv@google.com> Merge "Add warning about using MergeCursor in CursorAdapter" into klp-dev
8fb6d97ad5671b4abc1940d8bc56cf7448e45c35 27-Sep-2013 Adam Powell <adamp@google.com> Merge "Add gravity settings to PopupWindow/ListPopupWindow/PopupMenu" into klp-dev
adf149029f701464c66cc5cacbbbc649c1319bcd 27-Sep-2013 Raph Levien <raph@google.com> Merge "Fix for Text fading on RTL app names is done at the beginning..." into klp-dev
8079ae1a2da32b2720bb14ab9957cc80d77bc139 27-Sep-2013 Raph Levien <raph@google.com> Fix for Text fading on RTL app names is done at the beginning...

This is a fix for bug 10918591 [Android][bidid][HH] "Text fading on RTL
app names is done at the beginning of the text, not at the end."

The old logic for getting the fade edge was not symmetric with respect
to the text direction - when the text was centered, it basically
always placed the fade edge at the left, which of course is appropriate
for LTR text but not RTL. This patch makes the two paths symmetric
and sensitive to text direction.

Change-Id: Ief7604aeb659d474864468d2f102a53f5b43d09e
extView.java
54c94dea8a26e66fa59a31fd9170ca221052d3aa 27-Sep-2013 Adam Powell <adamp@google.com> Add gravity settings to PopupWindow/ListPopupWindow/PopupMenu

Allow calling code to specify left/right/start/end gravity when
showing a popup attached to an anchor. This allows easy alignment of
either the right or left edges of the popup and anchor view.

Bug 10728401

Change-Id: Ie0844a04ea0576fa67b0972f5873aaa4c5b823f6
istPopupWindow.java
opupMenu.java
opupWindow.java
c8fad87cba6a0711491ccfa1494cd168af5c9a67 27-Sep-2013 Alan Viverette <alanv@google.com> Merge "Add ProgressBar methods to set tileable Drawables"
e785d02197a6f0b3ca837f6aff781601ebf5fd59 27-Sep-2013 Alan Viverette <alanv@google.com> Add ProgressBar methods to set tileable Drawables

BUG: 8349406
Change-Id: I068ac291c8db19f3c8991675f141ccfc0c7b29b2
rogressBar.java
86453ff147f28b0c16bea73da5b261feed50efb7 26-Sep-2013 Alan Viverette <alanv@google.com> Ensure toggle calls setChecked() since apps may have relied on this

BUG: 10899797
Change-Id: I604959cdd4074280df2c4d151763536ac59d4b22
witch.java
647e6bd99779d67798422ac8ae83e8085238d349 26-Sep-2013 Alan Viverette <alanv@google.com> Add warning about using MergeCursor in CursorAdapter

BUG: 10606539
Change-Id: I0b0835e2dadb5e3800edd32619c433f9e764cd6e
ursorAdapter.java
331a7aae204479552bea2b3bcc378153edad7528 26-Sep-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Decouple CalendarView code"
f1f93b386390c0ff790338ddf01e3d1592c6de12 26-Sep-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Decouple DatePicker code"
65e1772d6b815b5f610a5faa641efd3358c20d8f 25-Sep-2013 Jean Chalard <jchalard@google.com> am 424054ba: am 6a1e32ef: Merge "Don\'t change the text in reaction to a user dict add" into klp-dev

* commit '424054ba621738452b0bae69dcd6a8372ca5c273':
Don't change the text in reaction to a user dict add
6a1e32efb686bd5606f62076c70f399ff3bdc37d 25-Sep-2013 Jean Chalard <jchalard@google.com> Merge "Don't change the text in reaction to a user dict add" into klp-dev
c6afe76dfe641afa32dab6e0b4740d780072d2c6 30-Aug-2013 Fabrice Di Meglio <fdimeglio@google.com> Decouple CalendarView code

- introduce a CalendarViewDelegate interface to be able to have several
CalendarView implementations
- code refactoring

Change-Id: Ib98fc51471c33a86ef58210e06176a4b4d253f01
alendarView.java
51d6615af498c727d0bc5d538bfc200f8f6aa703 25-Sep-2013 Adam Powell <adamp@google.com> am 8dcc0e7d: am 7ef9b612: Merge "Fix monkey bugs in ListView" into klp-dev

* commit '8dcc0e7dfb05a50ca306942037015244060862b8':
Fix monkey bugs in ListView
7ef9b612412a2169c8c0e0b3506b06516cb012b5 25-Sep-2013 Adam Powell <adamp@google.com> Merge "Fix monkey bugs in ListView" into klp-dev
039a784ea3c24625b74084be18530f81dabd4bbb 29-Aug-2013 Fabrice Di Meglio <fdimeglio@google.com> Decouple DatePicker code

- introduce a DatePickerDelegate interface to be able to have several
DatePicker implementations
- code refactoring

Change-Id: I3a9453b1c87dea9046216cc501b0b5daf3d75d78
atePicker.java
31986b5b696c399b356c8819cb581441027bef36 24-Sep-2013 Adam Powell <adamp@google.com> Fix monkey bugs in ListView

* Don't run item click listeners as part of touch mode reset if the
ListView is being detached from its window. Some calling code makes
assumptions around this.

* Remove redundant state tracking for window attachment from
AbsListView now that we have View#isAttachedToWindow(). The timing
of View's mechanism is closer to what we want here anyway -
subclasses calling super.onDetachedFromWindow() as the first line of
an overridden onDetachedFromWindow() method will see the window as
being in a detached state while the rest of the method runs,
resulting in the behavior described in the first bullet point above.

Bug 10834897

Change-Id: Ic9fdff3c5cfc4996361a7fb1a863547b4d1a2c9c
bsListView.java
astScroller.java
istView.java
e3b71bc910d47bec2d0c805c0bc09c089602e6c1 24-Sep-2013 Alan Viverette <alanv@google.com> am 4e10483d: am 6bc7cacf: Merge "Fix NPE in PopupMenu.getDragToOpenListener()" into klp-dev

* commit '4e10483de3a28041e1108633752581cb0fc77483':
Fix NPE in PopupMenu.getDragToOpenListener()
6bc7cacfc8c34512278460028b7f6f0a4be220b4 24-Sep-2013 Alan Viverette <alanv@google.com> Merge "Fix NPE in PopupMenu.getDragToOpenListener()" into klp-dev
5fbd62b3999158a8639d772f5f8e337756ad26b2 24-Sep-2013 Alan Viverette <alanv@google.com> am 36055c33: am e1cb9acc: Merge "Update AdapterView.performItemClick() documentation" into klp-dev

* commit '36055c3396051e1f1e0257b9e98c0b9b5ac16080':
Update AdapterView.performItemClick() documentation
e1cb9accf2077833c96e748150d0aee8e05cb10a 24-Sep-2013 Alan Viverette <alanv@google.com> Merge "Update AdapterView.performItemClick() documentation" into klp-dev
99d72497d30ad3109c987348f4bf8494c1f93299 24-Sep-2013 Alan Viverette <alanv@google.com> Fix NPE in PopupMenu.getDragToOpenListener()

BUG: 10912382
Change-Id: I206e697b4781c4d03ebc01aa675511d89c1656af
opupMenu.java
7f67d7206af0b0990c410547b34f5672ca93b44c 19-Sep-2013 Alan Viverette <alanv@google.com> am 8ac0d137: am 564c45b9: Merge "Fix number picker vertical scroll computations" into klp-dev

* commit '8ac0d137ba11958312e25225d8d0776aad71b022':
Fix number picker vertical scroll computations
fd63917ed31fbf425362d209eff72d5e64c5bb8a 18-Sep-2013 Alan Viverette <alanv@google.com> Fix number picker vertical scroll computations

BUG: 8692209
Change-Id: I332d3f1c00e1aacad11f8af172974741b28843ea
umberPicker.java
c03383df070b888114fb7bd60849bac3e8f3bbd7 18-Sep-2013 Alan Viverette <alanv@google.com> am 56a87f8c: am c255a711: Merge "Ensure WeeksAdapter calls notifyDataSetChanged when needed" into klp-dev

* commit '56a87f8c07a98308a9a9c76d38ae7389168ae280':
Ensure WeeksAdapter calls notifyDataSetChanged when needed
c255a7113a6a6b058f1b3b5b128fba1d24bbd3d9 18-Sep-2013 Alan Viverette <alanv@google.com> Merge "Ensure WeeksAdapter calls notifyDataSetChanged when needed" into klp-dev
c2cbd9cbada0240a84993f397c2804a176f7d66e 18-Sep-2013 Alan Viverette <alanv@google.com> am 9ac68dc6: am 84c5ade8: Merge "Fix vertical scroll computation in NumberPicker" into klp-dev

* commit '9ac68dc69ffe0104dd098ad14a8a8b103ca8b09e':
Fix vertical scroll computation in NumberPicker
84c5ade823d96f6166fad4d6e4521badd322e5e8 18-Sep-2013 Alan Viverette <alanv@google.com> Merge "Fix vertical scroll computation in NumberPicker" into klp-dev
cc2688d18af3f434fc6ac63289a69f6c1a9f8d9f 18-Sep-2013 Alan Viverette <alanv@google.com> Animate state change for Switch

Change-Id: Ie8fdbb323b95ee1bd573a0ab452857a277de34bf
witch.java
22c1c2cd103ef8beadaf0e78c12b22b60ce9cfc3 17-Sep-2013 Alan Viverette <alanv@google.com> Ensure WeeksAdapter calls notifyDataSetChanged when needed

Also cleans up references to Context.

BUG: 10241917
Change-Id: Ic0b3d650cd85d656002cbb11b2bc73180ffe1bec
alendarView.java
fed60953b09c6cd06f7b9579d103c94c0480ddf0 17-Sep-2013 Alan Viverette <alanv@google.com> Update AdapterView.performItemClick() documentation

BUG: 10312828
Change-Id: I085326b336a799eeb26702dc30349e525c4f1023
dapterView.java
d17e719da0914aaee0bf6b21e92f4f3e4a4e8293 14-Sep-2013 Alan Viverette <alanv@google.com> Merge "Clean up layout constructors, make them consistent"
3934b9f520a685f5b31f86f74af6ada88641f6c2 14-Sep-2013 Adam Powell <adamp@google.com> am db34f3d1: am 50e5814c: Merge "Check RelativeLayout\'s access of its own LayoutParams during measurement" into klp-dev

* commit 'db34f3d17d0d2b6eaad8369536dcbb1025d0a00c':
Check RelativeLayout's access of its own LayoutParams during measurement
50e5814c337f67c74d9e249cf6f67ac86dfc832d 14-Sep-2013 Adam Powell <adamp@google.com> Merge "Check RelativeLayout's access of its own LayoutParams during measurement" into klp-dev
5ba99f58b1e90a6faaf5e84d713e10cf0323ac96 13-Sep-2013 Alan Viverette <alanv@google.com> Fix vertical scroll computation in NumberPicker

BUG: 8692209
Change-Id: I3f0a36abde7987a72d1470307c55db9b70cb5ab2
umberPicker.java
758d5a4563a71d4f3f7efbf7e450e8e537abc185 13-Sep-2013 Adam Powell <adamp@google.com> Check RelativeLayout's access of its own LayoutParams during measurement

RelativeLayout's use of its own LayoutParams is really old behavior
and something it probably never should have done in the first
place. However at this point it's enshrined compatibility behavior as
fixing this would change the end results of measurement in some cases,
and we've found that apps really love doing strange things with
RelativeLayout that hit all of those edge cases.

The existing behavior ignores this code path if set to MATCH_PARENT or
WRAP_CONTENT, so we'll simply treat missing LayoutParams as the same
case.

Bug 10733375

Change-Id: I8b40b8557d19695ebcd5329aefc1603e2bf4234e
elativeLayout.java
bd51158d61ef10cea65a31d5795887444d2d9cbf 13-Sep-2013 Kenny Root <kroot@google.com> resolved conflicts for merge of aca95ca0 to master

Change-Id: I91adf923288ca724a8040ecf887e28e42ad7e259
77e9a28e2faa36f127231b842476d47f9823a83a 13-Sep-2013 Alan Viverette <alanv@google.com> Add live region politeness to View, AccessibilityNodeInfo

Alters the content change API to contain a bit mask of types of
changes represented by the event. Live regions send CONTENT_CHANGED
events immediately. Removes unused APIs for EXPANDABLE/EXPANDED.

BUG: 10527284
Change-Id: I21523e85e47df23706976dc0a8bf615f83072c04
heckedTextView.java
ompoundButton.java
extView.java
0995398e734bd66ee04b60939ec7c74548148952 12-Sep-2013 Jean Chalard <jchalard@google.com> Don't change the text in reaction to a user dict add

This is a confusing interface. The user should be able
to edit the word in the dialog, and the text should be
unchanged.

Bug: 9902905
Change-Id: I24e93df37583f6051046fd6a84a4cbb10d99c046
ditor.java
d9273d6f289d9b55da3fd0db2f659fdfb48106a8 31-May-2013 Tor Norbye <tnorbye@google.com> Add typedefs and nullness annotations.

This changeset adds in typedef annotations (custom annotations
marked with @IntDef) for various int parameters and return values
in the API. It also adds nullness annotations for cases where the
documentation explicitly mentioned null policy, or where it was
blindingly obvious from the context. Also fixed some typos in the
documentation.

Change-Id: Ica27c01368895818e26237544edd8483007155bb
ridLayout.java
ridView.java
inearLayout.java
umberPicker.java
oast.java
d6479ec5eec13914f656f6be996d95fe1610fd57 11-Sep-2013 Alan Viverette <alanv@google.com> Clean up layout constructors, make them consistent

All constructors now flow through to each class's own 4-argument
constructor. This ensures that theme attributes are applied even
if a base AttributeSet is not provided.

BUG: 10680863
Change-Id: I727d2961bf017c6a5e0206367081670782583394
bsoluteLayout.java
dapterView.java
ridLayout.java
inearLayout.java
elativeLayout.java
e2c6f6692121511852546617167f18f09216044b 10-Sep-2013 Alan Viverette <alanv@google.com> am d54529c4: am 23819e7e: Merge "Make ListView\'s illegal state exception more helpful" into klp-dev

* commit 'd54529c43545faa10cac4e34e9b8d623de121e2e':
Make ListView's illegal state exception more helpful
23819e7e5d3b5e2c5d4b47b1a8133bc950e1eb82 10-Sep-2013 Alan Viverette <alanv@google.com> Merge "Make ListView's illegal state exception more helpful" into klp-dev
ab83c7b9b52aac6632daf844b90093c0e3077e82 10-Sep-2013 Adam Powell <adamp@google.com> am 218b1163: am 6a221b3f: Fix some bizarre Spinner behavior

* commit '218b116344688053d3856a8ea8abc3dc241bcee1':
Fix some bizarre Spinner behavior
6a221b3f85fbe7cbfbd11b9eeb672baca27faec2 10-Sep-2013 Adam Powell <adamp@google.com> Fix some bizarre Spinner behavior

* Make sure the recycler is cleared when the adapter is changed.
Bug 10689596

* Don't add views to measure the baseline.
Bug 10690353

Change-Id: I841dc05652eef3319721631f96332f7900d1a631
pinner.java
7d8314db41707a98afb269a78e7bc90ac75d37fc 10-Sep-2013 Alan Viverette <alanv@google.com> Make ListView's illegal state exception more helpful

Change-Id: I3d3205d32c6992c184a218248ba72ebf6c45a2d1
istView.java
617feb99a06e7ffb3894e86a286bf30e085f321a 10-Sep-2013 Alan Viverette <alanv@google.com> Add View constructor that supplies a default style resource

Also updates the constructor of every class that extends View.

BUG: 10676369
Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
bsListView.java
bsSeekBar.java
bsSpinner.java
bsoluteLayout.java
ctivityChooserView.java
dapterView.java
dapterViewAnimator.java
dapterViewFlipper.java
nalogClock.java
utoCompleteTextView.java
utton.java
alendarView.java
heckBox.java
heckedTextView.java
hronometer.java
ompoundButton.java
atePicker.java
ditText.java
ditor.java
xpandableListView.java
rameLayout.java
allery.java
ridLayout.java
ridView.java
orizontalScrollView.java
mageButton.java
mageView.java
inearLayout.java
istView.java
ultiAutoCompleteTextView.java
umberPicker.java
opupWindow.java
rogressBar.java
uickContactBadge.java
adioButton.java
atingBar.java
elativeLayout.java
crollView.java
earchView.java
eekBar.java
lidingDrawer.java
pace.java
pinner.java
tackView.java
witch.java
abHost.java
abWidget.java
extClock.java
extView.java
imePicker.java
oggleButton.java
woLineListItem.java
ideoView.java
oomButton.java
4e17981cdc32a8e504e2d40ba0f00af5f3f99e41 09-Sep-2013 Alan Viverette <alanv@google.com> am b198dbaf: am 013634cc: Merge "Add WebVTT caption renderer" into klp-dev

* commit 'b198dbaf19fcad86f81226aa06644db41d6028e4':
Add WebVTT caption renderer
013634cc44d62fe90cd3e80a7530cffdc79f9715 09-Sep-2013 Alan Viverette <alanv@google.com> Merge "Add WebVTT caption renderer" into klp-dev
2bd9dccc1316b77d61b2442a5e043178f9be001d 09-Sep-2013 Alan Viverette <alanv@google.com> am 1519a158: am 23f31a1c: Merge "Only activate FastScroller when it\'s needed" into klp-dev

* commit '1519a1588a053eec3a3d0c8eb077e0cc12567d0b':
Only activate FastScroller when it's needed
23f31a1c4ed313790921427df82f36960d9e9706 09-Sep-2013 Alan Viverette <alanv@google.com> Merge "Only activate FastScroller when it's needed" into klp-dev
0db4c3e0ed0e9a85f11db41285b9adb000c3f211 08-Sep-2013 Brian Duff <bduff@google.com> Fix a typo in NumberPicker javadoc.

Change-Id: I7c1777e166dabe2e24403301049f2d6e06b97e2d
umberPicker.java
b9f2722f6f32b275731fc7e4aeb367cdf9c30dd3 07-Sep-2013 Alan Viverette <alanv@google.com> Only activate FastScroller when it's needed

Removes code that was incorrectly handling ACTION_DOWN when the
host ListView started intercepting events for its own use. Fixes
handling of short lists and changes resulting from toggling the
FastScroller enabled state.

BUG: 10651874
Change-Id: I7b088b46d00a372a0a55291db892cc059f1aed20
bsListView.java
astScroller.java
d43daf361e993457e64eeeddab6d1a0ebc828c99 06-Sep-2013 Alan Viverette <alanv@google.com> Add WebVTT caption renderer

Currently missing support for region anchor points, robust layout
when snapping to lines, and vertical text.

BUG: 10260603
Change-Id: I3463b4aa0039442159144e66922d67f5dfee58ed
ideoView.java
1d5ac31c0de63fc0f23795ed642fd47067109f8d 05-Sep-2013 Adam Powell <adamp@google.com> am f094655c: am a73c3a54: Merge "Add View#cancelPendingInputEvents API" into klp-dev

* commit 'f094655c804e3983a538b7bc28266b173ea5c78b':
Add View#cancelPendingInputEvents API
a73c3a54886c302cc72e469d27603ef6bb92a6a1 05-Sep-2013 Adam Powell <adamp@google.com> Merge "Add View#cancelPendingInputEvents API" into klp-dev
672fcd5c9a90ed4e133d441fee3b0130c7acd769 05-Sep-2013 Chet Haase <chet@google.com> am 04f31501: am a9fa33b3: Merge "Change build version from KEY_LIME_PIE to KITKAT" into klp-dev

* commit '04f31501602a87ae9526983f4a92e623b4d68bb3':
Change build version from KEY_LIME_PIE to KITKAT
e8222dddaf2e3da14380101e818d4254899e0c0d 05-Sep-2013 Chet Haase <chet@google.com> Change build version from KEY_LIME_PIE to KITKAT

Issue #10631619 Change build version to KitKat

Change-Id: I6ad13f6169ad74204078d36929479998b498ad8b
istView.java
elativeLayout.java
3facfed942f837b33082faa6e18fd42408f68cb4 05-Sep-2013 Dianne Hackborn <hackbod@google.com> am a7a8cdfa: am 7f71206d: Merge "Fix issue #10461600: KLP API Review: UndoManager" into klp-dev

* commit 'a7a8cdfab3af29d4bdec95abd6bde96824129e4e':
Fix issue #10461600: KLP API Review: UndoManager
1487466dc2ce14cccf0ff2bd2f824238aaa0044e 19-Jul-2013 Adam Powell <adamp@google.com> Add View#cancelPendingInputEvents API

This API allows an application to cancel deferred high-level input
events already in flight. It forms one tool of several to help apps
debounce input events and prevent things like multiple startActivity
calls, FragmentTransactions, etc. from executing when only one was
desired since it's otherwise not desirable for things like click
events to fire synchronously.

Change-Id: I60b12cd5350898065f0019d616e24d779eb8cff9
bsListView.java
b811e64cb325c8b9c46a2e8e97ef1aa86ac8664b 05-Sep-2013 Dianne Hackborn <hackbod@google.com> Fix issue #10461600: KLP API Review: UndoManager

Hide, hide, hide!

Change-Id: Ie04825723d9392a4258e2d738828201ee387f7c6
extView.java
79a5feff954b496de5c156a2f228b9cdda43cfa8 05-Sep-2013 Alan Viverette <alanv@google.com> Fix the build, use viscous fluid interpolator in OverScroller

Change-Id: I175a220d1d915161896b9b223acfee08e0face2c
verScroller.java
croller.java
9c5b14977cc1c6254a12e595b54cf6614569237e 04-Sep-2013 Lajos Molnar <lajos@google.com> am a0d70290: am 171c63db: Merge "Add subtitle support to VideoView." into klp-dev

* commit 'a0d702908cc2da75e0102e1a2f276e2b3feea198':
Add subtitle support to VideoView.
165d0d57389c14d87af9a2635bff607946708794 04-Sep-2013 Fabrice Di Meglio <fdimeglio@google.com> am eb4ed48f: am 3ab8e884: Merge "Fix bug #10514694 Specifying android:gravity="center_vertical|left" results in negative vertical positioning of child" into klp-dev

* commit 'eb4ed48f77b8d7889252dcbfcefd97d306347145':
Fix bug #10514694 Specifying android:gravity="center_vertical|left" results in negative vertical positioning of child
132fb928dc6e7dd8dc46d0d62c2928d9c63216c1 04-Sep-2013 Alan Viverette <alanv@google.com> Merge "Move viscous fluid interpolator to its own class"
171c63db9253e77c2bd11c53eb89b7c3c983669f 04-Sep-2013 Lajos Molnar <lajos@google.com> Merge "Add subtitle support to VideoView." into klp-dev
3ab8e8847d723fd3b114a4c895c5eeb4623412f4 04-Sep-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #10514694 Specifying android:gravity="center_vertical|left" results in negative vertical positioning of child" into klp-dev
5c08f7cf864ec28a8e97b18b8ca227b7bbab4a6a 04-Sep-2013 Alan Viverette <alanv@google.com> am 1d26f041: am 3aa18248: Merge "Implement drag-to-open in ActivityChooserView" into klp-dev

* commit '1d26f041ab15a9c30fcd8378d5284d9692fba56e':
Implement drag-to-open in ActivityChooserView
3aa18248013c25b80586d90dba71145d9aae8baf 04-Sep-2013 Alan Viverette <alanv@google.com> Merge "Implement drag-to-open in ActivityChooserView" into klp-dev
d75e2539c10874acd74d443f58b2e34e0c67495c 04-Sep-2013 Alan Viverette <alanv@google.com> Move viscous fluid interpolator to its own class

Change-Id: If7dcc968895ba9200b40fbc7d7aded6e6bbf6ff7
croller.java
2bd961ae38ebd0acb7d33b32144a3c8a0949c023 28-Aug-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #10514694 Specifying android:gravity="center_vertical|left" results in negative vertical positioning of child

- related to "wrap_content"
- self bounds should include childs horizontal / vertical margin too
- so make height / width computation follow similar pattern as top / bottom computation

Passing CTS tests: RelativeLayoutTest / RelativeLayout_LayoutParamsTest

Change-Id: Id019c2536e89d2d8a4991aaabf6de60aae2e263b
elativeLayout.java
484ff7a92298eaeb5e7edc39895b3a26bed704b3 15-Aug-2013 Lajos Molnar <lajos@google.com> Add subtitle support to VideoView.

Change-Id: Ibfde491a624272c4f9733098529ad70c6aa93fe0
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10326117
ideoView.java
c80531ae5f87335aeb03b520169bb2340f2b9726 04-Sep-2013 Alan Viverette <alanv@google.com> am f37fb4d9: am 40fbaa79: Merge "Fix pre tag formatting in getDragToOpenListener documentation" into klp-dev

* commit 'f37fb4d95b6ed790b7c2de5268bd3e20d76aa146':
Fix pre tag formatting in getDragToOpenListener documentation
40fbaa79bc31aadefc5dacb314f66b5bcb6d52ae 04-Sep-2013 Alan Viverette <alanv@google.com> Merge "Fix pre tag formatting in getDragToOpenListener documentation" into klp-dev
84ae8913a711c935d801dfa2d77eb7c060d932b3 04-Sep-2013 Alan Viverette <alanv@google.com> am 751176ef: am 6416729c: Merge "Add methods for managing subtitle overlays in VideoView" into klp-dev

* commit '751176ef3903239dc2de55664c3c1c273917201e':
Add methods for managing subtitle overlays in VideoView
6416729c4732be6bcdbc5f303752a9d1885f86d0 04-Sep-2013 Alan Viverette <alanv@google.com> Merge "Add methods for managing subtitle overlays in VideoView" into klp-dev
419c8ebbdcbf6c7d6b5ebb131a5fdf6e6b980ab8 04-Sep-2013 Alan Viverette <alanv@google.com> am b29cb9ec: am de59baab: Merge "Ensure list scrolling API is in parity with view scrolling API" into klp-dev

* commit 'b29cb9ec4c343248dfd06b130459db13ae61142d':
Ensure list scrolling API is in parity with view scrolling API
de59baab31271a186a2f32719abd19a8adbda1e3 04-Sep-2013 Alan Viverette <alanv@google.com> Merge "Ensure list scrolling API is in parity with view scrolling API" into klp-dev
de213f708fc715c85f806fe5f4a7552e8b363bf9 04-Sep-2013 Alan Viverette <alanv@google.com> Add methods for managing subtitle overlays in VideoView

Overlays are added directly to the VideoView, laid out to the
size of the video view, and rendered in draw().

BUG: 10260603
Change-Id: Ie8c30e5e6dcd5c6e1a2063af898afce0108a87bf
ideoView.java
ba299063348e8396c1ce63c8fcbf9ee69c5be266 04-Sep-2013 Alan Viverette <alanv@google.com> Ensure list scrolling API is in parity with view scrolling API

Change-Id: Icaf533c0085b80f3c52cc026e0da7468698724f9
bsListView.java
3e63d7783794695e3d871dbcc84fc858815ae371 04-Sep-2013 Lajos Molnar <lajos@google.com> am a7cd8835: am a861245f: Merge "VideoView: add addSubtitleSource" into klp-dev

* commit 'a7cd8835bb1392d5512012160bc8bd2ccad3efaf':
VideoView: add addSubtitleSource
a861245f06e854d47ff44155ebd3ac0e31c0cb2c 04-Sep-2013 Lajos Molnar <lajos@google.com> Merge "VideoView: add addSubtitleSource" into klp-dev
5d46c89e3c032711a3835dbe5e4b499f5cd4d023 03-Sep-2013 Alan Viverette <alanv@google.com> Implement drag-to-open in ActivityChooserView

BUG: 10606456
Change-Id: I9ac0c5076bb1bf6c3f8a674bb2ef998d8515e8d9
ctivityChooserView.java
af309824350d6b2fd38e19ef9104211e5ba132e8 16-Aug-2013 Lajos Molnar <lajos@google.com> VideoView: add addSubtitleSource

A way to add external subtitle file to VideoView.

Change-Id: Ic110238408550a5b4088851bc5da5e94eb58d831
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10326117
ideoView.java
3f9832d3c7b30bf4dc8ed9e5123b02daca96c878 30-Aug-2013 Alan Viverette <alanv@google.com> Fix pre tag formatting in getDragToOpenListener documentation

BUG: 10549164
Change-Id: Ie3e05e918edbd737326c724e4e712279ac410238
istPopupWindow.java
opupMenu.java
bdb284c516834de8e6ea4d99bf21a67cc7e06f7b 30-Aug-2013 Adam Powell <adamp@google.com> am 91fa056a: am 27439903: Merge "GridLayout changes for API council" into klp-dev

* commit '91fa056a58fdad8f8e6e8a76a902c2a566364f29':
GridLayout changes for API council
465ea74234dd9f7c8e2f5927f51eb087de74ed2e 29-Aug-2013 Adam Powell <adamp@google.com> GridLayout changes for API council

* Hide set/getPrinter methods. A change/addition like this should
happen for all views if it happens, not just for one specific view.

* Follow Android style guidelines for fields.

Bug 10549037

Change-Id: I1823d7bbbd8bcc678c5be2358ca23a8dc6dbfd15
(cherry picked from commit 916159461bf17e13c245a709935a0d1133e0ed91)
ridLayout.java
a31d3fa2935637fe98ddbdd2a9e409e146d21959 28-Aug-2013 Fabrice Di Meglio <fdimeglio@google.com> am f73df21a: am 627dd9b5: Merge "Fix bug #10515013 CalendarView is always forcing first day of the week to Sunday and not taking into account CLDR data" into klp-dev

* commit 'f73df21a8e311ab72a00dbdb0b1dbd8e8d79a143':
Fix bug #10515013 CalendarView is always forcing first day of the week to Sunday and not taking into account CLDR data
c5c4809c956eb867c80e41df3c7bb3ff230bfb2d 28-Aug-2013 Alan Viverette <alanv@google.com> am c971f040: am ce9e2526: Merge "Implement new accessibility APIs in lists, text view" into klp-dev

* commit 'c971f0406771faa6398f21e7b5a5a58cd4cba1fd':
Implement new accessibility APIs in lists, text view
167bba4cbd643dbe894019e71bb0f13b84415546 28-Aug-2013 Alan Viverette <alanv@google.com> am b27239b4: am 116c12ef: Merge "Add public API for obtaining drag-to-open listener" into klp-dev

* commit 'b27239b4ca4b336c8e7a482212ee54643e660795':
Add public API for obtaining drag-to-open listener
627dd9b584a267b206bace8dc518287fe58b9563 28-Aug-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #10515013 CalendarView is always forcing first day of the week to Sunday and not taking into account CLDR data" into klp-dev
5b2081dc41cccd76780a2cb4e9a973505c13446c 28-Aug-2013 Alan Viverette <alanv@google.com> Implement new accessibility APIs in lists, text view

Sets contentInvalid for TextViews with errors, sets collection
and item properties in AbsListView, GridView, and ListView.

BUG: 10391326
Change-Id: I91191c8ce1e10a1112f74215e30b26349396344b
bsListView.java
ridView.java
istView.java
extView.java
116c12ef4c5fc2d5e5e90a417c4386c1f9a3ddf6 28-Aug-2013 Alan Viverette <alanv@google.com> Merge "Add public API for obtaining drag-to-open listener" into klp-dev
b08e5788a79127df2e2e452f5fb1adab417cb503 28-Aug-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #10515013 CalendarView is always forcing first day of the week to Sunday and not taking into account CLDR data

- remove the "force to Sunday"
- code cleaning and remove dependency on deprecated API

Change-Id: I992e893a904c45c8e0ce1d9dedb59b352e3a449f
alendarView.java
1955a5b531f03dec90f285b590ef62e3d632783c 28-Aug-2013 Alan Viverette <alanv@google.com> Add public API for obtaining drag-to-open listener

BUG: 10457019
Change-Id: I66485521c54b82033044834e7aab6707a3049e6b
istPopupWindow.java
opupMenu.java
e94aceabdbb1170fc1fc5f79f1239256c41bb73d 27-Aug-2013 Fabrice Di Meglio <fdimeglio@google.com> resolved conflicts for merge of 71de1312 to master

Change-Id: Ib2065147a3160b5176fd44a4d14bec06c7c973e1
6d7771b575ec9303515128e98fcb67689414ac6e 27-Aug-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #10462461 CTS TimePickerTest are broken for testSetOnTimeChangedListener()" into klp-dev
a07935f4a5278fb5c1d2f58bf9e0967b3618616c 27-Aug-2013 Svetoslav Ganov <svetoslavganov@google.com> am c97ab7ea: am 6b8c69ed: Merge "Update AccessibilityNodeInfo API as per API council request" into klp-dev

* commit 'c97ab7ea992ff57835cf3be2805c71bcb7ac4658':
Update AccessibilityNodeInfo API as per API council request
6b8c69edd210ad86eb659e06681422bb29ba2123 27-Aug-2013 Svetoslav Ganov <svetoslavganov@google.com> Merge "Update AccessibilityNodeInfo API as per API council request" into klp-dev
cb8ed39b3fb591be60b9fb1799d4ea4530eab758 24-Aug-2013 Svetoslav Ganov <svetoslavganov@google.com> Update AccessibilityNodeInfo API as per API council request

bug:10461302

Change-Id: I9709a271ab3720e064b98c79c0950d811fe37b73
ctivityChooserView.java
pinner.java
84ba33acf9eba178bddf06159fa974e13a9b76d5 27-Aug-2013 Alan Viverette <alanv@google.com> am b1986354: am aad44178: Merge "Use transient state to preserve accessibility focus in ListView" into klp-dev

* commit 'b19863545ddf5f071926869d92aeb9aa38f2f857':
Use transient state to preserve accessibility focus in ListView
4425a3d25066dd0bc9e7a32f31f5d79d22d66267 27-Aug-2013 Alan Viverette <alanv@google.com> am 37eb3034: am faf7a208: Merge "Add auto-scrolling in ListPopupWindow drag-to-open mode" into klp-dev

* commit '37eb3034a3a090587d6a0fba61c7ec703f901da5':
Add auto-scrolling in ListPopupWindow drag-to-open mode
06804da17769b568002b48e20b8d51146556526b 27-Aug-2013 Alan Viverette <alanv@google.com> am 46502580: am 9212e350: Merge "Reconcile drag-to-open and touch event interception" into klp-dev

* commit '465025803983e1f8ff4d9468fcc86ee4467139c9':
Reconcile drag-to-open and touch event interception
aad44178685c1e31a8fa1519edd561b043b7c886 26-Aug-2013 Alan Viverette <alanv@google.com> Merge "Use transient state to preserve accessibility focus in ListView" into klp-dev
faf7a2087e1228599c7b08a679a764d2abb0e9ed 26-Aug-2013 Alan Viverette <alanv@google.com> Merge "Add auto-scrolling in ListPopupWindow drag-to-open mode" into klp-dev
138de8e16db9c7cf0164eac3677a1d4a9696e3fe 24-Aug-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #10462461 CTS TimePickerTest are broken for testSetOnTimeChangedListener()

- be aware that getCurrentHour() value can vary with "mIs24HourView"
- so force no notification of onTimeChanged() for setCurrentHour() when
we are just changing 12h/24h view

Change-Id: I358eda29cf0c66a811cde494136d7cfc27fca39f
imePicker.java
69960142efa8d228adbfcbabdcf618426e31e1f5 23-Aug-2013 Alan Viverette <alanv@google.com> Reconcile drag-to-open and touch event interception

Changes behavior such that dragging on a Spinner that's inside
of a ScrollView will only scroll after a tap delay.

BUG: 10442971
Change-Id: I9fa9c5f0cf99e0cd158f52b6fa7a109ce1b6b8b1
istPopupWindow.java
pinner.java
6820751c0ad396328da39adfb3756ffc838c0cc7 22-Aug-2013 Alan Viverette <alanv@google.com> Use transient state to preserve accessibility focus in ListView

Removes several stray calls to clearAccessibilityFocus() that were
preventing temporarily detached views from retaining accessibility
focus.

BUG: 10089858
Change-Id: Ieb88a6cd14fe1069ebeeb78bc0edba7a10131f5b
istView.java
9e4009ea150a7020fb8cf315281679979e67e762 19-Aug-2013 Fabrice Di Meglio <fdimeglio@google.com> Decouple TimePicker code

- introduce a TimePickerDelegate interface to be able to have several
TimePicker implementations
- code refactoring

Change-Id: I0d8bdfdb4c2723a51311c01fbd485e34983bb423
imePicker.java
5e66021c8a24c27c470cc6b9fe49e5653f3fa05d 21-Aug-2013 Alan Viverette <alanv@google.com> Add auto-scrolling in ListPopupWindow drag-to-open mode

BUG: 9437139
Change-Id: I836c60b48b31d0a5cc32eef903da9dc0b9b9d8a5
istPopupWindow.java
a2e88ef89611d69b65b1830cc5ffebfb679e9d4d 21-Aug-2013 Alan Viverette <alanv@google.com> Merge "Move forwarding code to ListPopupWindow, add drag-to-open in Spinner" into klp-dev
058ac7cfe5bb7b9ecc411b94622ac3f31a7fa25e 20-Aug-2013 Alan Viverette <alanv@google.com> Use MULTI_LINE and OPENS_POPUP accessibility properties

BUG: 10391326
Change-Id: Ib2deeeef401802b6dde646e14ee5367141469a58
ctivityChooserView.java
pinner.java
extView.java
83aec80fb49000b2f32268590de5971c055febe9 17-Aug-2013 Romain Guy <romainguy@google.com> Merge "Fix hardware layers lifecycle Bug #10075732" into klp-dev
46bfc4811094e5b1e3196246e457d4c6b58332ec 17-Aug-2013 Romain Guy <romainguy@google.com> Fix hardware layers lifecycle
Bug #10075732

Hardware layers could survive across EGL terminate events.

Change-Id: Ie8565d55cb29fe6625fa1584d695edfecd37ab5e
umberPicker.java
ca6a3611cdb28a514834adba35fcce2da6f2e7c2 16-Aug-2013 Alan Viverette <alanv@google.com> Move forwarding code to ListPopupWindow, add drag-to-open in Spinner

BUG: 9437139
Change-Id: I4599cf65a472b2ce74d2301988359d87917a6eec
istPopupWindow.java
pinner.java
3c226bf6acea0b8dff34a2113009b6d918a3af65 16-Aug-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix old remaining i18n bugs on TimePicker:" into klp-dev
64902bd89ea0630a59eb61345061002e9895af84 16-Aug-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix old remaining i18n bugs on TimePicker:

- put am/pm on the left side of hours for hu, zh, ja and ko Locales
- use the hours/minutes separator from the Locale (fi, sr, ...)
- updated layouts (better for Arabic, Farsi and Hebrew)
- support double digits format for 12h and single digit format for
24h (it, ja, vi, ...)
- fix setIs24HourView(boolean) behavior: do not lose the current hour
value when switching from 12h to 24h

Change-Id: If66cb6f802d894f0a2357b43eede6854791f3b67
imePicker.java
28dd8eb615a46ae169132b0ee75ad06b606f010c 16-Aug-2013 Alan Viverette <alanv@google.com> Merge "Forward events to ListPopupWindow, highlight touched items" into klp-dev
86f5e8956df3309eb212b66657da4d0bd4fe5773 16-Aug-2013 Alan Viverette <alanv@google.com> Update documentation for FastScroller and SectionIndexer

BUG: 3341285
Change-Id: I0607031576eaaecaebe848437cfbacd0d1a4b161
bsListView.java
ectionIndexer.java
c05027214f1f4dda67296a072dfc9af9176dc590 16-Aug-2013 Alan Viverette <alanv@google.com> Forward events to ListPopupWindow, highlight touched items

Moves most of the drag-to-open behavior into ListPopupWindow's
particular implementation of ListView. Uses hidden View API for
forwarding events between different windows.

Overflow menu opens on first touch, closes on touch end outside
the overflow button. Clicks that occur during drag-to-open mode
result in alpha animation of the selector drawable.

BUG: 9437139
Change-Id: I70f540555a03450638a27880b3ae3b031ca6e2ed
istPopupWindow.java
63113994034e2e71bac40d2de076fa9b1b406960 13-Aug-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Code cleaning for Drawables" into klp-dev
56e0d6b86cd46095afae00781eb59c7ed5a7eab6 13-Aug-2013 Jose Lima <joselima@google.com> Merge "Allow configuration of Toast gravity settings" into klp-dev
b339cc5bcbafbc5b9cf184c6f87b4eb466386ea6 12-Aug-2013 Alan Viverette <alanv@google.com> Not create context menu when mouse right click outside list/grid items

Even if mouse right click outside of list/grid items, a context menu
is made. But there is no item of the list, so a context menu info is
null. Then, NullPointerException happens at onCreateContextMenu()
using a context menu info.
For fixing the problem, check mTouchMoude and mMotionPosition to
distingusih where is clicked, on a list item or not, before
performButtonActionOnTouchDown() which makes a context menu.

Manually merged from AOSP contribution.

Change-Id: I778be73df36abbfd4ba9534d8e7a1ece6844ed40
Author: henrik baard <henrik.baard@sonymobile.com>
bsListView.java
404db929c4c2c35d9e6ba7e25152ff357bcd11f9 10-Aug-2013 Fabrice Di Meglio <fdimeglio@google.com> Code cleaning for Drawables

- fold if statements (probably due to a previous refactoring - that was a bit crazy isnt it ?)

Change-Id: Ie893bb50aa6f81e4d7a6b1438e8271ee487b51d6
extView.java
f6c7a5fd6680d74972738e60ad5c9cf34bfc43ef 09-Aug-2013 keunyoung <keunyoung@google.com> Merge "add local focus mode and input event injection API to Window" into klp-dev
be11c364e77a9d805cde9bfe5530cbc7b2afd3aa 09-Aug-2013 Alan Viverette <alanv@google.com> Merge "Fix padding adjustment for scrollbars in View, FastScroller" into klp-dev
08bef371fa2bd7839da8a65d8c2e788c647132ae 08-Aug-2013 Jose Lima <joselima@google.com> Allow configuration of Toast gravity settings

The default gravity value for Gravity was set by the code in Toast.java,
making it impossible to fully customize Toasts systemwide by using overlays.
Toast.java was changed to read this default value from a resource configuration
file, so we can then override it via an overlay.

Bug: 9799950
Change-Id: I26a914a9aa5e37d3ab0f4cf60b41de5ac14b4a87
oast.java
26bb253b4001b7d4d876656b0c6bd11b6aab4131 09-Aug-2013 Alan Viverette <alanv@google.com> Fix padding adjustment for scrollbars in View, FastScroller

BUG: 10224791,10248282
Change-Id: Ia89d2cbea163b7cad567ea37161552c1cfd66045
bsListView.java
astScroller.java
30f420fd6a74ffa28b351b4aba74d44f5ea48dda 02-Aug-2013 keunyoung <keunyoung@google.com> add local focus mode and input event injection API to Window

- This enables keyboard navigation for window without focus.
- FLAG_LOCAL_FOCUS_MODE puts window into local focus mode.
- Application needs to put window in local focus mode, control focus, and
inject events to make dpad navigation work.
- Window in local focus mode does not interact with window manager or ime
regarding focus related events.
- Also renamed ViewRootImpl.dispatchKey to dispatchInputEvent to allow both key and touch events injection.

Change-Id: I8e8561f29e0dade3797fb7ae3ee7690e6b7f8895
oomButtonsController.java
4155e2e175d73bb98b13ecb2fbbe6a6dffe28fe5 09-Aug-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #10210182 CTS: android.widget.cts.TextViewTest#testDrawableResolution is failing on KLP

This issue has been actually revealed by a fix for bug #7034321 (Need Drawable RTL support)
where I identified an issue with Drawables resolution in TextView (was missing a call to
resetResolvedDrawables() and resolveDrawables()).

- add missing resetResolvedDrawables() and resolveDrawables() in TextView.setRelativeDrawablesIfNeeded()
- fix View.resolveDrawables():

this was a bit trycky as View.resolveDrawables() was wrongly supposing that the layout direction was
resolved and it could access View.getLayoutDirection() and could position the PFLAG2_DRAWABLE_RESOLVED
bit.

Dont forget that resolution of RTL properties (layoutDirection, Drawables ...) is happening in
View.measure() but in our case (TexView constructor) we still need to resolve the Drawables.

So now, be sure that we cannot resolve the Drawable if layout direction has not being resolved and the
raw layout direction is LAYOUT_DIRECTION_INHERIT.

But we can also "cheat" if the raw layout direction is LAYOUT_DIRECTION_LTR or LAYOUT_DIRECTION_RTL
or LAYOUT_DIRECTION_LOCALE as its resolution will give the same value :-)

Change-Id: I7a242d918697e1e1c2febf229e8edf1866b855be
extView.java
fb66415655c288be2ac2078cd0a5e20c7040266e 08-Aug-2013 Alan Viverette <alanv@google.com> Fix initial FastScroller enabled state, fix padding during layout

BUG: 10182784
Change-Id: I7f1ed029b68a1e6db6af0dc21e23aebca01bef31
bsListView.java
astScroller.java
39bed695cecdbefc9fae785692fe468cd9007c35 08-Aug-2013 Alan Viverette <alanv@google.com> Fix FastScroller regression for non-UI threads

Previously it was safe to call setFastScrollEnabled() and
setFastScrollAlwaysVisible() off the UI thread. After switching
FastScroller to use an Overlay, these methods stopped working.

This change ensures that all direct interaction with FastScroller
happens on the thread that created the host AbsListView.

BUG: 10210504
Change-Id: Ib6d9bd9212965420c0de39546652e3bc2d32ff8b
bsListView.java
astScroller.java
93e095b731f81e8ae410b605a5ffa955b8711edd 07-Aug-2013 Alan Viverette <alanv@google.com> Merge "Add copy constructors for all widget-specific LayoutParams"
0a0e155cadecd32599a7354a1836232c885f4bd2 07-Aug-2013 Alan Viverette <alanv@google.com> Add copy constructors for all widget-specific LayoutParams

BUG: 10215589
Change-Id: I4c040091e216c87f851d6b617107f43729e55b0c
rameLayout.java
ridLayout.java
inearLayout.java
elativeLayout.java
2f3317a06dd4d39298dc3fd2bb8a4d36a5762e03 07-Aug-2013 Alan Viverette <alanv@google.com> Add API for scrolling AbsListView by a pixel amount

Change-Id: Ib0fc48879991fd467242d8dc337db419edb12acf
bsListView.java
3f5a90b2fbba2a83a8a2c5babd5d466a5e0ad2aa 25-Jun-2013 Fabrice Di Meglio <fdimeglio@google.com> Add automatic Drawable mirroring capability when in RTL layout direction

- default value is "no mirroring"
- introduce android:autoMirrored as a new attribute for Drawable,
BitmapDrawable, LayerDrawable, StateListDrawable and NinePatchDrawable
- setting android:autoMirrored="true" means that the drawable will
be mirrored when the layout direction is RTL (right-to-left)
- also fix an issue with ImageView drawable layout direction not
updated correctly when RTL properties were changed

See bug #7034321 Need Drawable RTL support

Change-Id: If595ee5106c786f38e786d3a032e182f784a9d97
mageView.java
extView.java
f45bdaf512093e6318db5a277c5934596e015b84 30-Jul-2013 Alan Viverette <alanv@google.com> Merge "Don't show spinner popup if adapter is null"
d248b0a4de69f290194970826dd795497ed9de9e 30-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am c2314cf5: am e700a36e: Merge "Update getCheckedItemPositions() documentation"

* commit 'c2314cf5f4efa2cc767e0069dcc2a67e12d7cd20':
Update getCheckedItemPositions() documentation
e700a36e4041a921f880a7c3c5ec6ce96c955a92 30-Jul-2013 Jean-Baptiste Queru <jbq@google.com> Merge "Update getCheckedItemPositions() documentation"
b9867eab1de3396fc7e740d6afbc5ee649f416f1 30-Jul-2013 Alan Viverette <alanv@google.com> Don't show spinner popup if adapter is null

BUG: 10076106
Change-Id: I1c1c235645b7963f802b0747f7ca64d8aedaaa66
pinner.java
7e897aa600f0fcb2e4448f31766ae43ed533fa2e 27-Jul-2013 Alan Viverette <alanv@google.com> Merge "Show FastScroller thumb on mouse-over"
a709b37eab535180f41d2bb9d029244aa84ee1f6 25-Jul-2013 Alan Viverette <alanv@google.com> Show FastScroller thumb on mouse-over

BUG: 9484233
Change-Id: I99a37e6d582e42b9a0fae4a0fc2d4348419bfa35
bsListView.java
astScroller.java
a089ddecaf2ca5cb56ba62af5ece279fb9cb6c0f 25-Jul-2013 Alan Viverette <alanv@google.com> Update setAdapter() documentation for Spinner

BUG: 9906193
Change-Id: Id21ee957cb72c9452b150a713ed37adb0fa82d30
pinner.java
f9fe31d46059fecaaedb8a9c20b12a0d5a831c33 23-Jul-2013 Romain Guy <romainguy@google.com> Merge "Fix crash in app widgets Bug #9983130"
9870e5ca006ff7408d82de3d7cc66e6a17823346 23-Jul-2013 Romain Guy <romainguy@google.com> Fix crash in app widgets
Bug #9983130

Change-Id: Ie2319c9e8f6e7591c03061224021973b94ae07cb
emoteViews.java
82ff241fd6a82843a8d9d87a1a01c7315079e3d4 23-Jul-2013 Cyril Mottier <cyrilmottier@gmail.com> Update getCheckedItemPositions() documentation

getCheckedItemPositions()'s documentation previously mentioned the
returned SparseBooleanArray was only containing checked item positions
(i.e. get(int position) always returning true). In practice, this is
wrong, because getCheckedItemPositions() returns mCheckStates which
basically contains all key-value mappings that have been used. As a
consequence if the item at position p is checked and unchecked, the
returned SparseBooleanArray will contain a (p, false) mapping.

Another option could be to delete all keys having a false value.

Change-Id: I15f8fc2a1ba3f1501af126c272b827402cfd8b14
bsListView.java
d1233575b558d3dc585f7e04ff1377c24f3beaf4 23-Jul-2013 Romain Guy <romainguy@google.com> Merge "Use the parameter type as part of the methods cache key"
484f4d62829f8630e653e4349cf67bc4e9706774 23-Jul-2013 Romain Guy <romainguy@google.com> Use the parameter type as part of the methods cache key

Change-Id: Ie204d16b62028fc1eb35cc7cb3244654e1360a37
emoteViews.java
0f80f4b584d0a0c5e3e9a3d72db788d2c348e431 22-Jul-2013 Michael Wright <michaelwr@google.com> Merge "Take advantage of KeyEvent.isConfirmKey"
5ab9ece8998c67ecc8501d1c157effeb030fec78 22-Jul-2013 Romain Guy <romainguy@google.com> Merge "Cache reflection lookups"
e4d4e20e8f84d53b4b7198300baaf3e21ff9be58 22-Jul-2013 Romain Guy <romainguy@google.com> Cache reflection lookups

This change also cleanups the code a little bit. Caching lookups
not only speed things up but it also avoids unnecessary allocations.

Change-Id: Ie3d1ae106d32b3b5f2c5d33b6318ed93cd9e27f9
emoteViews.java
24d36f592224d1316165f579bb0937df0bf42f7c 20-Jul-2013 Michael Wright <michaelwr@google.com> Take advantage of KeyEvent.isConfirmKey

Change-Id: I2925c624338a5c622a7b3fef05b62099465b6389
bsListView.java
allery.java
istPopupWindow.java
f1f8f318bbf1ac202bf3cb65d57b9537d16464be 19-Jul-2013 Alan Viverette <alanv@google.com> Merge "Set transient state for focus container in ListView"
d44696c4cfdda1e7e4e10a21b68f54ce5a4a459d 18-Jul-2013 Alan Viverette <alanv@google.com> Set transient state for focus container in ListView

BUG: 9860185
Change-Id: I0c7035e5992c56110a0cc5c94aa778bbb999deea
bsListView.java
istView.java
7a46dde1ae56a85fcb5cdac91173424b6355bf3c 17-Jul-2013 Chet Haase <chet@google.com> Changed name of recent hasLayout() method to isLaidOut()

This new method on view reflects whether the view has been laid out
at least once since it was attached. hasLayout() seems too vague for that
meaning; every View that has a parent has a layout (since we use container,
parent, and layout interchangeably). The new version of the method
is closer to the actual meaning.

Change-Id: I519745739b6a6317faeb077aa61f994025cf81f3
orizontalScrollView.java
crollView.java
f52ae147fbd5cba68fc679992ef320f067db76d6 17-Jul-2013 Adam Powell <adamp@android.com> am 42658ed5: am 30ad7203: Merge "Consider mScrollX when drawing the checkMarkDrawable"

* commit '42658ed5182a75b82dd2b970a1f97fc30407d1e3':
Consider mScrollX when drawing the checkMarkDrawable
42658ed5182a75b82dd2b970a1f97fc30407d1e3 17-Jul-2013 Adam Powell <adamp@android.com> am 30ad7203: Merge "Consider mScrollX when drawing the checkMarkDrawable"

* commit '30ad720304790b07112b87f973a7e6ed5e1e6ee5':
Consider mScrollX when drawing the checkMarkDrawable
30ad720304790b07112b87f973a7e6ed5e1e6ee5 17-Jul-2013 Adam Powell <adamp@android.com> Merge "Consider mScrollX when drawing the checkMarkDrawable"
447cdf2c069a05d9f8b5aaa4269be43e8f5e1d89 16-Jul-2013 Alan Viverette <alanv@google.com> Add disabled state to FastScroller.

BUG: 9759511
Change-Id: I555f501b33029665d94a493ee5cab5741c843328
bsListView.java
astScroller.java
2f77f9c03e016f6d453c1fa799c9f68c30acf0dd 10-Jun-2013 Daniel 2 Olofsson <daniel2.olofsson@sonymobile.com> Fixed race condition in Spinner.DialogPopup on null reference.

NullPointerException is triggered when DialogPopup is
dismissed due to object mPopup being null when not showing.
Race condition is triggered when dialog is dismissed before
touch event to dismiss dialog has been processed properly.

Fixed by adding a null check prior to accessing mPopup object.

Change-Id: I3c4fe9c279d92a7103fb4f68189d1d42beedc606
pinner.java
5fade8c69aef621312232ef0647502d7a63990b9 11-Jul-2013 Romain Guy <romainguy@google.com> Trace list view items management

Change-Id: If43ce115679c2bcacad26d6f59e3bfb655abff6e
bsListView.java
ridView.java
istView.java
7df754e7121253a4b6e48d19a213cbf5aac458be 10-Jul-2013 Chet Haase <chet@google.com> Remove unnecessary drawable code in CompoundButton

Some of the code in setButtonDrawable() was unnecessary, resetting
the button drawable state and then refreshing it. This caused many redundant
calls, which can add up, especially during inflation.

Change-Id: I873cf5eef697b5435a1b827cd68e5d836ee25124
ompoundButton.java
414b02380d73a4ced03b1b51233ce9b339fb52cf 09-Jul-2013 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 9058a6c8 to master

Change-Id: I361773dac17a551dd7b4c0b0e4e649ddf7612d90
9058a6c88190d1f7738f59830d34ef141af61048 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 7e683ec6: am fa42e774: Merge "FastScroller: Fix to use appropriate index"

* commit '7e683ec6a53b1581671ce72782e7b25a0ae705d0':
FastScroller: Fix to use appropriate index
7e683ec6a53b1581671ce72782e7b25a0ae705d0 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am fa42e774: Merge "FastScroller: Fix to use appropriate index"

* commit 'fa42e774bc48c3172023c8c49610baa469c19e39':
FastScroller: Fix to use appropriate index
fa42e774bc48c3172023c8c49610baa469c19e39 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> Merge "FastScroller: Fix to use appropriate index"
bb4991e6eb265d9382f5c42411339f705e26d001 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am db550fc9: am 0e545bf5: am 9775203b: Merge "SectionIndexer: Update Javadoc for ExpandableListAdapters"

* commit 'db550fc900eaf3a5a845dcd0c0bb0ead2b1582d6':
SectionIndexer: Update Javadoc for ExpandableListAdapters
db550fc900eaf3a5a845dcd0c0bb0ead2b1582d6 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 0e545bf5: am 9775203b: Merge "SectionIndexer: Update Javadoc for ExpandableListAdapters"

* commit '0e545bf5502fde4fe2c96377829bd4c3f7c2d727':
SectionIndexer: Update Javadoc for ExpandableListAdapters
0e545bf5502fde4fe2c96377829bd4c3f7c2d727 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 9775203b: Merge "SectionIndexer: Update Javadoc for ExpandableListAdapters"

* commit '9775203b610267bf8cecaf7c00db68b73b529ced':
SectionIndexer: Update Javadoc for ExpandableListAdapters
9775203b610267bf8cecaf7c00db68b73b529ced 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> Merge "SectionIndexer: Update Javadoc for ExpandableListAdapters"
f5d6e24736ff0b948dbab9bb1973089cb630f269 03-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 51ec7f37: am da52b9a2: am 8113b17c: Merge "Fixed incorrect calculation of dirty invalidation area"

* commit '51ec7f3725877a45b518299f279a68e6f5ea8e59':
Fixed incorrect calculation of dirty invalidation area
51ec7f3725877a45b518299f279a68e6f5ea8e59 03-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am da52b9a2: am 8113b17c: Merge "Fixed incorrect calculation of dirty invalidation area"

* commit 'da52b9a28756e67daa03654953678dfa08e0ca5d':
Fixed incorrect calculation of dirty invalidation area
da52b9a28756e67daa03654953678dfa08e0ca5d 02-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 8113b17c: Merge "Fixed incorrect calculation of dirty invalidation area"

* commit '8113b17c473367bd1be7db707fc5b94121cb09e5':
Fixed incorrect calculation of dirty invalidation area
e9018f7716d3d2f61602c07c273674585482653d 21-Nov-2012 Johan Viktorsson <johan.viktorsson@sonymobile.com> Fixed incorrect calculation of dirty invalidation area

Padding was already taken into consideration before calling
invalidateDrawable in ProgressBar.

Change-Id: Id7f23bd15bb19e2294c07adb2acb397100ea97e8
rogressBar.java
57b867f3f568b026833c6208afdeff2168838ffd 27-Jun-2013 Alan Viverette <alanv@google.com> Merge "Minor ListView clean up. Exposes View.pointInView() as hidden API."
3d15a2b8f43f5b184f8fdcd3661711111bcf4674 26-Jun-2013 Alan Viverette <alanv@google.com> Minor ListView clean up. Exposes View.pointInView() as hidden API.

Change-Id: Ia628f8438fac5af2471efd8558c8876fae3dafb0
bsListView.java
6b40cc7f8a01ed31202aaf05c10bfac42ee87539 26-Jun-2013 Alan Viverette <alanv@google.com> Fix FastScroller for single-section lists and untitled sections.

Change-Id: I121d9427e87e1a9e09562642f6aa621fc1cc849a
astScroller.java
db759c3f022d1416fe885e1a0ef05a4ca208f254 24-Jun-2013 Alan Viverette <alanv@google.com> Merge "Implement FastScroller as an animated overlay."
0ebe81e8b1f2b9db8d41b72a6dae8d6848b51cc5 22-Jun-2013 Alan Viverette <alanv@google.com> Implement FastScroller as an animated overlay.

Bug: 9372090
Change-Id: I46cb67ef0482a4c8f721248d5f5e2e692144c3a1
bsListView.java
astScroller.java
1cc0a6514f3f1865d93bdf12cd01002ab4099ed0 19-Jun-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix potential NPE if there is no child in HorizontalScrollView"
f2fb76cc23e18f7b15f7244e6352d024b5008f38 18-Jun-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix potential NPE if there is no child in HorizontalScrollView

- related to the previous change for saving the scroll position
- also related to bug #9463581 NPE observed while launching News&Weather app from all apps tray

Change-Id: I9f2f8a246e793eefa1cf510e15a56a1058fb9c18
orizontalScrollView.java
012416fdbb279f291b43e9d6bf565750752e6a41 18-Jun-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #9463581 NPE observed while launching News&Weather app from all apps tray"
d6d543977da14adb3ef9322a0b7ec3fdd027a55e 18-Jun-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #9463581 NPE observed while launching News&Weather app from all apps tray

- dont suppose that there will always be one child

Change-Id: I51c5cdf06294af25c992cfbaacabbc29dd1b9ad3
crollView.java
90f339a5a343f82c3c32e4467c54ded94a1807a1 14-Jun-2013 Adam Powell <adamp@google.com> Don't save ScrollView/HorizontalScrollView saved state for old apps

Older apps may have given IDs to ScrollViews and views of a different
class in layouts that vary by configuration. Now that ScrollViews save
state this causes ClassCastExceptions when trying to restore instance
state.

Only save new instance state for ScrollView/HorizontalScrollView for
apps targeting post-API 18.

Change-Id: Icaa095cd20bef35dddc225a17c5a8e30b3faea02
orizontalScrollView.java
crollView.java
7d8885df35a01842c8d233c2df51013f47679ce0 13-Jun-2013 Alan Viverette <alanv@google.com> Merge "Ensure page up/down always moves to first/last selectable item."
af9c5ea240746de088549261a505895cbf4882ed 13-Jun-2013 Alan Viverette <alanv@google.com> Ensure page up/down always moves to first/last selectable item.

Bug: 5088505
Change-Id: Ie73705f46602003b1c02fa08427dc940ad9f9b8a
istView.java
2ce9bae80c412131c95d01bdeea13445253ac614 13-Jun-2013 Dave Burke <daveburke@google.com> am bafc8dcf: am 34bc73df: Merge "Revert "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"" into jb-mr2-dev

* commit 'bafc8dcf690776ec7fdcf26518f3aff47724871d':
Revert "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"
bafc8dcf690776ec7fdcf26518f3aff47724871d 13-Jun-2013 Dave Burke <daveburke@google.com> am 34bc73df: Merge "Revert "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"" into jb-mr2-dev

* commit '34bc73dff1f0c8402da3fc9bd1f0175bddcaa842':
Revert "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"
f649a06e6bca6b7041cb09158df51512d5ac3a57 13-Jun-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #9302365 HorizontalScrollView is not RTL aware"
fafe88c3d983f1578e096af69ab8420c846b237e 13-Jun-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #9302365 HorizontalScrollView is not RTL aware

- follow up for cleaning the state

Change-Id: I850d0da5ff8813d1c7a6f2277bddba1b8ccc07ec
orizontalScrollView.java
b57e2e3872bc68f05d5d1e12f5b72f6353b92673 13-Jun-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Save Scroller position"
d6befbdd17f528d87e313b3665b248b670f8615c 13-Jun-2013 Fabrice Di Meglio <fdimeglio@google.com> Save Scroller position

- add SaveState with scroll position and use it during the first layout

Change-Id: I0806ddb9c52d70d32055f4b474d21f6e2e5a4ea8
crollView.java
fc93d0c108ff151b543bb682f75bf94e36eaddd7 13-Jun-2013 Adam Powell <adamp@google.com> Revert "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"

This reverts commit ef2277ec5802143b8af1da32d7b01518401b97a9.

This caused a regression for some apps relying on the old behavior.

Bug 9372495
eaderViewListAdapter.java
4d5c4e21d3a714aa9690303f9f68957ebbec6790 13-Jun-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #9302365 HorizontalScrollView is not RTL aware"
c4d712237cba31d0f34c6b96ea3533d4a8e1f028 12-Jun-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #9302365 HorizontalScrollView is not RTL aware

- make FrameLayout capable of forcing a Gravity.LEFT (when there will be
only one child with Gravity.RIGHT and wider than its parent like for
HorizontalScrollView)
- fix onLayout() so that it is forcing Gravity.LEFT if needed and
setting correctly the initial mScrollX
- also add restore/save from an instance state (by saving if the layout
is RTL and the scroll position)

Change-Id: Ida7ff4654c6a54a1696c2575af46f044dd1aabc8
rameLayout.java
orizontalScrollView.java
4602a709d83fe0886f538256045f113d15feedaa 12-Jun-2013 Alan Viverette <alanv@google.com> Merge "Allow adding headers and footers to ListView after setAdapter()."
72e2f2a94049642454e960f344dc6feed4ec1dc9 12-Jun-2013 Alan Viverette <alanv@google.com> Allow adding headers and footers to ListView after setAdapter().

Bug: 6110394
Change-Id: I0238ff91b6ae3159b2350d5210545425ac7340f3
istView.java
a6954f7e12b673f8b9cb29549c3136be6e64e693 12-Jun-2013 Alan Viverette <alanv@google.com> Merge "Add getters for ListView header & footer divider drawing attrs."
a420b53d37976860589bb6f0ad054543261c88df 12-Jun-2013 Alan Viverette <alanv@google.com> Merge "Clean up FastScroller. Expand overlay to fit text content."
5542103589696e2945b5fe5e251292873e3af897 12-Jun-2013 Alan Viverette <alanv@google.com> Add getters for ListView header & footer divider drawing attrs.

Bug: 6104055
Change-Id: I874d631ec6fbb0e99790a3f37d00d589c1d63d34
istView.java
6b1d5a4ff220378407e19b7733e727be88b41376 10-Jun-2013 Svetoslav <svetoslavganov@google.com> Merge "Notification for changed subtree in accessibility mode not fired properly."
00dbe81fea7be57ee2ff8a97844faf1bc15a427f 10-Jun-2013 Svetoslav <svetoslavganov@google.com> Notification for changed subtree in accessibility mode not fired properly.

We fire notifications that the a view subtree changed for accessibility.
In some cases the notifications were fired if accessibility is not
enabled. This is now fixed. Also the runnable for making the recurring
subtree change was not dequeued if it was pending but we received a
request which we decided to run immediately.

bug:9337912

Change-Id: I27401b3d11f81c653e8761a704ee530263b08c3a
dapterView.java
f38fd8784487c72983b061fb41b2aef656ccf265 10-Jun-2013 Romain Guy <romainguy@google.com> am 7a6e1297: am 8d8fc469: Merge "Don\'t orphan footers with transient state Bug #8725945" into jb-mr2-dev

* commit '7a6e129759672f0c1b0ce462d389c0f469e7348f':
Don't orphan footers with transient state Bug #8725945
7a6e129759672f0c1b0ce462d389c0f469e7348f 10-Jun-2013 Romain Guy <romainguy@google.com> am 8d8fc469: Merge "Don\'t orphan footers with transient state Bug #8725945" into jb-mr2-dev

* commit '8d8fc469952ffe3feb45e52388f2129f8dd5e40c':
Don't orphan footers with transient state Bug #8725945
b7e0f7942b97c1f88f4aa2338cbf3623fdfdad97 08-Jun-2013 Romain Guy <romainguy@google.com> Don't orphan footers with transient state
Bug #8725945

Selecting text in an EditText causes the View to have transient
state. This would in turn cause the View to be removed from its
ListView parent. When removed, the EditText would lose its
AttachInfo, causing all sorts of problems. Headers and footers
must not be removed, only detached. This is the part of the fix
in AbsListView.

Fixing AbsListView triggered a second bug: when a View is removed
from the Window manager, it would keep its parent assigned, thus
making it impossible to add it again to the window manager. When
a ViewRootImpl goes through doDie(), it must set its content view's
parent to null to properly cleanup.

Change-Id: I0489daa74f8f7fcf85526f0928f8925ec30d4f42
bsListView.java
e918a48df92fd16375c46624df74e6fd4609e016 07-Jun-2013 Alan Viverette <alanv@google.com> Clean up FastScroller. Expand overlay to fit text content.

Bug: 6472526
Change-Id: I1b4d5ca87a1844d372553377294f9b7341f3bfd1
astScroller.java
65ea41541bcf9768679b596646fa66e81ace66b3 07-Jun-2013 Satoshi Kataoka <satok@google.com> Merge "Fix an issue where "SuggestionSpan"s are not removed properly"
494cb689d09a82025b9d892241e62aa149ce3239 07-Jun-2013 Svetoslav <svetoslavganov@google.com> Merge "Optimizing AccessibilityNodeInfo caching."
f69913056b8c6000ff0306573a97971702e8d35a 06-Jun-2013 Romain Guy <romainguy@google.com> Remove unnecessary allocations

Change-Id: Ia561a0a312ca2737d5afa742184f5392bb2f29a3
bsListView.java
e7af0d28668b85b909dcb5996d5ed1da14543f46 06-Jun-2013 Elliott Hughes <enh@google.com> am 340df6c4: am 4d33a8ab: am fa6d6256: Merge "change "next" to "done" in minute IME option under 24-hour format"

* commit '340df6c4f7af79dc085471064211ba01ebd45f0a':
change "next" to "done" in minute IME option under 24-hour format
340df6c4f7af79dc085471064211ba01ebd45f0a 06-Jun-2013 Elliott Hughes <enh@google.com> am 4d33a8ab: am fa6d6256: Merge "change "next" to "done" in minute IME option under 24-hour format"

* commit '4d33a8aba33fa70e1e1a1c713e487a26a090bc25':
change "next" to "done" in minute IME option under 24-hour format
4d33a8aba33fa70e1e1a1c713e487a26a090bc25 06-Jun-2013 Elliott Hughes <enh@google.com> am fa6d6256: Merge "change "next" to "done" in minute IME option under 24-hour format"

* commit 'fa6d6256e9052a5f5155ac97364170f6518e37a4':
change "next" to "done" in minute IME option under 24-hour format
fa6d6256e9052a5f5155ac97364170f6518e37a4 06-Jun-2013 Elliott Hughes <enh@google.com> Merge "change "next" to "done" in minute IME option under 24-hour format"
6254f4806dd3db53b7380e77fbb183065685573e 05-Jun-2013 Svetoslav <svetoslavganov@google.com> Optimizing AccessibilityNodeInfo caching.

1. Before we were firing an accessibility event from the common
predecessor of views with accessibility related state changes
every X amount of time. These events designate that the tree
rooted at the source is invalid and should not be cached.
However, some of the state changes do not affect the view tree
structure and we can just refresh the node instead of evicting
and recaching nodes infos for views that did not change. Hence,
we need a way to distinguish between a subtree changed over a
node changed.

Adding a new event type will not work since if say two siblings
have local changes and their predecessor fires a window state
change event, the client will drop the subtree rooted at the
parent including the two views with changes. Subsequent, more
specialized events emitted from the two changed siblings will
be useless since the parent which did not changed is already
evicted from the cache. Conversely, if the specialized events
are fired from the two siblings with local changes and they
are refreshed in the cache the subsequent window state change
event from the common predecessor will force the refreshed
nodes to be evicted.

Hence, to enable distinction between node being changed and
a subtree baing changed while not changing existing behavior,
we will fire only window content change event with an additional
argument specifying what changed - node or a subtree for now.
Also if the changes are local to a view we fire the window
content changed event from the view. So, the two siblings will
fire such an event independently and the client will know that
these are local changes and can just refresh the node. If the
changes are structural, then we fire the window state change
event from the common predecessor.

2. Added the input type of a text view as one of the properties
reported by an AccessibilityNodeInfo. It is nice to prompt the
user what input is expected.

3. Added a bundle for optional information to AccessiiblityNodeInfo.
For example, it will be used for putting web specific properties
that do not map cleanly to Android specific ones in WebView.

4. AccessibilityInteractionController was not taking into account
whether the current accessibility focused node is shown before
returing it. Hence, a disconnected node would be returned and
caching it puts our cahche in an inconsistent state.

Change-Id: I8ed19cfb4a70bdd7597c3f105487f1651cffd9e0
dapterView.java
heckedTextView.java
ompoundButton.java
extView.java
d6f37d724d3c383bf8e61fe9e8bc9c9691f0cbbc 05-Jun-2013 Alan Viverette <alanv@google.com> Merge "Prevent scroll views from sending duplicate onScrollChanged events."
d7429c15e6f4dd9a43b81d94a1bbf65b17d46a16 05-Jun-2013 Satoshi Kataoka <satok@google.com> Fix an issue where "SuggestionSpan"s are not removed properly

Basically, the root cause of this issue is a lack of an expected implementation.
This change completes the spec of the architecture to remove modified "SuggestionSpan"s.

Bug: 9190860
Change-Id: I63f2ccf3407ae7c1bc28813e044b8703e2112f34
ditor.java
pellChecker.java
extView.java
4bb52a93e9803a62e32fa5cd6f99a7d0135dac3e 05-Jun-2013 Alan Viverette <alanv@google.com> Merge "Always draw dividers for footers and headers when explicitly enabled."
9234a78be286602d257499239d0a4912c3450442 05-Jun-2013 Alan Viverette <alanv@google.com> Merge "Clear pressed state when moving outside list bounds."
e3b8d7fdb1eaaf54005318f3fc6d04c3cac9b467 04-Jun-2013 Joe Malin <jmalin@google.com> am 36d0f946: am e9dff008: am 305cf97b: am 60776093: am 029099ff: am f4b21585: am 10d96950: DOC CHANGE: Clarify textIsSelectable in TextView

* commit '36d0f946adc83a9ffa5483556d263b719977da5d':
DOC CHANGE: Clarify textIsSelectable in TextView
36d0f946adc83a9ffa5483556d263b719977da5d 04-Jun-2013 Joe Malin <jmalin@google.com> am e9dff008: am 305cf97b: am 60776093: am 029099ff: am f4b21585: am 10d96950: DOC CHANGE: Clarify textIsSelectable in TextView

* commit 'e9dff008adc7b6e565402ec61cd89fb3265a28bd':
DOC CHANGE: Clarify textIsSelectable in TextView
e9dff008adc7b6e565402ec61cd89fb3265a28bd 04-Jun-2013 Joe Malin <jmalin@google.com> am 305cf97b: am 60776093: am 029099ff: am f4b21585: am 10d96950: DOC CHANGE: Clarify textIsSelectable in TextView

* commit '305cf97ba7b927f49d3f52952c36cb5102699cc5':
DOC CHANGE: Clarify textIsSelectable in TextView
305cf97ba7b927f49d3f52952c36cb5102699cc5 04-Jun-2013 Joe Malin <jmalin@google.com> am 60776093: am 029099ff: am f4b21585: am 10d96950: DOC CHANGE: Clarify textIsSelectable in TextView

* commit '60776093a5569817040e2f65a17893a381906564':
DOC CHANGE: Clarify textIsSelectable in TextView
60776093a5569817040e2f65a17893a381906564 04-Jun-2013 Joe Malin <jmalin@google.com> am 029099ff: am f4b21585: am 10d96950: DOC CHANGE: Clarify textIsSelectable in TextView

* commit '029099ff56b92201e10b2047e1ced675c8e9f964':
DOC CHANGE: Clarify textIsSelectable in TextView
10d96950c14ae647c2e8435178533cafc78e1afa 30-May-2013 Joe Malin <jmalin@google.com> DOC CHANGE: Clarify textIsSelectable in TextView

Change-Id: Iddfdf7ed82ea3fa2a0160bda4a1e29ec8f815a2b
extView.java
cb25bd8c2b41fad0f65114c42d8f6e732645dd96 04-Jun-2013 Alan Viverette <alanv@google.com> Prevent scroll views from sending duplicate onScrollChanged events.

Moves the call to onScrollChanged from onTouchEvent into onOverScrolled,
which ensures only one of scrollTo or onScrollChanged will be called in
a single execution.

Bug: 7584549
Change-Id: Ibccd98a30835efad75eb41bcdd4b136e1b8e0ddd
orizontalScrollView.java
crollView.java
b9fc4b879bab5640038fb09b40133611f91d7274 04-Jun-2013 Alan Viverette <alanv@google.com> Always draw dividers for footers and headers when explicitly enabled.

Treats headers and footers as "enabled" list items when header and footer
dividers are turned on. Also fixes incorrect drawing of dividers when
"stack from bottom" is enabled.

Bug: 7288159
Change-Id: Ibfc48841502a410357db04aaed01072703c7d36c
istView.java
a4b7965cc2884c6f273c9568e6d52d58cf806172 04-Jun-2013 Romain Guy <romainguy@google.com> Merge "Replace HashMap with ArrayMap to remove unnecessary allocations"
6876b4fb9082fe525d6edb59a834bb0e7c35ca39 03-Jun-2013 Romain Guy <romainguy@google.com> Replace HashMap with ArrayMap to remove unnecessary allocations

This change also fixes a race condition. If multiple UI threads are used
in a single process, RelativeLayouts could end up using the same nodes
in different windows, causing mayhem and headaches.

Change-Id: I9ba4a0bf05d44e1a1e7a82443d40c500c657cd7a
elativeLayout.java
36e337f971649b00841cc3a0e69869769229af14 04-Jun-2013 Romain Guy <romainguy@google.com> Merge "Remove unnecessary lock to save 1 allocation per TextView"
74ded29bd15a80bfc12250520f9595cc1674d4e7 04-Jun-2013 Alan Viverette <alanv@google.com> Clear pressed state when moving outside list bounds.

Bug: 8724943
Change-Id: Ife40ad672c161fef76e62dfd3c7f7fb3b08c3648
bsListView.java
31f0544293fdfc134452c630b4813adc97d05ee7 03-Jun-2013 Romain Guy <romainguy@google.com> Remove unnecessary lock to save 1 allocation per TextView

Change-Id: I4fb885c61b44e57b8abaf3beedf61aaab3ef5d71
extView.java
20914c6ae93b5f4f86c014a0a38f6501e1c59e6c 01-Jun-2013 Alan Viverette <alanv@google.com> Merge "Cleaning up AbsListView, fixing annotations and updating API calls."
66dbeac0e94af70dc4ed93aeba05bdb550ca13be 01-Jun-2013 Alan Viverette <alanv@google.com> Merge "Split AbsListView.onTouchEvent into multiple methods for readability."
8fa327a2fc1af466d59e7fb4969905865aa99a17 31-May-2013 Alan Viverette <alanv@google.com> Cleaning up AbsListView, fixing annotations and updating API calls.

Change-Id: I87ce7714d0cc9e10a1466f474b828f2a27c57e15
bsListView.java
e7f30dc14dce081058d6739f71ae99abe757fc48 31-May-2013 Alan Viverette <alanv@google.com> Split AbsListView.onTouchEvent into multiple methods for readability.

Change-Id: Iaa28b70f9d708857e64c3d857c65aa075ab4208a
bsListView.java
6a3c3b838b44210a1e44f3eb2b7b262b680e8473 31-May-2013 Svetoslav <svetoslavganov@google.com> am 5fecbf9d: am ec586994: Merge "CalendarView header not updated on year change." into jb-mr2-dev

* commit '5fecbf9d10cd6e40204187e6a2970ed113e48350':
CalendarView header not updated on year change.
5fecbf9d10cd6e40204187e6a2970ed113e48350 30-May-2013 Svetoslav <svetoslavganov@google.com> am ec586994: Merge "CalendarView header not updated on year change." into jb-mr2-dev

* commit 'ec58699413ebe4cc2a72a8aae3c420fb3d764457':
CalendarView header not updated on year change.
a085179558e38d114e72b136a59912821d65a49a 29-May-2013 Svetoslav <svetoslavganov@google.com> CalendarView header not updated on year change.

The calendar view was updating its header only if the focused
month changes. Removed the check whether the displayed month
changed before setting it since the setter is carefully called
only in cases when there is a change. Hence, now if the year
or the month change, we update the header. This is the safest
and least intrusive fix.

bug:9167305

Change-Id: I98200bb57580f6416abd30c6c25454d4474add64
alendarView.java
883ffa243d9559aeffda635916913e627e746935 29-May-2013 John Spurlock <jspurlock@google.com> Merge "Hideybars feature confirmation toast bar."
bbf6ecc9810d9be26988ed6f2181cb7f6980ffdf 28-May-2013 Dianne Hackborn <hackbod@android.com> am 4e73e8a8: am 95b79966: am 0a40bef9: Merge "Fix CalendarView to show the month title properly."

* commit '4e73e8a817ff99a19ba9ed6fa68754007731406d':
Fix CalendarView to show the month title properly.
dcf4f2146097eeae6991e6131e5ae96b33fbeda9 21-May-2013 John Spurlock <jspurlock@google.com> Hideybars feature confirmation toast bar.

Enhance Toast to support new standard toast bar style, similar
to the undo bar in Gmail. Toast bars can be interactive,
and can have a single action. Add a new toast duration to
indicate persistent toasts (no auto-hide delay).

Use the new toast bar to implement a feature hint when hiding
the navigation bar in hideybars mode.

Per UX, the feature confirmation bar can also be dismissed on
any outside touch as long as the user confirmed it using the
OK button at least once globally.

Bug: 8754108
Change-Id: Iaa85d3b4da7ada1952a562f1e31de04380f5d587
oast.java
95b79966934864f1e81329de92562ee387ff5700 26-May-2013 Dianne Hackborn <hackbod@android.com> am 0a40bef9: Merge "Fix CalendarView to show the month title properly."

* commit '0a40bef955c937189841b6f1695e8001311758fa':
Fix CalendarView to show the month title properly.
0a40bef955c937189841b6f1695e8001311758fa 26-May-2013 Dianne Hackborn <hackbod@android.com> Merge "Fix CalendarView to show the month title properly."
2e39f5c5cb2eac59b067b68a93b5c454b97a5127 25-May-2013 Dianne Hackborn <hackbod@google.com> Merge "New ArrayMap class."
f4bf0ae2a7c2d9d92c5c8abdb82baa53b4c9ccda 21-May-2013 Dianne Hackborn <hackbod@google.com> New ArrayMap class.

This is a new kind of key/value mapping that stores its data
as an array, so it doesn't need to create an extra Entry object
for every mapping placed in to it. It is also optimized to reduce
memory overhead in other ways, by keeping the base object small,
being fairly aggressive about keeping the array data structures
small, etc.

There are some unit and performance tests dropped in to some
random places; they will need to be put somewhere else once I
decided what we are going to do with this for the next release
(for example if we make it public the unit tests should go in
to CTS).

Switch IntentResolver to using ArrayMap instead of HashMap.

Also get rid of a bunch of duplicate implementations of binarySearch,
and add an optimization to the various sparse arrays where you can
supply an explicit 0 capacity to prevent it from doing an initial
array allocation; use this new optimization in a few places where it
makes sense.

Change-Id: I01ef2764680f8ae49938e2a2ed40dc01606a056b
bsListView.java
4026a797bcc37c600dcb4cd229ef17b7d3bb0711 24-May-2013 Alan Viverette <alanv@google.com> am 14ccf554: Merge "DO NOT MERGE. Fix number picker accessibility focus." into jb-mr2-dev

* commit '14ccf554d0168d94c35c058b057d7d1aca228c6e':
DO NOT MERGE. Fix number picker accessibility focus.
14ccf554d0168d94c35c058b057d7d1aca228c6e 24-May-2013 Alan Viverette <alanv@google.com> Merge "DO NOT MERGE. Fix number picker accessibility focus." into jb-mr2-dev
dbed27e5e431d59142d11c552f7f13483658c35d 24-May-2013 Alan Viverette <alanv@google.com> DO NOT MERGE. Fix number picker accessibility focus.

The node bounds populated by the child TextView were not consistent
with the bounds manually populated for its parent NumberPicker.

Bug: 9072003
Change-Id: Icbfa64f52cf11fd39c7243936227b8ba36280c3c
umberPicker.java
0e2d281083e375d3b0bd44d61dbbef5c6d93921e 22-May-2013 Alan Viverette <alanv@google.com> Fix number picker accessibility focus.

The node bounds populated by the child TextView were not consistent
with the bounds manually populated for its parent NumberPicker.

Bug: 9072003
Change-Id: Icbfa64f52cf11fd39c7243936227b8ba36280c3c
umberPicker.java
2e46b60d844b492d8df8c26ad52824921298bd37 21-May-2013 Adam Powell <adamp@google.com> Merge "Fix out-of-screen item can take focus issue"
ea0735ff12a444ae7e498132ffd7096bfa2f3925 21-May-2013 Fabrice Di Meglio <fdimeglio@google.com> am 5d19f506: am 28df6d3d: Merge "Fix bug #8913650 spinner dropdown(android.R.layout.simple_spinner_dropdown_item) random alignment on RTL." into jb-mr2-dev

* commit '5d19f506b43e9e7e4c27ca70da1d44a58da71d75':
Fix bug #8913650 spinner dropdown(android.R.layout.simple_spinner_dropdown_item) random alignment on RTL.
5d19f506b43e9e7e4c27ca70da1d44a58da71d75 21-May-2013 Fabrice Di Meglio <fdimeglio@google.com> am 28df6d3d: Merge "Fix bug #8913650 spinner dropdown(android.R.layout.simple_spinner_dropdown_item) random alignment on RTL." into jb-mr2-dev

* commit '28df6d3d4f719d4dbdf82751db46e10ff3d044bb':
Fix bug #8913650 spinner dropdown(android.R.layout.simple_spinner_dropdown_item) random alignment on RTL.
28df6d3d4f719d4dbdf82751db46e10ff3d044bb 21-May-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #8913650 spinner dropdown(android.R.layout.simple_spinner_dropdown_item) random alignment on RTL." into jb-mr2-dev
f1cfdcee273a2313f7483582332e2afc2cc62c70 21-May-2013 Svetoslav Ganov <svetoslavganov@google.com> am 5315953b: am 78a4630e: Merge "Taking into account data change for AbsListView when prefetching node infos." into jb-mr2-dev

* commit '5315953b86ee7ca29756504535e124b053286623':
Taking into account data change for AbsListView when prefetching node infos.
5315953b86ee7ca29756504535e124b053286623 21-May-2013 Svetoslav Ganov <svetoslavganov@google.com> am 78a4630e: Merge "Taking into account data change for AbsListView when prefetching node infos." into jb-mr2-dev

* commit '78a4630edaa11846b09bdad84bac18a0441c500a':
Taking into account data change for AbsListView when prefetching node infos.
49fc4dcd4c0d88b74084d6b2a2d843ad17b8a1eb 20-May-2013 Jaewan Kim <jaewan@google.com> Fix out-of-screen item can take focus issue

In case of a ListView has a item which takes more than 33% of its height
(result from getMaxScrollAmount), scroll does not move enough to show
all the item. In this case, consecutive arrow scroll moves selection
everytime while scroll may not move that much.

This fixes the issue by checking the visibility of current selection in
advance.

Bug: 8831751
Change-Id: Ic747bd5513c6734aaf1a1d08e497c1e3ef835004
istView.java
50776863a2a2ed6e4015edc60bacd4f562a907ee 18-May-2013 Svetoslav Ganov <svetoslavganov@google.com> Taking into account data change for AbsListView when prefetching node infos.

We are prefetching accessibility node infos to minimize the number of IPC
calls when an accessibility service introspects the screen. It is however,
possible that the view we are prefetching is a child of an AbsListView whose
adapter changed its data but the AbsListView still did not perform a layout
pass to sync its children with the new adapter state. This may lead to an
exeption when trying to query for the state of a child's position. If the
data of the adapter is changed and the layout pass still not performed,
we return null for the AbsLIstView's children. When the layout pass
completes we already notify the accessibliity layer so it will be able to
refetch the children of the AbsListView.

bug:8433433

Change-Id: I56313c721aef3848b15fad50027d068ba1d291f7
bsListView.java
a423f5033a423bee01c043d48f9d27e8cacb97a0 14-May-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #8913650 spinner dropdown(android.R.layout.simple_spinner_dropdown_item) random alignment on RTL.

- add missing assignment for text direction (mTextDir)
- when layout direction change, update text direction (mTextDir again)

Change-Id: Id600fb0c5897a0d2ee5f9fe18a63437dc3e528d9
extView.java
398051b8ee658c70c39dee04534edf6c968dffdd 15-May-2013 Romain Guy <romainguy@google.com> Revert "Reduce the number of measurement passes in RelativeLayout"

This reverts commit 4cb81d6423ab15ce97575699e5fbc765322ba699.
elativeLayout.java
06ccc77f4849f9f9fc6ef33cd5ef6cfd00898d00 14-May-2013 Svetoslav <svetoslavganov@google.com> am 80127981: am c0a979ce: Merge "Fixing the accessibility text traversal in extend mode." into jb-mr2-dev

* commit '80127981f85a0be842007596830c1675a9a3665e':
Fixing the accessibility text traversal in extend mode.
80127981f85a0be842007596830c1675a9a3665e 14-May-2013 Svetoslav <svetoslavganov@google.com> am c0a979ce: Merge "Fixing the accessibility text traversal in extend mode." into jb-mr2-dev

* commit 'c0a979ce30cf9b96c0a84d0679aeeef7153a22fa':
Fixing the accessibility text traversal in extend mode.
c0a979ce30cf9b96c0a84d0679aeeef7153a22fa 14-May-2013 Svetoslav <svetoslavganov@google.com> Merge "Fixing the accessibility text traversal in extend mode." into jb-mr2-dev
abad55d860be793b8b9b3e288a74214da89fb368 08-May-2013 Svetoslav <svetoslavganov@google.com> Fixing the accessibility text traversal in extend mode.

We added APIs to allow an accessibility service to extend the
selection while moving the cursor at a given granularity such
as word, character, etc. The problem is that the traversal was
extending only the end of the selection while moving forward
and the start of the selection while moving backward. This leads
to a case in which the user cannot shrink/extend the selection
because for example instead of shrinking the end of the selection
the implementation was extending the start.

Now extending the selection moves only the selection end. This is
the same behavior as text view using a keyboard.

Tests: https://googleplex-android-review.googlesource.com/#/c/307062

bug:8839844

Change-Id: Id6965b102647df909f61301fcc8ec05458dd5881
extView.java
a7bf9d363a5a819be5a7a98b8262735a62a0f05e 11-May-2013 Romain Guy <romainguy@google.com> Merge "Reduce the number of measurement passes in RelativeLayout"
4cb81d6423ab15ce97575699e5fbc765322ba699 11-May-2013 Romain Guy <romainguy@google.com> Reduce the number of measurement passes in RelativeLayout

Change-Id: I96ad8676f6344a1e0877f9dfbe782747bc0ff36d
elativeLayout.java
6f3a6a453ac55ac2974d32ead4615746594382c8 11-May-2013 Svetoslav <svetoslavganov@google.com> am 1e4c6589: am b3c2b21b: Merge "Accessibility should not query for list items when data set changed." into jb-mr2-dev

* commit '1e4c6589941e459871eed6e9d4675b05d977325c':
Accessibility should not query for list items when data set changed.
1e4c6589941e459871eed6e9d4675b05d977325c 10-May-2013 Svetoslav <svetoslavganov@google.com> am b3c2b21b: Merge "Accessibility should not query for list items when data set changed." into jb-mr2-dev

* commit 'b3c2b21b5ba30d82938ae2ef93d8120f5fd0cc80':
Accessibility should not query for list items when data set changed.
b3c2b21b5ba30d82938ae2ef93d8120f5fd0cc80 10-May-2013 Svetoslav <svetoslavganov@google.com> Merge "Accessibility should not query for list items when data set changed." into jb-mr2-dev
c08d4d99e2ee96a18880b4d4818af1d8ed4ebf0a 10-May-2013 Marco Nelissen <marcone@google.com> am 1d3488cb: am 86e0b491: Merge "Add VideoView.getAudioSessionId()" into jb-mr2-dev

* commit '1d3488cba90bea114c9c5e8f0d4a008d2aa34bfd':
Add VideoView.getAudioSessionId()
1d3488cba90bea114c9c5e8f0d4a008d2aa34bfd 10-May-2013 Marco Nelissen <marcone@google.com> am 86e0b491: Merge "Add VideoView.getAudioSessionId()" into jb-mr2-dev

* commit '86e0b491d1b50e59221420de3005184b1dee8373':
Add VideoView.getAudioSessionId()
13bfebd6b70ebfd8ad0d1aa24a92178ebff3565b 10-May-2013 Marco Nelissen <marcone@google.com> Add VideoView.getAudioSessionId()

This lets apps get the audio session id of the video being played, so
they can apply effects to the audio track.
b/8767565

Change-Id: Iaa39d97d0b6fb528ed04b52d579afa58444ebcfe
ediaController.java
ideoView.java
5b578daac9cea174b15fcd13528270270aadd8a2 08-May-2013 Svetoslav <svetoslavganov@google.com> Accessibility should not query for list items when data set changed.

AbsListView is backed by an adapter. After the adapter data changes
the view sets a flag that its state is dirty and requests a layout.
If an accessibility service asks for the state of a list item at
this point, it may incur an error since the views and the adapter
are not in sync.

Now if an accessibility service queries for a list item when the
data set is changed and the item views are dirty, we pretend the
children do not exist. After the layout happens, we notify the
accessibility layer that the screen content changed so it can
refetch the views if desired (this notification mechanism is
already in place in AbsListView#handleDataChanged()).

bug:8433433

Change-Id: I4287a0ac2ef6bb33f1f988d5ddad973556c305ca
bsListView.java
3aa49b6fece334ace7525d42c1f6d0b7cdc1fbfb 27-Apr-2013 Dianne Hackborn <hackbod@google.com> New UndoManager.

Basic implementation of an undo manager. Supports
multi-level undo/redo, building on the top undo state
as edits occur, managing multiple distinct entities in
the undo state (such as embedded objects in a document),
and saving/restoring the full undo state. Still some
work remaining on correctly dealing with dependencies
between undo states that hold multiple owners.

Also do a simple implementation of undo state in TextView
to see how things actually work. The implementation here
is very primitive: it needs a lot more work to correctly
identify when to merge undo ops, is not trying to do
anything smart with style spans, etc.

Change-Id: Ie30f4e133351e2f569ffb48c6c44a2b19cadee27
ditor.java
extView.java
78cdc55f74bbbccf882a7ea5b2b1cf2dc41c87ca 31-Jan-2013 Jorn Jacobsson <jorn.jacobsson@sonymobile.com> Consider mScrollX when drawing the checkMarkDrawable

When mScrollX has a very large value the checkmark will not show,
unless it is considered when setting the bounds of the drawable.

Change-Id: Ic4c9bce950816686622baa7330ebb2e69ecfb8e6
heckedTextView.java
c3bc1b671e3a4feb4f6d2693199f15e42c256fd4 01-May-2013 Elliott Hughes <enh@google.com> am c255800f: am 6d82f86f: Merge "Show CJK dates as all-numeric in the DatePicker."

* commit 'c255800fb0f46ea5f68d2c145605ac7dcd3a89b6':
Show CJK dates as all-numeric in the DatePicker.
c255800fb0f46ea5f68d2c145605ac7dcd3a89b6 01-May-2013 Elliott Hughes <enh@google.com> am 6d82f86f: Merge "Show CJK dates as all-numeric in the DatePicker."

* commit '6d82f86fa01800ee0523743366e0dc1113178fd9':
Show CJK dates as all-numeric in the DatePicker.
949e9df25bccb736675f950591d3a286ae4052fc 30-Apr-2013 Elliott Hughes <enh@google.com> Show CJK dates as all-numeric in the DatePicker.

Before, we'd have something like 2006 4月12. After, we have 2006 4 12.
The alternative would require using custom NumberPicker.Formatter instances
for the year and day fields in these locales, and that seems significantly
more disruptive.

Bug: 8766552
Change-Id: I568578aae2f80f2acfc53cd277ef3beae6743472
atePicker.java
a5e5196becb434fe5e481f0f15674a657cd1f438 30-Apr-2013 Elliott Hughes <enh@google.com> am 76c643c9: am e3f2735f: Merge "when locale is non-Enligh, sometimes month spinner needs a number IME"

* commit '76c643c9b600ef31c22f807c2874c879a7fa5069':
when locale is non-Enligh, sometimes month spinner needs a number IME
0520146c41764ae215aafed56f96eaab4085d1d2 30-Apr-2013 Romain Guy <romainguy@android.com> am 55828af2: am 6628ee7a: Merge "HeaderViewListAdapter: Correct thrown error names."

* commit '55828af26ce0090c6c80a300d27d1064ce1b74c6':
HeaderViewListAdapter: Correct thrown error names.
76c643c9b600ef31c22f807c2874c879a7fa5069 30-Apr-2013 Elliott Hughes <enh@google.com> am e3f2735f: Merge "when locale is non-Enligh, sometimes month spinner needs a number IME"

* commit 'e3f2735fcfd8dafd226200d5cf219a6f82c9cc0c':
when locale is non-Enligh, sometimes month spinner needs a number IME
55828af26ce0090c6c80a300d27d1064ce1b74c6 30-Apr-2013 Romain Guy <romainguy@android.com> am 6628ee7a: Merge "HeaderViewListAdapter: Correct thrown error names."

* commit '6628ee7a46a56cdc28d409e6fd74afc34bd24c5b':
HeaderViewListAdapter: Correct thrown error names.
e3f2735fcfd8dafd226200d5cf219a6f82c9cc0c 30-Apr-2013 Elliott Hughes <enh@google.com> Merge "when locale is non-Enligh, sometimes month spinner needs a number IME"
31872fd7ce5bf83dfd91a92889fdfda4b9f88d58 30-Apr-2013 Elliott Hughes <enh@google.com> am a99595a3: am afe56810: Merge "Fix DatePicker\'s spinner order in various locales."

* commit 'a99595a393341b6a130e202bc9e93848ee53057b':
Fix DatePicker's spinner order in various locales.
a99595a393341b6a130e202bc9e93848ee53057b 30-Apr-2013 Elliott Hughes <enh@google.com> am afe56810: Merge "Fix DatePicker\'s spinner order in various locales."

* commit 'afe56810517a4ddfad125029ca04fd4cc5af2ef5':
Fix DatePicker's spinner order in various locales.
6628ee7a46a56cdc28d409e6fd74afc34bd24c5b 30-Apr-2013 Romain Guy <romainguy@android.com> Merge "HeaderViewListAdapter: Correct thrown error names."
62b2bb80f6b698571af766dec06100359bf1af7c 30-Apr-2013 Taylor H. Perkins <taylorhp@gmail.com> HeaderViewListAdapter: Correct thrown error names.

When accessing an invalid entry of the list, an IndexOutOfBounds exception is thrown, not an ArrayIndexOutOfBounds exception.

Change-Id: I3cf59faab004fa6391d84f30f280e0c9bd92dc44
Signed-off-by: Taylor H. Perkins <taylorhp@gmail.com>
eaderViewListAdapter.java
9e37d590a67fca54b29a187f2a177e86ef9085b6 30-Apr-2013 Romain Guy <romainguy@google.com> Merge "Fix TextClock documentation Bug #8670351"
09b1994c4d3c47bfa41374a4d420eb5110b9a48a 30-Apr-2013 Romain Guy <romainguy@google.com> Fix TextClock documentation
Bug #8670351

Change-Id: I87a906b85b51f44d9dcecb6f137db53886323ad7
extClock.java
659f145278ffd85f934a435dbec47ead685caf59 30-Apr-2013 Elliott Hughes <enh@google.com> Fix DatePicker's spinner order in various locales.

DatePicker always effectively uses yyyy MMM dd, so we need to ask
icu4c what order those should appear in for the user's locale. The
existing DateFormat code was an approximation that worked for en_US
but not for all languages (fa being one example).

Bug: 7207103
Change-Id: I7b12568dbc02522ebad6e1db5f8426109cd6f7ce
atePicker.java
3fc184cf6e6f3e1d3e3360be11c76e0d081afaa1 26-Apr-2013 Scott Main <smain@google.com> am 01e48e7d: am 22f6a60e: Merge "add docs for new attributes, including account restriction for restricted profiles" into jb-mr2-dev

* commit '01e48e7d1541920ece358257e4c2481936497835':
add docs for new attributes, including account restriction for restricted profiles
b40c1fdaee6e6cabea8d1ed78f56d5b6bd133cfb 23-Apr-2013 Scott Main <smain@google.com> add docs for new attributes, including account restriction for restricted profiles

Change-Id: I737ea55bfa58562b1b384e52626e95b479759376
rogressBar.java
1b7c791adf6d5e113cd07fa1a9cbef310f79145a 25-Apr-2013 Romain Guy <romainguy@google.com> Revert "Skip 2nd measure pass whenever possible"

This reverts commit e8fb03c05899c00f55ab1990e1b16038e82d1167.
elativeLayout.java
e8fb03c05899c00f55ab1990e1b16038e82d1167 25-Apr-2013 Romain Guy <romainguy@google.com> Skip 2nd measure pass whenever possible

If the height measured during the horizontal pass fits within the
constraints of the vertical pass we can skip the second call to
child.measure().

Change-Id: I3aebf78967e5920ffb28bbe8985ca7a426327a82
elativeLayout.java
fb2563103b4f377867c5fa556217987903f73052 24-Apr-2013 Svetoslav <svetoslavganov@google.com> am 939ff0ac: am 4c783066: Merge "Fixing bugs exposed when moving accessibility CTS tests to UiAutomation." into jb-mr2-dev

* commit '939ff0acff8a21a023d79214130680a66214840f':
Fixing bugs exposed when moving accessibility CTS tests to UiAutomation.
4c78306617dd67b92fdf19101c5dfde4e21172d9 24-Apr-2013 Svetoslav <svetoslavganov@google.com> Merge "Fixing bugs exposed when moving accessibility CTS tests to UiAutomation." into jb-mr2-dev
db7da0eb8b7d515c168d5b410764e24c9a0f9431 23-Apr-2013 Svetoslav <svetoslavganov@google.com> Fixing bugs exposed when moving accessibility CTS tests to UiAutomation.

1. UiAutomation#executeAndWaitForEvent method was invoking the passed
runnable while holding the lock which may lead to a deadlock. For
example: a runnable that calls getActivity() gets us into a state
like this.

2. UI automation services did not get all capabilities such a
service can have. Now a UI test service gets all of them.

3. When UiAutomation was exiting for event fired as a result of a
performed action, it was checking whether the received evnet time
is strictly before the time of executing the command that should
fire the event. However, if the execution is fast enough, i.e.
less than one millisecond, then the event time and the execution
time are the same. This was leading to a missed signal in rare
cases.

4. AccessibilityNodeInfoCache was not clearing the relevant state
for accessibility focus clearing event.

5. Accessibility text traversal in TextView was partially using text
and partially content description - broken. Now we are using the
text since for text view and content desc for other views. In other
words, we are using the most precise text we have.

6. AccessibilityManagerService was not granting capabilities of a
UiAutomation service - plainly wrong.

CTS change:https://googleplex-android-review.googlesource.com/#/c/300693/

bug:8695422
bug:8657560

Change-Id: I9afc5c3c69eb51f1c01930959232f44681b15e86
extView.java
876e4978c0a8873f39d2821ce601bbddbf0268aa 24-Apr-2013 Philip Milne <pmilne@google.com> am 6edbfb9c: am a6d5109d: Merge "Fix for bug 8578258." into jb-mr2-dev

* commit '6edbfb9cdc4d3a83d424565371e78dcdb9a0bb30':
Fix for bug 8578258.
3c647d23e5e00b5663f344b7c3f0ab38d74cf720 23-Apr-2013 Philip Milne <pmilne@google.com> Fix for bug 8578258.

The fix in:

https://googleplex-android-review.googlesource.com/#/c/300346/

worked but the constant used had an extra trailing zero - which was confusing
and put a 1 in the 'flag' space of the measurement spec.

The intended number was:

0x00800000

Unfortunately, this intended constant doesn't fix this bug.

The constant submitted in this fix is:

0x00010000

which is outside the 'flag' space of measurement specs and appears to steer clear of overflow
problems in the scenario of this bug.

As suggested in the submission above, it would be preferable to rework of the RTL code to avoid
the use of such a constant as it seems very unlikely indeed that any choice of integer can
avoid problems in all cases.

Change-Id: I0c6744257ef2aebe8dbc8c041a447f9b90ee4b84
elativeLayout.java
e11d9ed3ecb4a1fa8e3e7408118e1575c7eb9538 23-Apr-2013 Philip Milne <pmilne@google.com> am 089a75be: am a7b2625d: Merge "Fix for bug 8578258: GridLayout is forcing wrong width to TextView widgets" into jb-mr2-dev

* commit '089a75be5e33e13071754a727902224b6db60168':
Fix for bug 8578258: GridLayout is forcing wrong width to TextView widgets
a7b2625d43a8e83e3fb47ca261efad6e3f6fcde9 23-Apr-2013 Philip Milne <pmilne@google.com> Merge "Fix for bug 8578258: GridLayout is forcing wrong width to TextView widgets" into jb-mr2-dev
ca2e9e1122ba8b83d05bd144d0be31e8a3c30537 22-Apr-2013 Philip Milne <pmilne@google.com> Fix for bug 8578258: GridLayout is forcing wrong width to TextView widgets

GridLayout is working as intended here. The bug is appears to be in RelativeLayout
(and possibly LinearLayout).

The value of RelativeLayout.DEFAULT_WIDTH = Integer.MAX_VALUE/2 is 0x3FFFFFFF has bits
set in the range that is used to flag certain conditions and states by the layout system.

In View we have:

MEASURED_SIZE_MASK = 0x00ffffff
MEASURED_STATE_MASK = 0xff000000;
MEASURED_STATE_TOO_SMALL = 0x01000000

This change fixes this bug, though it looks as if that a safer solution would be to not introduce
this constant and code path in the first place - as RelativeLayout's measurement algorithm operates
in the LTR case without it.

Change-Id: I01c51ae854620f08dd63047594486a3464c86f3a
elativeLayout.java
684634144b15e4da0ed04baa2c4531ef538652a6 21-Apr-2013 Chet Haase <chet@google.com> am 371d4ccc: am 339ac854: Merge "Fix quickReject logic to account for setClipChildren() setting" into jb-mr2-dev

* commit '371d4cccde56ec4d26e51f8e82ef68f196169a3d':
Fix quickReject logic to account for setClipChildren() setting
339ac85483145972da010ad34cbcb29ed70cb822 20-Apr-2013 Chet Haase <chet@google.com> Merge "Fix quickReject logic to account for setClipChildren() setting" into jb-mr2-dev
dd671599bed9d3ca28e2c744e8c224e1e15bc914 19-Apr-2013 Chet Haase <chet@google.com> Fix quickReject logic to account for setClipChildren() setting

The rendering code optimizes by rejecting drawing operations that
lie outside of the bounds of their views. This works in most
situations, but breaks down when containers have called
setClipChildren(false), because we reject drawing that is outside
of that container, but which should be drawn anyway.

Fix is to pass in the value of that flag to the DisplayList drawing
routines which take that flag into account when deciding whether
to quickReject any particular operation.

Issue #8659277 animation clipping

Change-Id: Ief568e4db01b533a97b3c5ea5ad777c03c0eea71
ditor.java
1027ea47430e55df91f556a911e6431f72f00ce7 19-Apr-2013 Philip Milne <pmilne@google.com> am 696b15e5: am 68711f93: Merge "Revert "Simple MVC based binding mechanism for android controls."" into jb-mr2-dev

* commit '696b15e52659abdf8852dc60f09fe79edba435e0':
Revert "Simple MVC based binding mechanism for android controls."
68711f936381310fad783f2500e59dc2f272618a 19-Apr-2013 Philip Milne <pmilne@google.com> Merge "Revert "Simple MVC based binding mechanism for android controls."" into jb-mr2-dev
ab104ba6d437ebfa3a6315f93258432091b11e95 19-Apr-2013 Philip Milne <pmilne@google.com> Revert "Simple MVC based binding mechanism for android controls."

Fix for bug 8656899 API REVIEW:
android.util.PropertyValueModel/ValueModel,
android.widget.ValueEditor etc

Revert the change that added this API to remove it outright.

This reverts commit 989709a973448980f36dacd587b0a58f89ffa11e

Change-Id: I9018cd8dadb1b1a54ad8749c816bd02bb7e7a38b
heckBox.java
ditText.java
eekBar.java
alueEditor.java
aff9c7652e951e5a583b4313393825529e44ff72 19-Apr-2013 Svetoslav Ganov <svetoslavganov@google.com> am 8a28c2c2: am d1f765c0: Merge "Fix restoration of virtual accessibility focus in ListView." into jb-mr2-dev

* commit '8a28c2c2a02c389f3702af9678fa419f2d3c86d7':
Fix restoration of virtual accessibility focus in ListView.
d1f765c009ec28484792b9d847fa0c41e6b943e0 19-Apr-2013 Svetoslav Ganov <svetoslavganov@google.com> Merge "Fix restoration of virtual accessibility focus in ListView." into jb-mr2-dev
61cc1b632ad250c359499173f37b9f013f0f9415 18-Apr-2013 Craig Mautner <cmautner@google.com> Merge "Steady improvement to multi stack."
c2832775517030c0950ab1bdb1c6278df7e0e643 17-Apr-2013 Adam Cohen <adamcohen@google.com> am f4865efe: am be8bc839: Merge "DO NOT MERGE Stripping some new widget API that is yet unused" into jb-mr2-dev

* commit 'f4865efe603e795bc037f5df468556140165eea2':
DO NOT MERGE Stripping some new widget API that is yet unused
be8bc8392e203a661242b0637ce25bd05c292306 17-Apr-2013 Adam Cohen <adamcohen@google.com> Merge "DO NOT MERGE Stripping some new widget API that is yet unused" into jb-mr2-dev
29219d963d1ec29ddea3e5814eb82c2aeaccc1ac 17-Apr-2013 Craig Mautner <cmautner@google.com> Steady improvement to multi stack.

- Fix back button behavior with two stacks. Stopping activities were
held in that state indefinitely. This change causes IDLE_NOW_MSG to
be sent immediately for the last activity in a stack.

- Touch in non-focused stack was being ignored because of focus tests
in AbsListView.

- Change the focused stack when the activity focus changes. Renamed
mMainStack to mFocusedStack to reflect this.

- Resume all top stack activities when resuming.

- Assign intent task to ActivityRecord if it doesn't have a task.
Fixes bug 8433463.

Change-Id: I8d3c806234511697bc209ab99890730ffa514d20
bsListView.java
33f3aab220e083a4af975786e941cf42d380871f 17-Apr-2013 Adam Cohen <adamcohen@google.com> DO NOT MERGE Stripping some new widget API that is yet unused

Change-Id: I7a7156f30aa9105461908f66426950d13eb01408
emoteViews.java
d05849e8878ab1871465f9433ce38cc3e5f87027 17-Apr-2013 Philip Milne <pmilne@google.com> am a1ea8019: am 61527436: Merge "Fix for bug 8272673: GridLayout in battery details is cut off." into jb-mr2-dev

* commit 'a1ea801956c4727656ef25177b1bb4c5b788cde7':
Fix for bug 8272673: GridLayout in battery details is cut off.
61527436b7fd5d8dd42eaf8052c02816e6a13887 17-Apr-2013 Philip Milne <pmilne@google.com> Merge "Fix for bug 8272673: GridLayout in battery details is cut off." into jb-mr2-dev
e0b85cd706da22d1eeeba92b842662d69090dbc5 12-Apr-2013 Philip Milne <pmilne@google.com> Fix for bug 8272673: GridLayout in battery details is cut off.

Change-Id: Iabcc2d2c486162cf88990eb1a25aca2e7558a57c
ridLayout.java
0c6d1ba9dbfbd9d93b266ff3b9489f278849c4da 17-Apr-2013 Fabrice Di Meglio <fdimeglio@google.com> am fa681f12: am 09d0ee26: Merge "Fix bug #8629386 FastScroller is on the wrong side when switching to Hebrew in a RTL enabled app" into jb-mr2-dev

* commit 'fa681f12ec645eaf2831e75abdd32c9987d6afa0':
Fix bug #8629386 FastScroller is on the wrong side when switching to Hebrew in a RTL enabled app
3a1f1e5beaceeca5a53353fc9896202a9cfabf91 17-Apr-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #8629386 FastScroller is on the wrong side when switching to Hebrew in a RTL enabled app

- in AbsListView, force setScrollbarPosition() when RTL properties change
- in FastScroller, invalidate the correct rectangle when in RTL mode and in STATE_EXIT

Change-Id: Ie9fe4f826e179eb993e443d10e171b9dda3b6f3f
bsListView.java
astScroller.java
11f796ed46cc1fc0a92166135fd7adaea29d6821 16-Apr-2013 Alan Viverette <alanv@google.com> Fix restoration of virtual accessibility focus in ListView.

BUG: 8630013
Change-Id: Ifb7281cc4e8537b8c26040abd2abb25663ac3d21
istView.java
1d9648df5198cbc47ecb836ce084e9258624e0d2 13-Apr-2013 Chet Haase <chet@google.com> am d04215c4: am 0a41431d: Merge "API and doc cleanup, plus small animation/UI features" into jb-mr2-dev

* commit 'd04215c440e7b7f4bbfe8aaa9a47ccdf3a8dacf5':
API and doc cleanup, plus small animation/UI features
0a41431d697a34e7fe4ed2c481484d7a63949037 13-Apr-2013 Chet Haase <chet@google.com> Merge "API and doc cleanup, plus small animation/UI features" into jb-mr2-dev
430742f09063574271e6c4091de13b9b9e762514 12-Apr-2013 Chet Haase <chet@google.com> API and doc cleanup, plus small animation/UI features

Adding features which round out the animation APIs (missing
getters, etc.). Also fix doc typos.

Issue #8350510 Add APIs needed for future animation capabilities

Change-Id: I063736848ba26e6d6c809b15fc3a103c74222f46
mageView.java
c1f5756c2399a62649ceed647a75732260e3110a 12-Apr-2013 Raph Levien <raph@google.com> am 1aa52487: am 6c072401: Merge "Fix for bug 8500202: Right-to-left text not showing in list view" into jb-mr2-dev

* commit '1aa524878591dce809000e7263378138ccd6a25a':
Fix for bug 8500202: Right-to-left text not showing in list view
6c0724010f1a98e391827109c2c369b64197c449 12-Apr-2013 Raph Levien <raph@google.com> Merge "Fix for bug 8500202: Right-to-left text not showing in list view" into jb-mr2-dev
f5cf6c9d4472e99caf4c9a3525d7b10cdf1e1c9f 12-Apr-2013 Raph Levien <raph@google.com> Fix for bug 8500202: Right-to-left text not showing in list view

In single line mode, changing the text from LTR to RTL (or vice versa)
affects the alignment, which in turn means that bringTextIntoView is
needed to update the scrolling. A registerForPredraw should be done to
make this happen, but it was missing. This patch tests explicitly for
direction changes in this case, and schedules a predraw if so.

Change-Id: I16e0e23141c244dc8adc00ea8306dfe4c9bf487d
extView.java
96694ee2641bda2a936c1453c94caba307ecd778 11-Apr-2013 Adam Powell <adamp@google.com> am 4348fcdd: am 8d06cc6d: Merge "Permit null adapters in Spinners" into jb-mr2-dev

* commit '4348fcdddac18b6833f04f8548573a1e033c05d1':
Permit null adapters in Spinners
72d574cbe0448f125e452140f13dce20e02ed960 10-Apr-2013 Adam Powell <adamp@google.com> Permit null adapters in Spinners

Bug 8538144

Change-Id: I83f0ae78ce15f46827fb721cd0df1972b7d9d198
pinner.java
dc614479fe347f005cde25a464be0c53da4e929b 10-Apr-2013 Adam Powell <adamp@google.com> am a26ec11a: am 1e1ccfb8: Merge "Fix a monkey bug with AbsListView data set observers" into jb-mr2-dev

* commit 'a26ec11a1e5e95bd7704be59d75145ba48d1ee6d':
Fix a monkey bug with AbsListView data set observers
bd1dd0d51ae07f4fc5de5ec0004e7e40ed205022 10-Apr-2013 Adam Powell <adamp@google.com> Fix a monkey bug with AbsListView data set observers

Several conditions can cause an AbsListView's data set observer to be
removed and nulled out. If for some reason the view receives duplicate
onDetachedFromWindow events this could cause AbsListView to attempt to
unregister a null observer. Skip this unregister process if this
happens.

Bug 7088152

Change-Id: Ib0c630d1ee598640512023e4ef158f01e3ed474d
bsListView.java
e9a74a1a31f82391d44840aa17293021fcab6837 20-Mar-2013 Hyejin Kim <hyejin.kim@lge.com> when locale is non-Enligh, sometimes month spinner needs a number IME

When locale is non-English like korean, chinese, etc.,
month displayed string is started with number.

So, It's better to use Number IME for month selection.

Change-Id: If0444d62679b1f31d98fdedd2f06c2d445cade2a
atePicker.java
f4bb4a2e7dae8c02a973b32ecbf9b774bb90b2d7 09-Apr-2013 Michael Wright <michaelwr@google.com> am b74df06f: am 605994d6: Merge "Fix off by one in ListView\'s upward focus traversal" into jb-mr2-dev

* commit 'b74df06f9c8a7b691fae6e29c1e7c4486168ad8f':
Fix off by one in ListView's upward focus traversal
b482a001f117d0da3599475a293da736fccd4d2c 08-Apr-2013 Michael Wright <michaelwr@google.com> Fix off by one in ListView's upward focus traversal

Bug: 7985315
Change-Id: Ic67c8e346d6b51a5cfb05cc7d0c2b145b591b2db
istView.java
9babf58c305c261b0300cd27c560daf9ff279829 08-Apr-2013 Nick Kralevich <nnk@google.com> am c2fba075: am 8e181c56: Merge "AppSecurityPermissions: minor UI changes" into jb-mr2-dev

* commit 'c2fba0750df431bb44a6873f04aac2d3e8e75de3':
AppSecurityPermissions: minor UI changes
8e181c56b3abc4e57f178849a8b6cef750913d5a 08-Apr-2013 Nick Kralevich <nnk@google.com> Merge "AppSecurityPermissions: minor UI changes" into jb-mr2-dev
50dde857edb34db12752ea6693c92af95eb939c6 08-Apr-2013 Romain Guy <romainguy@google.com> am 0899f11d: am dcaa9436: Merge "Always take padding and margins into account Bug #8565842" into jb-mr2-dev

* commit '0899f11db1f10b1ac664cb4bb62b829ea464cac8':
Always take padding and margins into account Bug #8565842
76d59a3b7b3ceea1d0854e588532cfc91b44201d 08-Apr-2013 Romain Guy <romainguy@google.com> Always take padding and margins into account
Bug #8565842

Change-Id: I8ee398b5c36b3011950265eb7e22cc8338f1aeee
elativeLayout.java
98cbcf1b508f30b7ea56ab04477e2f95c5685b43 08-Apr-2013 Nick Kralevich <nnk@google.com> AppSecurityPermissions: minor UI changes

1) Make the box with the permission really go away when a
permission is revoked, not just invisible.
2) Change the order of the buttons, making the negative
button the "revoke" button, and the positive button "ok".

Change-Id: I73694583cbd014d3820f8df6c6b770caae299499
ppSecurityPermissions.java
1a0a2c8e77eb407475fc114728aee2a6cfb3a588 07-Apr-2013 Nick Kralevich <nnk@google.com> am b21b2c38: am a56b78dc: fix build

* commit 'b21b2c38e54b655a06aeb2d810438c7bd2413637':
fix build
a56b78dcd1292a4291d85113bdeeda8496c1a0c0 07-Apr-2013 Nick Kralevich <nnk@google.com> fix build

Change-Id: I7f3b8a4df84630f40f5a3f19434df86b6287fb75
ppSecurityPermissions.java
e4037e4fa45ad98a16697e0801948ac8ceae8303 07-Apr-2013 Nick Kralevich <nnk@google.com> am 16843d84: am d7c4186a: Merge "AppSecurityPermissions: add support for revoking permissions" into jb-mr2-dev

* commit '16843d84889ec4904b3ddef5d2f131efebfc433c':
AppSecurityPermissions: add support for revoking permissions
ddfbe00b66fe98bd359efcbfdd463063f9a47303 06-Apr-2013 Nick Kralevich <nnk@google.com> AppSecurityPermissions: add support for revoking permissions

Add UI support for revoking optional permissions. When the user
taps on an optional permission, two new boxes will appear:

[Cancel] | [Revoke]

Selecting [Revoke] will revoke the permission from the app.

The [Cancel] / [Revoke] options are only shown for apps which support
optional permissions.

Bug: 8332307
Change-Id: I27e374773747737e3a6d7f48ea1448a0178e3393
ppSecurityPermissions.java
c9728cfa2a4411faf945e831241373361cfcd644 04-Apr-2013 kmccormick <kmccormick@google.com> am 22da6f04: am e10b600d: am 984f94ee: am f29ca256: am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs

* commit '22da6f04b33173be9e6aacabc29869998395d271':
Doc update: unterminated code tags
e10b600d5da413f9633ed97aefcdbd3f949637a5 04-Apr-2013 kmccormick <kmccormick@google.com> am 984f94ee: am f29ca256: am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs

* commit '984f94ee4c4ef0196d9b2c149d0a42f20b72bebf':
Doc update: unterminated code tags
984f94ee4c4ef0196d9b2c149d0a42f20b72bebf 04-Apr-2013 kmccormick <kmccormick@google.com> am f29ca256: am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs

* commit 'f29ca256a4340a3d550d2c4a39a2e6a29a3ce850':
Doc update: unterminated code tags
f29ca256a4340a3d550d2c4a39a2e6a29a3ce850 04-Apr-2013 kmccormick <kmccormick@google.com> am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs

* commit '57b73b4a1d6ea84ae42c407ecb258829ab8dfa2c':
Doc update: unterminated code tags
43d5abbf0343a1761814ce1743e40a6688a72e4c 04-Apr-2013 kmccormick <kmccormick@google.com> Doc update: unterminated code tags

"Bug: 7250069"

Change-Id: I4c3eca8eacad6d0aced9f38788726ba95b914d5d
hareActionProvider.java
5c1994eeff841ab6c44113d7138bc4e34e6694dd 04-Apr-2013 Jeff Sharkey <jsharkey@android.com> am 04e740a6: am 0f8e8b03: Merge "Warn when exposing file:// Uris beyond a process." into jb-mr2-dev

* commit '04e740a65e2399c4a4b211408bd84f2d545d9f4a':
Warn when exposing file:// Uris beyond a process.
a14acd20b8d563319ea1a5974dca0e9a29f0aaef 03-Apr-2013 Jeff Sharkey <jsharkey@android.com> Warn when exposing file:// Uris beyond a process.

Check for file:// Uris inside Intents, ClipData, Notifications and
RemoteViews when StrictMode option is enabled.

Also introduces Intent.prepareToLeaveProcess() to uniformly handle
Intents about to leave an app process.

Bug: 8529070
Change-Id: I8efb43877cbc5f21eb029fc6492b3ee1415059ef
emoteViews.java
1c63fd4a9434cede94b476bd142bcfabfd69dd17 27-Mar-2013 Nick Kralevich <nnk@google.com> am 7306da90: am 4b254881: Merge "AppSecurityPermissions: Add isGranted to isDisplayablePermission" into jb-mr2-dev

* commit '7306da907563953dda5a032fc5c11ad3e1f1a9de':
AppSecurityPermissions: Add isGranted to isDisplayablePermission
4b2548815df45b3aa6a8144abeeaea504ee6f7b1 27-Mar-2013 Nick Kralevich <nnk@google.com> Merge "AppSecurityPermissions: Add isGranted to isDisplayablePermission" into jb-mr2-dev
9a8c46f64e9fb1bff30d16a3f6a16e8f261f1225 27-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> am fc7a1020: am a803b094: Merge "Fix bug #8480245 ViewGroup layout margins can be wrong in RTL mode" into jb-mr2-dev

* commit 'fc7a1020716d86204e7190b899a2e30fba4e9055':
Fix bug #8480245 ViewGroup layout margins can be wrong in RTL mode
0072f64939b37a4d84940656c2180ad2e0594ff4 26-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #8480245 ViewGroup layout margins can be wrong in RTL mode

- fix resolution of MarginLayoutParams
- update related RelativeLayout code

Change-Id: I261f127a8897f60d316fed2a73e6e76020e542cc
elativeLayout.java
7a8c135177d860d713e3e905a792925c160fb177 27-Mar-2013 Nick Kralevich <nnk@google.com> AppSecurityPermissions: Add isGranted to isDisplayablePermission

Modify isDisplayablePermission to display a permission if the
app update will grant a new optional permission to the app.

Change-Id: Ic647826b0c48f9f7ec8e4f69b90197211f83278d
ppSecurityPermissions.java
07eb51ece083a48b0e28ba5d9f1a718302a8fc03 26-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> am 47479a55: am 04c710ad: Merge "Fix bug #8200928 ExpandableListView should be RTL-aware" into jb-mr2-dev

* commit '47479a55562bb3ffc8927ab4a62de73948b1bac1':
Fix bug #8200928 ExpandableListView should be RTL-aware
04c710ad9da56c45d4e4778ca6d8283ea79e44db 26-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #8200928 ExpandableListView should be RTL-aware" into jb-mr2-dev
2e3ead4b8cf051eb9bbbcf5f02aae4cfb3efd92f 25-Mar-2013 Nick Kralevich <nnk@google.com> am 2e53c2a8: am c1905339: Merge "AppSecurityPermissions: Modify isDisplayablePermission" into jb-mr2-dev

* commit '2e53c2a80bb9e059182a321367aad1d7ab0b19ae':
AppSecurityPermissions: Modify isDisplayablePermission
22139669aba2cc09c169dace32f7c17d3de79d95 25-Mar-2013 Nick Kralevich <nnk@google.com> am 1076e13d: am b07220c8: Merge "Remove dead code." into jb-mr2-dev

* commit '1076e13d8126aa349f68545b7d08a3de0c43c8ea':
Remove dead code.
a5043ed7eac5dccf7ec58b9f7095fda3992951a4 25-Mar-2013 Nick Kralevich <nnk@google.com> AppSecurityPermissions: Modify isDisplayablePermission

Add optional permission support to isDisplayablePermission.

A permission is displayable if it's required, or was previously
granted to the app.

Currently, this change is a no-op. The package parser code
does not currently honor <uses-permission android:required="false"> in
the application's manifest, and assumes a permission is always required.

This change sets the ground for future optional permissions work.

Change-Id: I2ec4a49adbfab9980e116ed43354f16bdeaa301d
ppSecurityPermissions.java
d6182f993d5668c9c3fc2a3a52baf1b20cee6e58 25-Mar-2013 Nick Kralevich <nnk@google.com> Remove dead code.

This code is never called.

Change-Id: I2ed3fee93004e967bfb2a3080106c3950bf43ce2
ppSecurityPermissions.java
e1242f9980341c18b48c5d94c22e4c1a1b24efb2 25-Mar-2013 Nick Kralevich <nnk@google.com> am 7d2a4b41: am 754aa113: Merge "AppSecurityPermissions: minor code cleanup" into jb-mr2-dev

* commit '7d2a4b41393d3a774a403e29ebdd7eec92777f03':
AppSecurityPermissions: minor code cleanup
10ac1d125a1b19abf82807c7cca91019db0d290d 24-Mar-2013 Nick Kralevich <nnk@google.com> AppSecurityPermissions: minor code cleanup

Convert more instance variables to private.
Delete some dead code.
Simplify some code.

Change-Id: Iedd55857138b71b2915b9886128adfcd9e4b3c57
ppSecurityPermissions.java
f4efad05515ae8bd8c826e2832be62a701e1c6e5 22-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #8200928 ExpandableListView should be RTL-aware

- add indicatorStart/indicatorEnd and childIndicatorStart/childIndicatorEnd properties

Change-Id: I1ee67e47798bbcb31670cc9afde3ccac68338d94
xpandableListView.java
69ad42a6c170018390187c524f5dd2478bb89790 22-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> am b91fb8c6: am 36fb0166: Merge "Fix bug #8200928 ExpandableListView should be RTL-aware" into jb-mr2-dev

* commit 'b91fb8c665e9bbdf18d66c0817278e20a97791d8':
Fix bug #8200928 ExpandableListView should be RTL-aware
f2bfed0d681a23d29c4c684f5fd7e70af77188fd 22-Mar-2013 Adam Powell <adamp@google.com> am 6338eb11: am ef793669: Merge "Fix a stability regression in ListView arrow scrolling" into jb-mr2-dev

* commit '6338eb1165d2d932a90738fea1f6d7be6a7fa3aa':
Fix a stability regression in ListView arrow scrolling
36fb0166a3d92cd55514126d07cabefe3f90b8f7 22-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #8200928 ExpandableListView should be RTL-aware" into jb-mr2-dev
04fb1a450fdbe0fc548649ee720ef4501b839664 22-Mar-2013 Adam Powell <adamp@google.com> am 7b8dfeb6: am 86a1a245: Merge "Revert "Revert "Fix ListView is not scrolled properly with arrows""" into jb-mr2-dev

* commit '7b8dfeb6ad1036506403fdb7b523db8ca3c2c633':
Revert "Revert "Fix ListView is not scrolled properly with arrows""
2a93911b87f7aac6d0dcceabc5983e81befeeda5 22-Mar-2013 Adam Powell <adamp@google.com> Fix a stability regression in ListView arrow scrolling

The earlier patch 3cf7b3c59 introduced a stability regression. Perform
the appropriate bounds checking alongside the fix it implements.

Bug 8264185

Change-Id: I943d6c05bacdd777f89243fdac97788b16639dc6
istView.java
605c5af9c8d36aab16fb9d2313fecc57301104bd 22-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #8200928 ExpandableListView should be RTL-aware

- draw the group and child indicator at the correct position when in RTL mode

Change-Id: Ib346ae59f17c129fc59b76cd7fcc36fbdb86e499
xpandableListView.java
1ad11b9c6c7b555c27b917f26ecc08446f589284 26-Feb-2013 Justin Ho <justinho@google.com> Revert "Revert "Fix ListView is not scrolled properly with arrows""

This reverts commit 3cf7b3c592dd6097697ed9e00c1ff59319b49c4e.
istView.java
a383eba1cc94f365b15a087ca381da3525f3fb5c 21-Mar-2013 Michael Jurka <mikejurka@google.com> am 953a9466: am 6812efd2: Merge "Make hasOverlappingRendering() method more accurate" into jb-mr2-dev

* commit '953a94662114933ee81ad197e6a70ffc3f45a289':
Make hasOverlappingRendering() method more accurate
0931a8516af8284981bb9d584e57cbc3925db4bc 21-Mar-2013 Michael Jurka <mikejurka@google.com> Make hasOverlappingRendering() method more accurate

Bug: 8439502

Change-Id: I80075eddf6abc7999b70e665e692d88b81d5f087
mageView.java
extView.java
6ac4652897478ba6851ad9d72a8a776614db6d79 20-Mar-2013 Hyejin Kim <hyejin.kim@lge.com> change "next" to "done" in minute IME option under 24-hour format

We don't need "next" button under 24-hour format any more.
So, we changed from "next" button to "done" in IME option
when setting minute under 24-hour format

Change-Id: Ic9b1673248183060ba7279b63648a85dc39ca3b9
imePicker.java
f537c9b5f15cb5d5ad8197c61beb471ecdc5f1fb 21-Mar-2013 Ki-Hwan Lee <kiban18@gmail.com> Fix CalendarView to show the month title properly.

Step to reproduce:
Do this test on a Tablet (i.e. do in multi-pane layout)
1. Settings > Date & time > Uncheck the Automatic date & time checkbox.
2. Select 'Set date' and set the month to January and Done.
3. Re-select 'Set date' then you will find no month title just above the calendar.

Change-Id: I2489b454a4526be13f1fbdc61a72edcd6b6942a0
alendarView.java
3807312e9b4a8022f370ad7c09604c6379f567a0 20-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> am 0bcec06b: am 19eceaad: Merge "Fix bug #8437358 Clean any ICU related code from TextLayout / Paint and their dependencies" into jb-mr2-dev

* commit '0bcec06b24e7bc67ab4922f6bb18e6bc7737ba69':
Fix bug #8437358 Clean any ICU related code from TextLayout / Paint and their dependencies
19eceaadd764ca84f386300aafd9a31c270886e9 20-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #8437358 Clean any ICU related code from TextLayout / Paint and their dependencies" into jb-mr2-dev
665f02c66702b77db25e950ff433230186bc3243 20-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #8437358 Clean any ICU related code from TextLayout / Paint and their dependencies

- remove the ICU related methods and update the methods using the "reserved" argument
- update to CTS in another CL too

Change-Id: I5509736568c342d9d17bfeafc17951117ab5d3cc
extView.java
0d84e725667315fc9ccb70b93b26ba40b7653285 19-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> am 430058f2: am 2d18e52b: Merge "Fix bug #8335710 TextView can\'t clear CompoundDrawables" into jb-mr2-dev

* commit '430058f2699041e86d7c0e50cad1fa6989d08cab':
Fix bug #8335710 TextView can't clear CompoundDrawables
2d18e52b00da92ca415b9da0aaac920a5e733f8b 19-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #8335710 TextView can't clear CompoundDrawables" into jb-mr2-dev
d81830d67ee77813474ce2f19bb4df9d20bd3fa9 19-Mar-2013 Elliott Hughes <enh@google.com> am 110a98b6: am f7c01e5a: am eda35cb7: am a8974d3f: Merge "Clean up (some of) our many clocks to use H instead of k."

* commit '110a98b67285ec213720c542e6fb4711d9fd3114':
Clean up (some of) our many clocks to use H instead of k.
f7c01e5a8a4e7e3032dd03a3705f6894312e9b5f 19-Mar-2013 Elliott Hughes <enh@google.com> am eda35cb7: am a8974d3f: Merge "Clean up (some of) our many clocks to use H instead of k."

* commit 'eda35cb7c5781a32b038f1ef76b8e50f26f9bfaf':
Clean up (some of) our many clocks to use H instead of k.
92eb0073bff4e9c9d753d24f46fef2039f4bb6e5 19-Mar-2013 Chet Haase <chet@google.com> am 58afb2f0: am f4071065: Merge "Fix bug with transientState for listviews without stable IDs" into jb-mr2-dev

* commit '58afb2f0501b22d020ac1fc1a116baec21765e3c':
Fix bug with transientState for listviews without stable IDs
f4071065b88d5b4acbe8ef102275244636ba9959 19-Mar-2013 Chet Haase <chet@google.com> Merge "Fix bug with transientState for listviews without stable IDs" into jb-mr2-dev
f7a5cdfac62cf2335f192581ca299d241d83e195 15-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #8335710 TextView can't clear CompoundDrawables

- fix start/override mechanism
- take care of RTL compatibility mode (pre JB-MR1)
- fix where reset of drawables resolution needs to happen

Change-Id: I55a69487a0eedee14c4be7006ee0abad085200ad
ditor.java
extView.java
cdafd37f3148dfc6f44f2e5de8b31adb6bf9e476 19-Mar-2013 Elliott Hughes <enh@google.com> Clean up (some of) our many clocks to use H instead of k.

Bug: 8359981
Change-Id: I3c0c38c2bf5adc4b5bdc11c3d10cf41dd8fb6462
igitalClock.java
extClock.java
a2230e18563833b9a0672067fe26a095c8847dd0 18-Mar-2013 Chet Haase <chet@google.com> Fix bug with transientState for listviews without stable IDs

This is the other part of a fix with transient state. A layout container
may be out of sync with its adapter during a data change. When the transient
state views are managed by their positions, and these positions may not match
between the container and the adapter, then the views will not be updated
correctly on the screen (though the underlying data will still be correct).

An earlier fix addressed the problem when the adapter has stable IDs (managing
the transient views by their IDs instead of their positions). This fix addresses
the other part of the problem, simply avoiding managing via positions during
a data change.

Issue #8254775 View.setHasTransient state has side-effects when deleting content in ListView

Change-Id: I0fe1692a1507a042180f8a14a8ef2d0c6946a061
bsListView.java
b0021043500aa1e9764e241e92bc1465a51efe01 18-Mar-2013 Svetoslav Ganov <svetoslavganov@google.com> am 3405dac2: am e4c9ac2d: Merge "Remember which list child has A11y focus BEFORE clearing A11y focus." into jb-mr2-dev

* commit '3405dac287580e65d74a2fd8e6d2bffd85420bf0':
Remember which list child has A11y focus BEFORE clearing A11y focus.
e4c9ac2df26f640fa9aeab5928e82bcc59a33da2 18-Mar-2013 Svetoslav Ganov <svetoslavganov@google.com> Merge "Remember which list child has A11y focus BEFORE clearing A11y focus." into jb-mr2-dev
728713258ffef4df053b85e0a3488334cbcba24c 27-Feb-2013 Chet Haase <chet@google.com> DO NOT MERGE: ListView transient state fix

ListView child views with transientState (setHasTransientState(true)) are not
handled correctly when the data set changes, such as when an item is added
or removed. The problem is that the transient views are cached by their
position, but this position is out of sync between the ListView and the adapter
until the ListView layout process is complete.

A better way, which unfortunately only works on ListViews with stable IDs, is
to cache the views by their itemID instead, and to use that ID to determine when
and where to reuse/retrieve a transient view during the ListView layout.

Issue #8254775 View.setHasTransient state has side-effects when deleting content in ListView

Change-Id: I2fc25e71ed6655af30b9c3f47fdf014e9b667616
bsListView.java
b53c5f6b6f84518145c5cbfd3cc1729758fbc7c0 15-Mar-2013 Alan Viverette <alanv@google.com> Remember which list child has A11y focus BEFORE clearing A11y focus.

Bug: 8332399
Change-Id: I0293efe5cef4a011a584e62fc4a64cde7d354efe
istView.java
f72b5c920aa47d94310a8cdd658e5255712b7293 15-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> am cf60cc9a: am 261f82ca: Merge "Revert "Clean Paint.mBidiFlags as it is no longer used"" into jb-mr2-dev

* commit 'cf60cc9adedf032c6c97cd2cbb9ff211deaaf3ae':
Revert "Clean Paint.mBidiFlags as it is no longer used"
da12f389eb4be0c08ca3fa9ca7663f4977858df5 15-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> Revert "Clean Paint.mBidiFlags as it is no longer used"

This reverts commit 6d9fe5bd22b531bfce69b146254a4791c76acddc.
extView.java
92291eea076f0222d4f189cd62a0576434058ead 12-Mar-2013 Jean Chalard <jchalard@google.com> Merge changes I3109a482,Ia5e25738

* changes:
Final small cleanup.
Actually change the place where updateSelection is called
79386f4f54f44714f849cf5e25b1456bcf284c59 12-Mar-2013 Jean Chalard <jchalard@google.com> Merge changes Ia01aee85,I17bd91a1

* changes:
Add a SpanWatcher to catch programmatic selection changes
Initial refactoring to move updateSelection to a better place
fbde30877f1f0e9312d98bdad4f45540e31114da 09-Mar-2013 Chet Haase <chet@google.com> Merge "add getAlpha() to Drawable"
b1af7f3d4be6cd6bc6e1e805f22c209e19bf928f 08-Mar-2013 Chet Haase <chet@google.com> add getAlpha() to Drawable

Drawable has setAlpha(int), but no getAlpha() (although some subclasses have added the
method). This makes it more tedious to use the property. For example, animations that wish to
animate this property must explicitly give it a start value since this value cannot be queried
from the object.

The trick is that setAlpha(int) is abstract, only implemented by subclasses. We cannot take this
approach for getAlpha(), as we would break all subclasses of Drawable until they implemented the
method. Instead, we'll add a default method which returns an invalid value, making it easier for
clients of the method to detect whether the value is valid.

All subclasses of Drawble in frameworks have been changed to add an override of getAlpha() when
appropriate.

Issue #7485875 Drawables is missing getAlpha()

Change-Id: I06b6e35f1a56d202838eca44759c85c82595020a
crollBarDrawable.java
f287913e4a6e7358e5390a634e50bef51bba9643 09-Mar-2013 Chet Haase <chet@google.com> Merge "Revert "add getAlpha() to Drawable""
9f48f3eeaea277fe57129b707725e3ac1dad48f2 09-Mar-2013 Chet Haase <chet@google.com> Revert "add getAlpha() to Drawable"

This reverts commit a227f59691246d23e47531de4dcdaa01f94b8875

Change-Id: Ic6337b773a2a2302d9d3f84fa9ff9c2324edd2ae
crollBarDrawable.java
799f3623db9bfff0daf2144b81452d79a15eb3e5 08-Mar-2013 Chet Haase <chet@google.com> Merge "add getAlpha() to Drawable"
a227f59691246d23e47531de4dcdaa01f94b8875 08-Mar-2013 Chet Haase <chet@google.com> add getAlpha() to Drawable

Drawable has setAlpha(int), but no getAlpha() (although some subclasses have added the
method). This makes it more tedious to use the property. For example, animations that wish to
animate this property must explicitly give it a start value since this value cannot be queried
from the object.

The trick is that setAlpha(int) is abstract, only implemented by subclasses. We cannot take this
approach for getAlpha(), as we would break all subclasses of Drawable until they implemented the
method. Instead, we'll add a default method which returns an invalid value, making it easier for
clients of the method to detect whether the value is valid.

All subclasses of Drawble in frameworks have been changed to add an override of getAlpha() when
appropriate.

Issue #7485875 Drawables is missing getAlpha()

Change-Id: I3211bb03789282e010356bad92da0a4a9fe9afb3
crollBarDrawable.java
e10837f444c3da40a50a269e696afac63729bce3 08-Mar-2013 Svetoslav <svetoslavganov@google.com> [DO NOT MERGE] DatePickerDialog title initially incorrect if calendar view shown.

If the calendar view of the date picker dialog is shown we
do not use a formatted date as the dialog title since the
calendar view shows it, instead we show a static "Set date"
title. However, the initial state of the date picker dialog
on a tablet has a formatted date since the date picker widget
does not do a correct check whether the calendar view is shown
which returns a false negative resulting in a title with a
formatted date being added since the dialog thinks it has no
calendar view.

Change-Id: Ibf4c433b34ab1ee1bc1dc386689664a32283fb6a
atePicker.java
a2510b5aebfb4f2fd0eb3f37b3c34c6ca7eaf2d1 08-Mar-2013 Svetoslav <svetoslavganov@google.com> DatePickerDialog title initially incorrect if calendar view shown.

If the calendar view of the date picker dialog is shown we
do not use a formatted date as the dialog title since the
calendar view shows it, instead we show a static "Set date"
title. However, the initial state of the date picker dialog
on a tablet has a formatted date since the date picker widget
does not do a correct check whether the calendar view is shown
which returns a false negative resulting in a title with a
formatted date being added since the dialog thinks it has no
calendar view.

Change-Id: Ibf4c433b34ab1ee1bc1dc386689664a32283fb6a
atePicker.java
0016420830a6a7bf675973120c7764acaadea368 07-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> am 64ac478f: am 617283c3: Merge "Fix bug #8217354 Suspicious behavior in RTL support for a RelativeLayout" into jb-mr2-dev

* commit '64ac478f45061e57406ab3d83c69bf8988288b41':
Fix bug #8217354 Suspicious behavior in RTL support for a RelativeLayout
617283c3c0746c497fca7742c2f337d3d201cc4c 07-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #8217354 Suspicious behavior in RTL support for a RelativeLayout" into jb-mr2-dev
3e5105351da19e639bb9c2d0b62e012779d9a7a8 06-Mar-2013 Jim Miller <jaggies@google.com> Fix keyguard listview widgets for secondary users

This fixes a bug where secondary user widgets weren't being updated
properly because the system was checking for SYSTEM_UID which no
longer works with keyguard in a separate process. The symptom was an
app with a listview, like Gmail, would always show an empty list for
secondary users.

Change-Id: I3749a7a0b39f1eb7922966af0fbdcefdd804e41e
emoteViewsAdapter.java
4fc2fa65805c57cad2902b4707caa84578752002 05-Mar-2013 Vairavan Srinivasan <vairav@codeaurora.org> FastScroller: Fix to use appropriate index

Fix FastScroller to use appropriate index to determine the
the position of a section while calculating the y coordinates
of thumb. In case of last section, use totalItemCount to determine
next section position.

Change-Id: I89bfd483949b5c14f85303b50380a73b4a4e635e
astScroller.java
c99d33fb4dcf332b66281a0a6a31710407fc829d 01-Mar-2013 Jean Chalard <jchalard@google.com> Actually change the place where updateSelection is called

Call updateSelection in endBatchEdit instead of onDraw.
This works because all edits go through a batch edit,
which is already the case although the next change will
enforce it going forward.
This is step 3 of a four-step refactoring.

Bug: 8000119
Change-Id: Ia5e257382e2ef2168726bf3d9c7c84f9379ba376
ditor.java
baf3094ecaa073e1cb3e807fa17d096f826c3968 01-Mar-2013 Jean Chalard <jchalard@google.com> Add a SpanWatcher to catch programmatic selection changes

When the selection is set via Selection#setSelection, the
Editor needs to know so that it can call back to a bound
IME, if any. This adds a watcher to catch these events.
This is step 2 of a four-step refactoring.

Bug: 8000119
Change-Id: Ia01aee853d5cafb4820fd234bc24b587ad3f7dd0
ditor.java
df7c72f68c2fe32546aa119e98be9acf8fffd66d 01-Mar-2013 Jean Chalard <jchalard@google.com> Initial refactoring to move updateSelection to a better place

This is step 1 of a four-step change which will move where
updateSelection is called in regular text fields. The new
behavior will be to call it for each actual batch of
changes, instead of doing it in the render loop which leads
to both false positives and true negatives.

Bug: 8000119

Change-Id: I17bd91a129b18d5451fe1d8e7794ae20165de309
ditor.java
844efa911f037366809101b3527aa5c6250d75b4 05-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> am 80273c6b: am 5f51fd69: Merge "Make Spinner widget RTL-aware (part 2)" into jb-mr2-dev

* commit '80273c6b5973d7d4d100a35f6646af45a3179740':
Make Spinner widget RTL-aware (part 2)
b0359666b4b321eecf47255c34739118c01f6810 05-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> am cc2e3c05: am 8e440a6c: Merge "Improve RTL code for RelativeLayout" into jb-mr2-dev

* commit 'cc2e3c05d2a0f58e67ed00e1ee1f08150d78ffcf':
Improve RTL code for RelativeLayout
5f51fd6970b5901102b3264c6acace12c79ebe7b 05-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Make Spinner widget RTL-aware (part 2)" into jb-mr2-dev
c44d880c508ded633b61930e1964df70876ec42f 20-Feb-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #8217354 Suspicious behavior in RTL support for a RelativeLayout

- make rules resolution follow the same pattern as padding and other
RTL properties

Change-Id: Ia0f460f188063f950bc311b51765fdec2f96f542
elativeLayout.java
f80ceed4507292756332d649978ef1b3511430a7 20-Feb-2013 Fabrice Di Meglio <fdimeglio@google.com> Make Spinner widget RTL-aware (part 2)

See bug #8159072 Spinner widget should be RTL'ized

Change-Id: I3f9368f242a027852bf13a7ce4b760de1e1c2fb2
bsSpinner.java
pinner.java
extView.java
d5ffc79fc8c94df58509c4881b18e64cd922960e 20-Feb-2013 Fabrice Di Meglio <fdimeglio@google.com> Improve RTL code for RelativeLayout

- instead of passing the screen size as a constant for computing the
layout size in RTL mode, we just use a real constant. Any value would
work actually, as soon as the value would not be null.

Change-Id: If9f5b38afa88938db36a795bfc8a403ad660726b
elativeLayout.java
a2353621524472f71850a54b5a41188dd8281039 05-Mar-2013 Philip Milne <pmilne@google.com> GridLayout diagnostics.

Add null check for:

https://googleplex-android-review.git.corp.google.com/#/c/183792/

Change-Id: Ic8ef7b6749b6d2568ed4e4b3b1fa4ad6659c70eb
ridLayout.java
0e051852e5ffa0ac9cc8637b8772172ed9aaf207 05-Mar-2013 Philip Milne <pmilne@google.com> Merge "Provide (general) mecahnism for users of GridLayout to either suppress or react to diagnostics."
5add56ec49cef52db7ebd3006665f318a5d16dd3 28-Feb-2013 Vairavan Srinivasan <vairav@codeaurora.org> SectionIndexer: Update Javadoc for ExpandableListAdapters

SectionIndexer could be implemented by ExpandableListAdapters
that considers groups and sections as synonymous and such
adapters have to account for collapsed groups and should
return appropriate section/position.

Change-Id: If0dec268da8fa30bd26f4d0aaad7e644a9944313
ectionIndexer.java
211d03322cf6e8a6c8a947bf8a494abd78a767c2 24-Apr-2012 Philip Milne <pmilne@google.com> Provide (general) mecahnism for users of GridLayout to either suppress or react to diagnostics.

GridLayout uses a constraint solver to perform its layout operation. Some layout problems
result in systems of constraints that are inconsistent and so cannot be solved. GridLayout
detects this condition and makes corrections so as to always guarantee that the layout
operation will complete. In those cases where corrections are made, GridLayout issues a
warning to the Log. This CL allows (internal) clients of GridLayout to both swtich off
the logging and/or detect when this condition is encountered.

Change-Id: I5b871003381f81cf0a76ad3de767e7f8b8349923
ridLayout.java
9e7c7d7b854b950ebed473c9b7c4cf72af75e610 27-Feb-2013 Chet Haase <chet@google.com> ListView transient state fix

ListView child views with transientState (setHasTransientState(true)) are not
handled correctly when the data set changes, such as when an item is added
or removed. The problem is that the transient views are cached by their
position, but this position is out of sync between the ListView and the adapter
until the ListView layout process is complete.

A better way, which unfortunately only works on ListViews with stable IDs, is
to cache the views by their itemID instead, and to use that ID to determine when
and where to reuse/retrieve a transient view during the ListView layout.

Issue #8254775 View.setHasTransient state has side-effects when deleting content in ListView

Change-Id: Ic3b1669ed79dd6cf9e4c1c6c26f9d75ccf074b3e
bsListView.java
56fae73f30ef762c7b017cfda477700bad8e95b3 27-Feb-2013 Michael Wright <michaelwr@google.com> Merge "Prevent repeated cursor movements from escaping a TextView"
4d5d5163731a902473ca91ce7067c13f3d73639b 26-Feb-2013 Philip Milne <pmilne@google.com> Merge "Fix for bug: 8184401 - GridLayout accounts for child's size/measurements even when a child is "GONE""
a841644367772f51d4ac5f2af2a14cc2d0e36df1 25-Feb-2013 Philip Milne <pmilne@google.com> Fix for bug: 8184401 - GridLayout accounts for child's size/measurements even when a child is "GONE"

The original fix:

https://googleplex-android-review.googlesource.com/#/c/273122/1

was incorrect as it left GridLayout to simply ignore views with GONE status.
Instead, views with GONE status must cause their corresponding rows and
columns to collapse to zero width/height in the case where the rows/columns
are not flexible.

The actual bug is the result of the fact that getBaseLine() is not parameterized
by the height/size of the view for which the baseline is being requested. In the case of
a view that is GONE, GridLayout will request the baseline of a component that has zero height,
and get results other than 0 (which is doesn't make sense). Prevent this with a specific check.

This CL should fix 8184401 without causing:

https://b.corp.google.com/issue?id=8192858

Change-Id: Ic74888b499466bbfac5fb97d49eede5b6c343127
ridLayout.java
3cf7b3c592dd6097697ed9e00c1ff59319b49c4e 26-Feb-2013 Justin Ho <justinho@google.com> Revert "Fix ListView is not scrolled properly with arrows"

This reverts commit db68fac12daa2cf4a7568308995e218aed92728a.
istView.java
0d74e8f8c60bcd9d8e4500ab3cd436b55b077bad 22-Feb-2013 Adam Powell <adamp@android.com> am 06689433: am d61ff77e: Merge "Fix ListView is not scrolled properly with arrows"

* commit '06689433bc9e9d54e01bf4af9526dff2fc3dc862':
Fix ListView is not scrolled properly with arrows
d61ff77ee10b2c956df153e08b850e852ff5df57 22-Feb-2013 Adam Powell <adamp@android.com> Merge "Fix ListView is not scrolled properly with arrows"
3a7e483d255dd6a5ded805184be9bbe872d11d4a 12-Feb-2013 Michael Wright <michaelwr@google.com> Prevent repeated cursor movements from escaping a TextView

Bug: 4156002
Change-Id: If66a69c404509c75016039156389b6a7b2852154
extView.java
1b15ba5d194c1db71d0a34ee110bd1ab169c8a29 20-Feb-2013 Luca Zanolin <zano@google.com> Resubmitting "Enable correction/deleting notification via EasyEditSpan.""

Re-run "make update-api"

Original CL Ic227b8fd50066699915f69a54f225fb5330867c4

Change-Id: Ifb1a0f61801c544b01193435fbfdedd7f3888971
ditor.java
1b916301e044d1f6f672c9708c993090ecdf30cf 20-Feb-2013 Luca Zanolin <zano@google.com> Revert "Enable correction/deleting notification via EasyEditSpan."

This reverts commit 8cd8135b95da5b471804604b06084eecbe1cc23b

Change-Id: I6361cc47d58281ab37cb9ae0a67541b43f873147
ditor.java
8cd8135b95da5b471804604b06084eecbe1cc23b 14-Feb-2013 Luca Zanolin <zano@google.com> Enable correction/deleting notification via EasyEditSpan.

When the "delete" pop-up is clicked (and the wrapped text removed), the
creator of the span will receive a notification of the action.

Similarly, if the user modifies (i.e., add/remove a char), the creator of
the span will receive a notification too. The notification will not contain any
information about how the text has been modified.


Bug: 6905960
Change-Id: Ic227b8fd50066699915f69a54f225fb5330867c4
ditor.java
52036b19a5f82bc4d75cfcbff99c65df8d25a99b 15-Feb-2013 Romain Guy <romainguy@google.com> Expose display list APIs

The exposed APIs are slightly simpler than the full APIs used internally.
Only APIs useful to applications are exposed.

Change-Id: Ie03014628d40ad5ef63dedbc52ce3def84429d54
ditor.java
ac91df87fce48afe1b5585551f24b0c21b7ab091 14-Feb-2013 Adam Powell <adamp@google.com> Add support for shadows in TextAppearance styles

Allow developers to specify shadow properties for text in a
TextAppearance, not just in direct TextView attributes.

Change-Id: I873fbaf2c26683895e1eea2d02b5d9b17ca333d0
extView.java
fd0fa65eeae00f58863af060950e10f20971726b 13-Feb-2013 Philip Milne <pmilne@google.com> Merge "Revert "Fix for bug: 8184401 - GridLayout accounts for child's size/measurements even when a child is "GONE"""
57ce47134a088f84b63f8e7cc8d618807201aadd 13-Feb-2013 Philip Milne <pmilne@google.com> Revert "Fix for bug: 8184401 - GridLayout accounts for child's size/measurements even when a child is "GONE""

Suspected cause of: http://b.corp.google.com/issue?id=8192858

This reverts commit e5e0b7f191b64380e9231a2b755ecd3738598dec

Change-Id: I1a35c12c3ca0b1eacfb0c1a4d6ba03601dab664b
ridLayout.java
0c33ecd209d884a9a2b9ad807cb798583b890a08 13-Feb-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Clean Paint.mBidiFlags as it is no longer used"
e5e0b7f191b64380e9231a2b755ecd3738598dec 12-Feb-2013 Philip Milne <pmilne@google.com> Fix for bug: 8184401 - GridLayout accounts for child's size/measurements even when a child is "GONE"

Added a check for GONE status in measurement calculations.

Change-Id: I3ec82b03f3089730f10dbd6916f6245188cd8452
ridLayout.java
6d9fe5bd22b531bfce69b146254a4791c76acddc 12-Feb-2013 Fabrice Di Meglio <fdimeglio@google.com> Clean Paint.mBidiFlags as it is no longer used

See bug #7623824

Change-Id: Ie2f9422821f6dcc73c99e8695f448e966b587b1d
extView.java
f16c7a97548cedccea291ffebc4388a7f15c9aa1 12-Feb-2013 Romain Guy <romainguy@google.com> Always honor fixed size children

Change-Id: If49a9486c554223132663cd9f0dc388d102ebbff
elativeLayout.java
db68fac12daa2cf4a7568308995e218aed92728a 03-Feb-2013 Jaewan Kim <jaewan@google.com> Fix ListView is not scrolled properly with arrows

According to ListView's layoutChildren logic, it detaches all children
and rebuilds its children based on visible area which might omit
invisible elements in the adapter.

In this case, arrowScroll methods only tries to find next scroll
candidates from its children so user is unable to scroll more with
D-pad.

This fixes the issue by look forward next child among the adapter as
well as children.

Bug: 7346868
Change-Id: I01ab19ad899b5bcb5ab420ddf08c9ffd136933d1
istView.java
d68c0964765b48934f528600ba5fe51b45cb8ae1 08-Feb-2013 Katie McCormick <kmccormick@google.com> am 89e7aa3d: am 2306f0ee: am ee27bcda: am b68702eb: am 0e66f16a: Merge "Doc change: Scroller Javadoc Bug # 7966653" into jb-mr1-dev

# Via Android Git Automerger (4) and others
* commit '89e7aa3dae133fd38007eddb47a3e372abb68d4d':
Doc change: Scroller Javadoc Bug # 7966653
89e7aa3dae133fd38007eddb47a3e372abb68d4d 08-Feb-2013 Katie McCormick <kmccormick@google.com> am 2306f0ee: am ee27bcda: am b68702eb: am 0e66f16a: Merge "Doc change: Scroller Javadoc Bug # 7966653" into jb-mr1-dev

# Via Android Git Automerger (3) and others
* commit '2306f0ee3396cd8a85d04dfbc08fb8c5ffa6699f':
Doc change: Scroller Javadoc Bug # 7966653
2306f0ee3396cd8a85d04dfbc08fb8c5ffa6699f 08-Feb-2013 Katie McCormick <kmccormick@google.com> am ee27bcda: am b68702eb: am 0e66f16a: Merge "Doc change: Scroller Javadoc Bug # 7966653" into jb-mr1-dev

# Via Android Git Automerger (2) and others
* commit 'ee27bcda8644f8c3f2328acc248b8c5c9d152f59':
Doc change: Scroller Javadoc Bug # 7966653
b68702eb0526633e51d9dbfe6fc971c168e1274a 08-Feb-2013 Katie McCormick <kmccormick@google.com> am 0e66f16a: Merge "Doc change: Scroller Javadoc Bug # 7966653" into jb-mr1-dev

# Via Android (Google) Code Review (1) and Katie McCormick (1)
* commit '0e66f16abd651bdf5833f4aede4899e627d7b333':
Doc change: Scroller Javadoc Bug # 7966653
87cfad7d742c8fae1ac268168e2ada286d330ef1 07-Feb-2013 Katie McCormick <kmccormick@google.com> Doc change: Scroller Javadoc Bug # 7966653

Change-Id: I4365946f890a76fcfa78ca9d69f2a8e0848095a9
croller.java
2d9c0cac8be1f4d8bafd57f61de9b59cd4dd55ea 07-Feb-2013 Adam Powell <adamp@android.com> am 044a4c3e: am 351f7817: am 21af9a08: Merge "avoid multiple-"0" to exceed the length of upper bound"

# By Sungmin Choi
# Via Android Git Automerger (2) and others
* commit '044a4c3e4a42aae4faac8b92ea05f122cdf45f7c':
avoid multiple-"0" to exceed the length of upper bound
351f7817e555f52571e72751bb452a715495f010 06-Feb-2013 Adam Powell <adamp@android.com> am 21af9a08: Merge "avoid multiple-"0" to exceed the length of upper bound"

# By Sungmin Choi
# Via Gerrit Code Review (1) and Sungmin Choi (1)
* commit '21af9a08465c4927aab9db30efdfcf5ee8f52410':
avoid multiple-"0" to exceed the length of upper bound
21af9a08465c4927aab9db30efdfcf5ee8f52410 06-Feb-2013 Adam Powell <adamp@android.com> Merge "avoid multiple-"0" to exceed the length of upper bound"
bcc46a0d037e62fcb5e5f0f5e1acef5a8c1314b0 06-Feb-2013 Svetoslav <svetoslavganov@google.com> Set accessibility cursor in non-text views with content description.

We support text traversal at a granularity over non-next views with
content description, hence we should support setting the cursor position
in such views.

bug:8134469

Change-Id: I4dba225b0ade795b7a20c201fb906ae7146c065d
extView.java
d0c83cccca9955da92d076dfdfbc3e349fbbc415 05-Feb-2013 Svetoslav <svetoslavganov@google.com> Set accessibility cursor position in non-editable views with content description.

While an accessibility service can set the cursor position in an editable
text field, it was not possible to set it for non-editable views with
content description. This patch enables that.

bug:8134469

Change-Id: I28b0ef1666b9e3ed5c0642718fbe63d4c9616569
extView.java
f8ce2b94df9f7fc2b6da104699c5958c6d8784f3 31-Jan-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix progress bar and spinner in RTL mode"
2b378cde411b551464f0040e935692073cfb119f 31-Jan-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix progress bar and spinner in RTL mode

Add "mirrorForRtl" property for ProgressBar (default is "false") and
use it accordingly to the following RTL rules:

- time still goes from left to right
- clocks still rotate clockwise

Change-Id: Ib91ce6ab341aa6097c0f43b13703174a2ee9ec70
bsSeekBar.java
rogressBar.java
f48a2d30c5d5f7c167310ff9ca1cd2310121be7c 31-Jan-2013 Svetoslav <svetoslavganov@google.com> Merge "Add accessibility actions for text editing."
7c51284d8019ed04ab296be84839d8a90ac042fa 31-Jan-2013 Svetoslav <svetoslavganov@google.com> Add accessibility actions for text editing.

Currently text editing is pretty hard (certain operations even
impossible) for a blind person. To address the issue this change
adds APIs that enable an accessibility service to perform basic
text editing operations such as copy, paste, cut, set selection,
extend selection while moving at a given granularity.

The new APIs enable an accessibility service to expose a gesture
driven efficient text editing facility.

bug:8098384

Change-Id: I82b200138a3fdf4c0c316b774fc08a096ced29d0
extView.java
5370405db2a4413e8fd3e57d2e6664a65bbd514b 31-Jan-2013 Romain Guy <romainguy@google.com> Return a copy of the read-only identity Matrix

An app trying to modify the returned matrix (despite what the
documentation says...) would crash when the matrix is identity.

Change-Id: I8aae06b712907085088fb9f0321352dd2c3462ac
mageView.java
d0fd54648ca6249f56cf469c57181b5a7bbb71d0 29-Jan-2013 Svetoslav Ganov <svetoslavganov@google.com> Merge "Adding UI test automation APIs."
96bf00fe92d824b1da4619b875ed779ed283d11d 28-Jan-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #8051633 Recent Apps thumbnails in RTL mode (Arabic / Hebrew / Farsi) should be aligned"
9122187fca67c7509ba2a040b602f67928fc9a98 28-Jan-2013 Adam Powell <adamp@android.com> am bb74d8b9: am 783fe429: am e305e5f6: Merge "show SELECT ALL icon with text in landscape mode"

# By Sungmin Choi
# Via Android Git Automerger (2) and others
* commit 'bb74d8b9f632bdda2f5639a9516a83f58374b936':
show SELECT ALL icon with text in landscape mode
bb74d8b9f632bdda2f5639a9516a83f58374b936 28-Jan-2013 Adam Powell <adamp@android.com> am 783fe429: am e305e5f6: Merge "show SELECT ALL icon with text in landscape mode"

# By Sungmin Choi
# Via Android Git Automerger (1) and others
* commit '783fe4295372cee8d024388221414c253802c995':
show SELECT ALL icon with text in landscape mode
783fe4295372cee8d024388221414c253802c995 28-Jan-2013 Adam Powell <adamp@android.com> am e305e5f6: Merge "show SELECT ALL icon with text in landscape mode"

# By Sungmin Choi
# Via Gerrit Code Review (1) and Sungmin Choi (1)
* commit 'e305e5f68df8338cb3c4bdcf099d23ec9abce564':
show SELECT ALL icon with text in landscape mode
306fe5cc0e85e8a5ef07ff64493982f99caeba3a 24-Jan-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #8051633 Recent Apps thumbnails in RTL mode (Arabic / Hebrew / Farsi) should be aligned

Basically RelativeLayout was broken in a very stubtle way.

RelativeLayout needs in onMeasure() to have a width in RTL mode when "myWidth=-1" (meaning "not
defined") so that the rest of the onMeasure() computation can be done (children positioning and
width computation).

As there is no way to get its width apart from running the code, in RTL mode we set its width
arbitrary to the screen width for doing the width computation and children positoning.

Then, as a last pass, we will update and fix the children position (no need to do anything with
the computed width because it is correctly computed already).

Change-Id: I426af3327160e751ef63ed3845aad5bab6dad661
elativeLayout.java
f036920669f933c05ac43a8e0ea6cb1a4e35275a 25-Jan-2013 Sungmin Choi <sungmin.choi@lge.com> show SELECT ALL icon with text in landscape mode

Though set config_allowActionMenuItemTextWithIcon as true,
icon for the "SELECT ALL" menu on ActionBar is not shown as staring
in landscape mode.
To fix it, use "SELECT ALL" icon in onCreateActionMode() to show the
icon and text together.

To show or hide text is decided by updateTextButtonVisibility() of
core/java/com/android/internal/view/menu/ActionMenuItemView.java

STEPS TO REPRODUCE: (please be specific)
1. launch Browser/Chrome and go to google.com
2. rotate to landscape mode
3. long press on URL address

Bug: 8073761
Change-Id: Ie0e0aa45f0dff609ed8c03e4423b163bad5452ed
ditor.java
6d8a99fecc5dd3aec502c0419af61e8d2a3c398d 25-Jan-2013 Sungmin Choi <sungmin.choi@lge.com> avoid multiple-"0" to exceed the length of upper bound

Limits number of "0"s not to exceed length of maximum number allowed
for the NumberPicker.

Steps to reproduce:
1. Settings -> Date & time -> uncheck "Automatic date & time"
2. Select "Set time"
3. Select Time Area on Set time dialog
4. insert 00000000 via NumberPicker

Bug: 8073759
Change-Id: I0f3f5303d9a4b559217adb436f244407a23e58c0
umberPicker.java
80943d8daa6ab31ab5c486d57aea406aa0730d58 02-Jan-2013 Svetoslav Ganov <svetoslavganov@google.com> Adding UI test automation APIs.

This change adds APIs support for implementing UI tests. Such tests do
not rely on internal application structure and can span across application
boundaries. UI automation APIs are encapsulated in the UiAutomation object
that is provided by an Instrumentation object. It is initialized by the
system and can be used for both introspecting the screen and performing
interactions simulating a user. UI test are normal instrumentation tests
and are executed on the device.

UiAutomation uses the accessibility APIs to introspect the screen and
a special delegate object to perform privileged operations such as
injecting input events. Since instrumentation tests are invoked by a shell
command, the shell program launching the tests creates a delegate object and
passes it as an argument to started instrumentation. This delegate
allows the APK that runs the tests to access some privileged operations
protected by a signature level permissions which are explicitly granted
to the shell user.

The UiAutomation object also supports running tests in the legacy way
where the tests are run as a Java shell program. This enables existing
UiAutomator tests to keep working while the new ones should be implemented
using the new APIs. The UiAutomation object exposes lower level APIs which
allow simulation of arbitrary user interactions and writing complete UI test
cases. Clients, such as UiAutomator, are encouraged to implement higher-
level APIs which minimize development effort and can be used as a helper
library by the test developer.

The benefit of this change is decoupling UiAutomator from the system
since the former was calling hidden APIs which required that it is
bundled in the system image. This prevented UiAutomator from being
evolved separately from the system. Also UiAutomator was creating
additional API surface in the system image. Another benefit of the new
design is that now test cases have access to a context and can use
public platform APIs in addition to the UiAutomator ones. Further,
third-parties can develop their own higher level test APIs on top
of the lower level ones exposes by UiAutomation.

bug:8028258

Also this change adds the fully qualified resource name of the view's
id in the emitted AccessibilityNodeInfo if a special flag is set while
configuring the accessibility service. Also added is API for looking
up node infos by this id. The id resource name is relatively more stable
compared to the generaed id number which may change from one build to
another. This API facilitate reuing the already defined ids for UI
automation.

bug:7678973

Change-Id: I589ad14790320dec8a33095953926c2a2dd0228b
bsListView.java
7384db20b82b829d0e52642a58475846a27c0ca4 22-Jan-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #8052320 RelativeLayout is not having the correct width when in RTL mode - part 2"
547261320cb4bbb3e967246bc86578263d94e84d 19-Jan-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #8052320 RelativeLayout is not having the correct width when in RTL mode - part 2

This is a fix for RelativeLayout in RTL mode

- visible effect: wrong positioning of components
- the width computation (first pass) in RTL mode was wrong: it was missing the application
of the horizontal rules before measuring the children horizontally. This is now doing the
same as the normal LTR pass (except positioning the component which is done in the second
pass)

See related issue:

bug #8051633 Recent Apps thumbnails in RTL mode (Arabic / Hebrew / Farsi) should be aligned

Change-Id: I710de1a504bec8743f8e3c13f6ff850055edb2d2
elativeLayout.java
30244d92390bde94b1c87aa855fd4dd2c7cfaa20 16-Jan-2013 Yorke Lee <yorkelee@google.com> Merge "Fix the build breakage due to incorrect javadoc link"
3e839f4eedd1e6b9ba627f905592f83bfa356ae3 16-Jan-2013 Yorke Lee <yorkelee@google.com> Fix the build breakage due to incorrect javadoc link

Change-Id: I1789f7e324a06c45c1be4088e9bd4e5cd6879aee
uickContactBadge.java
be33f9696a1194d9f927fb4446e07e199a468f9d 15-Jan-2013 Yorke Lee <yorkelee@google.com> Merge "Allow supplying extras when assigning QuickContactsBadge"
5bd48b528e6477c2c3d318cb71cef861392b1b8a 15-Jan-2013 Elliott Hughes <enh@google.com> am 67ae48f3: am fc91d730: am cbfece82: Merge "Switch over to getting 12-/24-hour time formats from CLDR via icu4c."

* commit '67ae48f32545791fe0a0574f02bfe714e106074b':
Switch over to getting 12-/24-hour time formats from CLDR via icu4c.
67ae48f32545791fe0a0574f02bfe714e106074b 15-Jan-2013 Elliott Hughes <enh@google.com> am fc91d730: am cbfece82: Merge "Switch over to getting 12-/24-hour time formats from CLDR via icu4c."

* commit 'fc91d73067d76e129869fe472238f4c80aa5d435':
Switch over to getting 12-/24-hour time formats from CLDR via icu4c.
fc91d73067d76e129869fe472238f4c80aa5d435 15-Jan-2013 Elliott Hughes <enh@google.com> am cbfece82: Merge "Switch over to getting 12-/24-hour time formats from CLDR via icu4c."

* commit 'cbfece8237cb9cf62547e75ab9572ccbf682369a':
Switch over to getting 12-/24-hour time formats from CLDR via icu4c.
4caba61ea0433099fc94e61221d02542c34e9e3a 15-Jan-2013 Elliott Hughes <enh@google.com> Switch over to getting 12-/24-hour time formats from CLDR via icu4c.

I removed the duplication in DateTimeView rather than fix that copy
of the code.

Bug: 7924970
Change-Id: I60c205d06ad3b50fd2f5d5fc432e4eb186f9c0e7
ateTimeView.java
02f304f721d936566d6983500d25b223d96e6e9d 14-Jan-2013 Yorke Lee <yorkelee@google.com> Allow supplying extras when assigning QuickContactsBadge

Add assignContactFromEmail(String, boolean, Bundle)
and assignContactFromPhone(String, boolean, Bundle)
that allow the caller to provide a bundle of extras to
pre-populate the ContactEditorFragment with if a contact
is not found with the requested email address or phone number.

Bug: 7038382
Change-Id: Ib77fa484e1c39cb60d7acc27efe3a3fcf3fee62f
uickContactBadge.java
57b59e025bc10056daf42cd741b626843ff344f5 14-Jan-2013 Scott Kennedy <skennedy@google.com> am aebeea4c: am 5d6d6aab: am 8e45679a: am 026f9191: am 08342698: Merge "docs: Fix a bunch of issues" into jb-mr1-dev

* commit 'aebeea4cf39acae833b1b7f27a4c08d3b55dee37':
docs: Fix a bunch of issues
aebeea4cf39acae833b1b7f27a4c08d3b55dee37 14-Jan-2013 Scott Kennedy <skennedy@google.com> am 5d6d6aab: am 8e45679a: am 026f9191: am 08342698: Merge "docs: Fix a bunch of issues" into jb-mr1-dev

* commit '5d6d6aab255aa17fde979d954c839402837b4243':
docs: Fix a bunch of issues
5d6d6aab255aa17fde979d954c839402837b4243 14-Jan-2013 Scott Kennedy <skennedy@google.com> am 8e45679a: am 026f9191: am 08342698: Merge "docs: Fix a bunch of issues" into jb-mr1-dev

* commit '8e45679adfe03271dd1cc627d6c4542649a0446a':
docs: Fix a bunch of issues
026f91915f2ad710b93284b9a604d3c39161b2ed 14-Jan-2013 Scott Kennedy <skennedy@google.com> am 08342698: Merge "docs: Fix a bunch of issues" into jb-mr1-dev

* commit '083426980dbe6607a0cfc8b4ec5944d5b414ecbe':
docs: Fix a bunch of issues
7ed189e457b16c06b0425bd28aeeb1df5c8ff5b8 12-Jan-2013 Scott Kennedy <skennedy@google.com> docs: Fix a bunch of issues

External tracker 42609
External tracker 42607
External tracker 42604
External tracker 42600
External tracker 42574
External tracker 42450
External tracker 41050
External tracker 40995
External tracker 40970
External tracker 40935
External tracker 40507
External tracker 40481
External tracker 40435
External tracker 40406
External tracker 40297
External tracker 40281
External tracker 39978
External tracker 39929
External tracker 39803
External tracker 39715
External tracker 39441

Change-Id: If4215cef850ba8e4e8df356a68192566806e7914
opupWindow.java
ab82e35a59fc8ebb771c4e69343d1041542a4b83 11-Jan-2013 Jeff Sharkey <jsharkey@android.com> Merge "Examine widget hierarchy to find clocks."
06c5f8a768bcd4f7b6441f7525bd5c639399fc76 04-Dec-2012 Jeff Sharkey <jsharkey@android.com> Examine widget hierarchy to find clocks.

When switching to a widget, examine its hierarchy to determine if it
contains TextClocks that show hour and minute for the local timezone.
If so, hide the status bar clock. Doesn't fix closing walls.

Bug: 7667638
Change-Id: I1e2c40345c9e5eb0193efd70838c7ca9f779190b
extClock.java
b00d9f0e07993d47d49cfa2cf8d7026b8c5b0f2e 10-Jan-2013 Adam Cohen <adamcohen@google.com> Updating new widget api to account for view type count

Change-Id: Iab3a905aaec0b42ef31cd23e0711f6f7bf299486
emoteViews.java
emoteViewsListAdapter.java
14e066df1ca863667c6c6d745ad61bb07ac5082c 10-Jan-2013 Romain Guy <romainguy@google.com> Merge "Clarify javadoc and parameter names Bug #7978741"
9c5d1b17bfae81c282cec8954e66963c86c81438 10-Jan-2013 Romain Guy <romainguy@google.com> Clarify javadoc and parameter names
Bug #7978741

Change-Id: If713e2e58524ace008797abc142f50b83bfa3c61
rrayAdapter.java
96c2a83cd7bcb2d01338fa29849d5ac42d0cd088 09-Jan-2013 Dake Gu <dake@google.com> am 05d48504: am af6dd103: Merge "fix ImageView.getImageMatrix()" into jb-mr1-aah-dev

* commit '05d485044bc4607759e2b4ca5188858bceb120f8':
fix ImageView.getImageMatrix()
955beb2b96a78cf6ee990d0f20bcaf2d22ce608b 10-Dec-2012 Sangkyu Lee <sk82.lee@lge.com> Optimize drawHardwareAccelerated method in Editor class

When inserting a new line or breaking a line,
every display list was invalidated and rebuilt before.
However, we can reuse the display lists above intactly and also
reuse the display lists below with only updating drawing locations.

This patch reuses the display lists if possible.
The display lists above the inserted line are just reused
and the display lists below are reused with only updating
drawing locations not fullly rebuilt.

mIndexOfFirstChangedBlock is the index of the first block
which is moved by inserting or breaking a line.
So the display list whose index is >= mIndexOfFirstChangedBlock
only needs to update its drawing location.

Change-Id: Ica20deb0ebb5750de21356ed31fa9f86e657ff92
Signed-off-by: Sangkyu Lee <sk82.lee@lge.com>
ditor.java
extView.java
05d485044bc4607759e2b4ca5188858bceb120f8 08-Jan-2013 Dake Gu <dake@google.com> am af6dd103: Merge "fix ImageView.getImageMatrix()" into jb-mr1-aah-dev

* commit 'af6dd103bd2bb0783b9364c703c2623260496d5c':
fix ImageView.getImageMatrix()
1ee60179bbc06823e1e0f6557ea6afdad0c3db4d 04-Jan-2013 Dake Gu <dake@google.com> fix ImageView.getImageMatrix()

getImageMatrix() does not return "mDrawMatrix", instead it returns
mMatrix. This is not reflecting the matrix used in drawing when
Bitmap is changed and mDrawMatrix is set to null while mMatrix still
holds old invalid data.

Change-Id: If24c3118068eca70cfe15786f9715d95c4499f3b
mageView.java
afe8e9b6d033cb854afa3024d8198a32896a804a 20-Dec-2012 Raph Levien <raph@google.com> Suppress horizontal scrolling with trailing blanks

The existing behavior of EditText is that trailing blanks can cause a
line to exceed the layout width, causing the cursor to extend past the
line, which in turn causes horizontal scrolling. This patch clamps the
cursor to the layout width in the non-scrolling case, which makes the
spaces effectively invisible when they're at the end of the line, but at
least suppresses the scrolling.

The clamping only works reliably in left-to-right alignments, so this
patch checks for than and only enables the clamping in those cases.

Fix for bug 7699295.

Change-Id: I22bc4e6c9ded3d7716edfcf10dd2b5c31a5da9de
ditor.java
extView.java
330dd534848562515c6c67cb3de13067e86866a1 18-Dec-2012 John Spurlock <jspurlock@google.com> Remove remaining doc references to StyledAttributes.

It appears StyledAttributes was renamed to TypedArray
prior to fw 1.0. Leaving references to the old name
around in the public docs is confusing.

Deliberating leaving...
tests/coretests/src/android/widget/LabelView.java
... as is - it's clearly unused.

Change-Id: I3f66e5f9cbe945d9d86530d37b88369b401f054d
extView.java
ab989ac313a996280aec61183636e3fb9ac21d9d 17-Dec-2012 Sascha Prueter <saschap@google.com> am 8149820c: am 25458528: am dd2ed93e: Merge "Handle "CODE_ALREADY_PRESENT" message from Settings app" into jb-mr1.1-dev

* commit '8149820c2b2df47028498571785ca009d99b5dc9':
Handle "CODE_ALREADY_PRESENT" message from Settings app
8149820c2b2df47028498571785ca009d99b5dc9 17-Dec-2012 Sascha Prueter <saschap@google.com> am 25458528: am dd2ed93e: Merge "Handle "CODE_ALREADY_PRESENT" message from Settings app" into jb-mr1.1-dev

* commit '25458528f07ef9f4710e669b74b76d687bbc7645':
Handle "CODE_ALREADY_PRESENT" message from Settings app
25458528f07ef9f4710e669b74b76d687bbc7645 17-Dec-2012 Sascha Prueter <saschap@google.com> am dd2ed93e: Merge "Handle "CODE_ALREADY_PRESENT" message from Settings app" into jb-mr1.1-dev

* commit 'dd2ed93e4794dd8472593cdd21fb7e0056f11dbf':
Handle "CODE_ALREADY_PRESENT" message from Settings app
35e4a7029e259f19ad5ef7713211794eabfd65e1 17-Dec-2012 Pawit Pornkitprasan <p.pawit@gmail.com> Toast: fix force close if called from system service

If a toast is created from a system service, an application context
will not be available, use the service context instead.

Fixes
http://code.google.com/p/android/issues/detail?id=40058
http://code.google.com/p/android/issues/detail?id=40075

Change-Id: Ic643f4557fa04476819cd2c3ee640b735eeae429
oast.java
6bad2f2fefc44830e6e7019886a6fde42bec7223 17-Dec-2012 satok <satok@google.com> Handle "CODE_ALREADY_PRESENT" message from Settings app

Bug: 7725834
Change-Id: I85c35e73978d606edf9687e2de76c6ffc3c3ee2b
ditor.java
f85f1aeb562375da08f76f74feaae98ff6e09968 14-Dec-2012 Adam Cohen <adamcohen@google.com> Merge "Fix docs build issue"
3b4ca103f8cdc6b959f3b2ac68f6cb27002e7b77 14-Dec-2012 Adam Cohen <adamcohen@google.com> Fix docs build issue

Change-Id: I901e5b80609bf5ae85b167ec01b7507714423e5c
emoteViews.java
emoteViewsListAdapter.java
40efbd40606fc31863d3de90f062db431ba7fb47 14-Dec-2012 Mike Cleron <mcleron@google.com> am 323bb07f: am a5a4eb0f: am 6b922cc6: Merge "Receive a user dictionary callback from Settings application" into jb-mr1.1-dev

* commit '323bb07f762e5373f90e758a1146b93a3c31fe17':
Receive a user dictionary callback from Settings application
323bb07f762e5373f90e758a1146b93a3c31fe17 14-Dec-2012 Mike Cleron <mcleron@google.com> am a5a4eb0f: am 6b922cc6: Merge "Receive a user dictionary callback from Settings application" into jb-mr1.1-dev

* commit 'a5a4eb0f93d4b992a1879e26e04ba803827e24ca':
Receive a user dictionary callback from Settings application
a5a4eb0f93d4b992a1879e26e04ba803827e24ca 14-Dec-2012 Mike Cleron <mcleron@google.com> am 6b922cc6: Merge "Receive a user dictionary callback from Settings application" into jb-mr1.1-dev

* commit '6b922cc6d4d8221ad83b410c03eb4b8fb9fc78e2':
Receive a user dictionary callback from Settings application
0e3849af4775debf376317d70450e70976825f6d 13-Dec-2012 Satoshi Kataoka <satok@google.com> Receive a user dictionary callback from Settings application

Bug: 7725834

The callback is sent when the user adds a word to the user dictionary.

Change-Id: Ieee9bfd50a9adbed1a769e3cd95d9cb2815c34b4
ditor.java
3366cb2a0114d7d6e7997812ba4b12612561a76c 14-Dec-2012 Adam Cohen <adamcohen@google.com> Merge "Adding simple ArrayList API for collection widgets"
50f3d1bae884eb9545d3db24362271c20f0d8d64 12-Dec-2012 Adam Cohen <adamcohen@google.com> Adding simple ArrayList API for collection widgets

Change-Id: I4d6c909d1d2c0bdd1ddc8329445cea0e78a5ce7c
emoteViews.java
emoteViewsListAdapter.java
2331b42328fcdd54d3b26152f998554c610ae1b4 12-Dec-2012 Adam Powell <adamp@android.com> am dc4beb48: am e7ec492f: Merge "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"

* commit 'dc4beb483eb14f1b56154125c67b780802756572':
Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter
dc4beb483eb14f1b56154125c67b780802756572 12-Dec-2012 Adam Powell <adamp@android.com> am e7ec492f: Merge "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"

* commit 'e7ec492f13355888c90b3f08fbc66e49dda7ed24':
Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter
90f4c5c9d440a7802ecdb6c99fe7cac589122b17 12-Dec-2012 Adam Powell <adamp@android.com> am c6f05e93: am d22843a8: Merge "Fix regression in ListView click handling"

* commit 'c6f05e93dc37db67addcd19ff87ba013ba817035':
Fix regression in ListView click handling
c6f05e93dc37db67addcd19ff87ba013ba817035 12-Dec-2012 Adam Powell <adamp@android.com> am d22843a8: Merge "Fix regression in ListView click handling"

* commit 'd22843a8a8d240fc09291b1b9505d62c1f0c0f8d':
Fix regression in ListView click handling
e7ec492f13355888c90b3f08fbc66e49dda7ed24 12-Dec-2012 Adam Powell <adamp@android.com> Merge "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"
847be7445e15851c460bf381d7083c443d8d6144 12-Dec-2012 Adam Powell <adamp@google.com> Fix regression in ListView click handling

Regression caused by patch a607223f34

If an item click handler results in the ListView becoming detached
from the window, the performClick runnable could be executed twice.
Null out the mTouchModeReset runnable before running the click handler
so that it is not run by the detach handler.

Change-Id: I2fab60232027bb4876f9912088e0ffb9b17d308c
bsListView.java
8ee38721e0775f987bc067d781f2c6d47a4968c6 11-Dec-2012 Chet Haase <chet@google.com> Merge "Fix requestLayout-during-layout issue with Gallery"
bfea76c7879306f62338546665e8d347197ea179 11-Dec-2012 Chet Haase <chet@google.com> Fix requestLayout-during-layout issue with Gallery

The way that the Gallery was adding views (which it does in layout)
triggered a requestLayout() because of a call to setLayoutParams()
in View.addViewInner(). This tripped up the new logic that makes
layout-in-layout work, causing layout to be called on every frame,
even when the app was not doing anything.

The fix is to call the appropriate version
of requestLayoutInner() to tell it to skip calls to requestLayout().

Issue #7714495 requestLayout in endless loop

Change-Id: Icdcd886d30e4dd972da36bc6e50732c7213530c5
allery.java
ef2277ec5802143b8af1da32d7b01518401b97a9 09-Dec-2012 Emma Sajic <esajic@effectivelateralsolutions.co.uk> Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter

Fix for Issue ID 18316. Make isEmpty() return false when getCount() returns a non-zero value. So that the list cannot be considered empty when a header or footer is present.

https://code.google.com/p/android/issues/detail?id=18316

Change-Id: Ib69201e9d5ef3efcbb68ea298b8cc8ca6e027246
Signed-off-by: Emma Sajic <esajic@effectivelateralsolutions.co.uk>
eaderViewListAdapter.java
6a7304c95b9e2234bb0f1714eff6d2aadec61c04 11-Dec-2012 Adam Powell <adamp@google.com> Merge "Clear SearchView query field when collapsed as an action view"
235ae5f6fa94634cfc015246817ec49e1f279b62 10-Dec-2012 Adam Powell <adamp@google.com> Preserve Spinner widget open state across instance save/restore

Also fix a bug where anchored Spinner popups would not properly move
during a layout update.

Bug 7555978

Change-Id: If8dc22b0b40b14789a4e3bdecdeb376984923899
bsSpinner.java
pinner.java
99d0ce9a759d2072878ce95f0433d80aa0a86928 10-Dec-2012 Adam Powell <adamp@google.com> Clear SearchView query field when collapsed as an action view

Bug 7679852

Change-Id: Ice1b6902670f133219569e1b1d409a152ebc7b16
earchView.java
ba534dece2c1917a7473a5fe78976c66f0189ad5 10-Dec-2012 Adam Powell <adamp@google.com> Merge "Update documentation to mention compatibility versioning"
2c8cc972c3b03b76a80db517dde1e68895bbdd66 08-Dec-2012 Adam Powell <adamp@google.com> Update documentation to mention compatibility versioning

Mention changes involving MeasureSpec/RelativeLayout/ImageView
behavior changes when apps target SDK > 17.

Change-Id: I232492a76ac048f7b460d28a87bd84cbbec4e4d7
mageView.java
elativeLayout.java
6d29d143d94523765013ef4608c1811d03e8ed57 10-Dec-2012 Satoshi Kataoka <satok@google.com> Merge "Fix an issue on changing the keyboard locale between spellchecking supported language to non-supported language"
e3833c2ba4971f287cb57641a01b5d098fdfc05e 08-Dec-2012 Adam Powell <adamp@google.com> Merge "Compatibility measurement hacks when targetSdkVersion <= JB-MR1"
7da4b73a236b7c72d1337696949df7a00776dd06 08-Dec-2012 Adam Powell <adamp@google.com> Compatibility measurement hacks when targetSdkVersion <= JB-MR1

All three of these are interrelated!

* Allow broken MeasureSpec values. The long-standing implementation
of MeasureSpec.makeMeasureSpec has been to add both values rather
than masking/or-ing the values together. Some old code relied on
this, such as if it mixed up size/mode params.

* Disable ImageView adjustViewBounds allowing the view to grow beyond
its initial size. A bug in RelativeLayout in the presence of the
above MeasureSpec fix causes this not to work properly in apps.

* Allow RelativeLayout to send overflowed/bogus MeasureSpec values
when measured with MeasureSpec.UNSPECIFIED mode. Some apps have
custom child views that do not properly handle UNSPECIFIED
measurements, but the exact overflow semantics caused this to
generate AT_MOST $REALLYBIG MeasureSpecs for those views instead if
they were placed inside a RelativeLayout in a scrolling container.

Change-Id: I977a5f1ba5637f0cba3d26a70139e2bcd021fc9c
mageView.java
elativeLayout.java
461c8534e1b278cfa09da56b3691b1ef3de824d7 07-Dec-2012 Adam Powell <adamp@android.com> am d9cb3c53: am 8ea5ce15: Merge "Ensure running mTouchModeReset when AbsListView is detached"

* commit 'd9cb3c538f034c4e5137a2d2827cc72f8fbaf67e':
Ensure running mTouchModeReset when AbsListView is detached
d9cb3c538f034c4e5137a2d2827cc72f8fbaf67e 07-Dec-2012 Adam Powell <adamp@android.com> am 8ea5ce15: Merge "Ensure running mTouchModeReset when AbsListView is detached"

* commit '8ea5ce15651ebc1249a3b80531773b37e6f49b8d':
Ensure running mTouchModeReset when AbsListView is detached
a607223f34d436619132597bc0174223a6611bbb 07-Dec-2012 Sangkyu Lee <sk82.lee@lge.com> Ensure running mTouchModeReset when AbsListView is detached

mTouchModeReset should be executed when AbsListView is detached from window.
If not, when the AbsListView is re-attaced to window,
the child can retain a pressed state.

You can see this problem easily when you double-touch an item of
option menu very quickly.

Change-Id: I5aaa1fd5b95847efb2f5f1b5ec7cabe8eb85b237
Signed-off-by: Sangkyu Lee <sk82.lee@lge.com>
bsListView.java
2f536b18c447ad0000afcd578aa3985b8e1557bc 07-Dec-2012 Adam Cohen <adamcohen@google.com> am b9376280: am 224d2225: am 29cfce7a: Merge "Making sure to clear state related to views that are being recycled (issue 7650538)" into jb-mr1.1-dev

* commit 'b93762809beb13f61c6b2f7cb908a4ce81f46c82':
Making sure to clear state related to views that are being recycled (issue 7650538)
aae6b552b3f9bd0bcc64761a8ea72b4ae5f6c52e 07-Dec-2012 Fabrice Di Meglio <fdimeglio@google.com> am 7ee2f778: am 09329186: am b3b2922b: Merge "Fix bug #7649607 Hebrew text is cut off in Settings" into jb-mr1.1-dev

* commit '7ee2f7785f3f77a4d4f589fe6a488662c9ad7913':
Fix bug #7649607 Hebrew text is cut off in Settings
ca3088cee8bb151fe401b0f653dfd708cfceed65 07-Dec-2012 Craig Mautner <cmautner@google.com> am 29d4484d: am e771f3a6: am ddd75cb1: Merge "Fix NPE when showing Toast from system process." into jb-mr1.1-dev

* commit '29d4484dd822d7781da4170f907b8a020eb3e1d0':
Fix NPE when showing Toast from system process.
b93762809beb13f61c6b2f7cb908a4ce81f46c82 07-Dec-2012 Adam Cohen <adamcohen@google.com> am 224d2225: am 29cfce7a: Merge "Making sure to clear state related to views that are being recycled (issue 7650538)" into jb-mr1.1-dev

* commit '224d22250862d44cca08498630fcb0e7da68912b':
Making sure to clear state related to views that are being recycled (issue 7650538)
7ee2f7785f3f77a4d4f589fe6a488662c9ad7913 07-Dec-2012 Fabrice Di Meglio <fdimeglio@google.com> am 09329186: am b3b2922b: Merge "Fix bug #7649607 Hebrew text is cut off in Settings" into jb-mr1.1-dev

* commit '09329186eaf66b6c03d0ff5cc8df910800649b7d':
Fix bug #7649607 Hebrew text is cut off in Settings
29d4484dd822d7781da4170f907b8a020eb3e1d0 07-Dec-2012 Craig Mautner <cmautner@google.com> am e771f3a6: am ddd75cb1: Merge "Fix NPE when showing Toast from system process." into jb-mr1.1-dev

* commit 'e771f3a67cbca9976de6b5df6088f6c007df2914':
Fix NPE when showing Toast from system process.
224d22250862d44cca08498630fcb0e7da68912b 06-Dec-2012 Adam Cohen <adamcohen@google.com> am 29cfce7a: Merge "Making sure to clear state related to views that are being recycled (issue 7650538)" into jb-mr1.1-dev

* commit '29cfce7a387c5f1ea92a310398ed4ed213a3cf62':
Making sure to clear state related to views that are being recycled (issue 7650538)
29cfce7a387c5f1ea92a310398ed4ed213a3cf62 06-Dec-2012 Adam Cohen <adamcohen@google.com> Merge "Making sure to clear state related to views that are being recycled (issue 7650538)" into jb-mr1.1-dev
ff067190770281b221398e4ac9992a5e4bb10b27 06-Dec-2012 Adam Cohen <adamcohen@google.com> Making sure to clear state related to views that are being recycled (issue 7650538)

Change-Id: I5161ac261f963789537d2066a472cd3036c218aa
emoteViewsAdapter.java
5bb4ee6d38bec37c84086d52a2293b5396ee33df 05-Dec-2012 Satoshi Kataoka <satok@google.com> Fix an issue on changing the keyboard locale between spellchecking supported language to non-supported language

Bug: 7658675
Change-Id: Ia2353f299506b5871e0104594e4486b6ab1ffa82
pellChecker.java
extView.java
09329186eaf66b6c03d0ff5cc8df910800649b7d 06-Dec-2012 Fabrice Di Meglio <fdimeglio@google.com> am b3b2922b: Merge "Fix bug #7649607 Hebrew text is cut off in Settings" into jb-mr1.1-dev

* commit 'b3b2922b10650551664659eadcf9c43cf9628974':
Fix bug #7649607 Hebrew text is cut off in Settings
b3b2922b10650551664659eadcf9c43cf9628974 06-Dec-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #7649607 Hebrew text is cut off in Settings" into jb-mr1.1-dev
c1493e1a01c45b491071142eefb485c90f08d823 05-Dec-2012 Amith Yamasani <yamasani@google.com> am 368ee53f: am f663cad2: am 6c58b155: Merge "Make 3rd party lockscreen widgets work on secondary users" into jb-mr1.1-dev

* commit '368ee53f25cdff7ea89293d2cc81e95816919369':
Make 3rd party lockscreen widgets work on secondary users
e771f3a67cbca9976de6b5df6088f6c007df2914 05-Dec-2012 Craig Mautner <cmautner@google.com> am ddd75cb1: Merge "Fix NPE when showing Toast from system process." into jb-mr1.1-dev

* commit 'ddd75cb1ac225f8ffe8c78a5be8ceb589e0cda27':
Fix NPE when showing Toast from system process.
54ae2f389cd0d9b9a558b5f61e096aec6215966b 05-Dec-2012 Craig Mautner <cmautner@google.com> Fix NPE when showing Toast from system process.

The system process has no ApplicationContext and consequently was
returning null. Use the base Context in these cases.

Bug 7673699 fixed.

Change-Id: Ie2ab856bb0baefff44775a12bef7802320f72656
oast.java
368ee53f25cdff7ea89293d2cc81e95816919369 05-Dec-2012 Amith Yamasani <yamasani@google.com> am f663cad2: am 6c58b155: Merge "Make 3rd party lockscreen widgets work on secondary users" into jb-mr1.1-dev

* commit 'f663cad2248d5d38957f8e1408cd794c0de90202':
Make 3rd party lockscreen widgets work on secondary users
f663cad2248d5d38957f8e1408cd794c0de90202 05-Dec-2012 Amith Yamasani <yamasani@google.com> am 6c58b155: Merge "Make 3rd party lockscreen widgets work on secondary users" into jb-mr1.1-dev

* commit '6c58b155c3bdde355adb03b191e43d8eec089fb2':
Make 3rd party lockscreen widgets work on secondary users
4e46d0fdef233c729622cc45b329adc460bb4677 05-Dec-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7649607 Hebrew text is cut off in Settings

- in RTL mode and wrap content, make RelativeLayout respect the width that can be passed to him

Change-Id: I6029135dede1ee80e41ae1bc2a337bf52cf24445
elativeLayout.java
94022e8997084be458a1faf46e72efab1d59e973 04-Dec-2012 Amith Yamasani <yamasani@google.com> Make 3rd party lockscreen widgets work on secondary users

If you install a lockscreen widget app on a secondary user, lockscreen fails to find it.
There were several places where the correct context and userId were required under the
covers - AppWidgetHost, AppWidgetHostView and RemoteViewsAdapter.

Set the user id in the required places and use it to query the package information.

Bug: 7662835
Change-Id: Ife482c8ab2a2e601650b7cfe2660e88d3b8f2050
emoteViewsAdapter.java
29ac89f0ccd621f2a2905a0a402ee35be9eacb69 04-Dec-2012 Amith Yamasani <yamasani@google.com> am 2d332c1e: am 3533ea3b: am 844884d8: Merge "Fix remote views cache to avoid lockscreen widget crosstalk" into jb-mr1.1-dev

* commit '2d332c1e891431207d4e0b2d08a00db5297a5f89':
Fix remote views cache to avoid lockscreen widget crosstalk
2d332c1e891431207d4e0b2d08a00db5297a5f89 04-Dec-2012 Amith Yamasani <yamasani@google.com> am 3533ea3b: am 844884d8: Merge "Fix remote views cache to avoid lockscreen widget crosstalk" into jb-mr1.1-dev

* commit '3533ea3bbb0c71f1b7e7ebcb442ac4f3230bceeb':
Fix remote views cache to avoid lockscreen widget crosstalk
3533ea3bbb0c71f1b7e7ebcb442ac4f3230bceeb 04-Dec-2012 Amith Yamasani <yamasani@google.com> am 844884d8: Merge "Fix remote views cache to avoid lockscreen widget crosstalk" into jb-mr1.1-dev

* commit '844884d82e1b2339cdbf43f64445c5d550c4691c':
Fix remote views cache to avoid lockscreen widget crosstalk
ac2e6dd590b42c374aaeaf75f2531ab167cbdd30 03-Dec-2012 Amith Yamasani <yamasani@google.com> Fix remote views cache to avoid lockscreen widget crosstalk

Bug: 7660973

RemoteViewsAdapter will now store the userId as part of the cache key
when caching remote views to optimize for orientation changes.

Change-Id: I7c4e52b3995d4f56ebfa35aa9516327e182ad892
emoteViewsAdapter.java
9badf238eef28375260427865e8c3b0658593e14 03-Dec-2012 Romain Guy <romainguy@google.com> Merge "Close InputStream after we're done reading from it External bug #40837"
3614394c85da011c2899f2a8877573186707e7e4 03-Dec-2012 Romain Guy <romainguy@google.com> Close InputStream after we're done reading from it
External bug #40837

Change-Id: Ic7f3fefb7aabf4d006f9928b6f67d1263f039487
mageView.java
c72beac860d98cf7e58b2473ff2602b191b46d16 01-Dec-2012 Amith Yamasani <yamasani@google.com> am 0f469f4f: am 32df98d5: am c566b43d: Fix crosstalk between users for widgets hosted in lockscreen

* commit '0f469f4f7eff8faee4350a0d82af325d4ae10b43':
Fix crosstalk between users for widgets hosted in lockscreen
b1e76ebaabd71200f9a8dbd00d62ae849735b735 01-Dec-2012 Fabrice Di Meglio <fdimeglio@google.com> am 2e8dd459: am 4e1b2f44: am 20b76b9f: am 1e761ded: Merge "Fix typos in LinearLayout comments" into jb-mr1-dev

* commit '2e8dd459fb111a8e38b01af4abbebe3b8acb497b':
Fix typos in LinearLayout comments
0f469f4f7eff8faee4350a0d82af325d4ae10b43 01-Dec-2012 Amith Yamasani <yamasani@google.com> am 32df98d5: am c566b43d: Fix crosstalk between users for widgets hosted in lockscreen

* commit '32df98d52d482498d998b424684610c15098897a':
Fix crosstalk between users for widgets hosted in lockscreen
32df98d52d482498d998b424684610c15098897a 01-Dec-2012 Amith Yamasani <yamasani@google.com> am c566b43d: Fix crosstalk between users for widgets hosted in lockscreen

* commit 'c566b43d02596cba437e9a2723e9f989297cca72':
Fix crosstalk between users for widgets hosted in lockscreen
c566b43d02596cba437e9a2723e9f989297cca72 01-Dec-2012 Amith Yamasani <yamasani@google.com> Fix crosstalk between users for widgets hosted in lockscreen

This was initially about the Clock widget crashing repeatedly on some
devices with multiple users. Turned out that there were race conditions
when switching users that could result in remote views of one user calling
back to the RemoteViewsAdapter in keyguard that in turn sent an incorrect widget id
to a different user's widget, resulting in a crash.

Since KeyguardHostView is instantiated in the same process for different users,
it needs to carry a user identity to pass along to AppWidgetService so that
remote views services were bound to the correct user and callbacks were attached and
detached properly.

Added some aidl calls that take the userId to do the binding properly. A more
complete fix might be needed in the future so that all calls from Keyguard carry
the user id.

Also, there was a problem in comparing host uid for secondary users, since Settings
for a secondary user has a different uid than keyguard. Not an issue on single-user
systems. Changed the host.uid comparison to accomodate for the secondary user.

Bug: 7450247
Change-Id: Idbc36e3c60023cac74174f6cb7f2b2130dd3052c
emoteViewsAdapter.java
2e8dd459fb111a8e38b01af4abbebe3b8acb497b 01-Dec-2012 Fabrice Di Meglio <fdimeglio@google.com> am 4e1b2f44: am 20b76b9f: am 1e761ded: Merge "Fix typos in LinearLayout comments" into jb-mr1-dev

* commit '4e1b2f44e9f43b123e00eb210c9fa4ec78710782':
Fix typos in LinearLayout comments
4e1b2f44e9f43b123e00eb210c9fa4ec78710782 01-Dec-2012 Fabrice Di Meglio <fdimeglio@google.com> am 20b76b9f: am 1e761ded: Merge "Fix typos in LinearLayout comments" into jb-mr1-dev

* commit '20b76b9fff076241fe305fc99be3be7ab7d10407':
Fix typos in LinearLayout comments
20b76b9fff076241fe305fc99be3be7ab7d10407 01-Dec-2012 Fabrice Di Meglio <fdimeglio@google.com> am 1e761ded: Merge "Fix typos in LinearLayout comments" into jb-mr1-dev

* commit '1e761ded55695a9d76a6f00ee9504625581e8d3a':
Fix typos in LinearLayout comments
1e761ded55695a9d76a6f00ee9504625581e8d3a 01-Dec-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix typos in LinearLayout comments" into jb-mr1-dev
0feedf9982e60915f11f52dc0504d827800d6601 29-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> am cd91470a: am 146b1290: am cdc6d5cf: Merge "Fix bug #7617883 RelativeLayout is not having the correct width when in RTL mode" into jb-mr1.1-dev

* commit 'cd91470aad09ee7b501ed1d585b9a23f66a718b6':
Fix bug #7617883 RelativeLayout is not having the correct width when in RTL mode
b75fb5daf68b6df642616b9101a904cc9cc4feca 29-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> am 52c3833e: am 07581745: am 71175f72: Merge "Fix bug #7621927 Radio button/TextView drawable regression in 4.2" into jb-mr1.1-dev

* commit '52c3833e20d0e78fcb367c1e81cd2c83f9165a0a':
Fix bug #7621927 Radio button/TextView drawable regression in 4.2
cd91470aad09ee7b501ed1d585b9a23f66a718b6 29-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> am 146b1290: am cdc6d5cf: Merge "Fix bug #7617883 RelativeLayout is not having the correct width when in RTL mode" into jb-mr1.1-dev

* commit '146b129075bfe879aa09888744d1ba8de06f331a':
Fix bug #7617883 RelativeLayout is not having the correct width when in RTL mode
52c3833e20d0e78fcb367c1e81cd2c83f9165a0a 29-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> am 07581745: am 71175f72: Merge "Fix bug #7621927 Radio button/TextView drawable regression in 4.2" into jb-mr1.1-dev

* commit '075817450c61902ecaaf4af2d96e8542123a86bd':
Fix bug #7621927 Radio button/TextView drawable regression in 4.2
146b129075bfe879aa09888744d1ba8de06f331a 29-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> am cdc6d5cf: Merge "Fix bug #7617883 RelativeLayout is not having the correct width when in RTL mode" into jb-mr1.1-dev

* commit 'cdc6d5cf88e8eb73a557052679c436e864cb1853':
Fix bug #7617883 RelativeLayout is not having the correct width when in RTL mode
cdc6d5cf88e8eb73a557052679c436e864cb1853 29-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #7617883 RelativeLayout is not having the correct width when in RTL mode" into jb-mr1.1-dev
13705eda8cc065ee98feb94af649615579cd4a58 27-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7617883 RelativeLayout is not having the correct width when in RTL mode

- fix onMeasure() in RTL mode: need to compute width before computing layout params
that are used for layout
- fix getRelatedView() so that it uses the resolved rules
- add some extra "final" statements

Change-Id: I7c3bf841cd18c5f77b010a9be20fa78069e88d94
elativeLayout.java
075817450c61902ecaaf4af2d96e8542123a86bd 29-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> am 71175f72: Merge "Fix bug #7621927 Radio button/TextView drawable regression in 4.2" into jb-mr1.1-dev

* commit '71175f727bc1e094e72a410aca62392badffbf11':
Fix bug #7621927 Radio button/TextView drawable regression in 4.2
71175f727bc1e094e72a410aca62392badffbf11 29-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #7621927 Radio button/TextView drawable regression in 4.2" into jb-mr1.1-dev
b878ddb56ec4e755706890110d76735176ff2295 28-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7621927 Radio button/TextView drawable regression in 4.2

- as we remove the 9 patch padding trick, we need also to do the correct
positioning of the radio / checkbox / star during draw

Change-Id: I02b67bef9c0f2dc1c0c65361de14ab20ce9b881d
ompoundButton.java
extView.java
c653df46436a796556da2633f90353900344ce39 28-Nov-2012 Andreas Huber <andih@google.com> am 8fac23f2: am 8be8ee4c: am f0afad00: Merge "Stop caching stream duration, it might change (increase) dynamically." into jb-mr1.1-dev

* commit '8fac23f23df08b192a542be57b09badfbb0a1bf4':
Stop caching stream duration, it might change (increase) dynamically.
8fac23f23df08b192a542be57b09badfbb0a1bf4 28-Nov-2012 Andreas Huber <andih@google.com> am 8be8ee4c: am f0afad00: Merge "Stop caching stream duration, it might change (increase) dynamically." into jb-mr1.1-dev

* commit '8be8ee4c4a2f6386680bc8c6aeb88c597d5f4dcd':
Stop caching stream duration, it might change (increase) dynamically.
8be8ee4c4a2f6386680bc8c6aeb88c597d5f4dcd 28-Nov-2012 Andreas Huber <andih@google.com> am f0afad00: Merge "Stop caching stream duration, it might change (increase) dynamically." into jb-mr1.1-dev

* commit 'f0afad008bf78576ff364bcd8bc93b7aa8090b34':
Stop caching stream duration, it might change (increase) dynamically.
abae2a1b891772d36d8f781adfcc8969e551691f 28-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Simplification of the poolable management utils.

Before to implement a pool of objects, the pooled class had to implement an
interface which was leaking the pool management APIs. This requires
hiding APIs - inconvenient at best. Further, each client had to
implement the chaining of pooled instances which means adding a couple
of member variables which are manipulated by the implemented interface
methods. As a consequence the client is aware of how pooling is
implemented which is error prone and breaks encapsulation. Now the
pool objects are responsible for managing pooling state via reusable
wrapper objects and the clients are oblivious of how pooling is done.
Creating a thin cached wrapper for each pooled object has minimal
performance impact while making the code more maintainable. Actually
implementing of the old version of the APIs was taking as much code
as implementing the pooling yourself.

Also clients had to implement a poolable manager whose responsibility
was to create new instances and provide callbacks when an instance
is added to or removed from the pool. Now, the clinet class should
create a static member for the pool and expose obtain/aquire and
release/recycle methods in which it should create a new instance if
the pool did not return one and clear the state of the host when
it is returned to the pool. Updated the JavaDoc with a best practice.

The pooling was composed of several interfaces and classes scattered
over a few files, now all this is in a single small file.

Update all usages of the pooling APIs in the framework.

Also one had to write a poolable
manager which

Change-Id: Ib8dc286040eb3d7cb7d9668ba76fead05cb97647
rogressBar.java
elativeLayout.java
585c07e9ac19060bb242067a72a570cd42c75dea 28-Nov-2012 Andreas Huber <andih@google.com> Stop caching stream duration, it might change (increase) dynamically.

Change-Id: Ia829f47602e6961f24464da36a0162b8c1d7d6c8
related-to-bug: 6870049
ideoView.java
5132d62600484bb4fce86295b288c782bee91de8 27-Nov-2012 The Android Open Source Project <initial-contribution@android.com> Merge jb-mr1-dev into aosp/master - do not merge

Change-Id: Iee4af268c5c2930c59ee237e796467d79cedbbfc
742524b2169b5b5726e7b27fcd1673dabca62099 20-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> am 3ee47400: am 95263ef3: am 4d931acd: Merge "Fix for bug #7417949 TextView / EditText error Drawable is not put on the left in RTL mode" into jb-mr1.1-dev

* commit '3ee4740009b0e217ee0f6de0f86f2f557b175dea':
Fix for bug #7417949 TextView / EditText error Drawable is not put on the left in RTL mode
3ee4740009b0e217ee0f6de0f86f2f557b175dea 20-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> am 95263ef3: am 4d931acd: Merge "Fix for bug #7417949 TextView / EditText error Drawable is not put on the left in RTL mode" into jb-mr1.1-dev

* commit '95263ef3cf4c0df65950d2cddda843aabac6fa48':
Fix for bug #7417949 TextView / EditText error Drawable is not put on the left in RTL mode
95263ef3cf4c0df65950d2cddda843aabac6fa48 20-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> am 4d931acd: Merge "Fix for bug #7417949 TextView / EditText error Drawable is not put on the left in RTL mode" into jb-mr1.1-dev

* commit '4d931acdb85df1f9d1577cf05686601a6c2fb4cc':
Fix for bug #7417949 TextView / EditText error Drawable is not put on the left in RTL mode
4d931acdb85df1f9d1577cf05686601a6c2fb4cc 20-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix for bug #7417949 TextView / EditText error Drawable is not put on the left in RTL mode" into jb-mr1.1-dev
7d0604149b5f53e83bdb758eeee3b7ee187a0ece 20-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> am 0b64976f: am 0ee79040: am 15861683: am e9812bae: Merge "Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)" into jb-mr1-dev

* commit '0b64976f19a3f03f80dfcd80b8894299d4dc71d7':
Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)
0b64976f19a3f03f80dfcd80b8894299d4dc71d7 20-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> am 0ee79040: am 15861683: am e9812bae: Merge "Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)" into jb-mr1-dev

* commit '0ee790408e19a2a820a080a8b4ad3af63d3a5eca':
Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)
0ee790408e19a2a820a080a8b4ad3af63d3a5eca 20-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> am 15861683: am e9812bae: Merge "Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)" into jb-mr1-dev

* commit '1586168302f79d10e85a5aeed7b486c4244cc98e':
Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)
1586168302f79d10e85a5aeed7b486c4244cc98e 20-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> am e9812bae: Merge "Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)" into jb-mr1-dev

* commit 'e9812bae0e0ce08bd232dc2371fdb959e4f7a318':
Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)
7018cfdc05dc6135949806749ff5c370dce09ced 19-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)

This reverted change was adjusting the min and max values for the NumberPicker
which is not desirable since it changes behavior and it will be possible for
an app that works on the current platform to crash on an older one. Also the
adjustment was not implemented correctly.

Updated the documentation to clarify the reltionship between the min value,
max value, and the displayed values array.

Bug:7518172

This reverts commit a1410e6789ce72bc423793315a51aea8b6bad6c7

Change-Id: I109f1b1f54c1e609941243cabab9241871b6b12b
umberPicker.java
cf0a5865f43747828c2372dea009aad0d4c4f4c1 16-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> am e054ab85: am 348cf60d: am 674a131c: Merge "Fix bug #6638582 Password fields appears RTL in Arabic locale , it should be LTR" into jb-mr1.1-dev

* commit 'e054ab85388d71c8b1d46fa4e67018ff2aaa97ae':
Fix bug #6638582 Password fields appears RTL in Arabic locale , it should be LTR
e054ab85388d71c8b1d46fa4e67018ff2aaa97ae 15-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> am 348cf60d: am 674a131c: Merge "Fix bug #6638582 Password fields appears RTL in Arabic locale , it should be LTR" into jb-mr1.1-dev

* commit '348cf60dbb1de980aa97e551817765e7b3fa0221':
Fix bug #6638582 Password fields appears RTL in Arabic locale , it should be LTR
348cf60dbb1de980aa97e551817765e7b3fa0221 15-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> am 674a131c: Merge "Fix bug #6638582 Password fields appears RTL in Arabic locale , it should be LTR" into jb-mr1.1-dev

* commit '674a131cb625a7aae0c6e50a24a968200c71b566':
Fix bug #6638582 Password fields appears RTL in Arabic locale , it should be LTR
674a131cb625a7aae0c6e50a24a968200c71b566 15-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #6638582 Password fields appears RTL in Arabic locale , it should be LTR" into jb-mr1.1-dev
8701bb90db889c4731ed15c6588854870f34cdd4 15-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #6638582 Password fields appears RTL in Arabic locale , it should be LTR

- change heuristic to LTR.

Change-Id: I3c5f413e48ceddbd931d713eb8c168431fcd09a2
extView.java
bb0cbae441f04c052dd1a73448ae58fbffaca65d 14-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix for bug #7417949 TextView / EditText error Drawable is not put on the left in RTL mode

- keep the Error Drawable infos into the Drawables cache
- reset left/right Drawable state before resolving where to put the Error Drawable
- get the mirrored Drawable for the Error popup background
- set the Error popup position depending on the layout direction (so that the "triangle"
of the background is pointing to the middle of the Error icon)

One restriction: we load the Error popup background Drawable corresponding to the layout
direction of the System Locale. So if you set the Layout direction on a TextView (or
an EditText) to RTL and set an error to it when you are in a RTL System Locale, then you
see that the background "triangle" is not pointing to the Error icon. This is working as
intended as the AssetManager load the Drawable resource depending on the configuration
which is in that case the RTL one thus loading the RTL version of the background (and not
the LTR one).

Thus there can be a discrepancy between the "layout direction" of the TextView
and the one from the Error popup background. This would happen only thru using the SDK and
not in a normal case when running an App.

Change-Id: I91bbfbe46ac20efe0e585c5d4c766db23b5c709d
ditor.java
extView.java
7a12433390470ce8ae1eda2ed7578f513abc75ad 13-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> am bb67d486: am a97f5b8c: am 9d82d324: Merge "Fix bug #7457897 Error icons are not shown in credit card entry form" into jb-mr1.1-dev

* commit 'bb67d48606afdeb34fc488fb16f18c136eb49ec8':
Fix bug #7457897 Error icons are not shown in credit card entry form
bb67d48606afdeb34fc488fb16f18c136eb49ec8 13-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> am a97f5b8c: am 9d82d324: Merge "Fix bug #7457897 Error icons are not shown in credit card entry form" into jb-mr1.1-dev

* commit 'a97f5b8c2585c87e1b82e5ce3b7aab149668a711':
Fix bug #7457897 Error icons are not shown in credit card entry form
a97f5b8c2585c87e1b82e5ce3b7aab149668a711 13-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> am 9d82d324: Merge "Fix bug #7457897 Error icons are not shown in credit card entry form" into jb-mr1.1-dev

* commit '9d82d324de7d544c95458faa05a87014e53e8892':
Fix bug #7457897 Error icons are not shown in credit card entry form
c1374e8e1ae6669ffda874445ebf6b14c49d3a9c 13-Nov-2012 Marco Nelissen <marcone@google.com> Fix build

Restore unused-but-public "resolveAdjustedSize" method.

Change-Id: I2f2bdbf96c484bcd457790fde970f1c67296b857
ideoView.java
0b2d87237ed53b94dc2216a42942d35788d3307b 13-Nov-2012 Marco Nelissen <marcone@google.com> Make VideoView/MediaController behave better

Make VideoView support wrap_content size, and position the MediaController
inside of the anchor view instead of below it and centered on the screen.
b/6179034

Change-Id: Iec0dd9a1d953f742bbf7b12065946743a03745e5
ediaController.java
ideoView.java
5acc379c5488e846093efd2347d408069509830a 12-Nov-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7457897 Error icons are not shown in credit card entry form

- fix regression: the error icon was no more showing is the widget was not focused

Change-Id: I24cc00a0cb79d38e365d413f9820b5a6981de4f4
ditor.java
238c892ece3c945c5ed14bc6e522be12848874ed 09-Nov-2012 Romain Guy <romainguy@google.com> am 11d43794: am de60dd2d: am fcd7ad4e: am 59d73ab6: Merge "Respond to ticks when a timezone is set and it doesn\'t display seconds Bug #7489774" into jb-mr1-dev

* commit '11d43794b92e917bebc527d6e597eb6bd6581bfb':
Respond to ticks when a timezone is set and it doesn't display seconds Bug #7489774
1c2576ae18c6879be63a66be2a20546fcb404385 09-Nov-2012 Adam Cohen <adamcohen@google.com> am 1b19b519: am d50f206a: am a7af0209: am 0e1608c0: Merge "Attempted fix for issue 7469415" into jb-mr1-lockscreen-dev

* commit '1b19b519e659783236661fecf22f4f8897742dc3':
Attempted fix for issue 7469415
11d43794b92e917bebc527d6e597eb6bd6581bfb 09-Nov-2012 Romain Guy <romainguy@google.com> am de60dd2d: am fcd7ad4e: am 59d73ab6: Merge "Respond to ticks when a timezone is set and it doesn\'t display seconds Bug #7489774" into jb-mr1-dev

* commit 'de60dd2d136557ff7dce52c37625c4475ef42e7d':
Respond to ticks when a timezone is set and it doesn't display seconds Bug #7489774
1b19b519e659783236661fecf22f4f8897742dc3 09-Nov-2012 Adam Cohen <adamcohen@google.com> am d50f206a: am a7af0209: am 0e1608c0: Merge "Attempted fix for issue 7469415" into jb-mr1-lockscreen-dev

* commit 'd50f206a08663c05dbe6c14918c6eef61df0bc97':
Attempted fix for issue 7469415
18d9a269411a5ac1431cb86949b101987ae3242e 08-Nov-2012 Romain Guy <romainguy@google.com> am a965fc5e: am b37e5d75: am 7b9b41c1: am 1b3b2544: Merge "Dismiss error icon on setError(null) [regression] Bug #7442935" into jb-mr1-dev

* commit 'a965fc5e8f0c84cbeeaae7006eddbaf3bba64586':
Dismiss error icon on setError(null) [regression] Bug #7442935
a965fc5e8f0c84cbeeaae7006eddbaf3bba64586 08-Nov-2012 Romain Guy <romainguy@google.com> am b37e5d75: am 7b9b41c1: am 1b3b2544: Merge "Dismiss error icon on setError(null) [regression] Bug #7442935" into jb-mr1-dev

* commit 'b37e5d756f04489ff95226e26ebfdf141d135f91':
Dismiss error icon on setError(null) [regression] Bug #7442935
7b172a49a90ea6784dbfe0002474f9d4fd4ace1a 07-Nov-2012 Kenny Root <kroot@google.com> am 58ed5d74: am 768d9e1a: Merge "Correct executable bit for source files"

* commit '58ed5d748c0b9b64845975ef5844ad313de7c3f6':
Correct executable bit for source files
58ed5d748c0b9b64845975ef5844ad313de7c3f6 07-Nov-2012 Kenny Root <kroot@google.com> am 768d9e1a: Merge "Correct executable bit for source files"

* commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04':
Correct executable bit for source files
de60dd2d136557ff7dce52c37625c4475ef42e7d 07-Nov-2012 Romain Guy <romainguy@google.com> am fcd7ad4e: am 59d73ab6: Merge "Respond to ticks when a timezone is set and it doesn\'t display seconds Bug #7489774" into jb-mr1-dev

* commit 'fcd7ad4e28df6a408e84c6d2b2f425b029efbfbe':
Respond to ticks when a timezone is set and it doesn't display seconds Bug #7489774
d50f206a08663c05dbe6c14918c6eef61df0bc97 07-Nov-2012 Adam Cohen <adamcohen@google.com> am a7af0209: am 0e1608c0: Merge "Attempted fix for issue 7469415" into jb-mr1-lockscreen-dev

* commit 'a7af02098a0192b36e98c5ab809fd0f6eae9ce21':
Attempted fix for issue 7469415
59d73ab6fcc80b9e08ff06cfc13617a2f65af60e 07-Nov-2012 Romain Guy <romainguy@google.com> Merge "Respond to ticks when a timezone is set and it doesn't display seconds Bug #7489774" into jb-mr1-dev
a7af02098a0192b36e98c5ab809fd0f6eae9ce21 07-Nov-2012 Adam Cohen <adamcohen@google.com> am 0e1608c0: Merge "Attempted fix for issue 7469415" into jb-mr1-lockscreen-dev

* commit '0e1608c0277155c49f78a0f6980e5c5cb9afc0b8':
Attempted fix for issue 7469415
3a084af2e90849aaa8beb3a610189e3399c63ea0 07-Nov-2012 Kenny Root <kroot@google.com> Correct executable bit for source files

Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
ppSecurityPermissions.java
a76f7db323598f78512bbbdf2fb89248c9e317e5 07-Nov-2012 Romain Guy <romainguy@google.com> Respond to ticks when a timezone is set and it doesn't display seconds
Bug #7489774

This change also fixes a crash if you programmatically set the time
formats from code before the widget is attached to the window.

Change-Id: I73ead93f5866d9059a4b3823c4304aeca8e419b6
extClock.java
b37e5d756f04489ff95226e26ebfdf141d135f91 07-Nov-2012 Romain Guy <romainguy@google.com> am 7b9b41c1: am 1b3b2544: Merge "Dismiss error icon on setError(null) [regression] Bug #7442935" into jb-mr1-dev

* commit '7b9b41c18d0dc9d238111fa1865c72e4a5bb22cc':
Dismiss error icon on setError(null) [regression] Bug #7442935
475255bffc792b48e18213a6bfde0fc9ebeb4a34 07-Nov-2012 Romain Guy <romainguy@google.com> am 1b3b2544: Merge "Dismiss error icon on setError(null) [regression] Bug #7442935" into jb-mr1-dev

* commit '1b3b2544e647a40094b9c9df2c94e34df7921da5':
Dismiss error icon on setError(null) [regression] Bug #7442935
d1cc1878cc7a07c794feec51c840fd566f59d523 06-Nov-2012 Romain Guy <romainguy@google.com> Dismiss error icon on setError(null) [regression]
Bug #7442935

Change-Id: I783d868173637007be326e20795cbb4cb8c7b899
ditor.java
0e1608c0277155c49f78a0f6980e5c5cb9afc0b8 06-Nov-2012 Adam Cohen <adamcohen@google.com> Merge "Attempted fix for issue 7469415" into jb-mr1-lockscreen-dev
85a08f1bf2bf3a3120abf03fa4d3fad99d6876f9 06-Nov-2012 Adam Cohen <adamcohen@google.com> Attempted fix for issue 7469415

Change-Id: Ica81bf4197dc2c4fadd8fa07cb9c895b55b5702b
emoteViews.java
6ea875ea367743f667f9518f05413ff4e52fd615 06-Nov-2012 Mike Cleron <mcleron@google.com> am 21c25254: am a0362c7b: am c87f198b: Merge "TextView not respecting "speak passwords" setting when adding before text to events." into jb-mr1-dev

* commit '21c25254416a47c667d427052d4510ae027e81be':
TextView not respecting "speak passwords" setting when adding before text to events.
21c25254416a47c667d427052d4510ae027e81be 06-Nov-2012 Mike Cleron <mcleron@google.com> am a0362c7b: am c87f198b: Merge "TextView not respecting "speak passwords" setting when adding before text to events." into jb-mr1-dev

* commit 'a0362c7b17ade27103ab468e46fb00de002ce6fa':
TextView not respecting "speak passwords" setting when adding before text to events.
a0362c7b17ade27103ab468e46fb00de002ce6fa 06-Nov-2012 Mike Cleron <mcleron@google.com> am c87f198b: Merge "TextView not respecting "speak passwords" setting when adding before text to events." into jb-mr1-dev

* commit 'c87f198b8cd3b3cb5b3daf63df419b9377b9c7b8':
TextView not respecting "speak passwords" setting when adding before text to events.
c87f198b8cd3b3cb5b3daf63df419b9377b9c7b8 06-Nov-2012 Mike Cleron <mcleron@google.com> Merge "TextView not respecting "speak passwords" setting when adding before text to events." into jb-mr1-dev
7264dd3ca8d6945dbc9053257a5830fcec11f95a 06-Nov-2012 Romain Guy <romainguy@google.com> am 11e65c36: am 851f2b0e: am 6c642089: Merge "Add programmatic access to setters in TextClock Bug #7478328" into jb-mr1-dev

* commit '11e65c3670fb2d91c1637449bdbd9d85b31a532d':
Add programmatic access to setters in TextClock Bug #7478328
11e65c3670fb2d91c1637449bdbd9d85b31a532d 06-Nov-2012 Romain Guy <romainguy@google.com> am 851f2b0e: am 6c642089: Merge "Add programmatic access to setters in TextClock Bug #7478328" into jb-mr1-dev

* commit '851f2b0e12bb61c43a3062cb359d5b13b26f97d5':
Add programmatic access to setters in TextClock Bug #7478328
851f2b0e12bb61c43a3062cb359d5b13b26f97d5 06-Nov-2012 Romain Guy <romainguy@google.com> am 6c642089: Merge "Add programmatic access to setters in TextClock Bug #7478328" into jb-mr1-dev

* commit '6c642089bcd13bf17d7c445b2ec89b62a79c9823':
Add programmatic access to setters in TextClock Bug #7478328
6c642089bcd13bf17d7c445b2ec89b62a79c9823 06-Nov-2012 Romain Guy <romainguy@google.com> Merge "Add programmatic access to setters in TextClock Bug #7478328" into jb-mr1-dev
a9cfe677eec0324a94509c6a5d29cec5b8a7a7cf 05-Nov-2012 Romain Guy <romainguy@google.com> Add programmatic access to setters in TextClock
Bug #7478328

Add missing annotation to let appwidgets change values programmatically

Change-Id: I6e9b095e93e4e90bd96e127344354c0dfa46cd86
extClock.java
72bba588079e17eb425c4926d22ffcf301693bab 05-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> TextView not respecting "speak passwords" setting when adding before text to events.

1. If the speak passwords settings is on, the accessibility events emitted from a
TextView should contain the text and before text of the source. The settings
shows the users consent to put the source's text in the event. While the code
that populates the current text in the accessibility event respects the
setting, the one that populates the before text does not. As a result the
fact that the user has typed a letter cannot be echoed by an accessibility
service.

bug:7468768

Change-Id: I7580c37936d742f42653315b2591e268a634d22b
extView.java
5fc949d0ae051f05437858d911ebf12d3a6fbead 02-Nov-2012 Raph Levien <raph@google.com> am e5a4e92f: am fd06d34c: am d9134e7a: Merge "Revert partial RTL\'ization of Editor.setError()" into jb-mr1-dev

* commit 'e5a4e92f175e7a776ba4703a09b68de562060e1f':
Revert partial RTL'ization of Editor.setError()
e5a4e92f175e7a776ba4703a09b68de562060e1f 02-Nov-2012 Raph Levien <raph@google.com> am fd06d34c: am d9134e7a: Merge "Revert partial RTL\'ization of Editor.setError()" into jb-mr1-dev

* commit 'fd06d34c199903c6aa514ba5a633d6af1d972c54':
Revert partial RTL'ization of Editor.setError()
fd06d34c199903c6aa514ba5a633d6af1d972c54 02-Nov-2012 Raph Levien <raph@google.com> am d9134e7a: Merge "Revert partial RTL\'ization of Editor.setError()" into jb-mr1-dev

* commit 'd9134e7aa1679878245b67ed1a318acb19d0c717':
Revert partial RTL'ization of Editor.setError()
d9134e7aa1679878245b67ed1a318acb19d0c717 02-Nov-2012 Raph Levien <raph@google.com> Merge "Revert partial RTL'ization of Editor.setError()" into jb-mr1-dev
f58f1b9d41a5cfc2614b836417b7fee7e6d241b6 02-Nov-2012 Raph Levien <raph@google.com> Revert partial RTL'ization of Editor.setError()

The conversion of the error indication on Editor to RTL-aware was only
partially completed, and was causing bugs such as an error indication
failing to appear when set (bug 7457897).

This patch reverts these changes and just always sets the error drawable
on the right. This fixes the above bug, and also makes the error
drawable position always consistent with the error popup (before, in an
RTL layout direction, the popup would be on the right and the drawable
on the left).

Making the error display fully RTL-aware should be done as future work.

Change-Id: Icaee91210454ed9056e7200520d9275303de02ca
ditor.java
331b552734ab47bc5256a0e2e4e9d152c67fc069 01-Nov-2012 Romain Guy <romainguy@google.com> am aabe4bb4: am 9c0010f8: am 998d03bd: Merge "A new clock widget to create lock screen appwidgets" into jb-mr1-dev

* commit 'aabe4bb4776c21592db7e0714b3fec960b6778c7':
A new clock widget to create lock screen appwidgets
aabe4bb4776c21592db7e0714b3fec960b6778c7 01-Nov-2012 Romain Guy <romainguy@google.com> am 9c0010f8: am 998d03bd: Merge "A new clock widget to create lock screen appwidgets" into jb-mr1-dev

* commit '9c0010f856d623845b20a7dd13c024023626623c':
A new clock widget to create lock screen appwidgets
9c0010f856d623845b20a7dd13c024023626623c 01-Nov-2012 Romain Guy <romainguy@google.com> am 998d03bd: Merge "A new clock widget to create lock screen appwidgets" into jb-mr1-dev

* commit '998d03bd943053741bab17a8ef0abb355f6bc3ae':
A new clock widget to create lock screen appwidgets
3d1728c03a0cd1aaed6bc81c97de27d62c771a6e 01-Nov-2012 Romain Guy <romainguy@google.com> A new clock widget to create lock screen appwidgets

This new widget replaces DigitalClock. It listens to all the correct
system events and offer the ability to customize the formatting
patterns in 12-hour and 24-hour modes. It also supports fixed
time zones to create world clocks.

One more step towards becoming ClockOS!

Change-Id: I677e5dfca8cd8c8d1f8c49e54d7507f4d1885bf4
igitalClock.java
extClock.java
ea5e56ad9c2324dd6fbeab64e031878e03122c40 30-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am d31f0ab9: am 9d662c77: am 68b14054: Merge "Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"" into jb-mr1-dev

* commit 'd31f0ab93f4f35a7ca6df6d428db2a5fd3d6750a':
Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"
46e62fe39874abf2a9bdfab7635df98011c03cd1 30-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 024e70c8: am dd80335e: am 07ce0ca2: Merge "Fix bug #7419054 TextView Drawables resolution is broken in RTL mode" into jb-mr1-dev

* commit '024e70c8156a0fa2d702ff2fba4a38c1f6b68f98':
Fix bug #7419054 TextView Drawables resolution is broken in RTL mode
d31f0ab93f4f35a7ca6df6d428db2a5fd3d6750a 29-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 9d662c77: am 68b14054: Merge "Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"" into jb-mr1-dev

* commit '9d662c77650a1cee9d05ad93743684482eeba935':
Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"
024e70c8156a0fa2d702ff2fba4a38c1f6b68f98 29-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am dd80335e: am 07ce0ca2: Merge "Fix bug #7419054 TextView Drawables resolution is broken in RTL mode" into jb-mr1-dev

* commit 'dd80335edde688794db3260bcea7f732430abaf1':
Fix bug #7419054 TextView Drawables resolution is broken in RTL mode
9d662c77650a1cee9d05ad93743684482eeba935 29-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 68b14054: Merge "Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"" into jb-mr1-dev

* commit '68b14054b96571d4009c6c5a9b4c3413d908a523':
Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"
dd80335edde688794db3260bcea7f732430abaf1 29-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 07ce0ca2: Merge "Fix bug #7419054 TextView Drawables resolution is broken in RTL mode" into jb-mr1-dev

* commit '07ce0ca265274c5ba95e6ec3e0950e38b8ce97ea':
Fix bug #7419054 TextView Drawables resolution is broken in RTL mode
68b14054b96571d4009c6c5a9b4c3413d908a523 27-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"" into jb-mr1-dev
bb4b601673a4f910d3e467bc5ce39538438859ce 27-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"

This reverts commit 6bf6eb7d5f9207d6a3e1d6b61f17a8654d06fbdb.
and also fbc21e126f329b7b7c161858c1390ccb023be07e

I have also removed all unnecessary calls to resolveLayoutDirection(int). This is possible as
we are resolving layout params on every child of a ViewGroup as of commit
fcc3348f61b2992f0b84e8e8dcb3535fc715298f

Change-Id: I262a375b03fcc3c9261cbe2edebb6ec42ec2e186
rameLayout.java
inearLayout.java
elativeLayout.java
crollView.java
ableRow.java
1957d281ea123e4925e51fa5ad22ce239ef2a07d 26-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7419054 TextView Drawables resolution is broken in RTL mode

- check layout direction previous value in the onResolveDrawables(int) callback
- dont do any Drawables resolution if we cannot resolve the layout direction
- also remove unnecessary call to resolveRtlPropertiesIfNeeded() in ViewGroup when
adding a child as the call to resolveRtlPropertiesIfNeeded() will be done into
the measure() call itself later

Change-Id: I62237af3d307dfea203f7f2865551d1c61a0e0b8
ditor.java
extView.java
fc53e584d3d6ae106752cce334f143a68eb161bd 25-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix typos in LinearLayout comments

- woow those were very old ones!

Change-Id: I72bf71d5c5aa14f32401aed04462d562672016f8
inearLayout.java
b09aadeda5fdaa68d231d7652f78cc55e7c5ac61 24-Oct-2012 Adam Powell <adamp@android.com> am a23f69a8: am 86e0d95d: Merge "Reattach header view after DPAD scroll."

* commit 'a23f69a8782e0edeff815cfb5275f2864fc1d19e':
Reattach header view after DPAD scroll.
a23f69a8782e0edeff815cfb5275f2864fc1d19e 24-Oct-2012 Adam Powell <adamp@android.com> am 86e0d95d: Merge "Reattach header view after DPAD scroll."

* commit '86e0d95de1007d339af467c1484b09878ee528fc':
Reattach header view after DPAD scroll.
86e0d95de1007d339af467c1484b09878ee528fc 23-Oct-2012 Adam Powell <adamp@android.com> Merge "Reattach header view after DPAD scroll."
da391700c964077306ff43fd4296f31536942e9d 19-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> resolved conflicts for merge of e549a602 to master

Change-Id: I37dc0e48321d4baea49d77b6ef22bca19dcb0d9b
e549a602a31942d9a2b65f5d3e262e177d6b8f09 19-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am af26ac31: am 398a6713: Merge "Fix bug #7367429 Popup window should get its direction from it Anchor View if it can" into jb-mr1-dev

* commit 'af26ac3130c0e956e28443d6e42212b02d4da611':
Fix bug #7367429 Popup window should get its direction from it Anchor View if it can
af26ac3130c0e956e28443d6e42212b02d4da611 19-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 398a6713: Merge "Fix bug #7367429 Popup window should get its direction from it Anchor View if it can" into jb-mr1-dev

* commit '398a6713c355cf59af071e944268aec7c0096b5a':
Fix bug #7367429 Popup window should get its direction from it Anchor View if it can
398a6713c355cf59af071e944268aec7c0096b5a 19-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #7367429 Popup window should get its direction from it Anchor View if it can" into jb-mr1-dev
0b9b415632f559d893ac9ee5e43385d6ffb65b99 19-Oct-2012 Dave Burke <daveburke@google.com> am b1f434c1: am 744b4dca: am 09a5321c: Merge "Revert "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.""" into jb-mr1-dev

* commit 'b1f434c16eefb028ef441ba40df8abe1e087a4eb':
Revert "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.""
b1f434c16eefb028ef441ba40df8abe1e087a4eb 19-Oct-2012 Dave Burke <daveburke@google.com> am 744b4dca: am 09a5321c: Merge "Revert "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.""" into jb-mr1-dev

* commit '744b4dca34e605b80e553a34327067abc862a320':
Revert "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.""
744b4dca34e605b80e553a34327067abc862a320 19-Oct-2012 Dave Burke <daveburke@google.com> am 09a5321c: Merge "Revert "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.""" into jb-mr1-dev

* commit '09a5321c60c02d944684abb98e0daec9dd810fab':
Revert "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.""
09a5321c60c02d944684abb98e0daec9dd810fab 19-Oct-2012 Dave Burke <daveburke@google.com> Merge "Revert "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.""" into jb-mr1-dev
579e14016c4a972e70cd2bd0c6d89bbd7e9e941c 19-Oct-2012 Dave Burke <daveburke@google.com> Revert "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.""

This reverts commit 57fca90ac65ecfe97acd4c93d442c3db8f815e11

Change-Id: I21b007a7d150a4c23f25a706cdba5cb86198198f
rameLayout.java
adioGroup.java
ableLayout.java
ableRow.java
b003e28c1d65d06fcb5690ff2955d007d8f7a626 18-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7367429 Popup window should get its direction from it Anchor View if it can

- set the popup layout direction depending on the anchor view's layout direction
(if not defined before)
- make first pass of ViewRootImpl.performTraversals() and configuration update
not override any layout direction that could have been set before

Change-Id: I8e86ca805f0caf52c058d06aa7861df56fb862e6
opupWindow.java
f1149452694713670a5e3849693841c0fbab0f25 18-Oct-2012 Justin Ho <justinho@google.com> am 22bd3726: am 76a01424: am 871a6d7d: Merge "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."" into jb-mr1-dev

* commit '22bd3726be37a24e956d962d61657d8a3d54c985':
Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."
5c555f39fb9bb1a47c081ae62658454e92792f44 18-Oct-2012 Justin Ho <justinho@google.com> am 0efebf0a: am c35f7650: am 4db31657: Merge "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev

* commit '0efebf0af4c21b9d02c9c06b67867a554e0b35ea':
This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.
22bd3726be37a24e956d962d61657d8a3d54c985 18-Oct-2012 Justin Ho <justinho@google.com> am 76a01424: am 871a6d7d: Merge "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."" into jb-mr1-dev

* commit '76a0142477e3ebda381d717572b21b355c172c26':
Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."
76a0142477e3ebda381d717572b21b355c172c26 18-Oct-2012 Justin Ho <justinho@google.com> am 871a6d7d: Merge "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."" into jb-mr1-dev

* commit '871a6d7d4fb3bffaff37e45f0b4f5e3c862239d2':
Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."
0efebf0af4c21b9d02c9c06b67867a554e0b35ea 18-Oct-2012 Justin Ho <justinho@google.com> am c35f7650: am 4db31657: Merge "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev

* commit 'c35f76508eed905e06954cf8955065909b2039a7':
This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.
c35f76508eed905e06954cf8955065909b2039a7 18-Oct-2012 Justin Ho <justinho@google.com> am 4db31657: Merge "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev

* commit '4db3165793a837ffc8197184fbc13ef2217e3dfc':
This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.
871a6d7d4fb3bffaff37e45f0b4f5e3c862239d2 18-Oct-2012 Justin Ho <justinho@google.com> Merge "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."" into jb-mr1-dev
4e360f06003dd31da25dc8529fa1876ab573d0aa 18-Oct-2012 Justin Ho <justinho@google.com> Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."

This reverts commit f49d835dfe1bd21920ff8a48cbdfb9c1fd632fd9

Change-Id: If0093f23d6458e53619220fbf0aa5f844ad2c790
rameLayout.java
adioGroup.java
ableLayout.java
ableRow.java
4db3165793a837ffc8197184fbc13ef2217e3dfc 18-Oct-2012 Justin Ho <justinho@google.com> Merge "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev
f49d835dfe1bd21920ff8a48cbdfb9c1fd632fd9 18-Oct-2012 Justin Ho <justinho@google.com> This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.

This reverts commit 57fca90ac65ecfe97acd4c93d442c3db8f815e11

Change-Id: I0fe25056cd54b8852b32ae4621e048d3f5c7d555
rameLayout.java
adioGroup.java
ableLayout.java
ableRow.java
7cfd0a2809ee39d4a6c484384615f873a133979d 17-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 86a8b251: am d8989364: am e9a33c60: Merge "Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware" into jb-mr1-dev

* commit '86a8b25114fbc033c474a214699ad77a9140af5e':
Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware
86a8b25114fbc033c474a214699ad77a9140af5e 17-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am d8989364: am e9a33c60: Merge "Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware" into jb-mr1-dev

* commit 'd89893642f81f854455da601e4735d226cf95214':
Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware
d89893642f81f854455da601e4735d226cf95214 17-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am e9a33c60: Merge "Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware" into jb-mr1-dev

* commit 'e9a33c6098f51c687665adbed799860df2569ad0':
Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware
e9a33c6098f51c687665adbed799860df2569ad0 17-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware" into jb-mr1-dev
8814ec37969656c01218cf80cef0504e7961ba47 17-Oct-2012 Justin Ho <justinho@google.com> am 47270268: am 8598646e: am 144d4055: Merge "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."" into jb-mr1-dev

* commit '472702687d174c126752259485b83c39f3eb2801':
Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."
472702687d174c126752259485b83c39f3eb2801 17-Oct-2012 Justin Ho <justinho@google.com> am 8598646e: am 144d4055: Merge "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."" into jb-mr1-dev

* commit '8598646e5b93e8adf4bcd2489365900d2a4776c6':
Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."
8598646e5b93e8adf4bcd2489365900d2a4776c6 17-Oct-2012 Justin Ho <justinho@google.com> am 144d4055: Merge "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."" into jb-mr1-dev

* commit '144d405511e9ed685568e50db87b22cc42b6a252':
Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."
144d405511e9ed685568e50db87b22cc42b6a252 17-Oct-2012 Justin Ho <justinho@google.com> Merge "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."" into jb-mr1-dev
57fca90ac65ecfe97acd4c93d442c3db8f815e11 17-Oct-2012 Justin Ho <justinho@google.com> Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."

This reverts commit dcf59629beed8182759a1068ab8ee997935bef82

Change-Id: I27426a0ffe993973ffb0b05ce1ed3afe73fcd87d
rameLayout.java
adioGroup.java
ableLayout.java
ableRow.java
cf12897cf553bfd07734dad3de071915fd21d4eb 17-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware

- set the Configuration's layout direction in ViewRootImpl instead of PhoneWindow$DecorView
- then remove unecessary API on ListPopupWindow for passing the layout direction

Change-Id: Ia2c6e4aa8cb82aed9b088bc3b8004ea0a1ded1f3
utoCompleteTextView.java
istPopupWindow.java
f7b77f1285ea9635085d2621a1db8d67316fcbd5 17-Oct-2012 Jim Miller <jaggies@google.com> am ef512f03: am cccf85c2: am 8e614501: Merge "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev

* commit 'ef512f03e3a10b39e82c9029d9d7623915ac8850':
This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.
ef512f03e3a10b39e82c9029d9d7623915ac8850 17-Oct-2012 Jim Miller <jaggies@google.com> am cccf85c2: am 8e614501: Merge "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev

* commit 'cccf85c287aea85121b15280bf3a89a2b7d3926b':
This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.
cccf85c287aea85121b15280bf3a89a2b7d3926b 17-Oct-2012 Jim Miller <jaggies@google.com> am 8e614501: Merge "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev

* commit '8e6145013a6533ca6a33e03c8a5e45ad2de431e4':
This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.
8e6145013a6533ca6a33e03c8a5e45ad2de431e4 17-Oct-2012 Jim Miller <jaggies@google.com> Merge "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev
dcf59629beed8182759a1068ab8ee997935bef82 17-Oct-2012 Jim Miller <jaggies@google.com> This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.

Revert "Revert "Revert "Fix for bug 6050753."""

This reverts commit 6868d6f349610c15256471cc3d5fa708cbfd5f1d

Change-Id: I8843d92dba14c82f06d9ee59517cf11b2abbbf04
rameLayout.java
adioGroup.java
ableLayout.java
ableRow.java
886d159aa847232a534ac07d01328d65813e31a8 16-Oct-2012 Raph Levien <raph@google.com> am 17732ff1: am 142155b5: am 3377b404: Merge "Fix for bug 7358703 Gmail ANR when trying to compose a message" into jb-mr1-dev

* commit '17732ff107706d1e816d45307594e8b73f8bb01b':
Fix for bug 7358703 Gmail ANR when trying to compose a message
17732ff107706d1e816d45307594e8b73f8bb01b 16-Oct-2012 Raph Levien <raph@google.com> am 142155b5: am 3377b404: Merge "Fix for bug 7358703 Gmail ANR when trying to compose a message" into jb-mr1-dev

* commit '142155b5cec5dfbde4a875828505cd1434df0d2b':
Fix for bug 7358703 Gmail ANR when trying to compose a message
142155b5cec5dfbde4a875828505cd1434df0d2b 16-Oct-2012 Raph Levien <raph@google.com> am 3377b404: Merge "Fix for bug 7358703 Gmail ANR when trying to compose a message" into jb-mr1-dev

* commit '3377b404b82403c4c137c699088eb09c4b806dba':
Fix for bug 7358703 Gmail ANR when trying to compose a message
8b17969c64b5d8749b901784b61dc7c165ee98be 16-Oct-2012 Raph Levien <raph@google.com> Fix for bug 7358703 Gmail ANR when trying to compose a message

When deferring scroll to a point, it's possible the text changed between
the time the scroll was requested to the time layout happens. In this
case, it attempts to scroll to a point past the end of the text buffer,
which created an infinite loop.

This patch clamps the scroll offset to the length of the text, so it
just scrolls to the end in that case, rather than crashing.

Change-Id: I53740d119d588560f5a4d9fb80e38f7057faab89
extView.java
4f1e535b8da533c133e1878f18d3c7a0a8fea8ef 16-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 9e520a6d: am d23b26b6: am b858ecd3: Merge "Fix bug #7345139: The First Volume Down Click looses its place on the volume slider" into jb-mr1-dev

* commit '9e520a6dd4981d9c746b4c5e8f8b6f644570c7d7':
Fix bug #7345139: The First Volume Down Click looses its place on the volume slider
9e520a6dd4981d9c746b4c5e8f8b6f644570c7d7 16-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am d23b26b6: am b858ecd3: Merge "Fix bug #7345139: The First Volume Down Click looses its place on the volume slider" into jb-mr1-dev

* commit 'd23b26b6fded61e91903cf2ff5e92092a93d8c84':
Fix bug #7345139: The First Volume Down Click looses its place on the volume slider
d23b26b6fded61e91903cf2ff5e92092a93d8c84 16-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am b858ecd3: Merge "Fix bug #7345139: The First Volume Down Click looses its place on the volume slider" into jb-mr1-dev

* commit 'b858ecd3a94add574503d4dd21084ad289bc5c27':
Fix bug #7345139: The First Volume Down Click looses its place on the volume slider
b858ecd3a94add574503d4dd21084ad289bc5c27 16-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #7345139: The First Volume Down Click looses its place on the volume slider" into jb-mr1-dev
f37df1b6c23316e3050a399f9218087c4000564a 16-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7345139: The First Volume Down Click looses its place on the volume slider

- make SeekBar follow layout direction changes
- also fix onSizeChanged() missing call to super class

Change-Id: Ide036e673c5f104b12e7321648ac027547e04065
bsSeekBar.java
d8c4f50981a887b8332ad3abdb51c4cb4151dcb8 16-Oct-2012 Mathias Agopian <mathias@google.com> am 1167b7b9: am dcfe6cee: am 6868d6f3: Revert "Revert "Fix for bug 6050753.""

* commit '1167b7b9e43878f077478f58e31e268c2e191110':
Revert "Revert "Fix for bug 6050753.""
1167b7b9e43878f077478f58e31e268c2e191110 16-Oct-2012 Mathias Agopian <mathias@google.com> am dcfe6cee: am 6868d6f3: Revert "Revert "Fix for bug 6050753.""

* commit 'dcfe6ceef05c1566a8fc80b758b830c39df01bbd':
Revert "Revert "Fix for bug 6050753.""
dcfe6ceef05c1566a8fc80b758b830c39df01bbd 16-Oct-2012 Mathias Agopian <mathias@google.com> am 6868d6f3: Revert "Revert "Fix for bug 6050753.""

* commit '6868d6f349610c15256471cc3d5fa708cbfd5f1d':
Revert "Revert "Fix for bug 6050753.""
6868d6f349610c15256471cc3d5fa708cbfd5f1d 16-Oct-2012 Mathias Agopian <mathias@google.com> Revert "Revert "Fix for bug 6050753.""

Emergency revert -- fix reboot loop.

This reverts commit 8e63bcc63fd002231f8391af8982eeb235d096c8.

Change-Id: I4373b867d756de09cdf6aa0aba9e6ff8f47bcdbc
rameLayout.java
adioGroup.java
ableLayout.java
ableRow.java
dabcbfe46dd202aa03d0b1580f568c4ba4fba915 16-Oct-2012 Romain Guy <romainguy@google.com> am 3e6c9ba6: am cb09dba0: am 69fbc3c0: Merge "Revert "Fix for bug 6050753."" into jb-mr1-dev

* commit '3e6c9ba6777cec3b3928ddb2b399c957735f7b06':
Revert "Fix for bug 6050753."
f95dfbbcfe2dda56876ede4d3a6d88ee506a1bea 16-Oct-2012 Raph Levien <raph@google.com> am 244f5125: am b9e224cc: am 6f8c1bad: Merge "Fix for bug 7344916 text view flickers when you hit enter" into jb-mr1-dev

* commit '244f5125abd62e60f6bf91675f3be6d540b818d2':
Fix for bug 7344916 text view flickers when you hit enter
3e6c9ba6777cec3b3928ddb2b399c957735f7b06 16-Oct-2012 Romain Guy <romainguy@google.com> am cb09dba0: am 69fbc3c0: Merge "Revert "Fix for bug 6050753."" into jb-mr1-dev

* commit 'cb09dba0b80ff51e0a481959c5f0056f7a292ea7':
Revert "Fix for bug 6050753."
244f5125abd62e60f6bf91675f3be6d540b818d2 16-Oct-2012 Raph Levien <raph@google.com> am b9e224cc: am 6f8c1bad: Merge "Fix for bug 7344916 text view flickers when you hit enter" into jb-mr1-dev

* commit 'b9e224ccb5604032ee6a11789b4e03c747a15838':
Fix for bug 7344916 text view flickers when you hit enter
cb09dba0b80ff51e0a481959c5f0056f7a292ea7 16-Oct-2012 Romain Guy <romainguy@google.com> am 69fbc3c0: Merge "Revert "Fix for bug 6050753."" into jb-mr1-dev

* commit '69fbc3c089e3399ebd94cc3a7ba846f426a7b32d':
Revert "Fix for bug 6050753."
69fbc3c089e3399ebd94cc3a7ba846f426a7b32d 16-Oct-2012 Romain Guy <romainguy@google.com> Merge "Revert "Fix for bug 6050753."" into jb-mr1-dev
b9e224ccb5604032ee6a11789b4e03c747a15838 16-Oct-2012 Raph Levien <raph@google.com> am 6f8c1bad: Merge "Fix for bug 7344916 text view flickers when you hit enter" into jb-mr1-dev

* commit '6f8c1bad8a7891f50eda2d3d14f774e28b8f8107':
Fix for bug 7344916 text view flickers when you hit enter
f5c1a8798f3a2e4196473fb1328159bd8297f178 16-Oct-2012 Raph Levien <raph@google.com> Fix for bug 7344916 text view flickers when you hit enter

The flickering was caused by trying to scroll to the cursor position
while the view was in an inconsistent state (text updated to change the
number of lines, but layout not done yet). This patch defers the actual
setting of the cursor until layout is done, when layout is pending.

Change-Id: I8ed3a402beb8058ac7a7f3935afeb946a23308ab
extView.java
8e63bcc63fd002231f8391af8982eeb235d096c8 15-Oct-2012 Romain Guy <romainguy@google.com> Revert "Fix for bug 6050753."

This reverts commit c29f031598811486d83f418fd08fbfe1fc41788a.
rameLayout.java
adioGroup.java
ableLayout.java
ableRow.java
58072b573d4840199e3d19f3d6f6a873281c2e40 13-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am df4bcd6a: am b65b5133: am f9307c5c: Merge "Fix bug #7334966 Padding is still broken in RTL languages" into jb-mr1-dev

* commit 'df4bcd6a36ae2e0248791f35c10f6f100543b2c6':
Fix bug #7334966 Padding is still broken in RTL languages
df4bcd6a36ae2e0248791f35c10f6f100543b2c6 13-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am b65b5133: am f9307c5c: Merge "Fix bug #7334966 Padding is still broken in RTL languages" into jb-mr1-dev

* commit 'b65b5133e7590e68053bbf4530b31b7206c7b984':
Fix bug #7334966 Padding is still broken in RTL languages
b65b5133e7590e68053bbf4530b31b7206c7b984 13-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am f9307c5c: Merge "Fix bug #7334966 Padding is still broken in RTL languages" into jb-mr1-dev

* commit 'f9307c5c00bd3e8338bd478fec67a0190d515558':
Fix bug #7334966 Padding is still broken in RTL languages
84ebb35f392478600ddf8f08107fb345f13ef91c 12-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7334966 Padding is still broken in RTL languages

- do correct resolution and reset propagation for all RTL properties (padding and drawables included)
- fix CheckedTextView padding too

Change-Id: Ie603683a2324b2a6ef2c03633d01d5726c883b90
heckedTextView.java
extView.java
90ef75214656689dcbf480296d37c884a370119e 12-Oct-2012 Adam Powell <adamp@google.com> am ff99f59f: am 4e5efaef: am 49dbc161: Merge "Revert "Fixed group and child view caching in SimpleExpandableListAdapter."" into jb-mr1-dev

* commit 'ff99f59f0bd30f6e475bf5adf358acb4d737cc51':
Revert "Fixed group and child view caching in SimpleExpandableListAdapter."
0c5c23b3a237df63273694c2df594833836be9ed 12-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 4c95bfd5: am 39b0c29e: am ec139240: Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev

* commit '4c95bfd5ad4d17b6e0e618cd3244ee2d33bcbda1':
Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
bc58774037aa799f8cb9eb6e3b8c8adcd2633bd3 12-Oct-2012 Satoshi Kataoka <satok@google.com> am 95189b92: am 6a1d4b99: am 8e767115: Merge "Don\'t update the text services locale in the main thread" into jb-mr1-dev

* commit '95189b92259529997cfa4d15b5ffd060d9f99a51':
Don't update the text services locale in the main thread
ff99f59f0bd30f6e475bf5adf358acb4d737cc51 12-Oct-2012 Adam Powell <adamp@google.com> am 4e5efaef: am 49dbc161: Merge "Revert "Fixed group and child view caching in SimpleExpandableListAdapter."" into jb-mr1-dev

* commit '4e5efaef793c58ff014265eab7f11c3ded34b2ed':
Revert "Fixed group and child view caching in SimpleExpandableListAdapter."
4c95bfd5ad4d17b6e0e618cd3244ee2d33bcbda1 12-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 39b0c29e: am ec139240: Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev

* commit '39b0c29e4f6582420518f1124af262865797339d':
Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
95189b92259529997cfa4d15b5ffd060d9f99a51 12-Oct-2012 Satoshi Kataoka <satok@google.com> am 6a1d4b99: am 8e767115: Merge "Don\'t update the text services locale in the main thread" into jb-mr1-dev

* commit '6a1d4b998cb543093b99dcabffaf849686eea656':
Don't update the text services locale in the main thread
4e5efaef793c58ff014265eab7f11c3ded34b2ed 11-Oct-2012 Adam Powell <adamp@google.com> am 49dbc161: Merge "Revert "Fixed group and child view caching in SimpleExpandableListAdapter."" into jb-mr1-dev

* commit '49dbc1617c5e0ea56d5568fdcbfe9a771671567a':
Revert "Fixed group and child view caching in SimpleExpandableListAdapter."
49dbc1617c5e0ea56d5568fdcbfe9a771671567a 11-Oct-2012 Adam Powell <adamp@google.com> Merge "Revert "Fixed group and child view caching in SimpleExpandableListAdapter."" into jb-mr1-dev
77ace2ef69c54acdbbff62cc34e8487fc3c2f165 11-Oct-2012 Adam Powell <adamp@google.com> Revert "Fixed group and child view caching in SimpleExpandableListAdapter."

This reverts commit b49e4d63d1976b673b4763bc012d152833609688.

This produced problems with app compatibility. The boolean array
introduced in this patch is never resized and can cause applications
expecting different behavior to crash with index out of bounds
exceptions.

This looks like a good path but it will need to be revisted later.

Bug 7221618
impleExpandableListAdapter.java
39b0c29e4f6582420518f1124af262865797339d 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am ec139240: Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev

* commit 'ec139240480702e80cd56c0309394f7549a993f3':
Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
ec139240480702e80cd56c0309394f7549a993f3 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev
6a1d4b998cb543093b99dcabffaf849686eea656 11-Oct-2012 Satoshi Kataoka <satok@google.com> am 8e767115: Merge "Don\'t update the text services locale in the main thread" into jb-mr1-dev

* commit '8e767115a888b78c5732fe935bd811a7db6bf2e1':
Don't update the text services locale in the main thread
1eac6b7b0554eb126d113e49009208a1da5f23d9 09-Oct-2012 Satoshi Kataoka <satok@google.com> Don't update the text services locale in the main thread

This is a revised version of I9f8a81d3c9261a6cfc00292b9f5cb06053b9112d

Bug: 6761326
Change-Id: I43a0a65df6e4b6941bd0dca548c4af20b7e5bf58
extView.java
6bf6eb7d5f9207d6a3e1d6b61f17a8654d06fbdb 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)

Part 2

- fix remaining UI widgets by asking layout params resolution when needed

Change-Id: I97c41639da645d77eeda85feec3bbcc7fc1260b9
rameLayout.java
elativeLayout.java
crollView.java
ableRow.java
287fc821bcdbcae62c45944469767040f8ed20f1 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am ce6e952c: am 91622961: am f6215e55: Fix the build

* commit 'ce6e952cd2026dae30d1ccc13c118c375eca99e4':
Fix the build
ce6e952cd2026dae30d1ccc13c118c375eca99e4 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 91622961: am f6215e55: Fix the build

* commit '91622961171c5710a36a4123e2c8f406b026f51a':
Fix the build
91622961171c5710a36a4123e2c8f406b026f51a 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am f6215e55: Fix the build

* commit 'f6215e55df1ab4f6cda33dd081c0a91062a1be63':
Fix the build
f6215e55df1ab4f6cda33dd081c0a91062a1be63 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix the build

Change-Id: I9c79677ee4f68d6fc82b754d08e701229725c2a6
inearLayout.java
6acf744fab8441f18e8aa1599aa9d6937ac8707a 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am f4a1dad6: am 5b04d032: am b8021a88: Merge "Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)" into jb-mr1-dev

* commit 'f4a1dad63db89b805df0c83b2044dad0d60e3686':
Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)
f4a1dad63db89b805df0c83b2044dad0d60e3686 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 5b04d032: am b8021a88: Merge "Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)" into jb-mr1-dev

* commit '5b04d0320b877693fe10f70773657585c1c4aa58':
Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)
5b04d0320b877693fe10f70773657585c1c4aa58 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am b8021a88: Merge "Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)" into jb-mr1-dev

* commit 'b8021a88e5c00ebd985a348b56af29c95a178a90':
Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)
b8021a88e5c00ebd985a348b56af29c95a178a90 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)" into jb-mr1-dev
2918ab6c3258639148b8a5c78a34483af195246e 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)

- rename to LayoutParams.resolveLayoutDirection(int)
- upate 17.txt too

Change-Id: I54fe28dc47cfdb65ef0b5b0244dabbe1d675c781
elativeLayout.java
43c3b139e4fe2f0bc0f0aeee6de327d56e971919 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am e7af2a37: am ee65e1d3: am 7573b1ee: Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev

* commit 'e7af2a370c2f5e108068a05a054b1b3a88fb61df':
Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
e7af2a370c2f5e108068a05a054b1b3a88fb61df 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am ee65e1d3: am 7573b1ee: Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev

* commit 'ee65e1d356e4d7a160e5ba26cdf804b804b2bcac':
Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
ee65e1d356e4d7a160e5ba26cdf804b804b2bcac 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 7573b1ee: Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev

* commit '7573b1ee8997709eae23f5b3bdee849de7380e34':
Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
fbc21e126f329b7b7c161858c1390ccb023be07e 10-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)

- fix LayoutParams resolution for LinearLayout only
- apply onResolveLayoutDirection() in both measureHorizontal() and
measureVertical()

Change-Id: I5fcded9a79cd9aaeb0e12da7fd14176b71ba2fb6
inearLayout.java
6637d1040a61385f48c42f623188494b07c7f159 10-Oct-2012 Ken Wakasa <kwakasa@google.com> am 72da683c: am b8e6a972: am 1a5f387b: Merge "Revert "Don\'t update the text services locale in the main thread"" into jb-mr1-dev

* commit '72da683c6edf23678fdd3f53d777811bb5bbe1f2':
Revert "Don't update the text services locale in the main thread"
72da683c6edf23678fdd3f53d777811bb5bbe1f2 10-Oct-2012 Ken Wakasa <kwakasa@google.com> am b8e6a972: am 1a5f387b: Merge "Revert "Don\'t update the text services locale in the main thread"" into jb-mr1-dev

* commit 'b8e6a9724e33e01abc6261f3387e4671b0244f45':
Revert "Don't update the text services locale in the main thread"
b8e6a9724e33e01abc6261f3387e4671b0244f45 10-Oct-2012 Ken Wakasa <kwakasa@google.com> am 1a5f387b: Merge "Revert "Don\'t update the text services locale in the main thread"" into jb-mr1-dev

* commit '1a5f387bcf26a6845a4fa744b8f54449ae70082f':
Revert "Don't update the text services locale in the main thread"
72fa0b35c522e833f4d9fb4282e334d103819c73 10-Oct-2012 Ken Wakasa <kwakasa@google.com> Revert "Don't update the text services locale in the main thread"

This reverts commit 8fa0838bf82f43acfabc0e7fe9471e488a97796b

Change-Id: Ie790ae6dcb33d05d1fbf86c8ef28aec6fe60793a
extView.java
ad9d695eccc911c356d5306ff51decaeede8a0d6 10-Oct-2012 Satoshi Kataoka <satok@google.com> am 78bd3854: am 27e2b6c2: am 0aaffb14: Merge "Don\'t update the text services locale in the main thread" into jb-mr1-dev

* commit '78bd3854c63261cc01321ebb41a29d9302ae1b8f':
Don't update the text services locale in the main thread
78bd3854c63261cc01321ebb41a29d9302ae1b8f 10-Oct-2012 Satoshi Kataoka <satok@google.com> am 27e2b6c2: am 0aaffb14: Merge "Don\'t update the text services locale in the main thread" into jb-mr1-dev

* commit '27e2b6c25f17af7515e405d7a6a4a8f9cf1225b3':
Don't update the text services locale in the main thread
27e2b6c25f17af7515e405d7a6a4a8f9cf1225b3 10-Oct-2012 Satoshi Kataoka <satok@google.com> am 0aaffb14: Merge "Don\'t update the text services locale in the main thread" into jb-mr1-dev

* commit '0aaffb14c8e243433bab1a1bd5773005f0f17699':
Don't update the text services locale in the main thread
8fa0838bf82f43acfabc0e7fe9471e488a97796b 09-Oct-2012 Satoshi Kataoka <satok@google.com> Don't update the text services locale in the main thread

Bug: 6761326
Change-Id: I9f8a81d3c9261a6cfc00292b9f5cb06053b9112d
extView.java
386800e7c84f0af73cd834063689b5114887a330 08-Oct-2012 Justin Mattson <jmatt@google.com> am 25e9ace1: am a009ee22: Merge "Reverse movement direction of DPAD events" into jb-mr1-aah-dev

* commit '25e9ace1211edaa6c6f36e6ff550d21c330fad56':
Reverse movement direction of DPAD events
25e9ace1211edaa6c6f36e6ff550d21c330fad56 08-Oct-2012 Justin Mattson <jmatt@google.com> am a009ee22: Merge "Reverse movement direction of DPAD events" into jb-mr1-aah-dev

* commit 'a009ee2261ee68d0d8c0efb6d1670ecb29252ba5':
Reverse movement direction of DPAD events
86cf0cdfe14ce9606d42671b2961081f3220a789 08-Oct-2012 Justin Mattson <jmatt@google.com> Reverse movement direction of DPAD events

The first way I had it produces somewhat unexpected behavior. If you
scroll past the top of the list, focus moves down to the control
below.

This changes it so scrolling past the bottom of the list moves focus
to the next control below.

Change-Id: I886e1854df85ceb203dac61c7f8c7daf6749e90e
umberPicker.java
fb1245243e7560fa0f2d533f72db4ffb8429a746 08-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> am 1b07e93f: am f0b8e3ad: Merge "Adding support to NumberPicker" into jb-mr1-aah-dev

* commit '1b07e93f3b81fd3a8c0bf3ae46ab15f59507980d':
Adding support to NumberPicker
1b07e93f3b81fd3a8c0bf3ae46ab15f59507980d 08-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> am f0b8e3ad: Merge "Adding support to NumberPicker" into jb-mr1-aah-dev

* commit 'f0b8e3adc4031898714e81f4beafedaa13546978':
Adding support to NumberPicker
5dc21d9b340fe2c1cb4c37435d8a29429cf3f79e 08-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding support to NumberPicker

Change-Id: I471b995c8d364c2bd5eef3ab0397c17fc77f6ccc
umberPicker.java
0a027ded5fc924ea4a8371d18b778957366c94d2 05-Oct-2012 Adam Powell <adamp@google.com> am 5e1b345f: am 64f369bb: am b4fad85c: Merge "Fix regression in AbsListView CHOICE_MODE_SINGLE" into jb-mr1-dev

* commit '5e1b345f41a01e46e2bddf53e3b0c73b3877333c':
Fix regression in AbsListView CHOICE_MODE_SINGLE
5e1b345f41a01e46e2bddf53e3b0c73b3877333c 05-Oct-2012 Adam Powell <adamp@google.com> am 64f369bb: am b4fad85c: Merge "Fix regression in AbsListView CHOICE_MODE_SINGLE" into jb-mr1-dev

* commit '64f369bbc55a1ca9a88db298dff34fba38c1daae':
Fix regression in AbsListView CHOICE_MODE_SINGLE
64f369bbc55a1ca9a88db298dff34fba38c1daae 05-Oct-2012 Adam Powell <adamp@google.com> am b4fad85c: Merge "Fix regression in AbsListView CHOICE_MODE_SINGLE" into jb-mr1-dev

* commit 'b4fad85ca0ed258e4f8de8045c707a4bf2a6ce66':
Fix regression in AbsListView CHOICE_MODE_SINGLE
f3b8e6fe7825bf31e7824041325ddedc0bd41bae 04-Oct-2012 Adam Powell <adamp@google.com> Fix regression in AbsListView CHOICE_MODE_SINGLE

Earlier patch reversed a few lines of code that allowed deselection of
the currently selected item in CHOICE_MODE_SINGLE. Put it back the way
it was.

Bug 7289436

Change-Id: Ia1c5f3238d2faa3dd79e474851333fda90978d3c
bsListView.java
f67d93e5a13841ad01db6625afd6b3a4b0640632 03-Oct-2012 Adam Powell <adamp@google.com> am 7eb3ecdf: am e2238929: am b25629b1: Merge "Close a Spinner dropdown if its anchor view goes away." into jb-mr1-dev

* commit '7eb3ecdfef6ec4f4f08b84a0ac98f585d5aa3289':
Close a Spinner dropdown if its anchor view goes away.
5d96964fb5ec8125b984ba84e2f9acb4a9255f0d 03-Oct-2012 Raph Levien <raph@google.com> am 11541338: am e9b175b7: am 484de9db: Merge "Fix for bug 6954231 text wraps on second line and is fused..." into jb-mr1-dev

* commit '11541338c5c0db1181107aef8f96c398d8445fd4':
Fix for bug 6954231 text wraps on second line and is fused...
7eb3ecdfef6ec4f4f08b84a0ac98f585d5aa3289 03-Oct-2012 Adam Powell <adamp@google.com> am e2238929: am b25629b1: Merge "Close a Spinner dropdown if its anchor view goes away." into jb-mr1-dev

* commit 'e223892986f21ceeb942a73cf2c7a66642cd8af8':
Close a Spinner dropdown if its anchor view goes away.
11541338c5c0db1181107aef8f96c398d8445fd4 03-Oct-2012 Raph Levien <raph@google.com> am e9b175b7: am 484de9db: Merge "Fix for bug 6954231 text wraps on second line and is fused..." into jb-mr1-dev

* commit 'e9b175b7131e2b709902c6e2f4a861fbb638b1d2':
Fix for bug 6954231 text wraps on second line and is fused...
e223892986f21ceeb942a73cf2c7a66642cd8af8 03-Oct-2012 Adam Powell <adamp@google.com> am b25629b1: Merge "Close a Spinner dropdown if its anchor view goes away." into jb-mr1-dev

* commit 'b25629b123a6ccb70095cfa3a26362ee46d30e33':
Close a Spinner dropdown if its anchor view goes away.
b25629b123a6ccb70095cfa3a26362ee46d30e33 03-Oct-2012 Adam Powell <adamp@google.com> Merge "Close a Spinner dropdown if its anchor view goes away." into jb-mr1-dev
e9b175b7131e2b709902c6e2f4a861fbb638b1d2 03-Oct-2012 Raph Levien <raph@google.com> am 484de9db: Merge "Fix for bug 6954231 text wraps on second line and is fused..." into jb-mr1-dev

* commit '484de9db7c4044588929f11673906fea205e409b':
Fix for bug 6954231 text wraps on second line and is fused...
484de9db7c4044588929f11673906fea205e409b 03-Oct-2012 Raph Levien <raph@google.com> Merge "Fix for bug 6954231 text wraps on second line and is fused..." into jb-mr1-dev
f16daf61275de8bb59a0761d5dabc222ce249946 03-Oct-2012 Adam Powell <adamp@google.com> Close a Spinner dropdown if its anchor view goes away.

PopupWindow already tracks when anchor views scroll, but it doesn't
catch other layout changes.

Bug 7267264

Change-Id: I1e20f9335057832c78c3002aa931f533dd77514b
pinner.java
6b558994d4ea8dfa1967f96e272496a7d2b8972a 03-Oct-2012 Raph Levien <raph@google.com> Fix for bug 6954231 text wraps on second line and is fused...

When breaking a line, the paragraphs below the new line break were still
being drawn in their old location. This only happened when the height
was fill_parent, otherwise the height change would force a relayout,
which in turn would do a full invalidation.

This patch checks for changes to the layout height (not just the widget
height, which won't change when it's fill_parent), and invalidates.

Change-Id: I64adb9f5eae0479c1c9c8d37c10c2c27a6f582a8
ditor.java
7c8b0e3532f13bce41dfe554038ed7f376e7f2b2 03-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 9b3858be: am 88bb40b2: am 4253abbc: Merge "Fix bug #7274075 Non-functional CheckedTextView on Nexus 7 Jelly Bean 4.1.1" into jb-mr1-dev

* commit '9b3858be43cb08131af2c9e12d8db4bc0837ce4d':
Fix bug #7274075 Non-functional CheckedTextView on Nexus 7 Jelly Bean 4.1.1
9b3858be43cb08131af2c9e12d8db4bc0837ce4d 03-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 88bb40b2: am 4253abbc: Merge "Fix bug #7274075 Non-functional CheckedTextView on Nexus 7 Jelly Bean 4.1.1" into jb-mr1-dev

* commit '88bb40b2cb7c330c43a9b5b4f424ee567918152a':
Fix bug #7274075 Non-functional CheckedTextView on Nexus 7 Jelly Bean 4.1.1
88bb40b2cb7c330c43a9b5b4f424ee567918152a 03-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 4253abbc: Merge "Fix bug #7274075 Non-functional CheckedTextView on Nexus 7 Jelly Bean 4.1.1" into jb-mr1-dev

* commit '4253abbcfa3165ad7d06c4de97cd780c4e96f94a':
Fix bug #7274075 Non-functional CheckedTextView on Nexus 7 Jelly Bean 4.1.1
5bb4e29aba21bf52873bc242102cdfabd9ec4aaa 03-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7274075 Non-functional CheckedTextView on Nexus 7 Jelly Bean 4.1.1

This regression has been introduced by this Change: Ia846de16bbc54f0729608259aa4b530da9404245

- in CHOICE_MODE_SINGLE you need to clear the checked states before doing anything
- rename variables for better readability too

Change-Id: I89b4390e5ebb192ca280fea2c06f991b537a2870
bsListView.java
5c68e4003b7f4e10b9b3879f7de9d49791f91ef5 02-Oct-2012 Adam Powell <adamp@google.com> am e9234dd1: am 075bb6b3: Merge "DO NOT MERGE - Revert fixes for ImageView/MeasureSpec/RelativeLayout" into jb-mr1-dev

* commit 'e9234dd1edc8988f41f1cb947e4df6e245d37cd1':
DO NOT MERGE - Revert fixes for ImageView/MeasureSpec/RelativeLayout
e9234dd1edc8988f41f1cb947e4df6e245d37cd1 02-Oct-2012 Adam Powell <adamp@google.com> am 075bb6b3: Merge "DO NOT MERGE - Revert fixes for ImageView/MeasureSpec/RelativeLayout" into jb-mr1-dev

* commit '075bb6b3dfb9e58aa44c3b8588ab233a832956a3':
DO NOT MERGE - Revert fixes for ImageView/MeasureSpec/RelativeLayout
946d05b95f849684b709a3750ef189388d6dc5a9 02-Oct-2012 Adam Powell <adamp@google.com> DO NOT MERGE - Revert fixes for ImageView/MeasureSpec/RelativeLayout

MeasureSpec.makeMeasureSpec has a bug where a negative or very large
size parameter will cause the resulting MeasureSpec value to
overflow. RelativeLayout partially relies on this when measuring
children with mode UNSPECIFIED; a default value of -1 in a local
variable ends up being passed to makeMeasureSpec, overflowing a mode
value to create a measurespec that is very large in size, with AT_MOST
as the mode. The correct behavior is for RelativeLayout to propagate
the UNSPECIFIED mode.

Unfortunately a number of custom view implementations in apps rely on
the buggy behavior as they do not implement their own onMeasure
method. This makes them fall back to View's default onMeasure
implementation, which accepts the spec's size unconditionally for
AT_MOST or EXACTLY modes, but falls back on
getSuggestedMinimum[Width|Height] for UNSPECIFIED. If the view had no
background drawable with dimensions and no minWidth field set, this
fix for RelativeLayout causes some views to measure with a size of 0
rather than a size of the 30-bit version of 0xFF...

Revert these fixes in the interests of compatibility. The next version
will conditionally use the new behavior if targetSdk > JB-MR1.

This also required reverting a fix for ImageView's adjustViewBounds
functionality, as it cannot be implemented reliably if this
RelativeLayout fix is not also in place.

Revert "Fix UNSPECIFIED measurement in RelativeLayout"

This reverts commit 132a742b94b9716451ddef30cec20548b346f1b9.

Revert "Fix adjustViewBounds handling for ImageView"

This reverts commit d5edc7721791ad807b9a8fbd923b8d6e73c399cc.
mageView.java
elativeLayout.java
b788c842514b7bedb1b8b82ab64a5441e433f062 01-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 5fb54dad: am b67dff06: am a004f28a: Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev

* commit '5fb54dada2d76266668deada1ea3d048304c5841':
Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
5fb54dada2d76266668deada1ea3d048304c5841 01-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am b67dff06: am a004f28a: Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev

* commit 'b67dff065cfea410fba26fef758ac103ac8c9930':
Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
b67dff065cfea410fba26fef758ac103ac8c9930 01-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am a004f28a: Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev

* commit 'a004f28aa4909add9d3b1070d437adafd6386c94':
Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
2831c963b4a292f98c8f8b6a2a020afb2ca3e427 01-Oct-2012 Adam Powell <adamp@google.com> am 5f260236: am 135ce20c: am fb42be77: Merge "Fix UNSPECIFIED measurement in RelativeLayout" into jb-mr1-dev

* commit '5f260236ed99a7e76ed1c65bd6e6dcf3b694e7d9':
Fix UNSPECIFIED measurement in RelativeLayout
51e1f8c2a0e49d2f72caa47b3147446f396ed166 01-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am e05c1726: am 3332a701: am 10c84edc: Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev

* commit 'e05c17263827fa26e63f83a82cb024af6b62900c':
Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
639d09b4663b5bf44d2fd8dc00d6ef81dbc603cf 01-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 840ea01f: am 93cea34a: am f2e5cf48: Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev

* commit '840ea01fcbafe5d6b3fc8d90dcb5d99a65fa0113':
Fix bug #6427629 Clean up layout direction APIs
5f260236ed99a7e76ed1c65bd6e6dcf3b694e7d9 01-Oct-2012 Adam Powell <adamp@google.com> am 135ce20c: am fb42be77: Merge "Fix UNSPECIFIED measurement in RelativeLayout" into jb-mr1-dev

* commit '135ce20c12ef869028aa7d0182960f92840b7cfc':
Fix UNSPECIFIED measurement in RelativeLayout
e05c17263827fa26e63f83a82cb024af6b62900c 01-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 3332a701: am 10c84edc: Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev

* commit '3332a701e1cd6453089d7b0c6501c7f37cb69327':
Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
840ea01fcbafe5d6b3fc8d90dcb5d99a65fa0113 01-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 93cea34a: am f2e5cf48: Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev

* commit '93cea34a7f7834f42f921402415f7797b677e442':
Fix bug #6427629 Clean up layout direction APIs
b023a587adf9ca49f0cc33c5607b535c11efeb2b 01-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings

- add CheckedTextViewStyle with "viewStart" as default text alignment
- fix some typos

Change-Id: Ia8161c48faf579c89ba5ed49a436e4269178b8c1
heckedTextView.java
135ce20c12ef869028aa7d0182960f92840b7cfc 30-Sep-2012 Adam Powell <adamp@google.com> am fb42be77: Merge "Fix UNSPECIFIED measurement in RelativeLayout" into jb-mr1-dev

* commit 'fb42be77ea88470c71f2ad1e03bff7fdc3721465':
Fix UNSPECIFIED measurement in RelativeLayout
fb42be77ea88470c71f2ad1e03bff7fdc3721465 30-Sep-2012 Adam Powell <adamp@google.com> Merge "Fix UNSPECIFIED measurement in RelativeLayout" into jb-mr1-dev
132a742b94b9716451ddef30cec20548b346f1b9 30-Sep-2012 Adam Powell <adamp@google.com> Fix UNSPECIFIED measurement in RelativeLayout

Explicitly handle UNSPECIFIED MeasureSpec mode.

Bug 7258418

Change-Id: Idc7b4f0a4a92505379eb5479a84665f7908fcb83
elativeLayout.java
3332a701e1cd6453089d7b0c6501c7f37cb69327 30-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am 10c84edc: Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev

* commit '10c84edcfa674f13d798f4de65f95c76269c6191':
Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
10c84edcfa674f13d798f4de65f95c76269c6191 30-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev
47fb191841c50f45f39c5fcce3554e4990188583 29-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings

- do not need those variables. Use what we already have in View.
- reset padding to initial values before changing it.

Change-Id: Ib396b3dca6e98a94d83a538a9b594b5eb426c453
heckedTextView.java
93cea34a7f7834f42f921402415f7797b677e442 30-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am f2e5cf48: Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev

* commit 'f2e5cf487e9bda4da1b902cb5c816ba48c9b7004':
Fix bug #6427629 Clean up layout direction APIs
f2e5cf487e9bda4da1b902cb5c816ba48c9b7004 30-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev
343e11345ed496003f605e1b3bba5850d3e6cf0e 29-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #6427629 Clean up layout direction APIs

- remove onPaddingChanged(int) and fold it into onRtlPropertiesChanged(int)

Change-Id: I1d7f02d2b4538c6c991bd4285501bbc73e6aa5c3
heckedTextView.java
earchView.java
extView.java
7fb07337f8d8458f8611aff286f81d5d30aa2e59 29-Sep-2012 Adam Powell <adamp@google.com> am 4984ec72: Merge "Fix adjustViewBounds handling for ImageView" into jb-mr1-dev

* commit '4984ec7222d86a9b507a9961363bf50d2b72df1b':
Fix adjustViewBounds handling for ImageView
d35b2dc7ccd2076ca0d81e72967a2b3ef6492bf2 29-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am be290dd8: Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev

* commit 'be290dd850c8e2c31830e2a87205499586f55353':
Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
686d8e73ac5c95ce65fb2ac377d8de534fb77f94 29-Sep-2012 Adam Powell <adamp@google.com> am 2e35df06: am 4984ec72: Merge "Fix adjustViewBounds handling for ImageView" into jb-mr1-dev

* commit '2e35df06e795e89af66850a9e12d9b1c53f9a53d':
Fix adjustViewBounds handling for ImageView
aab9914d0f738c607d1ea37e21b8367f62a6edf4 29-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am 59294a26: am be290dd8: Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev

* commit '59294a26b42dc56f71bd7d979a413dfdc3405f9c':
Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
4984ec7222d86a9b507a9961363bf50d2b72df1b 29-Sep-2012 Adam Powell <adamp@google.com> Merge "Fix adjustViewBounds handling for ImageView" into jb-mr1-dev
d5edc7721791ad807b9a8fbd923b8d6e73c399cc 27-Sep-2012 Adam Powell <adamp@google.com> Fix adjustViewBounds handling for ImageView

When computing the adjusted view bounds, don't constrain the
dimensions by the original estimate if the opposite dimension has a
fixed size. This can result in the view never getting properly
enlarged.

Also fix a long-standing bug in MeasureSpec.makeMeasureSpec where
oversized or negative values could result in broken packed values.

Bug 7240251

Change-Id: I359d108ff52b6f3b5c4bf393d2271d28999c0127
mageView.java
8b397d880fddaff1f79309127b901cc8e81b2c18 29-Sep-2012 Adam Powell <adamp@google.com> am 2c8fb236: am 29dcd656: Merge "Track offset of center child view in Gallery for later layouts" into jb-mr1-dev

* commit '2c8fb236896ddfa626e14623d0ad55e72c34b79c':
Track offset of center child view in Gallery for later layouts
149dc7137ea0e71076152263c319d90d6670f195 29-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> am 52cf248b: am 07ddb460: Merge "NumberPicker should adjust min and max when displayed values are set." into jb-mr1-dev

* commit '52cf248b32b50623b611b86ee41e67d07dc86efa':
NumberPicker should adjust min and max when displayed values are set.
15bbde41dafd592b8d45a7ee6003c1f0b439cb68 29-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings

- fix padding issue. Need to update padding if layout direction change

Change-Id: I2924c1b94c7ef054dd9bd670de4c5c206f52e412
heckedTextView.java
04fc79919641ce5cc59896caf04b2dabebf47be8 28-Sep-2012 Adam Powell <adamp@google.com> am 29dcd656: Merge "Track offset of center child view in Gallery for later layouts" into jb-mr1-dev

* commit '29dcd656dfa4c22855b12fb6ee7d6e2e4c4844c1':
Track offset of center child view in Gallery for later layouts
29dcd656dfa4c22855b12fb6ee7d6e2e4c4844c1 28-Sep-2012 Adam Powell <adamp@google.com> Merge "Track offset of center child view in Gallery for later layouts" into jb-mr1-dev
347a0d6c87de07bc995de6e866b55c851797ef63 28-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> am 07ddb460: Merge "NumberPicker should adjust min and max when displayed values are set." into jb-mr1-dev

* commit '07ddb460afca09640e18b28bfedcaecfe5b2a838':
NumberPicker should adjust min and max when displayed values are set.
4e8510b23f6435e8c7631d30ec2ea6f47b16e715 28-Sep-2012 Adam Powell <adamp@google.com> Track offset of center child view in Gallery for later layouts

When apps request layouts while scrolling is in progress, Gallery
children can get offset in strange ways. Compensate for this by
tracking the last known offset and applying it during layout.

Bug 7245853

Change-Id: I9d746ae6bb06918e2d920c58052f72e749a7ffbf
allery.java
a1410e6789ce72bc423793315a51aea8b6bad6c7 28-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> NumberPicker should adjust min and max when displayed values are set.

1. The BumberPicker exposes APIs for settings displayed values for the
selected numbers. If the min and max value of the picker are less then
the length of the new displayed values array, i.e. they are out of
bounds, the NumberPicker crashes.

bug:7254000

Change-Id: I182e30216ef28c98d6541f9c985b43c8179dec76
umberPicker.java
613479391b3194223042cac4aba5c591f3779962 28-Sep-2012 Adam Powell <adamp@google.com> am d3d5b033: am ae268392: Merge "Revert "Fix adjustViewBounds handling for ImageView"" into jb-mr1-dev

* commit 'd3d5b03362a4cb44c389eee7dc787a907b583109':
Revert "Fix adjustViewBounds handling for ImageView"
a2ba6f920235a2c5dc0af298aaf889515bbf2135 28-Sep-2012 Adam Cohen <adamcohen@google.com> am 080ee3ef: am 580ee8b0: Merge "Fixing AppWidgetService / AppWidgetHost to work in system process" into jb-mr1-dev

* commit '080ee3ef55ec32bc6a3254814f9fd717767dfa7e':
Fixing AppWidgetService / AppWidgetHost to work in system process
dd37f93b6c4566d55ed5673485a5eff5c38d9969 28-Sep-2012 Adam Cohen <adamcohen@google.com> am 21b5acc8: am 62d2d621: Merge "Fixing Keyguard widget click handling (issue 7179972)" into jb-mr1-dev

* commit '21b5acc8ab7e706286205639e2f4685d9bf4e551':
Fixing Keyguard widget click handling (issue 7179972)
7a5f7ec2ad99946ff37ea30c6f68ba861638508c 28-Sep-2012 Adam Powell <adamp@google.com> am ae268392: Merge "Revert "Fix adjustViewBounds handling for ImageView"" into jb-mr1-dev

* commit 'ae26839257906e0c578b2a13479a8c0a8007bbbe':
Revert "Fix adjustViewBounds handling for ImageView"
ae26839257906e0c578b2a13479a8c0a8007bbbe 28-Sep-2012 Adam Powell <adamp@google.com> Merge "Revert "Fix adjustViewBounds handling for ImageView"" into jb-mr1-dev
68f3eb3b56fcdefa65b2a624af8eda3595f98beb 28-Sep-2012 Adam Powell <adamp@google.com> Revert "Fix adjustViewBounds handling for ImageView"

This reverts commit b1271ac183c36d0e9e3a524bec8908ed5aab9a45

Revert this for now pending further investigation of bug 7248600

Change-Id: Ieb0a279fa2208f2aa575759dd6dd94476b471b8d
mageView.java
ad365cc217c989c3b688ae839d6f94ee8889a84e 27-Sep-2012 Philip Milne <pmilne@google.com> Optical bounds support for LinearLayout, TableLayout and TableRow.

The generic support for optical bounds provided in:

https://googleplex-android-review.googlesource.com/#/c/228269/

did not work correctly for nested LinearLayouts. With this fix
all the layouts in the APIdemos now seem to layout correctly
when the optical bounds mode is enabled.

(There's currently no, user level, way to do this. Instead, the
optical bounds layout mode has to be enabled on a per view basis.)

Change-Id: Id3d1d84445a8a2df277ddfe679c42f2d6cf775f4
inearLayout.java
ableLayout.java
ableRow.java
d086ee036eef2edd1f4116aa7842aefc045f9503 27-Sep-2012 Adam Cohen <adamcohen@google.com> am 580ee8b0: Merge "Fixing AppWidgetService / AppWidgetHost to work in system process" into jb-mr1-dev

* commit '580ee8b0c6e1aea1e2e1d60499b603b9168b44f0':
Fixing AppWidgetService / AppWidgetHost to work in system process
580ee8b0c6e1aea1e2e1d60499b603b9168b44f0 27-Sep-2012 Adam Cohen <adamcohen@google.com> Merge "Fixing AppWidgetService / AppWidgetHost to work in system process" into jb-mr1-dev
672144f86d15d378e48dba96a6ab9d99664eaf6b 27-Sep-2012 Adam Cohen <adamcohen@google.com> am 62d2d621: Merge "Fixing Keyguard widget click handling (issue 7179972)" into jb-mr1-dev

* commit '62d2d62158e5be280e69e7620b8fb8a43a3cc26e':
Fixing Keyguard widget click handling (issue 7179972)
62d2d62158e5be280e69e7620b8fb8a43a3cc26e 27-Sep-2012 Adam Cohen <adamcohen@google.com> Merge "Fixing Keyguard widget click handling (issue 7179972)" into jb-mr1-dev
3ff2d867d46067132890a5a6ad68be8a4314d7f6 26-Sep-2012 Adam Cohen <adamcohen@google.com> Fixing AppWidgetService / AppWidgetHost to work in system process

-> Fixes issue 7208464
-> Fixed issue with partial update as well, should address
issue 7214731

Change-Id: Ib8d9d5bee68b4fa7d6b4fbbc2f6609c287689958
emoteViews.java
a6a4cbc18f7e5a3831d787d3f398e02c5eae6512 27-Sep-2012 Adam Cohen <adamcohen@google.com> Fixing Keyguard widget click handling (issue 7179972)

Change-Id: I2b268d08f5aff403a04db53c357fa45a6cb8d490
bsListView.java
dapterViewAnimator.java
emoteViews.java
emoteViewsAdapter.java
3cc8211ecd61c8568f182de5fb615d880e889ff9 27-Sep-2012 Adam Powell <adamp@google.com> am cbc289ae: am bf184875: Merge "Fix adjustViewBounds handling for ImageView" into jb-mr1-dev

* commit 'cbc289ae0c15a70eb6b4b611b23761159059f153':
Fix adjustViewBounds handling for ImageView
cf382a9971fa8d2eb841b47d2637c1cab60f6793 27-Sep-2012 Adam Powell <adamp@google.com> am bf184875: Merge "Fix adjustViewBounds handling for ImageView" into jb-mr1-dev

* commit 'bf184875ef4dc41024474840641c6fc9d3a9e975':
Fix adjustViewBounds handling for ImageView
bf184875ef4dc41024474840641c6fc9d3a9e975 27-Sep-2012 Adam Powell <adamp@google.com> Merge "Fix adjustViewBounds handling for ImageView" into jb-mr1-dev
b1271ac183c36d0e9e3a524bec8908ed5aab9a45 27-Sep-2012 Adam Powell <adamp@google.com> Fix adjustViewBounds handling for ImageView

When computing the adjusted view bounds, don't constrain the
dimensions by the original estimate. This can result in the view never
getting properly enlarged.

Bug 7240251

Change-Id: I44fc017f8b661121f0042fcd59a4efde70be6bbe
mageView.java
2ecc9592e5754eb1845a7161f6e8fa55ff9cc55c 26-Sep-2012 Jeff Sharkey <jsharkey@android.com> am a98137c1: am 1951db86: Merge "Multi-user ringtone playback." into jb-mr1-dev

* commit 'a98137c16d433ebc14e64c363e8c2fe86c74c2a7':
Multi-user ringtone playback.
c41a803b471a0e7b4e04ee6d9c9325c7ce1e8025 26-Sep-2012 Jeff Sharkey <jsharkey@android.com> am 1951db86: Merge "Multi-user ringtone playback." into jb-mr1-dev

* commit '1951db86f527ff4e8c2ddf4306779ce956cd372d':
Multi-user ringtone playback.
1951db86f527ff4e8c2ddf4306779ce956cd372d 26-Sep-2012 Jeff Sharkey <jsharkey@android.com> Merge "Multi-user ringtone playback." into jb-mr1-dev
47a39892a4b29c48a8491ab9fcfa03e7cfed9017 26-Sep-2012 Scott Main <smain@google.com> am 56d86e53: am 4368ba45: am 3cda8467: am 8bf95ee6: am ed5ff3bd: add analog clock attributes to docs

* commit '56d86e53b539fd892cb30e5d59078b7dc45a51a8':
add analog clock attributes to docs
69b05e74a45c42a8e98468269e1735d41daeea9c 26-Sep-2012 Scott Main <smain@google.com> am 4368ba45: am 3cda8467: am 8bf95ee6: am ed5ff3bd: add analog clock attributes to docs

* commit '4368ba45adebf17d7962ad551363ac302cb2b1c7':
add analog clock attributes to docs
4368ba45adebf17d7962ad551363ac302cb2b1c7 26-Sep-2012 Scott Main <smain@google.com> am 3cda8467: am 8bf95ee6: am ed5ff3bd: add analog clock attributes to docs

* commit '3cda846725c31b49f6c60ba986ccc7b2eb1adab3':
add analog clock attributes to docs
3cda846725c31b49f6c60ba986ccc7b2eb1adab3 26-Sep-2012 Scott Main <smain@google.com> am 8bf95ee6: am ed5ff3bd: add analog clock attributes to docs

* commit '8bf95ee635b0cada3c6c2d21801bbd1e871b9fcc':
add analog clock attributes to docs
ed5ff3bdb015b0dc391a566d6f61ba7a533b3843 26-Sep-2012 Scott Main <smain@google.com> add analog clock attributes to docs

Change-Id: I70e8a7897f9e076664ea5069ee9e19e458e8b36b
nalogClock.java
65c4a2b26cd8776b0927e9b0e07ecf53bd31b627 26-Sep-2012 Jeff Sharkey <jsharkey@android.com> Multi-user ringtone playback.

Change RingtonePlayer to open content:// Uris based on requesting
UserHandle. Grant SystemUI visibility to all emulated storage so
it can play ringtones for apps without READ_EXTERNAL_STORAGE.

Resolve canonical file:// Uris before passing out of source app,
replacing any /emulated_legacy/-style paths with user-specific
variant so they can be opened by SystemUI. Calling for RemoteViews,
Ringtones, and Notifications.

Bug: 7202982
Change-Id: Ibf0eca8df80c1486711144a7b648f464aadfe099
emoteViews.java
a2636fc0038f9efbcbfab521eb53b9e0c3969c38 26-Sep-2012 Dianne Hackborn <hackbod@google.com> am 923e3cc1: am 61ad1bac: Merge "Fix AbsListView to correctly retain its state if not layed out." into jb-mr1-dev

* commit '923e3cc1aa59e0713fc7ecfac8f8ab2953c02cfc':
Fix AbsListView to correctly retain its state if not layed out.
894aedafeac6ceaffbbae9c6721ed6b7da107ab2 26-Sep-2012 Dianne Hackborn <hackbod@google.com> am 61ad1bac: Merge "Fix AbsListView to correctly retain its state if not layed out." into jb-mr1-dev

* commit '61ad1bacf8985e088c039d90123bf0d2a5de94fe':
Fix AbsListView to correctly retain its state if not layed out.
61ad1bacf8985e088c039d90123bf0d2a5de94fe 26-Sep-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix AbsListView to correctly retain its state if not layed out." into jb-mr1-dev
2874ace1977e9b4f1c8dee968b5b1bd462d8f269 26-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am ef866005: am e8e98704: Merge "Fix bug #7158772 ProgressBar / SeekBar / RatingBar drawables should be reversed when in RTL mode" into jb-mr1-dev

* commit 'ef8660057e7cfbc7f03618fb12ca7e0eb9278ce8':
Fix bug #7158772 ProgressBar / SeekBar / RatingBar drawables should be reversed when in RTL mode
735f9c94ad77fa36ed107c062f2c3cfc78428b0c 26-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am e8e98704: Merge "Fix bug #7158772 ProgressBar / SeekBar / RatingBar drawables should be reversed when in RTL mode" into jb-mr1-dev

* commit 'e8e98704f3ac7b7d4070d4faabc56312efaea9bd':
Fix bug #7158772 ProgressBar / SeekBar / RatingBar drawables should be reversed when in RTL mode
e8e98704f3ac7b7d4070d4faabc56312efaea9bd 26-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #7158772 ProgressBar / SeekBar / RatingBar drawables should be reversed when in RTL mode" into jb-mr1-dev
e181bd9b5e6a3e5382a1ff3c40b9ce2cb43c7971 25-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix AbsListView to correctly retain its state if not layed out.

This covers a hole where if the list view restores its state and
then is asked to save its state before its layout happens, the
original state is lost. Instead we just store that original state.

Also tweak FragmentManager to make sure an inactive fragment can
not have its state moved up out of CREATED.

Bug #7232088: ListView saved state being lost in some cases

Change-Id: I5b40f37c259c7bcbe17dd1330016f9531f1b5534
bsListView.java
7fb98b34492012aad10d1c5bcaaa4064c7a79760 13-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7158772 ProgressBar / SeekBar / RatingBar drawables should be reversed when in RTL mode

Change-Id: I0a9cfbc6aa6919da3198a20aae6159bd867afe87
rogressBar.java
8c549d6ffec427ed3f8f99eb25ffefaf55003893 25-Sep-2012 Philip Milne <pmilne@google.com> Merge "Bug #6110465. Optical bounds support for all ViewGroup subclasses."
793d9abb892ea8e2c6714f08fda1520450c9b581 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am c86c9fc0: am f7a3e979: Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev

* commit 'c86c9fc092280cb961bf46e87050da9c46836278':
Fix bug #6427629 Clean up layout direction APIs
c60a19e36880ad2f01b515e20ce050742d29f2b7 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am 402bab75: am be4c5dd9: Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev

* commit '402bab75c360fd038910b3baedff54a1f4762c3d':
Fix bug #6427629 Clean up layout direction APIs
525926078b5f4b9eeceb21662cdebe763f4c5b45 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am 72d65718: am 239e4305: Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev

* commit '72d657182312c7bac049b3ed94a4658c3935ae28':
Fix bug #6427629 Clean up layout direction APIs
42f11c981c0666a988fc9a5e1a0d78a0a8d5a5b1 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am c81a319f: am e3f2ac9e: Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev

* commit 'c81a319f1a2834590f1b7e5cfed0bbdba49d0838':
Fix bug #6427629 Clean up layout direction APIs
5c7527ba15e9e0e1a0c8b7d5105d891cdc4ccd99 24-Sep-2012 Jeff Sharkey <jsharkey@android.com> am 8bc3cfa3: am 11820f73: Merge "Allow acquiring ContentProviders across users." into jb-mr1-dev

* commit '8bc3cfa3674217e967b64340bae6f6003f332e66':
Allow acquiring ContentProviders across users.
54f49d8fa1fba1cefabe9ecbd9a9a969fed32297 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am 443e3f0b: am 57d863c3: Merge "Fix the build" into jb-mr1-dev

* commit '443e3f0b7e9025234e02396561b9a9f798c38d60':
Fix the build
63e080904d6b8376e18d4ff2a52bfd39f0008729 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am a478de98: am 415f26b7: Merge "Fix bug #7205589 CalendarView\'s WeekView rows are LTR in RTL locales" into jb-mr1-dev

* commit 'a478de98a3314df864373f291faa45362dda71bc':
Fix bug #7205589 CalendarView's WeekView rows are LTR in RTL locales
b59cddbaac96fcf0f507fe659667f72023c22543 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am e477ff0c: am 5c2591e6: Merge "Fix bug #7206086 NumberPicker widget should use locale digits" into jb-mr1-dev

* commit 'e477ff0cde13de7996eb79fa2352cbfa3a3c5b75':
Fix bug #7206086 NumberPicker widget should use locale digits
d865a54841b97a4bcc6404b1b35c5efc48f995f3 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am f7a3e979: Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev

* commit 'f7a3e979a7ab3be4715408b6328f27e56a7c9326':
Fix bug #6427629 Clean up layout direction APIs
3e276b99665e73595486bdd77e199172b02ff84a 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am be4c5dd9: Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev

* commit 'be4c5dd9d0b3ec1e020431f0e618a4cf38f9c57d':
Fix bug #6427629 Clean up layout direction APIs
8f3ba9fa1b83ca007f6546bbc51d932707b339c9 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am 239e4305: Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev

* commit '239e430578fd2d3bd38a646595a82bca95359bd7':
Fix bug #6427629 Clean up layout direction APIs
16c84db7065d6eb56fbbec987881092c32d2e460 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am e3f2ac9e: Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev

* commit 'e3f2ac9e526e5b4de4d2ae113e644c1cb14b1ce6':
Fix bug #6427629 Clean up layout direction APIs
e2bb66f64ce036409e9c306f4433f0dcc28f3847 24-Sep-2012 Jeff Sharkey <jsharkey@android.com> am 11820f73: Merge "Allow acquiring ContentProviders across users." into jb-mr1-dev

* commit '11820f7386ce86fd89e9e6b49d9231dce6e1ed07':
Allow acquiring ContentProviders across users.
2d03704c0f4729c7304db09b8b1e6d0d2f1f75f8 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am 57d863c3: Merge "Fix the build" into jb-mr1-dev

* commit '57d863c3c28e13ac299fda8ba30bf1d6644230c8':
Fix the build
4aadafb8306e2e50217e91a4956d5e956a5bec57 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am 415f26b7: Merge "Fix bug #7205589 CalendarView\'s WeekView rows are LTR in RTL locales" into jb-mr1-dev

* commit '415f26b73c90d07b9ec232ae4bd6bec59b28ddf8':
Fix bug #7205589 CalendarView's WeekView rows are LTR in RTL locales
4a3a6d11d06670f766351f145bee72431eb740a0 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am 5c2591e6: Merge "Fix bug #7206086 NumberPicker widget should use locale digits" into jb-mr1-dev

* commit '5c2591e6eff3233c7f9c5bbae0dd20c1320f0854':
Fix bug #7206086 NumberPicker widget should use locale digits
19a22ced893bbb64a0f2d22d2e85d072fab35cff 24-Sep-2012 Dianne Hackborn <hackbod@google.com> am 033e60e8: am c9e94ea6: Merge "Fix issue #7213113: Remove old intent resolver" into jb-mr1-dev

* commit '033e60e87aa5c704caf8d00b30b323dd126c4151':
Fix issue #7213113: Remove old intent resolver
c328f7f8f608f062efa2803d8cc8e43c5f54d856 24-Sep-2012 Adam Cohen <adamcohen@google.com> am dce17917: am 8562cb59: Merge "Changing public method to @hide, doesn\'t have to be public" into jb-mr1-dev

* commit 'dce17917103d25e18063a7d71e592e131f8e0bd3':
Changing public method to @hide, doesn't have to be public
dddf962f1c48b94e17f89689eb2e6ee541e70359 24-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> am a586a3c9: am 38533ea5: Merge "NPE in AcitivtyChooserModel." into jb-mr1-dev

* commit 'a586a3c9a7d2e317b8b5025faa77f088aed38fd4':
NPE in AcitivtyChooserModel.
c2504009017f90a32b4f0a8a620232fad936dcd8 24-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> am 03037841: am 08681add: Merge "Day numbers in CalendarView have incorrect size." into jb-mr1-dev

* commit '03037841d4ccce4382ccbf55eddd96c427eb5861':
Day numbers in CalendarView have incorrect size.
f7a3e979a7ab3be4715408b6328f27e56a7c9326 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev
1a7d487380460b4aea37140baf6bf4bf7f92f8a5 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #6427629 Clean up layout direction APIs

- rename getResolvedTextAlignment() to getTextAlignment()

Change-Id: I6a2b6c9ec4f5cea1adde46e35d5f3c49880791ee
extView.java
be4c5dd9d0b3ec1e020431f0e618a4cf38f9c57d 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev
97e146cf02f87b91f81c37d53644e5415efddb72 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #6427629 Clean up layout direction APIs

- rename getResolvedTextDirection() to getTextDirection()

Change-Id: Id2a6025daf5521dcd676e454fc6bb9955fdccf2d
extView.java
239e430578fd2d3bd38a646595a82bca95359bd7 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev
e3f2ac9e526e5b4de4d2ae113e644c1cb14b1ce6 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev
e56ffdc7b31b0937628609cc3bbaa15879023569 23-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #6427629 Clean up layout direction APIs

- rename getResolvedLayoutDirection() to getLayoutDirection()

Change-Id: I3afe56c0db0751952f5056c23893cb7455531d29
bsSeekBar.java
utoCompleteTextView.java
ditor.java
rameLayout.java
ridView.java
mageView.java
inearLayout.java
rogressBar.java
elativeLayout.java
earchView.java
pinner.java
ableRow.java
extView.java
4457e85a7090ad51726d50a4daf981d917cceedd 19-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #6427629 Clean up layout direction APIs

- canResolveXxx() should be hidden
- resetResolvedXxx() should be hidden
- resolveDrawables(), resolveLayoutDirection(), resolvePadding(), resolveTextAlignment(), resolveTextDirection() should be hidden
- onResolvedXxx() should be merged into one callback
- fix also an issue with setting the layout direction of the drawable in ImageView
- fix also an issue with checking if TextAlignment can be resolved

Change-Id: I1402269ddf8632525f5550f80e5610e1a7b4034d
bsSeekBar.java
mageView.java
rogressBar.java
earchView.java
extView.java
11820f7386ce86fd89e9e6b49d9231dce6e1ed07 23-Sep-2012 Jeff Sharkey <jsharkey@android.com> Merge "Allow acquiring ContentProviders across users." into jb-mr1-dev
57d863c3c28e13ac299fda8ba30bf1d6644230c8 23-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix the build" into jb-mr1-dev
a65fe884d1bba4c64b961df27bd04e33e28a7209 23-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix the build

Change-Id: Ia021742fb33671f9ece48180789757297fa60001
umberPicker.java
415f26b73c90d07b9ec232ae4bd6bec59b28ddf8 23-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #7205589 CalendarView's WeekView rows are LTR in RTL locales" into jb-mr1-dev
5c2591e6eff3233c7f9c5bbae0dd20c1320f0854 23-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #7206086 NumberPicker widget should use locale digits" into jb-mr1-dev
6d51571835737c7502a2e111ee9dc2527ebad984 21-Sep-2012 Jeff Sharkey <jsharkey@android.com> Allow acquiring ContentProviders across users.

Otherwise services like SystemUI will always open content://-style
Uris as USER_OWNER. Surfaces through createPackageContextAsUser()
which points all ContentResolver operations towards a given user.

Start using in RemoteViews, so that Notifications correctly resolve
image Uris to the sending user. Also add user support for "content"
shell tool.

Bug: 7202982
Change-Id: I8cb7fb8a812e825bb0b5833799dba87055ff8699
emoteViews.java
550ea7f5465d95b65b7d02aed67d903c9beeba47 22-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7205589 CalendarView's WeekView rows are LTR in RTL locales

Change-Id: Iacd1718be054b4405ea0c769f695044faf4254b6
alendarView.java
d88e3054d08b1f821bb2e27b2647aa16a60d8742 21-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7206086 NumberPicker widget should use locale digits

- fix for having the TwoDigitFormatter being able to be recreated if the locale is changed
- accept now also the Arabic and Persian digits

Change-Id: Ifbf7e274d971008f4a5782402d4b76d9472b68fc
alendarView.java
atePicker.java
umberPicker.java
imePicker.java
f3d2608939465f09ca89452045938c0d9856d6a7 22-Sep-2012 Dianne Hackborn <hackbod@google.com> am c9e94ea6: Merge "Fix issue #7213113: Remove old intent resolver" into jb-mr1-dev

* commit 'c9e94ea6451958fce107580b54c183181de6aa22':
Fix issue #7213113: Remove old intent resolver
24694468d8f2ebfd44a53660e001537ce711e2a6 22-Sep-2012 Adam Cohen <adamcohen@google.com> am 8562cb59: Merge "Changing public method to @hide, doesn\'t have to be public" into jb-mr1-dev

* commit '8562cb59825a9ccff2b019d2c30f38c8798ca3a1':
Changing public method to @hide, doesn't have to be public
b2c6e8a1f0df0300251fa6e88354ccb273f3a35d 22-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> am 38533ea5: Merge "NPE in AcitivtyChooserModel." into jb-mr1-dev

* commit '38533ea514a452d0fa3aa38557f6e461cb46f402':
NPE in AcitivtyChooserModel.
e54a67d2fd05499a8be054084b9f147bdacb71a9 22-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> am 08681add: Merge "Day numbers in CalendarView have incorrect size." into jb-mr1-dev

* commit '08681adda06f4699f85838861170fbb062c9fdfe':
Day numbers in CalendarView have incorrect size.
c9e94ea6451958fce107580b54c183181de6aa22 22-Sep-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #7213113: Remove old intent resolver" into jb-mr1-dev
52c62344c585662d6b441a08c2a69a5732255a6f 21-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7213113: Remove old intent resolver

Also make the query package restart broadcast protected like the
documentation says it should be.

Change-Id: I445166111318a02f2f2b1ab0dff9c641a441c20b
ppSecurityPermissions.java
8562cb59825a9ccff2b019d2c30f38c8798ca3a1 22-Sep-2012 Adam Cohen <adamcohen@google.com> Merge "Changing public method to @hide, doesn't have to be public" into jb-mr1-dev
38533ea514a452d0fa3aa38557f6e461cb46f402 22-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "NPE in AcitivtyChooserModel." into jb-mr1-dev
bd1e0076c66084da702a789db90e77c6ca645fe2 22-Sep-2012 Adam Cohen <adamcohen@google.com> Changing public method to @hide, doesn't have to be public

Change-Id: I4c87b154fd99376a0337f9fc65024e13ddb74da5
emoteViews.java
08681adda06f4699f85838861170fbb062c9fdfe 22-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Day numbers in CalendarView have incorrect size." into jb-mr1-dev
7b7578184567f4e4f0740ce935cc192765410cca 20-Sep-2012 Philip Milne <pmilne@google.com> Bug #6110465. Optical bounds support for all ViewGroup subclasses.

This CL generalizes the optical bounds support previously contained in the
GridLayout implementation and then incorporates the new form directly into
the base View and ViewGroup implementations. After this change, GridLayout is
returned to an 'optical bounds' unaware state, and all layouts (including non-platform
ones) inherit the ability to perform their layout operation by optical (rather than clip)
bounds using their existing implementations.

The "layoutMode" property of ViewGroup and its associated constants are
made public in this CL.

Change-Id: Ic1bba0e1c6fc14da4aeab0b28c975d562b5f82dd
ridLayout.java
extView.java
44f52cf7e128504b83ee5a5cc089c382e35c676c 21-Sep-2012 Adam Cohen <adamcohen@google.com> am 11a6450e: Merge "Fixing partiallyUpdateAppWidget to cache the new changes" into jb-mr1-dev

* commit '11a6450e543d5c178c60ce2216fad1b29bf15457':
Fixing partiallyUpdateAppWidget to cache the new changes
0c6f3795b3c9ee5210e8933deb10d3a5d2cabec9 21-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Day numbers in CalendarView have incorrect size.

1. The text size of the paint for drawing week days was never set.

bug:6933206

Change-Id: Ie50286d46e2c21a9c2d5f51b309a49f17d46d4b9
alendarView.java
abcaeea1ee4d1fc1c34b7f9e48eea5debdb09e37 21-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> NPE in AcitivtyChooserModel.

1. If there is not current intent sent and the client tries to
choose an activity a NPE occurs. The code in chooseActivity
now checks for null intent. Note that having a null intent
is a valid state.

bug:6738922

Change-Id: I91d4415649ce070d4fa4aa187e9eac02928dd38c
ctivityChooserModel.java
bae266f03d02dfc6aae64e26193c6d304ea07c6a 21-Sep-2012 Adam Cohen <adamcohen@google.com> am 836739a3: am 11a6450e: Merge "Fixing partiallyUpdateAppWidget to cache the new changes" into jb-mr1-dev

* commit '836739a341f62a93fd115f56c0c3747e9d4e3270':
Fixing partiallyUpdateAppWidget to cache the new changes
fbe44b7d5e2d9d06a238a54f8ed460fb8bc49585 20-Sep-2012 Adam Cohen <adamcohen@google.com> Fixing partiallyUpdateAppWidget to cache the new changes

-> This is a good change to the widget framework that I've wanted to
make for a while, but issue 7174198 triggered the immediate need.

Change-Id: I3f267e0e67f2d9f28920bb53973af365a3c9e0ba
emoteViews.java
ba78386f79d86557c3a7656722740ff589733aeb 20-Sep-2012 Dianne Hackborn <hackbod@google.com> am 390392ff: Merge "Changes to support side-loading of apps from other users." into jb-mr1-dev

* commit '390392ff3ef0114544eab3db4093c1c7aba825da':
Changes to support side-loading of apps from other users.
1a30458a0b647393432e4f43b7476cf748dbf89e 20-Sep-2012 Dianne Hackborn <hackbod@google.com> am a553eeaf: am 390392ff: Merge "Changes to support side-loading of apps from other users." into jb-mr1-dev

* commit 'a553eeaf877457cdacceb401529201a40223e64c':
Changes to support side-loading of apps from other users.
390392ff3ef0114544eab3db4093c1c7aba825da 19-Sep-2012 Dianne Hackborn <hackbod@google.com> Merge "Changes to support side-loading of apps from other users." into jb-mr1-dev
eba784ff4ab2a080ddc1d41b90db0e3729ee1ea3 19-Sep-2012 Dianne Hackborn <hackbod@google.com> Changes to support side-loading of apps from other users.

Change-Id: I5b7c0aa0dc9566b29d5980dc7f42a508a61a58d3
ppSecurityPermissions.java
8bf1cb378b6ce7b60ddba67bd8f542a7a1e4f94e 19-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am 20586fa0: Merge "Fix bug #7173351 API REVIEW: android.util.LocaleUtil" into jb-mr1-dev

* commit '20586fa0353f63453766140b32a4778793ce2b43':
Fix bug #7173351 API REVIEW: android.util.LocaleUtil
ad31d027ca0fecb780f3b8618712e1e69a447536 18-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am 684f1078: am 20586fa0: Merge "Fix bug #7173351 API REVIEW: android.util.LocaleUtil" into jb-mr1-dev

* commit '684f10788707f154e54a614b2d60cc28542aee3a':
Fix bug #7173351 API REVIEW: android.util.LocaleUtil
20586fa0353f63453766140b32a4778793ce2b43 18-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #7173351 API REVIEW: android.util.LocaleUtil" into jb-mr1-dev
d3d9f3f1004dfee2649a26cfe8dba948cd364904 18-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7173351 API REVIEW: android.util.LocaleUtil

Change-Id: I08fd491eff714059e9ec874fadebe7eb556c34d5
istPopupWindow.java
417e267a7507abfaddf9303dd2e925438bb7f0a6 18-Sep-2012 Philip Milne <pmilne@google.com> Merge "Revert "Simple MVC based binding mechanism for android controls." Do not merge." into jb-mr1-dev
b19f313e259eea7f10753cf69f10950ec45155ca 18-Sep-2012 Victoria Lease <violets@google.com> am 976ed471: am d6991106: Merge "Avert crash when dragging text in same TextView" into jb-mr1-dev

* commit '976ed4711ef5fc943ad94a8cbb251cd5feb34cde':
Avert crash when dragging text in same TextView
d6991106b02760749b974a2e369f72b2e0eed5a0 18-Sep-2012 Victoria Lease <violets@google.com> Merge "Avert crash when dragging text in same TextView" into jb-mr1-dev
0ab7308e9958eab14e8db8523c9c1658f97095d0 17-Sep-2012 Dianne Hackborn <hackbod@google.com> am 831f31c3: am b137c806: Merge "More adjustments to permissions." into jb-mr1-dev

* commit '831f31c3883899eb57f28360bb51192937124081':
More adjustments to permissions.
8e1c2b6b71c4e3649dcf59a0b5a33e3e3fe1051a 17-Sep-2012 Philip Milne <pmilne@dhcp-172-18-103-220.mtv.corp.google.com> Revert "Simple MVC based binding mechanism for android controls." Do not merge.

This reverts commit 989709a973448980f36dacd587b0a58f89ffa11e.

Change-Id: Ifc2c511b0d99d4a3a164b4a2281ca140015b366d
heckBox.java
ditText.java
eekBar.java
alueEditor.java
55ab5105d41ac6dfd415cd0d61f9a2c2c4af418d 17-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> am 71e3cb14: am e136a728: Merge "Text layout in switch may be null when accessibility events are fired." into jb-mr1-dev

* commit '71e3cb143b6eb6052bb6820bf551a1d74e19ee8d':
Text layout in switch may be null when accessibility events are fired.
2ca2c8787130506d350d997c18bbc274faf88e37 17-Sep-2012 Dianne Hackborn <hackbod@google.com> More adjustments to permissions.

- New "cost money" flag can be put on a permission to
have this emphasized in the UI.
- Some further re-organization of permissions to better
match UX spec.

Change-Id: I450ac739eff6b90e7c7fc39589d68db82b61f897
ppSecurityPermissions.java
b8c50e8e44bb757d18fc7f069332c186099aca77 14-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Text layout in switch may be null when accessibility events are fired.

1. The layout containing the text of a Switch is initialized on measure
and if an accessibility event is fired before that then a NPE happens.

bug:7169419

Change-Id: Iee3c01ca9157d14d228c4ff33c0810507e0e25a7
witch.java
d9c18b307bf4a9545e642881302dd681e08b7c94 14-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> am 57ac3090: am 33aef98f: Allowing association between a view and its label for accessibility.

* commit '57ac30901912accc5814cd8122ca419524b8ca5b':
Allowing association between a view and its label for accessibility.
6304ad8e7cbd96d1fb2700a73a1cd2566cf8c039 14-Sep-2012 Alan Viverette <alanv@google.com> am 459bde56: am 0f755134: Revert "Add accessibility scroll actions to TabWidget"

* commit '459bde565e2d741006d48fa59b413449d5b3b954':
Revert "Add accessibility scroll actions to TabWidget"
9e23ebbbdd3cae563108b52dfb9b34f1cedf87f7 14-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> am 90e627e3: am 83cdb021: Merge "Add accessibility scroll actions to TabWidget" into jb-mr1-dev

* commit '90e627e39b8da27413d473fe6ad4634f5d85d2e0':
Add accessibility scroll actions to TabWidget
33aef98fd28dcac0a2ad37e7329afd3e666f5e0a 13-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Allowing association between a view and its label for accessibility.

1. For accessibility purposes it is important to be able to associate
a view with content with a view that labels it. For example, if
an accessibility service knows that a TextView is associated with
an EditText, it can provide much richer feedback.

This change adds APIs for setting a view to be the label for another
one and setting the label for a view, i.e. the reverse association.

bug:5016937

Change-Id: I7b837265c5ed9302e3ce352396dc6e88413038b5
emoteViews.java
0f7551341f7504632e4943c66d6a4fd504bf5a0e 14-Sep-2012 Alan Viverette <alanv@google.com> Revert "Add accessibility scroll actions to TabWidget"

This reverts commit 6053088884171f67e2df253576eab116fd05b4fe

Change-Id: Ia648d7e3e092c396a038740d708de37fe4169d80
abWidget.java
83cdb021eb9a8cfe26cd565febadb1a70380f3a9 14-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Add accessibility scroll actions to TabWidget" into jb-mr1-dev
a60b8c41162b89567c2f350e714fd8ca50a57586 13-Sep-2012 Dianne Hackborn <hackbod@google.com> am 6800800c: am 3e451fa1: Merge "New permissions UI, again." into jb-mr1-dev

* commit '6800800c42fc288fc9977d5f8d5ec6d6876033a4':
New permissions UI, again.
6053088884171f67e2df253576eab116fd05b4fe 13-Sep-2012 alanv <alanv@google.com> Add accessibility scroll actions to TabWidget

Bug: 6537369
Change-Id: I8a5bf1d6f85f0ceef316aa4a5938d32a545587db
abWidget.java
7454d3b73cfd0d7ad58b0285102b09aad1e0150f 13-Sep-2012 Dianne Hackborn <hackbod@google.com> New permissions UI, again.

Change-Id: I0bbecd88ff1f212b30d1ef32d5bcaa49cdf1e9ce
ppSecurityPermissions.java
ee5be7a5e7a0516acd294780fb12f4655d5ea517 13-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am 465858e7: am 2cd35662: Merge "Fix SeekBar when in RTL layout direction" into jb-mr1-dev

* commit '465858e779a79e88514a8b28df58bc089a0ee62b':
Fix SeekBar when in RTL layout direction
2b668afc11f924a2fc53179d5a7ccafa15c5013b 13-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am 47e39a9f: am 88724657: Merge "Fix bug #7148393 Switch can crash when hierarchyviewer is connected" into jb-mr1-dev

* commit '47e39a9f61ae5ffdcb912c1f6196dd6f8e7478b5':
Fix bug #7148393 Switch can crash when hierarchyviewer is connected
2cd35662caa824846555a3be595b7fa69337fa31 12-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix SeekBar when in RTL layout direction" into jb-mr1-dev
06849e8f5368831086b0c33f9037a015fb00e864 12-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix SeekBar when in RTL layout direction

- set correct thumb position depending on layout direction

Change-Id: Ibc489295d28792ec7556ce3484b2d1ae47a4c704
bsSeekBar.java
be06e3292b295324b3b47d13f9a40787b666309f 12-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7148393 Switch can crash when hierarchyviewer is connected

Change-Id: I1713138a60358cc76f6cf373082a94199e85c717
witch.java
158d6b70ac2f0c8fd7dafe0f865112090fb31699 02-Feb-2011 Mattias Niklewski <mattias.niklewski@sonyericsson.com> Reattach header view after DPAD scroll.

A header view that was scrolled off screen using the DPAD would not be
reattached properly when scrolled back into view, due to the flag
recycledHeaderFooter. Solved this by using detachViewFromParent()
instead of removeViewInLayout(). Compare to
AbsListView.trackMotionScroll().

Change-Id: I0ac0ec0f9bf23bc62430c1f62ae7d1a8570b0a24
istView.java
e607dd880d1baabcf6602e09d221633a39270a2b 11-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> am ef94c988: am 1434e29a: Merge "Check for null ViewRootImpl when saving accessibility focus in ListView." into jb-mr1-dev

* commit 'ef94c988a2caf503a730686f3259385b0f4e4e2f':
Check for null ViewRootImpl when saving accessibility focus in ListView.
8d3d852243eb6afe605264b4742bd30f8ae1737c 11-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> am eef5dc63: am 390a06b8: Merge "Restore accessibility focus after ListView layout." into jb-mr1-dev

* commit 'eef5dc63d805f39eb0c68c93980a7ae728db3f7f':
Restore accessibility focus after ListView layout.
24d9c9c9b3ea118822069fff5528663831ef6e39 11-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am 8060ee1f: am f6aa537c: Merge "Make ProgressBar / SeekBar / RatingBar widgets aware of layout direction" into jb-mr1-dev

* commit '8060ee1f11a504da82ebe6ac63a3e741c023837c':
Make ProgressBar / SeekBar / RatingBar widgets aware of layout direction
91373209da02813ed760d9ea201d6f917e2a1fc1 08-Sep-2012 Victoria Lease <violets@google.com> Avert crash when dragging text in same TextView

The previous implementation made liberal assumptions about the size
of the string being edited, as well as the position of the substring
being dragged. Explicitly checking those assumptions fixes our
IndexOutOfBoundsException.

Bug: 7129392
Change-Id: I32560cf87fbbe703a8b26c7eb2a64c8f8c0bfcf1
ditor.java
27093def8d5b13982b5dd4d949909ecdf7ec2fd6 10-Sep-2012 alanv <alanv@google.com> Check for null ViewRootImpl when saving accessibility focus in ListView.

Bug: 7135071
Change-Id: Ide8b6af38b7f1b9bb809e4f8b1c933cb5ddb5e86
istView.java
390a06b882f555b73f466985067d71d856f55f2f 07-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Restore accessibility focus after ListView layout." into jb-mr1-dev
30ee76cf05f785bbf819b71954242c835c597ce1 07-Sep-2012 alanv <alanv@google.com> Restore accessibility focus after ListView layout.

Bug: 6439454
Change-Id: Ia61f5153b32c6ce5d18301f74e7e79c86349b987
istView.java
f6aa537c2dddfa9c68af161c082b5d4f316bd068 07-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Make ProgressBar / SeekBar / RatingBar widgets aware of layout direction" into jb-mr1-dev
14fc564d34eeb56b7226420802d1fe29ce33b302 07-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> am 0cfb45ab: am 8e21d4df: Merge "Adding accessibility check in the node provider of NumberPicker." into jb-mr1-dev

* commit '0cfb45ab5faa2a2a6a405a29c752261a9bdf0c5a':
Adding accessibility check in the node provider of NumberPicker.
a90927629881f0faf54c1003ebd38c27a730045e 07-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility check in the node provider of NumberPicker.

1. The node provide in number picker was sending accessibility events
without checking whether accessibility is enabled leading to a
crash if accessibility is disable when the event is sent.

bug:7095330

Change-Id: I2e14b757003b4db58922cf6e20ea8e119770e567
umberPicker.java
aecc63a5f22809215edd7de5042d0547a6a6b824 07-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> am 1687ec01: am 52832e0c: Merge "Granular navigation not possible in edit text if the view has content description." into jb-mr1-dev

* commit '1687ec016b34549889e0b34fb82bf2cf90cd4053':
Granular navigation not possible in edit text if the view has content description.
2f4bf52d2ca1500c77b42e76f30f81f806fb6189 07-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Granular navigation not possible in edit text if the view has content description.

1. We were giving precedence of content description over text and this is
what content description is supposed to do - override the text. However,
putting content description on an EditText by mistake would render the
text view not navigable which is pretty much unusable. Now we are giving
precedence to the text and use the content description as a fall back if
text is empty.

bug:7078382

Change-Id: I00882ace149344478b127124bd5e641903e1b756
extView.java
0af4b8b0c8b038bca9b4f60eb81f71e186f471ce 12-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Make ProgressBar / SeekBar / RatingBar widgets aware of layout direction

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: I8d76299090abf6b2b187696b1a83e71d7a44b1ce
bsSeekBar.java
rogressBar.java
extView.java
c0e4a76164baa9d07cdd87dab4c48a931fd08581 05-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am 86683232: am 5575e97c: Merge "Fix bug #7023040 android.widget.cts.TextViewTest#testResetTextAlignment failures" into jb-mr1-dev

* commit '866832323499e332bcc426b104da9cd842713472':
Fix bug #7023040 android.widget.cts.TextViewTest#testResetTextAlignment failures
5575e97cea2bbaf0f4f1c3445e28cff2759d4f74 05-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #7023040 android.widget.cts.TextViewTest#testResetTextAlignment failures" into jb-mr1-dev
fa1babd22105416e8f3d0988d46982d0313da63c 05-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7023040 android.widget.cts.TextViewTest#testResetTextAlignment failures

- cache the text aligment as we cannot resolve the text alignment during reset of the text direction

Change-Id: I79de625e517bf8bad6313fd5e349f1181b1eaa30
extView.java
949c875a05e6ac2b0fb126c86d115b3d91af6643 05-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> am 81c66d65: am 035ce2ca: Merge "Add support for "-rtl" in resources" into jb-mr1-dev

* commit '81c66d6592718e9a1c57c39c1675ea13e8e769bb':
Add support for "-rtl" in resources
035ce2ca92742894f7f906c93d7d217c647aa19a 05-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add support for "-rtl" in resources" into jb-mr1-dev
f252f1dcaf627d7c9dc5e09e5258dab0d702ce84 04-Sep-2012 Luca Zanolin <zano@google.com> Merge "Relax suggestion notification."
b788556bfde48c1f94c46bda4f4b8d576d5cfb81 04-Sep-2012 Jean-Baptiste Queru <jbq@google.com> am ad17717e: am d3b74b91: am b307ceb4: Merge "SearchWidget: passing APP_DATA to voice intent"

* commit 'ad17717e52576a05dffd1b99c06c46a80c149722':
SearchWidget: passing APP_DATA to voice intent
d3b74b9124e713e291053652839a7d725ffb64d9 04-Sep-2012 Jean-Baptiste Queru <jbq@google.com> am b307ceb4: Merge "SearchWidget: passing APP_DATA to voice intent"

* commit 'b307ceb43fa96e8d54851c20278a4344469c9269':
SearchWidget: passing APP_DATA to voice intent
1bcfe84179417cda57176fe8661a4a749cb843b6 03-Sep-2012 Jorge Ruesga <j.ruesga.criado@gmail.com> SearchWidget: passing APP_DATA to voice intent

SearchView uses SearchManager.APP_DATA to pass data between the origin activity
and the search activity. This works for text searches (keyboard), but it's not
implemented by voice recognition searches. The method createVoiceAppSearchIntent
initializes a empty bundle that is filled with the QUERY parameter.
This patch adds the SearchManager.APP_DATA parameter if is present, let the
search activity access to the data passed by the origin activity

Patch 2: Fix code style

Change-Id: I52dce34e1efd07a30ad74d52bfc60fbae1c4310b
earchView.java
780c491fb9905adb3782f34886bb23327ed8f456 31-Aug-2012 Adam Powell <adamp@google.com> Add an OnDismissListener to AutoCompleteTextView

Bug 4551310

Change-Id: I702301ad3360828ec6637b6c09789e00d9661271
utoCompleteTextView.java
451da77972a4eead1317929e3176a9aa2a2707e9 30-Aug-2012 Chet Haase <chet@google.com> Merge "Add getter for animateFirstView property of ViewAnimator" into jb-mr1-dev
201501f11e2934f63f9692383ade0620c45febae 30-Aug-2012 Chet Haase <chet@google.com> Add getter for animateFirstView property of ViewAnimator

Tooling for xml properties is easier/better if we can properly reflect the
xml properties at the Java language API level as well. We had setters/getters
for the other properties of ViewAnimator, but only a setter for the
animateFirstView property.

Issue #6104327 Inconsistency between XML API and Java API for widgets - ViewAnimator

Change-Id: Iede7231fa433ce14f7a8299da4cedd4720370bc8
iewAnimator.java
f0340d156c9adf974cba36e806049f66e111fab7 29-Aug-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Don't overwrite accessibility delegates in AbsListView items." into jb-mr1-dev
0c96b81f8e843b8d6e8c21218fb468f1897b999b 29-Aug-2012 Luca Zanolin <zano@google.com> Relax suggestion notification.

Before the suggestion selection were notified only when they were added by
an IME. This CL relaxes this constrain, and the suggestion are notified
even if they are added by an application.

If the context is null and the package name of the apk cannot be determined,
the suggestion are notified using the old method via the Input Method Manager.
This is required to keep the backward compatibility.

Bug: 6905960
Change-Id: If225ef27cded386809fbd899e34e32aced4e0473
ditor.java
b1a1e5ca7d3a2a93d6741db40aeba1467a8631cb 28-Aug-2012 Craig Mautner <cmautner@google.com> Merge "Use correct WindowManager for Toast." into jb-mr1-dev
b6ee2a24292120f95bb5da4539a0672280544be3 28-Aug-2012 Craig Mautner <cmautner@google.com> Use correct WindowManager for Toast.

The WindowManager retrieved from the activity Context with
getSystemService is incorrect for a Toast. Because it contains
a parent window when addView is called its LayoutParams.token
is set to the value of the parent window. Then when an Activity
is dismissed WindowManagerGlobal.closeAll() sees the incorrect
token and incorrectly closes the Toast.

This fix uses the application Context instead of the activity
Context to retrieve a WindowManager with no parent window. This
leaves the token unchanged and keeps from dismissing the toast when
the activity is closed.

Fixes bug 7048792.

Change-Id: I92c3095d8fabd6e9e4206e9bc8e917885ab322a9
oast.java
a3b63c001cfd04121708e2bd67af5c8eb855baa1 28-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 337756fa: am 78ad66b4: Merge "[Audio]Press camera button during Http live Audio playing, then return Browser, DUT display abnormal."

* commit '337756fa6587bca84afdfdc964805f962ea534ed':
[Audio]Press camera button during Http live Audio playing, then return Browser, DUT display abnormal.
337756fa6587bca84afdfdc964805f962ea534ed 28-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 78ad66b4: Merge "[Audio]Press camera button during Http live Audio playing, then return Browser, DUT display abnormal."

* commit '78ad66b43cf5b649869de18ee9c246c95b135c10':
[Audio]Press camera button during Http live Audio playing, then return Browser, DUT display abnormal.
78ad66b43cf5b649869de18ee9c246c95b135c10 28-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "[Audio]Press camera button during Http live Audio playing, then return Browser, DUT display abnormal."
b72fe7a2635906d6244efedfe302c2c46e564803 28-Aug-2012 alanv <alanv@google.com> Don't overwrite accessibility delegates in AbsListView items.

Bug: 6856579
Change-Id: I2963edcefdc0dd5e1413b57858e6f319904a269d
bsListView.java
de91aa4bec3ad7956895b230bd031f7982194b1b 25-Aug-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix again bug #6887370 ListPreference shows misaligned radio drawables (in CheckedTextView?)" into jb-mr1-dev
a798170f2abe198f806b12dd904830bc25257525 24-Aug-2012 Adam Powell <adamp@google.com> More detailed error reporting for AbsListView/CHOICE_MODE_MULTIPLE_MODAL

Throw a more descriptive exception when an app has not set a
multi-choice mode listener and an item becomes checked.

Change-Id: Ib682fd7a467a3751bb81dacbd22676aaa4407d36
bsListView.java
0dc9646e7e8caa7ec78dbd75b21af153168a1df5 24-Aug-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix again bug #6887370 ListPreference shows misaligned radio drawables (in CheckedTextView?)

Change-Id: Ia377cc95cd64f2df0a258b9ea3f709e6094f395e
heckedTextView.java
e0d5ceefbfe6c74b458da5b84dfe0b2e7239fdf3 24-Aug-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Request Layout after video size changed" into jb-mr1-dev
58dc9b6bfa55d22ce145591ceab6bccd0f2b441f 24-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 790d3403: am d86bebb4: am 322b0a16: Merge "Protecting more views from (bad) MotionEvents"

* commit '790d34039df650d983c7c87a2a2e888e18edc2be':
Protecting more views from (bad) MotionEvents
f5d102ed769ba33cbd48e58c209ece3f1014fe61 24-Aug-2012 Teng-Hui Zhu <ztenghui@google.com> Request Layout after video size changed

bug:6800665

Change-Id: I57010ac26246dff9da45f8fdb7ccbe39c454c54f
ideoView.java
790d34039df650d983c7c87a2a2e888e18edc2be 24-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am d86bebb4: am 322b0a16: Merge "Protecting more views from (bad) MotionEvents"

* commit 'd86bebb4a9aaf3b98f6d5a189fd7733926d85891':
Protecting more views from (bad) MotionEvents
5f7979993979466c79ab4f38d83c6f2aca361662 16-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Add support for "-rtl" in resources

- fix bug #7035019 Need to have "-rtl" support for Resource

Change-Id: Ic82145c2ac672729d8a6c695a5f343276a1a0a2c
oast.java
c3c0e39ab53a27d4fc92a8a3be15d1c1ce850d70 23-Aug-2012 Adam Powell <adamp@google.com> Properly respect divider settings for TableLayout

Make sure that TableLayout always knows it's in VERTICAL orientation.

Bug 7041351

Change-Id: I9935891a58e558840ac7956a0ffe8448e21de799
ableLayout.java
0dc291eef630cbc3c4479fff8c549567ac980f87 21-Feb-2011 Johan Rosengren <johan.rosengren@sonyericsson.com> Protecting more views from (bad) MotionEvents

When handling MotionEvents, the method findPointerIndex can return -1
if the current pointer id can't be translated to a pointer index.
Some views are not handling this, which will lead to an out-of-
index crash. In 2585e9b there were checks added, this change adds
some more.

Change-Id: I93ce2420afd83a06b689a1ed35ead7d170cd68f1
orizontalScrollView.java
crollView.java
f644976101e45a7801b58cea1d86f5e1744046ec 21-Aug-2012 Jim Miller <jaggies@google.com> Merge "Update AppWidgetHost with better support for OnClickHandlers" into jb-mr1-dev
e667a7add46a6389c64f2105bd33943cfe6a3fa4 10-Aug-2012 Jim Miller <jaggies@google.com> Update AppWidgetHost with better support for OnClickHandlers

This updates AppWidgetHost and AppWidgetHostView to do a better
job at refreshing widgets and their host views. It now allows
an OnClickHandler to be specified when creating the AppWidgetHost
which allows it to correctly update AppWidgetHostViews when needed.

Change-Id: I710c1d00a8d145bf3a9fd5f5691885bec9d1c7e4
emoteViews.java
acbbd1142db522b15d06d6a1e076463e5c55c8b3 20-Aug-2012 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 4ea6a8eb to jb-mr1-dev

Change-Id: I51b1732011f31ea07087ef0898b47de8977074de
4ea6a8eb9fdf83f5327e6c8b65a3d5dac8075f8f 20-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am f515c6f4: Merge "Switch widget: Fix ON/OFF option update error"

* commit 'f515c6f4fe4457de1d5c49f78f9dcf6e4379e335':
Switch widget: Fix ON/OFF option update error
f515c6f4fe4457de1d5c49f78f9dcf6e4379e335 20-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Switch widget: Fix ON/OFF option update error"
df8ef4b139a8918895f8a5c62536123da06e81fe 18-Aug-2012 Victoria Lease <violets@google.com> DO NOT MERGE LocaleSpan makes Han disambiguation easy!

Cherry-pick of I7f1b0d49a2ece957a7b9b5d65d48385bf2c2a668 from master.

I've also provided TextView.setTextLocale() for use in single-language
TextViews.

Change-Id: I5692859bfd2aafc284172454d943afc250b22535
extView.java
98365d7663cbd82979a5700faf0050220b01084d 20-Aug-2012 Jeff Brown <jeffbrown@google.com> Refactor for multi-display support.

Split WindowManagerImpl into two parts, the WindowManager
interface implementation remains where it is but the global
communications with the window manager are now handled by
the WindowManagerGlobal class. This change greatly simplifies
the challenge of having separate WindowManager instances
for each Context.

Removed WindowManagerImpl.getDefault(). This represents the
bulk of this change. Most of the usages of this method were
either to perform global functions (now handled by WindowManagerGlobal)
or to obtain the default display (now handled by DisplayManager).

Explicitly associate each new window with a display and make
the Display object available to the View hierarchy.

Add stubs for some new display manager API features.

Start to split apart the concepts of display id and layer stack.
since they operate at different layers of abstraction.
While it's true that each logical display uniquely corresponds to a
surface flinger layer stack, it is not necessarily the case that
they must use the same ids. Added Display.getLayerStack()
and started using it in places where it was relatively easy to do.

Change-Id: I29ed909114dec86807c4d3a5059c3fa0358bea61
oast.java
f1b995f9d049cb5c7225b3b17f09369237a83ca2 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 21bf4657: am a688af9c: Merge "TabHost key handling corrected"

* commit '21bf465764938c5f8c82dbf6061c89e138eb73ca':
TabHost key handling corrected
21bf465764938c5f8c82dbf6061c89e138eb73ca 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am a688af9c: Merge "TabHost key handling corrected"

* commit 'a688af9c6707c9c2f07cc195b072b6c14be03b63':
TabHost key handling corrected
a688af9c6707c9c2f07cc195b072b6c14be03b63 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "TabHost key handling corrected"
96ac720117979ab0507d8760f49076a0a1e3bfb8 10-Apr-2012 bxu10X <bxu10X@intel.com> [Audio]Press camera button during Http live Audio playing, then return Browser, DUT display abnormal.

When long press camera key, dispatchKeyEvent function will add control surface after the control view hide,
actually, we needn't show control view after we press camera key.

Change-Id: I45175c4eb97b3f13469cd9d8bacb295c9c5803dd
Author: Bin Xu <bxu10X@intel.com>
Signed-off-by: Bin Xu <bxu10X@intel.com>
Singed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 28344
ediaController.java
23c89fd1685a006957dc0f2aacf167b4449f3d80 13-Aug-2012 Fabrice Di Meglio <fdimeglio@google.com> Improve resolution of RTL related properties

- fix bug #6887370 ListPreference shows misaligned radio drawables (in CheckedTextView?)
- fix bug #6938146 "Show more cards..." text on bottom button is not centered

- also defer scrollbar initialization as we need resolved padding values for them

Change-Id: Ife651ffe6bbcc228ff6724f3d9b91079fac3a740
heckedTextView.java
f6e802283cea8d682d05ee15fe0d500cff118533 10-Aug-2012 Adam Powell <adamp@google.com> Merge "Sync fling physics between Scroller/OverScroller" into jb-mr1-dev
990dfc6f908c8fc22bb15a3e0a36699e954ec28c 10-Aug-2012 Adam Powell <adamp@google.com> Sync fling physics between Scroller/OverScroller

Bug 6793537

Have the default fling physics for Scroller follow the newer patterns
from OverScroller.

Make some constants determined by DisplayMetrics density in
OverScroller per-instance rather than static.

Change-Id: I5308e4bb8eca63e95cf3f1eee1ba4fa5391023b0
verScroller.java
croller.java
f96ce0261326d1637e0111eaddde725ed94f2163 10-Aug-2012 Adam Powell <adamp@google.com> Some simple skip-layout optimizations for ImageView

Mirror the optimization from setImageDrawable into setImageResource
and setImageURI where we won't requestLayout() if the drawable's size
didn't change.

Bug 6359116

Change-Id: Iaae2100f3bddb2737628e31483b471c9e22d945f
mageView.java
6322af54cfb74be22386e4b7d17350cebf2da58f 09-Aug-2012 Adam Powell <adamp@google.com> Fix indeterminate ProgressBars with weird sizes and padding; optimize
ActionBar measurement

Fix a bug where preserved aspect ratios in ProgressBar indeterminate
drawables were causing drawable bounds to be calculated incorrectly
when the ProgressBar had padding specified.

Measure the ActionBar menu view's height with EXACT measure mode,
preventing an extra measure pass to match child heights for some
cases.

Change-Id: I8c4678662a015b57ba2686d5b5c5fc27d4ef8d36
rogressBar.java
dde331cebd87982faded6818ad5f9927ff994c96 03-Aug-2012 Dianne Hackborn <hackbod@google.com> We can now (kind-of) change screen density on the fly.

Preloaded drawables now have a density associated with them, so we
can load the correct drawable if we are using a different density.

Window manager now formally keeps track of the density for each
screen, allowing it to be overridden like you can already do with
size, and relies on this density to drive itself internally and
the configurations it reports.

There are a new set of Bitmap constructors where you provide a
DisplayMetrics so they can be constructed with the correct density.
(This will be for when you can have different windows in the same
app running at different densities.)

ActivityThread now watches for density changes, and pushes them
to the DENSITY_DEVICE and Bitmap global density values for that
process.

A new am command allows you to change the density.
tackView.java
aca7a741cb2d6055a4d0773054501b6902374d9b 03-Aug-2012 John Spurlock <jspurlock@google.com> Fix typos in android.widget package docs.

Fixed spelling errors and cleaned up markup.

Change-Id: I3573087d40bbeb3906a8361abb02de4cb4325a92
ackage.html
478923885da8fac0c1e0a8b7d85b98d1988504bc 03-Aug-2012 Adam Powell <adamp@google.com> Make AutoCompleteTextView#setText(CharSequence, boolean) public

Bug 6807326

Public bug http://code.google.com/p/android/issues/detail?id=34690

Make this available for use by applications that wish to make
programmatic changes to the AutoCompleteTextView without filtering.

Change-Id: I889452d3b19b378258ad9247f3d254afee1e8408
utoCompleteTextView.java
0278c2fcbae9fccaddd1fca243218a34923417ec 01-Aug-2012 Adam Powell <adamp@google.com> Don't let ScrollView intercept touch events if it can't scroll.

Bug 6872104

Change-Id: Iee643e052acc37485a8ec45b7af8be0783fb1a95
crollView.java
fba3bf97d4c9fecac2de727120515c8c7f08bcf9 31-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Improve Toast RTL support" into jb-mr1-dev
025f9602ee99ba5883512a97f2a46f8132ece5d6 31-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Improve Toast RTL support

- simplier code

Change-Id: Ifbe8545697404ed6e9f508103bd9cf1e7efb5746
oast.java
3330ae59ff51701667b4644b036c55e59824f203 30-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Improve Toast RTL support" into jb-mr1-dev
bf0bc63defd8bb76278ecb1df5ebf5272fd00047 30-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Improve Toast RTL support

- use Locale from Context

Change-Id: Ic93bb6e3f9310d54d879c20754c9310154940565
oast.java
7267babae3695408daa96da1f5951c8f22e823a7 30-Jul-2012 James Dong <jdong@google.com> Merge "Enabled application using VideoView to get information events from MediaPlayer" into jb-mr1-dev
619e4dca8e9dfe4daa0754b0568a7590788cd50e 30-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Improve ListPopupWindow RTL support" into jb-mr1-dev
1d3d7da331a3e9dc783819ab6fe29ea21c873f1e 28-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Improve ListPopupWindow RTL support

- add Javadoc for new method setLayoutDirection()
- fix one issue where the layout direction would not be set
when the popup was recreated

Change-Id: Ic53a8b0d01dc86e03e9bf5f09195af77404dca39
istPopupWindow.java
a0ba79473b9067e315155718545103bb4f361873 28-Jul-2012 James Dong <jdong@google.com> Enabled application using VideoView to get information events from MediaPlayer

o related-to-bug: 6851811

Change-Id: I78a73a33b6ddfaea76f2ba13b6990c153fb696c6
ideoView.java
6089a88ca54cd18c7f598185389dd2fd1b36114c 28-Jul-2012 Adam Cohen <adamcohen@google.com> am 86371474: am 47db02ba: Merge "No longer parceling FixedSizeRemoteViewsCaches" into jb-dev

* commit '86371474de700494d9b7b324c8650858d9b18b50':
No longer parceling FixedSizeRemoteViewsCaches
86371474de700494d9b7b324c8650858d9b18b50 28-Jul-2012 Adam Cohen <adamcohen@google.com> am 47db02ba: Merge "No longer parceling FixedSizeRemoteViewsCaches" into jb-dev

* commit '47db02bad8fed67025669c41ef0c0dd9cafe7ed2':
No longer parceling FixedSizeRemoteViewsCaches
4a9df8dda5c826ae72a2b5370b9d786ef8d0efd0 28-Jul-2012 Adam Cohen <adamcohen@google.com> No longer parceling FixedSizeRemoteViewsCaches

-> Related to issue 6854767

Change-Id: Ib9a9ef827a739ef9efbe6f11dcc4765004fa0c51
emoteViewsAdapter.java
bad7eed8aa27fa1c0b417b805b47881a1ec532d7 27-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add removeRule() to RelativeLayout LayoutParams" into jb-mr1-dev
5b5a6579cf384643686f6bd476003fb4b106963a 27-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Make SearchView RTL aware" into jb-mr1-dev
a4c1030870d8c91b6d871922c3e6962323700f25 26-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Add removeRule() to RelativeLayout LayoutParams

- add this helper API as there are already several example of
developers doing it "by hand"

Change-Id: Icd15edfd75eb47de1f90f847b263b4d513c13810
elativeLayout.java
3a69bea30257f32a21bb6c32aafa52982d16a401 26-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Make SearchView RTL aware

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: I7e7b51dccdd3b111e0594509334579b0502d24c8
utoCompleteTextView.java
istPopupWindow.java
earchView.java
e2386c184a75b15a0fe7e3791e7ad06d59be7c80 27-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Make CheckedTextView RTL aware - DO NOT MERGE

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Ic647e105571e01e9773e4c27e9f52997d24c408e
heckedTextView.java
c58392bc2905b0e50ff26340d47c970e78752b99 26-Jul-2012 Adam Cohen <adamcohen@google.com> am a2c99407: am edc14f48: am df5919fd: Merge "Fixing cache pruning to avoid pruning those in the visible range" into jb-dev

* commit 'a2c99407db6ef00dfc6905f7e7701d083f819608':
Fixing cache pruning to avoid pruning those in the visible range
a2c99407db6ef00dfc6905f7e7701d083f819608 26-Jul-2012 Adam Cohen <adamcohen@google.com> am edc14f48: am df5919fd: Merge "Fixing cache pruning to avoid pruning those in the visible range" into jb-dev

* commit 'edc14f48166757a1ab656d2016f5bc7ed7ab126c':
Fixing cache pruning to avoid pruning those in the visible range
75b052414833e19da4939cc494daf6016f8aec65 26-Jul-2012 Scott Main <smain@google.com> am 75bea2e8: am 7c00f816: am 2f5b61a7: Merge "docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch" into jb-dev

* commit '75bea2e8d35044233ba892bedf102ed08406d653':
docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch
2f97de5e1732d97ff2bcdec1e90406179121b48e 26-Jul-2012 Adam Cohen <adamcohen@google.com> am 94169a97: am 956aefb3: am 26ed04ba: Merge "Caching the FixedSizeRemoteViewsCaches across rotation" into jb-dev

* commit '94169a97fd8e553d8e46b6191d52b2b2f8f368e2':
Caching the FixedSizeRemoteViewsCaches across rotation
edc14f48166757a1ab656d2016f5bc7ed7ab126c 26-Jul-2012 Adam Cohen <adamcohen@google.com> am df5919fd: Merge "Fixing cache pruning to avoid pruning those in the visible range" into jb-dev

* commit 'df5919fd6f70471bba05ef9ea2f766627c0138d9':
Fixing cache pruning to avoid pruning those in the visible range
7d6f6c938cd99b42ce3355c291d32216ae83ae8f 26-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Make TextView Marquee RTL-aware

- fix bug #6870530

Change-Id: Icd8aae19136cfd49ee475d26749978463e7f7f77
extView.java
591ff978e5ca419fc1baad212419667b8a5e6dc7 25-Jul-2012 Adam Cohen <adamcohen@google.com> Fixing cache pruning to avoid pruning those in the visible range

-> Improves flashing on rotation of stack widgets, or other widgets
who's items use a lot of memory

Change-Id: I762b555ac1827861ed63ac5929972395f3080a0a
emoteViewsAdapter.java
75bea2e8d35044233ba892bedf102ed08406d653 26-Jul-2012 Scott Main <smain@google.com> am 7c00f816: am 2f5b61a7: Merge "docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch" into jb-dev

* commit '7c00f81606de1880c3f28e54cea064c3b90da3e7':
docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch
94169a97fd8e553d8e46b6191d52b2b2f8f368e2 26-Jul-2012 Adam Cohen <adamcohen@google.com> am 956aefb3: am 26ed04ba: Merge "Caching the FixedSizeRemoteViewsCaches across rotation" into jb-dev

* commit '956aefb3c54c5b5a33b7faca8ce5246981995f88':
Caching the FixedSizeRemoteViewsCaches across rotation
7c00f81606de1880c3f28e54cea064c3b90da3e7 25-Jul-2012 Scott Main <smain@google.com> am 2f5b61a7: Merge "docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch" into jb-dev

* commit '2f5b61a750e36169e37788a645f422cc8a8f7091':
docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch
956aefb3c54c5b5a33b7faca8ce5246981995f88 25-Jul-2012 Adam Cohen <adamcohen@google.com> am 26ed04ba: Merge "Caching the FixedSizeRemoteViewsCaches across rotation" into jb-dev

* commit '26ed04ba862074e78834e0af222083cb2c4fddbb':
Caching the FixedSizeRemoteViewsCaches across rotation
2f5b61a750e36169e37788a645f422cc8a8f7091 25-Jul-2012 Scott Main <smain@google.com> Merge "docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch" into jb-dev
355301e9688c2485424e514c290780ff2cd44186 25-Jul-2012 Adam Cohen <adamcohen@google.com> am 2daf9dc9: Merge "Prevent crash in AppWidgetHost that can be triggered by an AppWidget" into jb-dev

* commit '2daf9dc9eb462b8e16e8871a6f4573cded1e3fa6':
Prevent crash in AppWidgetHost that can be triggered by an AppWidget
335c3b681bf1c118d9bf22d1a508c87173632ec6 25-Jul-2012 Adam Cohen <adamcohen@google.com> Caching the FixedSizeRemoteViewsCaches across rotation

-> This prevents unnecessary flashing of collection widgets on rotation

Change-Id: Id29d4952aa640ca90b31dc3e02e2402cc0fb84d3
bsListView.java
dapterViewAnimator.java
emoteViewsAdapter.java
4c359b76f9a030f92a302ba74a528faa170bad4e 25-Jul-2012 Scott Main <smain@google.com> docs: fix a bunch of links from javadocs to api guides
and add some attributes to Spinner and Switch

Change-Id: If015ad000c1a36e19904c132e98ebff1ceaf718b
utoCompleteTextView.java
utton.java
heckBox.java
atePicker.java
ditText.java
ridView.java
mageButton.java
inearLayout.java
istView.java
adioButton.java
atingBar.java
elativeLayout.java
pinner.java
witch.java
imePicker.java
oggleButton.java
85d28a00043e5985b11f517031d7b2317ac19e10 24-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Replace left/right with start/end for Gravity / LayoutParams / Padding"
b6a45cb92892f9080b7a2f131b4386fd1167efbb 24-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Make RelativeLayout aware of layout direction"
f443f98e7f41badd8f5d6f7bf7d26432e79a88ed 14-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Make RelativeLayout aware of layout direction

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Ica92841fa0c13c25fcf89c4700b0771eec4fd6d7
elativeLayout.java
a5a06873d152d16aa47ca9be8501417280b9c9cb 12-Jul-2012 Adam Cohen <adamcohen@google.com> Prevent crash in AppWidgetHost that can be triggered by an AppWidget

-> When the RemoteViewsFactory violates the getViewTypeCount() contract
we detect it, and prevent the AdapterView from crashing
-> Also made RemoteViewsCache a static inner class, since we may need
that down the road, and there's no reason it shouldn't be

Change-Id: I872a255167aac94513e522924179de61286b995a
emoteViewsAdapter.java
989709a973448980f36dacd587b0a58f89ffa11e 23-Jun-2012 Philip Milne <pmilne@google.com> Simple MVC based binding mechanism for android controls.

Change-Id: I80fe18e0e15f8a840d558de9863650505bd5fb00
heckBox.java
ditText.java
eekBar.java
alueEditor.java
aac0d4ed026d1cfbcf3fa81c6e4eb96f4347ca17 20-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Replace left/right with start/end for Gravity / LayoutParams / Padding

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Id9af5375fb9b0edeae5232c77e52ecd497bd2e67
rameLayout.java
opupWindow.java
rogressBar.java
oomButtonsController.java
a9108a217e039492855fbeacda2ab6c4f4a3f70a 18-Jul-2012 Adam Powell <adamp@google.com> Add View#generateViewId; make RadioGroup use it

Bug 6448164

generateViewId provides a way for applications to generate opaque ID
values suitable for use with View#setId that will not collide with
values generated by aapt for R.id.

Fix a bug where RadioGroup assumes object hash codes will always be
positive.

Change-Id: I3e2870cd672d6061bb465128f428c81aeef0c44b
adioGroup.java
ca13b1562cedafb17a4f116fb521ed5388423755 11-Jul-2012 Yu Haonong <yuhaonong@gmail.com> Switch widget: Fix ON/OFF option update error

When calling setChecked() from a listener which is invoked by
the Switch toggle, setChecked() will be called recursively,
causing the value of mThumbPosition overridden by the outer
setChecked(). This make the nested setChecked() unable to update
the "Thumb" position correctly.

Set mThumbPosition to sync up with the exact checked state of
the Switch to avoid update error.

Issue 34748

Change-Id: Id4aa389114dcc590430b11626c80d29c9c6016a0
Signed-off-by: Yu Haonong <yuhaonong@gmail.com>
witch.java
5a1195fd5faf40428bc98e5bc24d09edbf3c3b6c 15-May-2012 fredc <fredc@broadcom.com> Fixed issue with ActivityChooserView not working if there is only 1 share option available

Change-Id: If21742f3ddc28f54bf8da6cbc7e81ee0df19d6f0
ctivityChooserView.java
289b55e55d663566f0f8d512b506c6b60c34dcd6 12-Jul-2012 Adam Cohen <adamcohen@google.com> Merge "Prevent crash in AppWidgetHost that can be triggered by an AppWidget"
f31608d1fb03002f0ce5f948ab81761d2ff282a7 12-Jul-2012 Adam Cohen <adamcohen@google.com> Prevent crash in AppWidgetHost that can be triggered by an AppWidget

-> When the RemoteViewsFactory violates the getViewTypeCount() contract
we detect it, and prevent the AdapterView from crashing
-> Also made RemoteViewsCache a static inner class, since we may need
that down the road, and there's no reason it shouldn't be

Change-Id: I872a255167aac94513e522924179de61286b995a
emoteViewsAdapter.java
67f64d0d0d11c02fd892d08804d5c6ea28535b42 10-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix dividers position for LinearLayout"
e551aa49ddac25bca5a74e28c52208b06c62bfae 10-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Make ListView's FastScroller aware of layout direction"
4ab6968bb7014e6f4c6c4e4bd076626cf07f218b 03-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix dividers position for LinearLayout

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: I81a294966ec3989785c0b55d2e4d418ddc89fadd
inearLayout.java
69b9e00b0341dbae517d3e412ef5f1fdbb881e94 09-Jul-2012 Romain Guy <romainguy@android.com> am 13a3a87f: am dc99555d: Merge "Pass SearchView suggestion cursor exception to Log."

* commit '13a3a87fa7264df29a1f698ce80ada2de3561962':
Pass SearchView suggestion cursor exception to Log.
13a3a87fa7264df29a1f698ce80ada2de3561962 07-Jul-2012 Romain Guy <romainguy@android.com> am dc99555d: Merge "Pass SearchView suggestion cursor exception to Log."

* commit 'dc99555d61d50820b398096bb774ee56b2500476':
Pass SearchView suggestion cursor exception to Log.
73af45169476663ead1adcf1717dddd9ad4658fd 07-Jul-2012 Jake Wharton <jakewharton@gmail.com> Pass SearchView suggestion cursor exception to Log.

When an error in fetching a column occurs in your suggestions cursor
adapter this will ensure the stacktrace is logged to provide more
context about what failed.

Change-Id: Iafe4918caebb9b0fb712b758b2d3ace329fd2512
earchView.java
9dc2cc53ac332d73376f64cc8e7c713762d74bdd 04-Jul-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "AccessibilityNodeInfo bounds in screen incorrect if application scale not one."
983119ab22a18c743e4084dff27f35e3f490dd34 04-Jul-2012 Svetoslav Ganov <svetoslavganov@google.com> AccessibilityNodeInfo bounds in screen incorrect if application scale not one.

1. If the application does not accommodate different screen density the
system applies an application scale equal to the device density over
the a default density. The AccessibilityNodeInfo coordinates were not
reported after applying the compatibility scale, therefore the bounds
in parent and screen were not as perceived by the user.

bug:6764586

Change-Id: Iae2d6ea81049364194c7cb09df2240b5eda3d939
umberPicker.java
86ca5d35139db0eccc2babcca5bf835f8c2b019f 04-Jul-2012 Romain Guy <romainguy@google.com> Deprecate unsupported widgets.

Change-Id: I154236f07745b25200e77a473b810f45de07d0ef
igitalClock.java
lidingDrawer.java
woLineListItem.java
54d1bf89b712f020d798ff99552a938411e3fee1 03-Jul-2012 Scott Main <smain@google.com> am 7034ed83: am 5a883824: Merge "docs: fix document issue 27549" into jb-dev

* commit '7034ed833fcfc90abb5d3ad7dffed38fee60c797':
docs: fix document issue 27549
7034ed833fcfc90abb5d3ad7dffed38fee60c797 03-Jul-2012 Scott Main <smain@google.com> am 5a883824: Merge "docs: fix document issue 27549" into jb-dev

* commit '5a883824a2e97e0ccb08b4fe30accde6542f3f39':
docs: fix document issue 27549
5a883824a2e97e0ccb08b4fe30accde6542f3f39 03-Jul-2012 Scott Main <smain@google.com> Merge "docs: fix document issue 27549" into jb-dev
a0fd78897c532246e0da3819bcfcb66299076084 03-Jul-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Remove the accessibility focus search code."
c8d5f7d607123966651b2bc521ba9c4470952b34 03-Jul-2012 Scott Main <smain@google.com> am 35cb0650: am 399df567: docs: various link fixes and other typos from external tracker

* commit '35cb0650c07f0f3df017784bd3cf724c743f7399':
docs: various link fixes and other typos from external tracker
35cb0650c07f0f3df017784bd3cf724c743f7399 03-Jul-2012 Scott Main <smain@google.com> am 399df567: docs: various link fixes and other typos from external tracker

* commit '399df5677bd116a016664a10a0da432da29e829d':
docs: various link fixes and other typos from external tracker
15279cfc566aee7f860ebfdfe9d4a6fbc0497362 03-Jul-2012 Scott Main <smain@google.com> docs: fix document issue 27549

Change-Id: I17995fd70978657a46ccfc77fa2ae84c56a05255
orizontalScrollView.java
crollView.java
399df5677bd116a016664a10a0da432da29e829d 03-Jul-2012 Scott Main <smain@google.com> docs: various link fixes and other typos from external tracker

Change-Id: I2a107f7e16429c0fe80c5e4cb67ecfaf267db301
allery.java
abHost.java
abWidget.java
ableLayout.java
27e2da7c171afa39358bbead18fbe3e6b8ea6637 03-Jul-2012 Svetoslav Ganov <svetoslavganov@google.com> Remove the accessibility focus search code.

1. In JellyBean we have added some APIs to search for next accessibility
focus in various directions and set accessibility focus from hover.
However, we have decided that there is not clean answer for how this
should behave and the APIs were hidden. Now the accessibility service
is responsible for that. The unused code is now taken out.

2. This patch also takes out the hidden attribute accessibiligyFocusable
since we moved the responsibility for implementing focus search strategy
to accessibility services and we did not need that for Jellybean which
is a good sign that this is not needed. I general this is one less thing
for an app developer to worry about. We can add this if needed later.

bug:6773816

Change-Id: I0c858d72c93a2b7ff1f8f35a08d33ec4b9eb85fd
bsListView.java
umberPicker.java
58cf576243d17b34c0bd3e0aead48cae00c089c0 02-Jul-2012 Gilles Debunne <debunne@google.com> Merge "UI changes in suggestion menu"
acc3da02e84aa541c829ec0650a7dcace16e5df0 29-Jun-2012 Dianne Hackborn <hackbod@google.com> am 4be93bbe: am 074b54fb: Merge "Maybe fix issue #6756472: Share button is not defocusing the shade" into jb-dev

* commit '4be93bbe911c1a4471f81f0e261e9b13d9212c36':
Maybe fix issue #6756472: Share button is not defocusing the shade
4be93bbe911c1a4471f81f0e261e9b13d9212c36 29-Jun-2012 Dianne Hackborn <hackbod@google.com> am 074b54fb: Merge "Maybe fix issue #6756472: Share button is not defocusing the shade" into jb-dev

* commit '074b54fbc0b6254c0ba308e0cf2e86c1cc929348':
Maybe fix issue #6756472: Share button is not defocusing the shade
a19402165000e9513f3097e10df2b7ebc8dbe1d4 29-Jun-2012 Dianne Hackborn <hackbod@google.com> Maybe fix issue #6756472: Share button is not defocusing the shade

I got this reproduce a few times, then wasn't able to. I made this
change and then couldn't reproduce it. Maybe it fixed it.

The change here is to explicitly pass in the handler class to
apply() and reapply(), instead of relying it being set as a member of
the RemoteViews class. This is much cleaner and more explicitly about
setting that for the click callbacks.

Bug: 6756472
Change-Id: I8d029c3836501df3206c433838124b4be3890a8b
emoteViews.java
d3236dc16776a75531203f4137296dea64521f3f 28-Jun-2012 Gilles Debunne <debunne@google.com> Merge "Ensure batch edit mode is ended on window focus loss"
1daba18747782588ee7f486d0ba4033438429302 26-Jun-2012 Gilles Debunne <debunne@google.com> UI changes in suggestion menu

Icons removed for delete and add to dictionary.
Words capitalized (in English only)
Changed background color to white for words.

Note that due to a bug in the interaction between listView and
popup window, setting a background to the TextViews paints a
solid rectangle, which hides the rounded corners defined in
the popup window background.

Bug 6712892

Change-Id: Id5bb429463e2debc5e30d571c34426dfa82119d4
ditor.java
c72fba82a68992fe5bec05e4415ae98deaa66ea3 26-Jun-2012 Gilles Debunne <debunne@google.com> Ensure batch edit mode is ended on window focus loss

This is a translation of this open source contribution:
https://android-review.googlesource.com/38503

Change-Id: I4d3adf89d0752e6fd5ec2cdad3a54d4e764a1fe7
ditor.java
e6c2d62efb65fa7b4681d29ad0710df56bf9002b 26-Jun-2012 Dianne Hackborn <hackbod@google.com> am 9906e784: am 17990395: Merge "Fix issue #6717667: expanded notification actions don\'t work on the lock screen" into jb-dev

* commit '9906e784faca2cc8388a04fdc544722ea93d51be':
Fix issue #6717667: expanded notification actions don't work on the lock screen
9906e784faca2cc8388a04fdc544722ea93d51be 26-Jun-2012 Dianne Hackborn <hackbod@google.com> am 17990395: Merge "Fix issue #6717667: expanded notification actions don\'t work on the lock screen" into jb-dev

* commit '17990395bc62f8ce1bae4f1880899f231a8e613b':
Fix issue #6717667: expanded notification actions don't work on the lock screen
1927ae8a56a010919a7535231fa0f7db70f7e152 23-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6717667: expanded notification actions don't work on the lock screen

FLAG_ACTIVITY_CLOSE_SYSTEM_DIALOGS was a mistake.

Instead, and the infrastructure for the status bar to take care
of closing and hiding things itself when you press these buttons,
just like it does for the main Intent of the notification.

Bug: 6717667
Change-Id: I1b22186e0cedc05f46a1a3ec78053a72afaf61b1
emoteViews.java
c23ee46c8fac06b1982d115368f772fea399a4e0 23-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Make ListView's FastScroller aware of layout direction

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Ia70836041150b5e305df1af57a68bcdb4969f78c
astScroller.java
60abfa5c3aae69c48ab38d11bdcb0f6452deadc0 22-Jun-2012 Daniel Sandler <dsandler@android.com> am 63d842cc: am d5353b47: Fix docs

* commit '63d842cc4da3c2eb998aaf9adacbf20e833dff02':
Fix docs
bae2fe870af85ced407525735b2849ea0b2a1673 21-Jun-2012 Chris Wren <cwren@android.com> resolved conflicts for merge of 0a43f67e to master

Change-Id: I072b756bc501c7669593eff012b120905a2fd962
63d842cc4da3c2eb998aaf9adacbf20e833dff02 21-Jun-2012 Daniel Sandler <dsandler@android.com> am d5353b47: Fix docs

* commit 'd5353b475001f19e3cbc9c1a4165c9e6038a812f':
Fix docs
0a43f67ef3c2551ae051da7bf2e856ddc051298d 21-Jun-2012 Daniel Sandler <dsandler@android.com> am 790024bf: Merge "Unhide new methods on RemoteViews and Notification." into jb-dev

* commit '790024bfe6dd2765dd5e552053797459aab72da1':
Unhide new methods on RemoteViews and Notification.
d5353b475001f19e3cbc9c1a4165c9e6038a812f 21-Jun-2012 Daniel Sandler <dsandler@android.com> Fix docs

Change-Id: Ic5ff9aa07e65166a4ecaeecc5fb5e0091275bdcc
emoteViews.java
790024bfe6dd2765dd5e552053797459aab72da1 21-Jun-2012 Daniel Sandler <dsandler@android.com> Merge "Unhide new methods on RemoteViews and Notification." into jb-dev
9c42639cdd4e75f4e8298620ae27e68ef922e3d0 21-Jun-2012 Hung-ying Tyan <tyanh@google.com> am cc9a4e3e: am 927c7fd1: Merge "Fix crash when SimpleCursorAdapter changes cursor from null" into jb-dev

* commit 'cc9a4e3e2a3716965cd0b76d48e8e840e6ce0f41':
Fix crash when SimpleCursorAdapter changes cursor from null
cc9a4e3e2a3716965cd0b76d48e8e840e6ce0f41 21-Jun-2012 Hung-ying Tyan <tyanh@google.com> am 927c7fd1: Merge "Fix crash when SimpleCursorAdapter changes cursor from null" into jb-dev

* commit '927c7fd1fec8ff26fd4bf8cc64eb12dd634cb60b':
Fix crash when SimpleCursorAdapter changes cursor from null
064f9907c98283e76ed03fa65484fc6face22f92 21-Jun-2012 Daniel Sandler <dsandler@android.com> Unhide new methods on RemoteViews and Notification.

Change-Id: I0cbc270d9d7e9e728482c3b10650a32589636c9d
emoteViews.java
87ab6962e44914fdee767c5be6b316228d2b7889 20-Jun-2012 Hung-ying Tyan <tyanh@google.com> Fix crash when SimpleCursorAdapter changes cursor from null

when the spinner's drop-down view is shown.

Bug: 6637141

Change-Id: I62f759f778b040db386cc72a753c3b2745517b7e
impleCursorAdapter.java
fce51d58739f05c9c4729a2d574024bea8bc8e91 18-Jun-2012 Jean-Baptiste Queru <jbq@google.com> am 98e955d2: am 20d6caf8: Merge "Fix issue #13366. Take account of stackFromBottom in computeVerticalScrollOffset()."

* commit '98e955d295441636ba19688e18a8223691256d2c':
Fix issue #13366. Take account of stackFromBottom in computeVerticalScrollOffset().
98e955d295441636ba19688e18a8223691256d2c 18-Jun-2012 Jean-Baptiste Queru <jbq@google.com> am 20d6caf8: Merge "Fix issue #13366. Take account of stackFromBottom in computeVerticalScrollOffset()."

* commit '20d6caf8888d4114b6ce79d93c7c9cf903ad8c22':
Fix issue #13366. Take account of stackFromBottom in computeVerticalScrollOffset().
bbf7b4cdcfbc5aa436500dad96e73f7a3b32e794 16-Jun-2012 Pieter-Jan Vandormael <ezelspinguin@gmail.com> Fix issue #13366. Take account of stackFromBottom in
computeVerticalScrollOffset().

Change-Id: I743708ef1ac05e358840f37010de36b7d0c6a346
Signed-off-by: Pieter-Jan Vandormael <ezelspinguin@gmail.com>
ridView.java
49ccb116e9f2f3cf1233738c931f3e620287afc4 12-Jun-2012 Victoria Lease <violets@google.com> am 1b15102f: am 72b8fc7e: Merge "Revert "Fix fake bold for fallback fonts in frameworks."" into jb-dev

* commit '1b15102fc040f59c72c6453dee15b791f54c9f06':
Revert "Fix fake bold for fallback fonts in frameworks."
1b15102fc040f59c72c6453dee15b791f54c9f06 12-Jun-2012 Victoria Lease <violets@google.com> am 72b8fc7e: Merge "Revert "Fix fake bold for fallback fonts in frameworks."" into jb-dev

* commit '72b8fc7e6da2f335880750513401d680417dfd13':
Revert "Fix fake bold for fallback fonts in frameworks."
72b8fc7e6da2f335880750513401d680417dfd13 12-Jun-2012 Victoria Lease <violets@google.com> Merge "Revert "Fix fake bold for fallback fonts in frameworks."" into jb-dev
aa0980afab57a6aebb06e70f60e92511708fa5af 11-Jun-2012 Victoria Lease <violets@google.com> Revert "Fix fake bold for fallback fonts in frameworks."

This reverts commit b26fa0ce68d3311b2fdffb930b27d897e481dd5a
witch.java
extView.java
97eb02f16f3193a88cd06b6e5350ccbe9e6b1176 11-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Make GridView widget aware of layout direction"
0163b175d378bfeb88b19db1707a8805c9ab46eb 10-Jun-2012 Chet Haase <chet@google.com> am fdb67a4d: am 913bf804: Merge "Don\'t allow apps to request scrolls to out-of-bounds positions" into jb-dev

* commit 'fdb67a4dda0da858eba2103f899250acf9a221e5':
Don't allow apps to request scrolls to out-of-bounds positions
fdb67a4dda0da858eba2103f899250acf9a221e5 10-Jun-2012 Chet Haase <chet@google.com> am 913bf804: Merge "Don\'t allow apps to request scrolls to out-of-bounds positions" into jb-dev

* commit '913bf80416a81f2783376939e7ad0b956975b05c':
Don't allow apps to request scrolls to out-of-bounds positions
913bf80416a81f2783376939e7ad0b956975b05c 10-Jun-2012 Chet Haase <chet@google.com> Merge "Don't allow apps to request scrolls to out-of-bounds positions" into jb-dev
c3672a4e19d3a0063c6d467453e9d7e03b2c1d2f 09-Jun-2012 Victoria Lease <violets@google.com> am 2203fab2: am 2e6f9be5: Merge "Fix fake bold for fallback fonts in frameworks." into jb-dev

* commit '2203fab24966c80af5c37f0a58263218dbbcd610':
Fix fake bold for fallback fonts in frameworks.
2203fab24966c80af5c37f0a58263218dbbcd610 09-Jun-2012 Victoria Lease <violets@google.com> am 2e6f9be5: Merge "Fix fake bold for fallback fonts in frameworks." into jb-dev

* commit '2e6f9be5633cf37223425b9b93c0b1512db091af':
Fix fake bold for fallback fonts in frameworks.
a598720ad6ae21a07aaae50c9469dc3799c3fc30 09-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Make GridView widget aware of layout direction

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Id9ac26028c176e429a7f3ad76c0a428613e1afc8
ridView.java
0061e16e538f800ff995ad05bc21cc7728f160e2 09-Jun-2012 Chet Haase <chet@google.com> Don't allow apps to request scrolls to out-of-bounds positions

An app was requesting smooth scrolling to a view position beyond the
number of items in the list. This caused our setup logic to execute on
every frame, waiting for the target view to be added.

This fix clamps the requested target position to the number of items
actually in the list.

Issue #6572175 Messaging: Sometimes conversation doesn't scroll when focus is brought to the compose field

Change-Id: I23707aeb213e67af4297713a03c2f5b446c8e2b6
bsListView.java
b26fa0ce68d3311b2fdffb930b27d897e481dd5a 08-Jun-2012 Victoria Lease <violets@google.com> Fix fake bold for fallback fonts in frameworks.

This change is analogous to Ic0e9f1bbd8cae9fdd3a6d1d015bb9224c8be545c
in WebView, and depends upon the same Skia change that that CL makes
use of.

This flips the "fake bold" flag on for bold fonts in
TextView.setTypeface(), with the expectation that Skia will ignore
the flag if the final typeface used to render the glyphs is already
bold. It also does the same for StyleSpans, TextAppearanceSpans,
TypefaceSpans, and the Switch widget.

With this, fake bold should work uniformly across all scripts - if
fake bold works for a primary typeface, it should also work for all
fallback typefaces.

Bug: 6629786
Change-Id: Id3b8639ab0df83052ffd82809cb12adaacc1d46b
witch.java
extView.java
072b962afbdf5180eaaf29409f9751b3fef4f5c4 08-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Make Toast widget aware of layout direction"
54ed87c685fe5a911a622ffef1d5824af6ea95a9 24-Jan-2011 Roger Olsson <roger.olsson@sonyericsson.com> TabHost key handling corrected

When receiving key presses in TabHost.java, focus should be
requested for the selected tab indicator provided that the
following conditions are fulfilled:
1) A content view inside an embedded activity is currently focused.
2) No focusable view exists in the direction of the navigation
key press inside the embedded activity.
3) The TabWidget is located in the direction of the navigation
key press.
This should work for all locations of the TabWidget, not only
when the TabWidget is located above the tab content.

Change-Id: Ic5862cb72d2cc95aed9de92e42d6e0faf959fd43
abHost.java
b4946343e8027925a92f1353af5ad154a84e425f 08-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Make Toast widget aware of layout direction

- Toast will resolve its gravity (when START / END) from the System locale
- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: I3fe810b87d708f2ee80ca6258ad25ab32ae85d82
oast.java
3eaf181f964590be06fa99af5d41ffb2d0a18654 07-Jun-2012 Gilles Debunne <debunne@google.com> am 11c15cfb: am 78c6aeef: Merge "Fixed cast exception with selectable text." into jb-dev

* commit '11c15cfb4e48c53bcaf648c82de12707d6e479ba':
Fixed cast exception with selectable text.
11c15cfb4e48c53bcaf648c82de12707d6e479ba 07-Jun-2012 Gilles Debunne <debunne@google.com> am 78c6aeef: Merge "Fixed cast exception with selectable text." into jb-dev

* commit '78c6aeeffac7b665a0e1d822e88c92ef2b5ef353':
Fixed cast exception with selectable text.
78c6aeeffac7b665a0e1d822e88c92ef2b5ef353 07-Jun-2012 Gilles Debunne <debunne@google.com> Merge "Fixed cast exception with selectable text." into jb-dev
f6e03e55401833cb764730257ce08639bd205529 07-Jun-2012 Adam Powell <adamp@google.com> am 72329952: am 4c38fe36: Merge "Protect against bogus input for ListViews" into jb-dev

* commit '72329952168fd86b911109602882b92494e9ccc5':
Protect against bogus input for ListViews
72329952168fd86b911109602882b92494e9ccc5 07-Jun-2012 Adam Powell <adamp@google.com> am 4c38fe36: Merge "Protect against bogus input for ListViews" into jb-dev

* commit '4c38fe369fee76b8d4fca5a7b0b8d81a96f0219f':
Protect against bogus input for ListViews
4c38fe369fee76b8d4fca5a7b0b8d81a96f0219f 07-Jun-2012 Adam Powell <adamp@google.com> Merge "Protect against bogus input for ListViews" into jb-dev
857c341dfe36324fb32d7debc06d536cd8a9add1 07-Jun-2012 Gilles Debunne <debunne@google.com> Fixed cast exception with selectable text.

Bug 6550358

The EditText constructor now calls setTextIsSelectable, which uses
getText where the cast exception happens because the EditText is not
yet fully built and its text does not have the right type.

Fixed by using mText directly instead of getText().

Change-Id: I52a2720ae99475881f210ac74464728cab92147e
extView.java
28048d011cb0887cd641977ca37e5f2fde04d191 07-Jun-2012 Adam Powell <adamp@google.com> Protect against bogus input for ListViews

Guard against cases where ListView might receive touch events while
detached.

Update ListMenuPresenter to dispatch a data set change when the
backing menu is changed.

Bug 6543282

Change-Id: If2fb9b6aa3cf4a1b7070a7cd0de0edf0fc2f4cca
bsListView.java
e4beeb8e3c4fc94c4273330980bbd89a6da5a48d 07-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Make Spinner widget aware of layout direction"
38d64c5a95183f2574422a8e8c32c8ae3b96c4f3 07-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Make Spinner widget aware of layout direction

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: I6ebeee67e3e34271897e14f73b7364b1ae83145a
pinner.java
a26ddfacd7f75aa1f928167d9d834f46c16490d3 07-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Remove dead code in Switch"
20e14948f2f1f2d5f490104f43411732e0e7cb91 06-Jun-2012 Dianne Hackborn <hackbod@google.com> am 82811d45: am 533fce25: Merge "Docs (mostly): enumerate JELLY_BEAN target SDK changes." into jb-dev

* commit '82811d45ed21ccdff77d11495fa2045c7942bd6d':
Docs (mostly): enumerate JELLY_BEAN target SDK changes.
82811d45ed21ccdff77d11495fa2045c7942bd6d 06-Jun-2012 Dianne Hackborn <hackbod@google.com> am 533fce25: Merge "Docs (mostly): enumerate JELLY_BEAN target SDK changes." into jb-dev

* commit '533fce25a22718c491a86c31866b7751f1f582b7':
Docs (mostly): enumerate JELLY_BEAN target SDK changes.
636fd528f7ad51f565a390226d9f469f8c675ccf 06-Jun-2012 Dianne Hackborn <hackbod@google.com> Docs (mostly): enumerate JELLY_BEAN target SDK changes.

Okay this isn't entirely docs. I have un-hidden the new permission
for binding to accessibility services; we were going to go out with
it hidden since it didn't go into factory ROM, but now that we are
doing other things we might as well expose it.

Also changed a log from E to W, since it is not an error.

Change-Id: I9226c95e3b63e12218fe41dc3f4290d9824a9e5c
emoteViews.java
8dbf3b006dd806213f18ce32d8222856a80cbf01 06-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Remove dead code in Switch

Change-Id: I91b47866be6f370feef67b1aa4df3aa0d09cc6fb
witch.java
6fc225a02f0f9f6546e22ff9340edf0186a528c8 06-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Make CheckBox / RadioButton / ToggleButton / Star widgets aware of layout direction"
2842679d3426295b6674dfcfb8591fad79de6cb2 06-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Make CheckBox / RadioButton / ToggleButton / Star widgets aware of layout direction

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: I8badb57d095c6a0a1d0c82bedf30b02502013ae0
ompoundButton.java
4b9320bd95db666b5cb7012fed95060b8cd9665c 05-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> am 62ac5e0b: am 1f348443: Merge "NullPointerException in AbsListView.focusSearch()." into jb-dev

* commit '62ac5e0bb9ee61507b3d2a182aa78dc71869e9bb':
NullPointerException in AbsListView.focusSearch().
75bc758c43cf968be59c6d1c87dbc26615e969af 05-Jun-2012 Satoshi Kataoka <satok@google.com> am d44a4411: am 69609ed4: Merge "Do not run the spell checker in SearchView" into jb-dev

* commit 'd44a4411751921188f3484e0638363c9c88f7f06':
Do not run the spell checker in SearchView
62ac5e0bb9ee61507b3d2a182aa78dc71869e9bb 05-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> am 1f348443: Merge "NullPointerException in AbsListView.focusSearch()." into jb-dev

* commit '1f3484430e71a4dc21aba9145d20e32ca4a8f72e':
NullPointerException in AbsListView.focusSearch().
1f3484430e71a4dc21aba9145d20e32ca4a8f72e 05-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "NullPointerException in AbsListView.focusSearch()." into jb-dev
d44a4411751921188f3484e0638363c9c88f7f06 05-Jun-2012 Satoshi Kataoka <satok@google.com> am 69609ed4: Merge "Do not run the spell checker in SearchView" into jb-dev

* commit '69609ed40260b67d5ee6baace9d60cf9b677f4c9':
Do not run the spell checker in SearchView
69609ed40260b67d5ee6baace9d60cf9b677f4c9 05-Jun-2012 Satoshi Kataoka <satok@google.com> Merge "Do not run the spell checker in SearchView" into jb-dev
9ce1116ee844c7b03ca9c09956992b9a85b7a247 04-Jun-2012 Satoshi Kataoka <satok@google.com> Do not run the spell checker in SearchView

Bug: 6603925
Change-Id: I75972185fb4d802f2a90649002e722ca4b676c42
earchView.java
3016c1ae6a05a67106301fc5ffd7779338288e65 05-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> NullPointerException in AbsListView.focusSearch().

1. One of the loops was using the last visible position
as its end boundary as opposed to the child count
minus one.

bug:6610451

Change-Id: I600545ca3f64d1e982f909f893e5d34570ec5c8b
bsListView.java
0cd655ad2dcc16035f26300001ac2b3bd62d1c46 05-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Revert "Revert "Clean up layout direction APIs for Drawable"""
b03b434089cf2106c467b2827a65e5c589c91d01 04-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Revert "Revert "Clean up layout direction APIs for Drawable""

This reverts commit c96132ff53e5c26f5b0170edd85072006fb2bc70
mageView.java
rogressBar.java
extView.java
d9fe9e8427bd1a7d065db0f04a13a8a4608f24b7 04-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Make Switch widget aware of layout direction"
904db5b4e7052de4911f891c5112c0f53efcea26 04-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> am f3873333: am 30384653: Merge "Focus search in AbsListView returns invisible views." into jb-dev

* commit 'f3873333e014219601e8dc4e6bee364c50390c5d':
Focus search in AbsListView returns invisible views.
f3873333e014219601e8dc4e6bee364c50390c5d 04-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> am 30384653: Merge "Focus search in AbsListView returns invisible views." into jb-dev

* commit '30384653d2fc4d497ab3124c998c7d516f1bd25f':
Focus search in AbsListView returns invisible views.
30384653d2fc4d497ab3124c998c7d516f1bd25f 04-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Focus search in AbsListView returns invisible views." into jb-dev
b1fa98bb1c30bdfafbe3f251e2f849ce2cd49106 04-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> Focus search in AbsListView returns invisible views.

1. The focus search algorithm considers only visible
views, specifically when adding focusables. Since
AbsListView implements a custom focus search strategy
for better user experience it also has to return
only views that are visible.

bug:6543878

Change-Id: I6207c29402e4ac6190c1e65d042e04449aa75ef8
bsListView.java
bc595b798ea55fefddedb253afb6ac8c7849eff6 04-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> am b59d0618: am b6585d19: Merge "Double input focus and focus movement in list not working." into jb-dev

* commit 'b59d06186130921c02b6a4b0c98d0c43379df6d4':
Double input focus and focus movement in list not working.
b59d06186130921c02b6a4b0c98d0c43379df6d4 04-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> am b6585d19: Merge "Double input focus and focus movement in list not working." into jb-dev

* commit 'b6585d19311f13ec28fa38a3c849589dba8c293a':
Double input focus and focus movement in list not working.
b552d89e901225e2b6aa2602e874ab984c638415 02-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> Double input focus and focus movement in list not working.

1. The clearFocus routine in ViewGroup was clearing the pointer
to the descendant which has focus after calling clear focus
on that child. However, currently clearing the focus of a view
causes the view that loses focus to try to give the focus to
the first focusable which potentially sets the pointer to the
child that has input focus in the ViewGroup but the ViewGruop
essentially clears that pointer. This resulted in having two
focused views at the same time in some cases.

2. AbsListView was not calling the super implementation of add
focusables if the focus type was not accessibility.

bug:6559819

Change-Id: I478dfed000b5de3f9b15e12eb82aa3d34c2301e4
bsListView.java
665ef836b5aacee69bf517c8c2718bd01303f2d1 02-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> am 40404f43: am cba5e879: Merge "Calling the correct method when adding accessibility focusables." into jb-dev

* commit '40404f435c17dfbbedfdf358c48f0f91df91b84f':
Calling the correct method when adding accessibility focusables.
40404f435c17dfbbedfdf358c48f0f91df91b84f 02-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> am cba5e879: Merge "Calling the correct method when adding accessibility focusables." into jb-dev

* commit 'cba5e879e825fe37bc1eb092c14f3a5c4d7a29d1':
Calling the correct method when adding accessibility focusables.
cbc5e0aae45374ec92574b1cab9b31e494ce10e7 02-Jun-2012 Dianne Hackborn <hackbod@google.com> am 3522225d: am ea01e4a2: Merge "Survey says: NIET!" into jb-dev

* commit '3522225dba19e77defaf56f0e70c0382c2cbb0a2':
Survey says: NIET!
c96132ff53e5c26f5b0170edd85072006fb2bc70 02-Jun-2012 Jean-Baptiste Queru <jbq@google.com> Revert "Clean up layout direction APIs for Drawable"

This reverts commit c1da65187a4b9de8f72bd617ef937030187c0a92.
mageView.java
rogressBar.java
extView.java
a90e4512ab81dcd8cdbefdd2ffa0de55fca1caa3 02-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> Calling the correct method when adding accessibility focusables.

1. Since we added explicit accessibility focusable attribute when
adding focusables views that do so should call this method. Some
views were not updated to do so.

bug:6581924

Change-Id: Id64c0b2d76e5269ebf3fbe17203e73b174bdb843
bsListView.java
umberPicker.java
3522225dba19e77defaf56f0e70c0382c2cbb0a2 02-Jun-2012 Dianne Hackborn <hackbod@google.com> am ea01e4a2: Merge "Survey says: NIET!" into jb-dev

* commit 'ea01e4a2d5cc28093e9fd720055082b2d3f708d9':
Survey says: NIET!
28efba38c07c78f4a349d599b7ad3d7b517c5e97 02-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Make Switch widget aware of layout direction

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: I40e77e54ccee2e596ebc4649871debfd35ed95fa
witch.java
ea01e4a2d5cc28093e9fd720055082b2d3f708d9 01-Jun-2012 Dianne Hackborn <hackbod@google.com> Merge "Survey says: NIET!" into jb-dev
4034bc431df8903072bca513a81ecdcf858c718b 01-Jun-2012 Dianne Hackborn <hackbod@google.com> Survey says: NIET!

Bug: 6593206
Change-Id: I5390609a5615d6aff1793a9bc361012a0cea330b
ppSecurityPermissions.java
78068825416a4a0f3b2fdf57491ba4932c2bb6c4 01-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Clean up layout direction APIs for Drawable"
c1da65187a4b9de8f72bd617ef937030187c0a92 01-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Clean up layout direction APIs for Drawable

- see bug #6427629

Change-Id: I3119db3022bba0ee325b6d0d4471bfebd850ec10
mageView.java
rogressBar.java
extView.java
2a086877a43a75c90f8241973e26ae49a1116280 01-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> am 570ad8c2: am 00ca7a88: Merge "Accessibility focus traversal of lists inconsistent." into jb-dev

* commit '570ad8c2b6f89f6ca9f2dfeb33d0eca19278e739':
Accessibility focus traversal of lists inconsistent.
570ad8c2b6f89f6ca9f2dfeb33d0eca19278e739 01-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> am 00ca7a88: Merge "Accessibility focus traversal of lists inconsistent." into jb-dev

* commit '00ca7a88271916f6022b2aa16acfb415fc1b5247':
Accessibility focus traversal of lists inconsistent.
00ca7a88271916f6022b2aa16acfb415fc1b5247 01-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Accessibility focus traversal of lists inconsistent." into jb-dev
2dda468606fa4e6b4b6b44d38f42e06cb31e2785 01-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> Accessibility focus traversal of lists inconsistent.

1. Now the list traversal forward is the exact opposite
of the traversal backward.

2. The focus search starts from the view against which
the call is made as opposed to the one that has focus.
This is now consistent with the rest of the focus search.

bug:6537747

Change-Id: Ida6a696636a3099531155fcbff256f71264f5008
bsListView.java
0597161ee43cfaa7dbe14691a134fb358a00317a 31-May-2012 Philip Milne <pmilne@google.com> Merge "Fix for bug 6050753."
4305cd3276d34e0bad61a50b6a7c2f3d3f4d3d4a 31-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am c6dd2dd4: am f14c078c: Merge "Don\'t mark list headers or invalid items as disabled." into jb-dev

* commit 'c6dd2dd4b38b96be3deee94540973c83498a496c':
Don't mark list headers or invalid items as disabled.
c6dd2dd4b38b96be3deee94540973c83498a496c 31-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am f14c078c: Merge "Don\'t mark list headers or invalid items as disabled." into jb-dev

* commit 'f14c078ccc8fe8a2435d3c6b6e47aad81fffd663':
Don't mark list headers or invalid items as disabled.
f14c078ccc8fe8a2435d3c6b6e47aad81fffd663 31-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Don't mark list headers or invalid items as disabled." into jb-dev
3b6a3f004f7edf88949ed916f01b77573cd33da0 31-May-2012 Fabrice Di Meglio <fdimeglio@google.com> am 875713c6: am f053e236: Merge "Fix bug #6567507 [Bidi] - Cursor is sometimes not visible on EditText" into jb-dev

* commit '875713c6886a5b24fff3a2ce36eb95bc9446e749':
Fix bug #6567507 [Bidi] - Cursor is sometimes not visible on EditText
325ea8deb86e09317683523625cf74666cd30c11 31-May-2012 alanv <alanv@google.com> Don't mark list headers or invalid items as disabled.

Bug: 6581689
Change-Id: I4088cdc7e785e60fe7e30807cdf045131584f29d
bsListView.java
875713c6886a5b24fff3a2ce36eb95bc9446e749 31-May-2012 Fabrice Di Meglio <fdimeglio@google.com> am f053e236: Merge "Fix bug #6567507 [Bidi] - Cursor is sometimes not visible on EditText" into jb-dev

* commit 'f053e2367d4859adf9488bd1712bdbe8f647eeb8':
Fix bug #6567507 [Bidi] - Cursor is sometimes not visible on EditText
f053e2367d4859adf9488bd1712bdbe8f647eeb8 31-May-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #6567507 [Bidi] - Cursor is sometimes not visible on EditText" into jb-dev
0ed59fae6fc85c2c4a223d3be88b79cf797908ab 30-May-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #6567507 [Bidi] - Cursor is sometimes not visible on EditText

- take the hint layout primary horizontal offset if needed

Change-Id: Ib5c4dd990278e1fd8bb9ba4f4b6940a62dba91e3
ditor.java
extView.java
b616547cd5915793ebb5f7b85e815895c54b1d93 30-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 378aa011: am a5c896af: Merge "Updating the behaviour of accessibility text iterators." into jb-dev

* commit '378aa011d5f989166b62e9db6328a5881a1a73a0':
Updating the behaviour of accessibility text iterators.
378aa011d5f989166b62e9db6328a5881a1a73a0 30-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am a5c896af: Merge "Updating the behaviour of accessibility text iterators." into jb-dev

* commit 'a5c896afe89aaf40166343232d85980b94974032':
Updating the behaviour of accessibility text iterators.
a5c896afe89aaf40166343232d85980b94974032 30-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Updating the behaviour of accessibility text iterators." into jb-dev
39f2aee640eea62b43fa79f28dec3a962e5cb065 29-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Updating the behaviour of accessibility text iterators.

1. Iterators were skipping content on reversing direction.

2. The cursor was positioned at the beginning of the next text segment
when moving forward and at end of the previous text segment when moving
backwards. This is incorrect and now the cursor is positioned at the
end of the segment when moving forward and at the beginning when moving
backward.

3. The cursor position was not properly set when reaching the end/start
of the text.

4. The iterators were reporting strictly the next/previous segment even
if the cursor is within such a segment. Thus, when traversing some
content may be skipped. Now moving forward moves the selection to
the next segment end and the start position is either the old index
if it was within a segment or the start of the segment. Same in
reverse.

bug:6575099

Change-Id: Ib48a649cec53910339baf831a75e26440be6e576
ccessibilityIterators.java
extView.java
31d869ce07dac4aaf22ac3f57ff6ed2cb736fd54 25-May-2012 Gilles Debunne <debunne@google.com> am 1cf99631: am 18afc622: Merge "Fix for IOOB in SearchView" into jb-dev

* commit '1cf99631ca6859785ef5716def75169f77b1bee3':
Fix for IOOB in SearchView
1cf99631ca6859785ef5716def75169f77b1bee3 25-May-2012 Gilles Debunne <debunne@google.com> am 18afc622: Merge "Fix for IOOB in SearchView" into jb-dev

* commit '18afc622c3d80713a6ffb91792cce399e1715bfb':
Fix for IOOB in SearchView
2427192e58b2ff31c3238b6c04440a15f4e7bf20 25-May-2012 Gilles Debunne <debunne@google.com> Fix for IOOB in SearchView

Bug 6476578

The latest bug report show a query.length() of 33 while
mQueryTextView.length() is 0 on line 514.

I can see 2 reasons which can explain this discrepancy:
- the mQueryTextView has a filter, which alters the text.
- some asynchronous event (IME?) changes the text in the mean time.

I would favor the second one, which seems to break a lot of single
thread assumptions in the code and generates other IOOB exceptions.

Note that depending on what they are used for, it may be more consistent
to use mQueryTextView.getText() instead of query in the following
assignment.

Change-Id: Ie8a5486b11a80543f8f90980454933c5a74c073e
earchView.java
5284148f28d25f69bae3f34037f65275edaa0186 24-May-2012 satok <satok@google.com> am 77f79a39: am f927e17a: Use correct spell check locale

* commit '77f79a39c0e6aa540f8204adb39ec6671ee053e7':
Use correct spell check locale
77f79a39c0e6aa540f8204adb39ec6671ee053e7 24-May-2012 satok <satok@google.com> am f927e17a: Use correct spell check locale

* commit 'f927e17ae543b6edeae8200cc86c59c3ee740670':
Use correct spell check locale
f927e17ae543b6edeae8200cc86c59c3ee740670 24-May-2012 satok <satok@google.com> Use correct spell check locale

Bug: 6542210
Change-Id: I414aa2321f30e396996d90fb8e90c1dbb3bb7b9e
extView.java
b24f0c99d6e7ae861ad2d13c15af4a5d71a3dc59 24-May-2012 Adam Powell <adamp@google.com> am 7c485c38: am 75ac4e84: Merge "Fix a bug with deferred position scrolling in lists while data changes are pending" into jb-dev

* commit '7c485c38045dd5a94f80d7eec05931afafd6579c':
Fix a bug with deferred position scrolling in lists while data changes are pending
7c485c38045dd5a94f80d7eec05931afafd6579c 24-May-2012 Adam Powell <adamp@google.com> am 75ac4e84: Merge "Fix a bug with deferred position scrolling in lists while data changes are pending" into jb-dev

* commit '75ac4e8479a415b4bec657b8f333e38d160b6b3e':
Fix a bug with deferred position scrolling in lists while data changes are pending
75ac4e8479a415b4bec657b8f333e38d160b6b3e 24-May-2012 Adam Powell <adamp@google.com> Merge "Fix a bug with deferred position scrolling in lists while data changes are pending" into jb-dev
161abf3d44feebb8462f7d0cbee81574d666234b 24-May-2012 Adam Powell <adamp@google.com> Fix a bug with deferred position scrolling in lists while data changes
are pending

Save the pending position scroll until the data change is actually
serviced before posting it to run. This avoids handler loops on
GONE subtrees or when the view is detached.

Bug 6547649

Change-Id: Iab108cfcb7dd11ece703762d311a5f5985f38c3b
bsListView.java
ridView.java
istView.java
db120c4dd21bc53c6f58d0140e3a9a3dc6e79b16 24-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 1de7af86: am a587b890: Merge "ActivityChooser view not handling its removal and relayout properly." into jb-dev

* commit '1de7af86d720accda08df4c5bcf0b55da90f9208':
ActivityChooser view not handling its removal and relayout properly.
1de7af86d720accda08df4c5bcf0b55da90f9208 24-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am a587b890: Merge "ActivityChooser view not handling its removal and relayout properly." into jb-dev

* commit 'a587b890bb0c2f800fe4dfd3267f26366d00d32c':
ActivityChooser view not handling its removal and relayout properly.
748ee2e82a6f7a3adbbb522d45001e6dcb52b947 24-May-2012 Svetoslav Ganov <svetoslavganov@google.com> ActivityChooser view not handling its removal and relayout properly.

1. ActivityChooserView did not hide the popup window when detached.

bug:6544220

2. ActivityChooserView was calling show popup when it was already
showing it resulting in an incrrect update and losing one item
per rotation.

bug:6522041

Change-Id: Iec1682ca5d27e38caf57214fa86060edf82a2166
ctivityChooserView.java
2b5d509584128fdbcfac8abc5b16614d779383d1 23-May-2012 Craig Mautner <cmautner@google.com> am 4d7b752e: am 85aea366: Merge "Remove Popup immediately rather than defer it." into jb-dev

* commit '4d7b752ee9f739e3b178261728fc6b9ae0d8eac4':
Remove Popup immediately rather than defer it.
4d7b752ee9f739e3b178261728fc6b9ae0d8eac4 23-May-2012 Craig Mautner <cmautner@google.com> am 85aea366: Merge "Remove Popup immediately rather than defer it." into jb-dev

* commit '85aea3664992cd1e16ef4497c3450b26bdef06b0':
Remove Popup immediately rather than defer it.
85aea3664992cd1e16ef4497c3450b26bdef06b0 23-May-2012 Craig Mautner <cmautner@google.com> Merge "Remove Popup immediately rather than defer it." into jb-dev
b82d074038f4c8d86e1bd4f3fa4d3780bd4bcba5 23-May-2012 Craig Mautner <cmautner@google.com> Remove Popup immediately rather than defer it.

Delaying the popup by using removeView instead of removeViewImmediate
caused an error when the removal was actually executed after the parent
window was deleted along with the popup.

Fixes bug 6407801.

Change-Id: Ieb17d58467aaf16e1a24f47187f52766d694ba32
opupWindow.java
3be398ab3c920a2bbb8cc505e7c37753e21588f6 22-May-2012 Adam Cohen <adamcohen@google.com> am 2628c678: am 662e4a45: Merge "Fix ANR which could occur for collection widgets with very large items" into jb-dev

* commit '2628c678cde4bc4c99668130136714187aeca9dc':
Fix ANR which could occur for collection widgets with very large items
2628c678cde4bc4c99668130136714187aeca9dc 22-May-2012 Adam Cohen <adamcohen@google.com> am 662e4a45: Merge "Fix ANR which could occur for collection widgets with very large items" into jb-dev

* commit '662e4a456bf1f7a3a2a2c971f7c0861ef1c159e0':
Fix ANR which could occur for collection widgets with very large items
662e4a456bf1f7a3a2a2c971f7c0861ef1c159e0 22-May-2012 Adam Cohen <adamcohen@google.com> Merge "Fix ANR which could occur for collection widgets with very large items" into jb-dev
35fbe2a5923d45ebcdfb3ad74efd1089a05e8737 22-May-2012 Adam Cohen <adamcohen@google.com> Fix ANR which could occur for collection widgets with very large items

-> We cache RemoteViews which populate the AdapterViews, but only
up to a total memory amount of 2MB. The remainder of the cache
is pruned out. If _every_ item is greater than 2MB, we were failing
to prune the last item, leaving the framework in a loop on a bg
thread, but holding a lock required by the main thread.

Change-Id: I0574a25a59ebec6586ae223fff6605c0fee953c3
emoteViewsAdapter.java
d53db15d1eef112a9f8973a4253b5e03adeaa28e 22-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am d429f877: am 084c63eb: Merge "Fix accessibility actions in AbsListView." into jb-dev

* commit 'd429f8772cbda58488cb275432f84ca482c89455':
Fix accessibility actions in AbsListView.
d429f8772cbda58488cb275432f84ca482c89455 22-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 084c63eb: Merge "Fix accessibility actions in AbsListView." into jb-dev

* commit '084c63eb6a44fdab7507f828062a2c4a8872f8c8':
Fix accessibility actions in AbsListView.
084c63eb6a44fdab7507f828062a2c4a8872f8c8 22-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Fix accessibility actions in AbsListView." into jb-dev
c18cced700e79bdb183b47af884ffdfcb5727f28 22-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 5182a5bc: am 4ce106f5: Merge "Fixing some minor issues in accessibility focus." into jb-dev

* commit '5182a5bcf7a975c6183e0925dec0d3ac35071de9':
Fixing some minor issues in accessibility focus.
5182a5bcf7a975c6183e0925dec0d3ac35071de9 22-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 4ce106f5: Merge "Fixing some minor issues in accessibility focus." into jb-dev

* commit '4ce106f5cff5670bf1aae4190612dc8e972f5c28':
Fixing some minor issues in accessibility focus.
4ce106f5cff5670bf1aae4190612dc8e972f5c28 22-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Fixing some minor issues in accessibility focus." into jb-dev
f76a83cfcf32402edb78666733b5ebf9ec6ac2e2 22-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Fixing some minor issues in accessibility focus.

1. Now accessibility focus does not drag input focus and
vice versa. Having the two focuses chase each other
can lead to some pathological cases. For example, a
container is input focusable and manages input focus
for its children i.e. as soon as it gets input focus
it sets input focus to a child. Now assume input and
accessibility focus are on a child and focus search
finds the parent to take accessibility focus, now
putting accessibility focus to the parent will put
input focus there and the parent will put input focus
to the child which as a result will put accessibility
focus there, thus resulting in traversal loop.

bug:6522900

2. Fixed asymmetrical behavior of accessibility focus search
for AbsListView.

bug:6520016

3. Fixed accessibility focus search getting stuck in an
empty AbsListView.

bug:6520049

Change-Id: Ia26e5be7b5a9f340f873861ff466c787467b98dc
bsListView.java
ce725cc1e209658132f7d269f13a9fa1eb7dbe74 22-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am f7b8bbad: am de83e7aa: Merge "Make TextView respect ACCESSIBILITY_SPEAK_PASSWORD preference." into jb-dev

* commit 'f7b8bbadf50f313733dd89c5680f0ffc60f364bc':
Make TextView respect ACCESSIBILITY_SPEAK_PASSWORD preference.
f7b8bbadf50f313733dd89c5680f0ffc60f364bc 22-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am de83e7aa: Merge "Make TextView respect ACCESSIBILITY_SPEAK_PASSWORD preference." into jb-dev

* commit 'de83e7aa32e7b1a6c8aea780664150345b7ae097':
Make TextView respect ACCESSIBILITY_SPEAK_PASSWORD preference.
de83e7aa32e7b1a6c8aea780664150345b7ae097 22-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Make TextView respect ACCESSIBILITY_SPEAK_PASSWORD preference." into jb-dev
abafe372ee70496ac6b323e1d05d397785651779 21-May-2012 Romain Guy <romainguy@google.com> am 6fa51de8: am 46a8b1ac: Merge "Remove unused, obsolete debug code" into jb-dev

* commit '6fa51de80bae65a93346ed18628010a0867607cc':
Remove unused, obsolete debug code
28e2064ffce14f3c682952203a502cf731da467a 21-May-2012 Daniel Sandler <dsandler@android.com> am 7a999b82: am 2926948d: Merge "Add RemoteViews.setViewPadding()." into jb-dev

* commit '7a999b820456e49a8c3d76a31d9a23edee746e56':
Add RemoteViews.setViewPadding().
eb818188aadfe3d0208d96837618deaa68ea6973 21-May-2012 Daniel Sandler <dsandler@android.com> am 97ccf4a8: am 90497c18: Merge "Remotable view method for TextView.setTextSize(int, float)." into jb-dev

* commit '97ccf4a8528ff101bc1aed5dbe9798e2fbefa7cd':
Remotable view method for TextView.setTextSize(int, float).
c5f1296d3ff00ce381407e6dda4c7cc9af9fe725 21-May-2012 Philip Milne <pmilne@google.com> am 464c4e98: am bfa3d50b: Merge "Doc changes for GridLayout." into jb-dev

* commit '464c4e987998c4335ad837bd165243e50c6ea5f0':
Doc changes for GridLayout.
60ff93e43200bb3f3b3adfcd4f84a92954ff16d0 21-May-2012 Jeff Brown <jeffbrown@google.com> am 3ec5724d: am 51f24302: Support toast cancellation.

* commit '3ec5724d60e29ecb032cc4c9dc5d82924d5eee93':
Support toast cancellation.
bd3217591d717d5246e604b060cb0267a53a0ed9 21-May-2012 Romain Guy <romainguy@google.com> am 86ed8bfa: am 52fcdd01: Merge "Fix documentation" into jb-dev

* commit '86ed8bfa5e9f5ed92570db7bc2011074464f86eb':
Fix documentation
fc0c048ef489600f0a65ded8a07de867c764a56d 21-May-2012 Romain Guy <romainguy@google.com> am c301e78c: am 9579bf82: Merge "Gallery, we need to talk..." into jb-dev

* commit 'c301e78c78188803137e2b9abfa27cd0f1ffaff5':
Gallery, we need to talk...
7d62419c85dbf4fff1895e91d38edccf5d1f46ec 21-May-2012 alanv <alanv@google.com> Make TextView respect ACCESSIBILITY_SPEAK_PASSWORD preference.

Bug: 6523447
Change-Id: I2610b558395dc53a74b5c8c36c09673898da44f2
extView.java
6fa51de80bae65a93346ed18628010a0867607cc 21-May-2012 Romain Guy <romainguy@google.com> am 46a8b1ac: Merge "Remove unused, obsolete debug code" into jb-dev

* commit '46a8b1acdbbaa9bcbd0127b4f4580b5a8ec38119':
Remove unused, obsolete debug code
46a8b1acdbbaa9bcbd0127b4f4580b5a8ec38119 21-May-2012 Romain Guy <romainguy@google.com> Merge "Remove unused, obsolete debug code" into jb-dev
7a999b820456e49a8c3d76a31d9a23edee746e56 21-May-2012 Daniel Sandler <dsandler@android.com> am 2926948d: Merge "Add RemoteViews.setViewPadding()." into jb-dev

* commit '2926948d2092fcf6e38328d690dd60510fe9bf1f':
Add RemoteViews.setViewPadding().
2926948d2092fcf6e38328d690dd60510fe9bf1f 21-May-2012 Daniel Sandler <dsandler@android.com> Merge "Add RemoteViews.setViewPadding()." into jb-dev
13b907353f18215b52b5ceda24bbf520d91d72a1 21-May-2012 Romain Guy <romainguy@google.com> Remove unused, obsolete debug code

All these features have either been abandonned and left un-maintained
for years or can be replaced by systrace.

Change-Id: I42e4579a8078744047e5fe08a7a15254970b09bc
bsListView.java
istView.java
99d1f74864c3449585690f85a5fe6fb36ef796d5 21-May-2012 Daniel Sandler <dsandler@android.com> Add RemoteViews.setViewPadding().

Bug: 6519374
Change-Id: I29ad738d741153a9d9e74c9e2ac110a8b97f046b
emoteViews.java
97ccf4a8528ff101bc1aed5dbe9798e2fbefa7cd 21-May-2012 Daniel Sandler <dsandler@android.com> am 90497c18: Merge "Remotable view method for TextView.setTextSize(int, float)." into jb-dev

* commit '90497c18f72cf3d7ea2fd611502d0da2c9c69879':
Remotable view method for TextView.setTextSize(int, float).
90497c18f72cf3d7ea2fd611502d0da2c9c69879 21-May-2012 Daniel Sandler <dsandler@android.com> Merge "Remotable view method for TextView.setTextSize(int, float)." into jb-dev
7264f71399018e2dd79d974ee5162cf652ac786f 21-May-2012 Daniel Sandler <dsandler@android.com> Remotable view method for TextView.setTextSize(int, float).

The only remotable method on TextView is setTextSize(float)
which assumes "sp" dimensions, making it tricky to get exact
text sizes.

Bug: 6519374
Change-Id: I961bbdd607ca6786c0630ff1ce19186f54f6f31f
emoteViews.java
464c4e987998c4335ad837bd165243e50c6ea5f0 21-May-2012 Philip Milne <pmilne@google.com> am bfa3d50b: Merge "Doc changes for GridLayout." into jb-dev

* commit 'bfa3d50b49a93a7d02f93c9ac54a74c40c6f2046':
Doc changes for GridLayout.
b65408fc0fefa82161475de7f7f32284f6f60a56 21-May-2012 Philip Milne <pmilne@google.com> Doc changes for GridLayout.

Add some javadoc to explain orientation property properly.

Change-Id: I1e2092f32fe2f524eda7d1c46c6daad571733c1f
ridLayout.java
3ec5724d60e29ecb032cc4c9dc5d82924d5eee93 21-May-2012 Jeff Brown <jeffbrown@google.com> am 51f24302: Support toast cancellation.

* commit '51f2430217a377bc2913862d98a97d0087914540':
Support toast cancellation.
51f2430217a377bc2913862d98a97d0087914540 20-May-2012 Jeff Brown <jeffbrown@google.com> Support toast cancellation.

Change-Id: Idd00b9c6e3049822e437afaf56351575a5c167df
oast.java
944d624fc23406ebce4c6640243cca23c5cb90f0 19-May-2012 Dianne Hackborn <hackbod@google.com> am 35013d0e: Merge "DO NOT MERGE: Remove a few left-over layout direction things." into jb-dev

* commit '35013d0e8be6b67c6a0161b8472496a825657944':
DO NOT MERGE: Remove a few left-over layout direction things.
35013d0e8be6b67c6a0161b8472496a825657944 19-May-2012 Dianne Hackborn <hackbod@google.com> Merge "DO NOT MERGE: Remove a few left-over layout direction things." into jb-dev
9c3e0e68260fe50456996d75304b73054cbde94a 19-May-2012 alanv <alanv@google.com> Fix accessibility actions in AbsListView.

Check adapter for position enabled state, check selection index.

Bug: 6508142
Change-Id: If25a133533a7316ef7eba8761522bd2ee4f6338d
bsListView.java
86ed8bfa5e9f5ed92570db7bc2011074464f86eb 19-May-2012 Romain Guy <romainguy@google.com> am 52fcdd01: Merge "Fix documentation" into jb-dev

* commit '52fcdd013943954e4baa4542f78557da33bc646b':
Fix documentation
39af624f3135328ec0550888e99f4350572634b5 19-May-2012 Dianne Hackborn <hackbod@google.com> DO NOT MERGE: Remove a few left-over layout direction things.

Change-Id: Id66b171594af939df4716aa0e0baa25fe47eecee
extView.java
c301e78c78188803137e2b9abfa27cd0f1ffaff5 19-May-2012 Romain Guy <romainguy@google.com> am 9579bf82: Merge "Gallery, we need to talk..." into jb-dev

* commit '9579bf821ea4c1c5435f8e62973acd9b72c7902c':
Gallery, we need to talk...
d2aed40a37f202cc2b88d77c44fa359bfbd10520 19-May-2012 Romain Guy <romainguy@google.com> Fix documentation

Change-Id: Id3a5d3b6b43ce684c2328f046e4991e64e97575a
allery.java
5a418c771db08b1660095dfb712d2f159f700968 19-May-2012 Romain Guy <romainguy@google.com> Gallery, we need to talk...

Change-Id: Ie4b62df03c27161565d303d11447e3d7ff3115c4
allery.java
72e15ceb85ecbe066c2ba33ca7e086dc511a8d23 18-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am cefd97c8: am e54c5f13: Merge "Exposing some accessiblity actions only for enabled views." into jb-dev

* commit 'cefd97c8546d6dca184e8ac9589ab2ff1b795c06':
Exposing some accessiblity actions only for enabled views.
c3c1304d39d6bc1ef1ee52aa0104f179d6530dfe 18-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am dcf56b2d: am 6467f94b: Merge "Make AbsSeekBar widget adjustable via accessibility actions." into jb-dev

* commit 'dcf56b2dea002bff59af6abb4ce77a39dd06d753':
Make AbsSeekBar widget adjustable via accessibility actions.
693cf16f857a1ff8d13cc61de2ffd7c86098f929 18-May-2012 Adam Cohen <adamcohen@google.com> am 6340b3f0: am e0bb6fe3: Merge "Cap widget bitmap usage by screen size (issue 6464700)" into jb-dev

* commit '6340b3f028edec783ac51970421f7816195408fd':
Cap widget bitmap usage by screen size (issue 6464700)
cefd97c8546d6dca184e8ac9589ab2ff1b795c06 17-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am e54c5f13: Merge "Exposing some accessiblity actions only for enabled views." into jb-dev

* commit 'e54c5f13652166c5896ccfa55f047301a6c8b876':
Exposing some accessiblity actions only for enabled views.
e54c5f13652166c5896ccfa55f047301a6c8b876 17-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Exposing some accessiblity actions only for enabled views." into jb-dev
fb1e80a247221ee7e8f5c5deba04812021d9d07e 17-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Exposing some accessiblity actions only for enabled views.

1. Some accessibility actions should not be performed on disabled
views. For example, scrolling should not be permitted while
accessibility focus should be. Made a quick pass over the
actions we expose now.

Change-Id: I36626dfbc0d2f480309a910f58f1de64e9e05675
bsListView.java
allery.java
orizontalScrollView.java
umberPicker.java
crollView.java
tackView.java
extView.java
dcf56b2dea002bff59af6abb4ce77a39dd06d753 17-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 6467f94b: Merge "Make AbsSeekBar widget adjustable via accessibility actions." into jb-dev

* commit '6467f94b371e1af1b5e0ab63eb3b39671e04ff8d':
Make AbsSeekBar widget adjustable via accessibility actions.
6467f94b371e1af1b5e0ab63eb3b39671e04ff8d 17-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Make AbsSeekBar widget adjustable via accessibility actions." into jb-dev
c826b7d8fa330970d1ab29fd3b2790a5bc01e26c 16-May-2012 alanv <alanv@google.com> Make AbsSeekBar widget adjustable via accessibility actions.

Change-Id: I559da3cea139c2d5a4c82e2854921de173fbfa4f
bsSeekBar.java
6340b3f028edec783ac51970421f7816195408fd 16-May-2012 Adam Cohen <adamcohen@google.com> am e0bb6fe3: Merge "Cap widget bitmap usage by screen size (issue 6464700)" into jb-dev

* commit 'e0bb6fe33355f9eeed1273a3614624286a0911ce':
Cap widget bitmap usage by screen size (issue 6464700)
e0bb6fe33355f9eeed1273a3614624286a0911ce 16-May-2012 Adam Cohen <adamcohen@google.com> Merge "Cap widget bitmap usage by screen size (issue 6464700)" into jb-dev
f22a7c34a4397a9f6add295952b2c7e7defd38b5 16-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am a379e733: am 67d10a58: Merge "Prefetching of accessibility node infos getting incorrect views." into jb-dev

* commit 'a379e733b81e44b7d91d90ea93bc26e43230fdb1':
Prefetching of accessibility node infos getting incorrect views.
a379e733b81e44b7d91d90ea93bc26e43230fdb1 16-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 67d10a58: Merge "Prefetching of accessibility node infos getting incorrect views." into jb-dev

* commit '67d10a5867ac26155117f2ffda84f9d2a21dbcf0':
Prefetching of accessibility node infos getting incorrect views.
4528b4e882584745f48263fa6626987e63832a2a 16-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Prefetching of accessibility node infos getting incorrect views.

1. The prefetcher of accessibility nodes infos was not folloing
the childForAccessibility relationship when finding the views
whose node infos to prefetch.

2. NumberPicker was not reporting the correct parent.

bug:6471710

Change-Id: Ia7ad5dd031fb4b3816dfe630d5212201cfafa236
umberPicker.java
2297edef7110462bf09fdbe789dcb20f69506cc6 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 8b764de2: am 0e3057c6: Merge "Add accessibility scroll support to some widgets." into jb-dev

* commit '8b764de2ad9787fb33f95bbcd1ac1a64427efaf3':
Add accessibility scroll support to some widgets.
8b764de2ad9787fb33f95bbcd1ac1a64427efaf3 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 0e3057c6: Merge "Add accessibility scroll support to some widgets." into jb-dev

* commit '0e3057c667425e4b1326c598442e69a4e0e036e2':
Add accessibility scroll support to some widgets.
d6db7df171a92ef5194aa24df65f330b73951518 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 1c2ecfa9: am 8b4d73b2: Merge "Revert "Showing default activity in activity chooser view only if enough space."" into jb-dev

* commit '1c2ecfa9ca918011549191e73495b5f61c5a1425':
Revert "Showing default activity in activity chooser view only if enough space."
da350b9ef3095ec64a262758e595d5c6e039efd2 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am db3cf0dd: am 0e29ac9e: Merge "Accessibility focus traversal in virtual nodes." into jb-dev

* commit 'db3cf0dd580ce976ea9b90aeebc60ff34f62372a':
Accessibility focus traversal in virtual nodes.
83492861b61ecd3fa7fdc4cec4db6e786638d4f6 15-May-2012 Gilles Debunne <debunne@google.com> am 8573c204: am 855f5407: Merge "Minor changes in SpellCheckSpan pool management in SpellChecker" into jb-dev

* commit '8573c204049d81d616616c6ed2ffd4629b051d59':
Minor changes in SpellCheckSpan pool management in SpellChecker
38f4c223c0fde274c2089b1dad026593c06de06f 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am d83a0800: am 8ce2d78a: Merge "Improving accessibility focus traversal." into jb-dev

* commit 'd83a0800679583ccc99a90a128f8d6c11afbeca4':
Improving accessibility focus traversal.
1c2ecfa9ca918011549191e73495b5f61c5a1425 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 8b4d73b2: Merge "Revert "Showing default activity in activity chooser view only if enough space."" into jb-dev

* commit '8b4d73b2d5ba91bd61b6892f5620603fe3428e50':
Revert "Showing default activity in activity chooser view only if enough space."
db3cf0dd580ce976ea9b90aeebc60ff34f62372a 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 0e29ac9e: Merge "Accessibility focus traversal in virtual nodes." into jb-dev

* commit '0e29ac9e4ede6e75a5ca91eb744bbff83949c71e':
Accessibility focus traversal in virtual nodes.
8573c204049d81d616616c6ed2ffd4629b051d59 15-May-2012 Gilles Debunne <debunne@google.com> am 855f5407: Merge "Minor changes in SpellCheckSpan pool management in SpellChecker" into jb-dev

* commit '855f5407c74694ebd924b36738ecc79241c4becf':
Minor changes in SpellCheckSpan pool management in SpellChecker
d83a0800679583ccc99a90a128f8d6c11afbeca4 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 8ce2d78a: Merge "Improving accessibility focus traversal." into jb-dev

* commit '8ce2d78aa89e89e9a5607d8809bf6d248508a531':
Improving accessibility focus traversal.
48d1586f4065fc9ab97a679da1e4f7c327c943f2 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Add accessibility scroll support to some widgets.

1. Added support for accessibility scroll action to
some widgets that are scrollable.

2. Making the super call when handling an accessibility
action in the views to call super first to allow
an accessibility delegate to intercept the call.

bug:5932640

Change-Id: I5eb37d64bf9fba1d5c596981132e0df717e2a18a
bsListView.java
allery.java
orizontalScrollView.java
umberPicker.java
crollView.java
tackView.java
8b4d73b2d5ba91bd61b6892f5620603fe3428e50 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Revert "Showing default activity in activity chooser view only if enough space."" into jb-dev
0e29ac9e4ede6e75a5ca91eb744bbff83949c71e 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Accessibility focus traversal in virtual nodes." into jb-dev
855f5407c74694ebd924b36738ecc79241c4becf 15-May-2012 Gilles Debunne <debunne@google.com> Merge "Minor changes in SpellCheckSpan pool management in SpellChecker" into jb-dev
b9f286e1a31bfc13e9c0e9635294742d558014c6 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Revert "Showing default activity in activity chooser view only if enough space."

This reverts commit 340e2611de6d54516e222597585dbe7968a9915d

Change-Id: I396b70e8c737e6f1c36429618889e5c8fc690b55
ctivityChooserModel.java
ctivityChooserView.java
hareActionProvider.java
791fd31a68c59395952005886ba799169f80a29a 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Accessibility focus traversal in virtual nodes.

1. Finished the implementation of support for maintaining
accessibility focus in view with virtual descendants.

2. Finished the NumberPicker implementation of virtual
subtree such that all requred attributes are reported
and ensuring that it support accessibility focus in
its virtual descentants.

3. Fixed a bug where if a predecessor of the view that is
accessiiblity focused is removed the accessibliity focus
host in ViewRootImpl is not cleared leading to a crash
when trying to draw the accessibility focus highlight.:

bug:6472646
bug:6433864

Change-Id: I3645642b87b4a26025c0b2ba9dfaad92d11a48f1
umberPicker.java
24ef21aeebb247f5dd6de13aea878f3d7194143a 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am e436812e: am 844047ac: Merge "Fix inconsitency in aAccessibilityNodeInfo cache." into jb-dev

* commit 'e436812e85f4a8da724f4fe36c1547a1b806f1f9':
Fix inconsitency in aAccessibilityNodeInfo cache.
0945f1fc0d13fbc0b0f18195bdd2d2ba0a8ac127 15-May-2012 Philip Milne <pmilne@google.com> am b0708669: am c8b7747b: Merge "Add validation code for GridLayout.LayoutParams" into jb-dev

* commit 'b0708669f9612778f62bd363a461a97bb198e5e3':
Add validation code for GridLayout.LayoutParams
9a19d16a1a44b8f394f93e116adb48024148f8ef 15-May-2012 Guang Zhu <guangzhu@google.com> am 58b0dcde: am 0d607fbe: accessibility bug fix in NumberPicker

* commit '58b0dcde83354bd1ae9091a7cbc7f207fb29960a':
accessibility bug fix in NumberPicker
e436812e85f4a8da724f4fe36c1547a1b806f1f9 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 844047ac: Merge "Fix inconsitency in aAccessibilityNodeInfo cache." into jb-dev

* commit '844047acb7133c0b6b7128f19b76f93eaca9371e':
Fix inconsitency in aAccessibilityNodeInfo cache.
b0708669f9612778f62bd363a461a97bb198e5e3 15-May-2012 Philip Milne <pmilne@google.com> am c8b7747b: Merge "Add validation code for GridLayout.LayoutParams" into jb-dev

* commit 'c8b7747bc04418ee1a6c0cffe11cdd55c44e5f68':
Add validation code for GridLayout.LayoutParams
58b0dcde83354bd1ae9091a7cbc7f207fb29960a 15-May-2012 Guang Zhu <guangzhu@google.com> am 0d607fbe: accessibility bug fix in NumberPicker

* commit '0d607fbe546ac943de38dad33ae681b09efec6ea':
accessibility bug fix in NumberPicker
8ce2d78aa89e89e9a5607d8809bf6d248508a531 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Improving accessibility focus traversal." into jb-dev
e5dfa47d84668376b84074c04570fb961870adeb 09-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Improving accessibility focus traversal.

1. Now the views considered during the accessibility focus search
are the ones that would get accessibility focus when thovered
over. This way the user will get the same items i.e. feedback
if he touch explores the screen and uses focus traversal. This
is imperative for a good user experience.

2. Updated which focusables are considered when searching for access
focus in ViewGroup. Generally accessibility focus ignores focus
before/after descendants.

3. Implemented focus search strategy in AbsListView that will traverse
the items of the current list (and the stuff withing one item
before moving to the next) before continuing the search if
forward and backward accessibility focus direction.

4. View focus search stops at root namespace. This is not the right
way to prevent some stuff that is not supposed to get a focus in
a container for a specific state. Actually the addFocusables
for that container has to be overriden. Further this approach
leads to focus getting stuck. The accessibility focus ignores
root names space since we want to traverse the entire screen.

5. Fixed an bug in AccessibilityInteractionController which was not
starting to search from the root of a virtual node tree.

6. Fixed a couple of bugs in FocusFinder where it was possible to
get index out of bounds exception if the focusables list is empty.

bug:5932640

Change-Id: Ic3bdd11767a7d40fbb21f35dcd79a4746af784d4
bsListView.java
dapterView.java
844047acb7133c0b6b7128f19b76f93eaca9371e 14-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Fix inconsitency in aAccessibilityNodeInfo cache." into jb-dev
c8b7747bc04418ee1a6c0cffe11cdd55c44e5f68 14-May-2012 Philip Milne <pmilne@google.com> Merge "Add validation code for GridLayout.LayoutParams" into jb-dev
0f57cea8989cc03bcae19b621096e50b035b7308 12-May-2012 Philip Milne <pmilne@google.com> Add validation code for GridLayout.LayoutParams

Bug 6404882.

The supplied code in this bug sets up a table with 2 columns and then
tries to add a component in column 5. Earlier attempts to fix this
by 'doing what the user meeant' had unwanted side-effects. This CL is
intended to defend against all ways to register invalid LayoutParams
and throw IllegalArgumentExcpetion when any column index falls outside the
range [0 .. N] where N is the number of columns. It also includes the
symmetrical check for rows.

Change-Id: I958a6d16035889cd954b78108773426e8b6b6d95
ridLayout.java
e60a635919ce8f1f5d868d51a87d7fc5da4ddda0 14-May-2012 Adam Powell <adamp@google.com> am e48c70e4: am 7fc4fbcc: Merge "Automatic persistent text selection for ListViews" into jb-dev

* commit 'e48c70e4d9302795d5f02d352c7907302ca5c8b6':
Automatic persistent text selection for ListViews
0d607fbe546ac943de38dad33ae681b09efec6ea 12-May-2012 Guang Zhu <guangzhu@google.com> 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
umberPicker.java
c406be9036643ebe41bafcd94fe4aa861b4e4f4f 12-May-2012 Svetoslav Ganov <svetoslavganov@google.com> 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
heckedTextView.java
ompoundButton.java
extView.java
e48c70e4d9302795d5f02d352c7907302ca5c8b6 12-May-2012 Adam Powell <adamp@google.com> am 7fc4fbcc: Merge "Automatic persistent text selection for ListViews" into jb-dev

* commit '7fc4fbccd6129e286a1f9c640eb3229b91792bce':
Automatic persistent text selection for ListViews
057a585fba01d92c38f27a8c080622dfd0c6f556 11-May-2012 Adam Powell <adamp@google.com> Automatic persistent text selection for ListViews

Use View transient state tracking to allow selection to persist across
ListView-style item view recycling.

Fix some bugs with transient state tracking.

Bug 6110122

Change-Id: Ic084b8fc2289bff718b19478a37ce64459b3ed4c
bsListView.java
ditor.java
extView.java
2ab65680466e2dc9018020f99c2681f30ef2e42d 11-May-2012 Raph Levien <raph@google.com> resolved conflicts for merge of a9cc30ce to master

Change-Id: I507bd7a4650f9a7bfe6a0ad7bb8dd4067adb6a8b
a9cc30ce59cd870856cb6b0b3a6c402060e05dd5 11-May-2012 Raph Levien <raph@google.com> am 75ef98f8: Merge "Add fontFamily XML attribute to select font family by string" into jb-dev

* commit '75ef98f8210fa1845d04a6e8206f4c7be5499052':
Add fontFamily XML attribute to select font family by string
75ef98f8210fa1845d04a6e8206f4c7be5499052 11-May-2012 Raph Levien <raph@google.com> Merge "Add fontFamily XML attribute to select font family by string" into jb-dev
169f85c77351f10d25ab415fe61e4e856f4b7c17 11-May-2012 satok <satok@google.com> am da0ff4de: am bec154c5: Allow the spell checker to remove existing misspelled spans

* commit 'da0ff4de3203c5e821bef9830d0404ad1ab30dbf':
Allow the spell checker to remove existing misspelled spans
da0ff4de3203c5e821bef9830d0404ad1ab30dbf 11-May-2012 satok <satok@google.com> am bec154c5: Allow the spell checker to remove existing misspelled spans

* commit 'bec154c50036bc70a37518dc93f6821209f58728':
Allow the spell checker to remove existing misspelled spans
bec154c50036bc70a37518dc93f6821209f58728 11-May-2012 satok <satok@google.com> Allow the spell checker to remove existing misspelled spans

Bug: 6451163
Change-Id: If018533e8855e9dc21ab2a09ae31aa80ef260b72
pellChecker.java
be602f6722c727c2ecb85a50e5ed836113a31f2b 11-May-2012 satok <satok@google.com> am 0b8d272e: am 37e169cd: Add a safety net to set range span in the spell checker

* commit '0b8d272eed3d342fbdafffd88be25db664a4e053':
Add a safety net to set range span in the spell checker
0b8d272eed3d342fbdafffd88be25db664a4e053 11-May-2012 satok <satok@google.com> am 37e169cd: Add a safety net to set range span in the spell checker

* commit '37e169cd1429c76a0223d8fdd77622ead718bbff':
Add a safety net to set range span in the spell checker
37e169cd1429c76a0223d8fdd77622ead718bbff 11-May-2012 satok <satok@google.com> Add a safety net to set range span in the spell checker

Bug: 6476578
Change-Id: I60ad82f80770dcb67fd9663dac64dc81634d7014
pellChecker.java
311c79c3e93589c6fc720fe6c58ed522af591376 10-May-2012 Adam Cohen <adamcohen@google.com> Cap widget bitmap usage by screen size (issue 6464700)

Change-Id: I04e16223861a88d40ad757afa086a0f92e84493b
emoteViews.java
2eb975bf1a9157fb2a6bd12b2ad4361c693ae1ac 10-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 31b24191: am 0891a897: Merge "Polish the NumberPicker, TimePicker, and DatePicker based on UX request." into jb-dev

* commit '31b241919bbae4dd76789d7adc043d477cf38e25':
Polish the NumberPicker, TimePicker, and DatePicker based on UX request.
31b241919bbae4dd76789d7adc043d477cf38e25 10-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 0891a897: Merge "Polish the NumberPicker, TimePicker, and DatePicker based on UX request." into jb-dev

* commit '0891a89790777e2f88f413351fafe49dda36714f':
Polish the NumberPicker, TimePicker, and DatePicker based on UX request.
0891a89790777e2f88f413351fafe49dda36714f 10-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Polish the NumberPicker, TimePicker, and DatePicker based on UX request." into jb-dev
86ba4aaa712f68282273e632ef72981da165e9a3 10-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 37fd7976: am a1dc761c: Adding scroll actions to accessibility node info.

* commit '37fd797699eb8e481d69f7f5a19cd05b8a5b7170':
Adding scroll actions to accessibility node info.
37fd797699eb8e481d69f7f5a19cd05b8a5b7170 10-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am a1dc761c: Adding scroll actions to accessibility node info.

* commit 'a1dc761c8322355eb1bb71d3d6c9c603c1d1fc0f':
Adding scroll actions to accessibility node info.
232dd3f335b8995cd9ab220f7b3fad77076de42b 25-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> Polish the NumberPicker, TimePicker, and DatePicker based on UX request.

1. Now the spinners in the time and data picker a wider therefore
easier to interact with, i.e. harder to miss accidentall.

2. Removed the scroll distance cut off user to distinguish between
fling and change by one.

3. Added visual feedback when the areas the serve as virtual buttons
in number picker are poked.

4. Removed the coeffcient that was making drap not to be one-to-one
with the scrolled distance.

5. Added some margin at the top and bottom of the spinners in
date and time pickers.

bug:6321432

Change-Id: I311c1733d1951b0563209401faa830ca70ec87cb
umberPicker.java
a1dc761c8322355eb1bb71d3d6c9c603c1d1fc0f 10-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding scroll actions to accessibility node info.

1. Scrolling actions are crucial for enabling a gesture based
traversal of the UI and specifically scrollable containers
especially lists and anything backed by an adapter. Since
accessibility focus can land only attached views, it cannot
visit views for adapter items not shown on the screen.
Auto scrolling the list as a result of putting access focus
ot a list item does not work well since the user may get
trapped in a long list. Adding an accessibility node provider
to emit virtual views for one view before the first and one
after the last is complex and suffers the limitation of trapping
the user. Accessibility service need an explicit scroll actions
which may be performed upon an explicit user action. Hence,
the user is informed for the start/end of the visible part of
the list and he makes a deliberate choice to scroll. This will
benefit also people developing Braille devices since they can
scroll the content without telling the user to stop using the
Braille controller and take the device out of his pocket to scroll
and go back to the Braille controller.

NOTE: Without these action large portions of the screen will be
hard to access since users will have to touch and explore to
find and scroll the list.

Change-Id: Iafcf54d4967893205872b3649025a4e347a299ed
bsListView.java
orizontalScrollView.java
crollView.java
d570e8987ae50ee101c3d4cfa973e1a6b6ecc8f5 09-May-2012 Raph Levien <raph@google.com> Add fontFamily XML attribute to select font family by string

Change-Id: I0b649528d3d9888e3561a1a3907a6b6ee2e30238
extView.java
48168e7b231bc2ce4534181f5f6291f09fcc5909 09-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am cd26d63f: am f103758b: Merge "Delegate list item focus and click actions to the parent list." into jb-dev

* commit 'cd26d63ffa455856157d375d1f2564151365b19e':
Delegate list item focus and click actions to the parent list.
cd26d63ffa455856157d375d1f2564151365b19e 09-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am f103758b: Merge "Delegate list item focus and click actions to the parent list." into jb-dev

* commit 'f103758b7c78f4dc1c5bd57383d245ec138576a1':
Delegate list item focus and click actions to the parent list.
f103758b7c78f4dc1c5bd57383d245ec138576a1 09-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Delegate list item focus and click actions to the parent list." into jb-dev
9740181e5fac087381e26a352f1e5e440bbaa5cc 09-May-2012 Gilles Debunne <debunne@google.com> am 4f9e7490: am 12ff1492: Merge "Spell checker underlines words even when there are no suggestions" into jb-dev

* commit '4f9e7490e720025f9b14c45342eac8b671544fe4':
Spell checker underlines words even when there are no suggestions
4f9e7490e720025f9b14c45342eac8b671544fe4 09-May-2012 Gilles Debunne <debunne@google.com> am 12ff1492: Merge "Spell checker underlines words even when there are no suggestions" into jb-dev

* commit '12ff149265ba599627896f6c1a0e3ea9721b54c1':
Spell checker underlines words even when there are no suggestions
12ff149265ba599627896f6c1a0e3ea9721b54c1 09-May-2012 Gilles Debunne <debunne@google.com> Merge "Spell checker underlines words even when there are no suggestions" into jb-dev
69865bd6860a97793a06523a48dfe6472e9b7562 09-May-2012 Gilles Debunne <debunne@google.com> Minor changes in SpellCheckSpan pool management in SpellChecker

Bug 6464190

The 'inProgress' flag is set to false when the SpellCheckSpan starts
to get used (instead of a less intuitive when it is removed).

Pool recycling in handled by onSpellCheckSpanRemoved, called from
the TextView's SpanWatcher, when a SpellCheckSpan is removed for any
reason (from the SC code or due to text editing).

The other change is that Sentence SC now correctly removes the span
from the text (and hence recycles it in the pool).

Change-Id: If8b433fd5e41d4dc0304a127ebcc088ea1eecaa7
pellChecker.java
extView.java
3a2034afe8d6651f0feaff14d0bde893e551d3f1 09-May-2012 satok <satok@google.com> am 957f1e3e: am d1e323b2: Merge "Not to add invalid spell check spans Bug: 6464197" into jb-dev

* commit '957f1e3e1acc655c04d476a2c134781ca6e73118':
Not to add invalid spell check spans Bug: 6464197
433b4425bd322b006e457198930570fa204d93c4 09-May-2012 Adam Powell <adamp@google.com> am eb0890da: am a87f2346: Merge "More fun with AbsListView smooth scrolling" into jb-dev

* commit 'eb0890da4c875521a79edde0cc9ed7a6a12b5a46':
More fun with AbsListView smooth scrolling
e92c4e029bc169e114b06ec494734992cb310ee3 09-May-2012 Gilles Debunne <debunne@google.com> am 4fcc9b49: am 2e999d12: Merge "Removed debug code in TextView" into jb-dev

* commit '4fcc9b49242e850008ea4966f741cdcecca0ae3f':
Removed debug code in TextView
0ea07589e2855a90110635138b606b54a6a5bd1d 09-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am c02e9980: am 775bcac6: Updating the documentation of share action provider.

* commit 'c02e9980e4c5fbc4f6d7ac04ad04f927828de24f':
Updating the documentation of share action provider.
5c6817418bcc782c3e76c90b3a03019f66b12cae 09-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 4a79594c: am d57521c6: Fix the build.

* commit '4a79594ca1359b4a458f972e42d2ebcfe571b65d':
Fix the build.
ea07398911f0fa9133b96926b1eca9ea9c02bc12 09-May-2012 Adam Powell <adamp@google.com> am e64436f7: am ae9c72d9: Merge "AbsListView: Toss transient state views once they no longer have transient state." into jb-dev

* commit 'e64436f7f2a527186fa0d6734f0c5aa8cf9c4a46':
AbsListView: Toss transient state views once they no longer have transient state.
1c0bdd917656ffb60ac32fec434d5df220703803 09-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 43e3366b: am b1ae25cb: Merge "ActivityChooserModel does not handle package changes on the thread that created it." into jb-dev

* commit '43e3366b55bd71842c22ba8d974c1e7e630fcecd':
ActivityChooserModel does not handle package changes on the thread that created it.
4833ca2903e89eab93b353f00a1e4904a73d79bb 09-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 755b2146: am b2ee0d57: Merge "Text traversal at various granularities." into jb-dev

* commit '755b2146735c15deb0eb611430a7da1e363d82a1':
Text traversal at various granularities.
8ca0ca9ad55cb3168864eb1487b7bf984f05bc6a 09-May-2012 Adam Powell <adamp@google.com> am 06aedd01: am 6392a360: Merge "Fix misc. bugs in AbsListView smooth scrolling." into jb-dev

* commit '06aedd01c146fdbe59efb0923d8049a37df9968b':
Fix misc. bugs in AbsListView smooth scrolling.
957f1e3e1acc655c04d476a2c134781ca6e73118 09-May-2012 satok <satok@google.com> am d1e323b2: Merge "Not to add invalid spell check spans Bug: 6464197" into jb-dev

* commit 'd1e323b272db90db426a4add18af4993f41ae361':
Not to add invalid spell check spans Bug: 6464197
eb0890da4c875521a79edde0cc9ed7a6a12b5a46 09-May-2012 Adam Powell <adamp@google.com> am a87f2346: Merge "More fun with AbsListView smooth scrolling" into jb-dev

* commit 'a87f23468182f64373f549e3f63666215e00f7eb':
More fun with AbsListView smooth scrolling
4fcc9b49242e850008ea4966f741cdcecca0ae3f 09-May-2012 Gilles Debunne <debunne@google.com> am 2e999d12: Merge "Removed debug code in TextView" into jb-dev

* commit '2e999d12743edf329b6991d7168099cec9f1c24f':
Removed debug code in TextView
c02e9980e4c5fbc4f6d7ac04ad04f927828de24f 09-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 775bcac6: Updating the documentation of share action provider.

* commit '775bcac6bcdd04b6bffd23b5de0da4588a749337':
Updating the documentation of share action provider.
4a79594ca1359b4a458f972e42d2ebcfe571b65d 09-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am d57521c6: Fix the build.

* commit 'd57521c6742f4018761faab1de96bd38afbcac02':
Fix the build.
e64436f7f2a527186fa0d6734f0c5aa8cf9c4a46 09-May-2012 Adam Powell <adamp@google.com> am ae9c72d9: Merge "AbsListView: Toss transient state views once they no longer have transient state." into jb-dev

* commit 'ae9c72d9a8f210e51b5a6364b294a5eb24945de6':
AbsListView: Toss transient state views once they no longer have transient state.
43e3366b55bd71842c22ba8d974c1e7e630fcecd 09-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am b1ae25cb: Merge "ActivityChooserModel does not handle package changes on the thread that created it." into jb-dev

* commit 'b1ae25cb37e92a30d196290b75a159e5382c5b34':
ActivityChooserModel does not handle package changes on the thread that created it.
755b2146735c15deb0eb611430a7da1e363d82a1 09-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am b2ee0d57: Merge "Text traversal at various granularities." into jb-dev

* commit 'b2ee0d57672faf42ca88fa878dc7e688046c915e':
Text traversal at various granularities.
06aedd01c146fdbe59efb0923d8049a37df9968b 09-May-2012 Adam Powell <adamp@google.com> am 6392a360: Merge "Fix misc. bugs in AbsListView smooth scrolling." into jb-dev

* commit '6392a3609cb6457aec715804e15b51fa498141c6':
Fix misc. bugs in AbsListView smooth scrolling.
a4c82c1c78cdd37e0dea1b5b2f44c25cc584034c 09-May-2012 satok <satok@google.com> Not to add invalid spell check spans
Bug: 6464197

Change-Id: I6e9d359847b200e2afae61f85eb7cfe7f179b888
pellChecker.java
a87f23468182f64373f549e3f63666215e00f7eb 09-May-2012 Adam Powell <adamp@google.com> Merge "More fun with AbsListView smooth scrolling" into jb-dev
aadf4fb68e640c0622a1070206f69a7724328632 09-May-2012 Adam Powell <adamp@google.com> More fun with AbsListView smooth scrolling

If any data set change is pending when a smooth scroll is requested,
post it for later - not just if the list is currently empty.

Fix a bug in relative smooth scrolling where the last view was being
determined incorrectly.

Bug 6434713

Change-Id: Ic249eefc594151a414a6a8758074a9a60888e2b4
bsListView.java
41347e9e8bff93f42ac11a88875ce67e64e5c88c 09-May-2012 Gilles Debunne <debunne@google.com> Spell checker underlines words even when there are no suggestions

Bug 6222722

Also fixed a cast to Long warning.

Change-Id: Ief299cc3cb952b83f774ca1be13dc69352015a3e
pellChecker.java
5fae996751f61fdddce0b11fa30b39fb6c5cb762 08-May-2012 Gilles Debunne <debunne@google.com> Removed debug code in TextView

Bug 6462527

The String parameter was used to debug code during the
refactoring process.

Change-Id: I49a78bbfa3b45c185311d0dbebddddc52515c099
extView.java
c1d7e770e123adfa992d013fa294693d077cbc78 08-May-2012 alanv <alanv@google.com> Delegate list item focus and click actions to the parent list.

Change-Id: Ie05c79f049896bfb498d4b33f0611da38f381140
bsListView.java
988b832b34d2f267003dea520f010ac03bfcc57e 08-May-2012 Amith Yamasani <yamasani@google.com> am 503b2e5a: am 44e3f88f: Merge "Javadoc improvements in SearchView per API review." into jb-dev

* commit '503b2e5ae1b83e5595b47a8d376db6b89b059b87':
Javadoc improvements in SearchView per API review.
775bcac6bcdd04b6bffd23b5de0da4588a749337 07-Feb-2012 Svetoslav Ganov <svetoslavganov@google.com> Updating the documentation of share action provider.

1. Added some clarification how a developer can use the
same provide with different historical files in a
context dependent manner.

Change-Id: I2a3390ade7e4b8b1170d381668e1439e52c17b7e
hareActionProvider.java
d57521c6742f4018761faab1de96bd38afbcac02 08-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Fix the build.

Change-Id: I9b9e26e22a6be27341f4b0b95cb8edd1629fa812
ctivityChooserModel.java
ae9c72d9a8f210e51b5a6364b294a5eb24945de6 08-May-2012 Adam Powell <adamp@google.com> Merge "AbsListView: Toss transient state views once they no longer have transient state." into jb-dev
b1ae25cb37e92a30d196290b75a159e5382c5b34 08-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "ActivityChooserModel does not handle package changes on the thread that created it." into jb-dev
bf1b81fb25b140fb9a55fc6d6b2383c851290432 08-May-2012 Adam Powell <adamp@google.com> AbsListView: Toss transient state views once they no longer have
transient state.

Bug 6365897

Change-Id: Ib2bd546c74d3303ac01bcae9b01e221db36c1440
bsListView.java
b2ee0d57672faf42ca88fa878dc7e688046c915e 08-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Text traversal at various granularities." into jb-dev
6d17a936f73976971135aa1e6248662533343292 28-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> 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
ccessibilityIterators.java
extView.java
6392a3609cb6457aec715804e15b51fa498141c6 08-May-2012 Adam Powell <adamp@google.com> Merge "Fix misc. bugs in AbsListView smooth scrolling." into jb-dev
e69370e16852c576890dd70733ad40669fd9367e 08-May-2012 Adam Powell <adamp@google.com> Fix misc. bugs in AbsListView smooth scrolling.

Handle the edge cases a bit better. Deal with padding. If a smooth
scroll begins, the list is empty, but a data change is pending, try
again on the next looper pass.

Bug 6453837
Bug 6434713

Change-Id: I53f22ebacdcbc5d981a6c8055c4fd3fc1ef140f6
bsListView.java
ca858797816be82e2b1e2b88dea17b20e52d8429 06-May-2012 Svetoslav Ganov <svetoslavganov@google.com> ActivityChooserModel does not handle package changes on the thread that created it.

1. The model is using a package monitor to observe changes in
packages (adding/memoving/etc) to update its internal state
for which it then notifies its clients. However, the monitor
is called from a binder thread and the work has to be off
handed on the thread that created the model. Hence, clients
do not need to worry about using the the model from the UI
thread since the change callback may touch the UI from
another thread.

bug:6386152

Change-Id: I882a0f4104907f64de64a95ece585052bba457d6
ctivityChooserModel.java
503b2e5ae1b83e5595b47a8d376db6b89b059b87 07-May-2012 Amith Yamasani <yamasani@google.com> am 44e3f88f: Merge "Javadoc improvements in SearchView per API review." into jb-dev

* commit '44e3f88f2f80c7dfbe36c22878d129251ba13165':
Javadoc improvements in SearchView per API review.
44e3f88f2f80c7dfbe36c22878d129251ba13165 07-May-2012 Amith Yamasani <yamasani@google.com> Merge "Javadoc improvements in SearchView per API review." into jb-dev
cb9309d04c88f23a283d1757148cec4482ce7b07 07-May-2012 satok <satok@google.com> am 50956b2d: Merge "DO NOT MERGE. Backport If36b8a69e7fa22e837c99d Fix the issue that the spell check doesn\'t start when the user changes the cursor position by touch" into jb-dev

* commit '50956b2dc473126fd04341388df9f244fd22f77e':
DO NOT MERGE. Backport If36b8a69e7fa22e837c99d Fix the issue that the spell check doesn't start when the user changes the cursor position by touch
8589474d269818713c86ee5e69a685584d1c62e7 20-Apr-2012 satok <satok@google.com> DO NOT MERGE. Backport If36b8a69e7fa22e837c99d Fix the issue that the spell check doesn't start when the user changes the cursor position by touch

Change-Id: I1535eae23efc42660b9d1e6dbfba6c800b0302b2
pellChecker.java
2bc427e436caf6175b0ec972611bc48c237869e6 20-Apr-2012 satok <satok@google.com> Fix the issue that the spell check doesn't start when the user changes the cursor position by touch

Change-Id: If36b8a69e7fa22e837c99d58c66321cb649b3c2d
pellChecker.java
c77218e6b0f69d8480ec2bf9899806fc10b93936 07-May-2012 Dianne Hackborn <hackbod@google.com> am 25fc66b8: am 7bfa1457: Merge "Finish up issue #6249094: Display permissions based on relevance to private data" into jb-dev

* commit '25fc66b898a35796af65ec7e3eb9b1584588e063':
Finish up issue #6249094: Display permissions based on relevance to private data
25fc66b898a35796af65ec7e3eb9b1584588e063 07-May-2012 Dianne Hackborn <hackbod@google.com> am 7bfa1457: Merge "Finish up issue #6249094: Display permissions based on relevance to private data" into jb-dev

* commit '7bfa14570e3e43ae8595400353853acdd7cea37c':
Finish up issue #6249094: Display permissions based on relevance to private data
7bfa14570e3e43ae8595400353853acdd7cea37c 07-May-2012 Dianne Hackborn <hackbod@google.com> Merge "Finish up issue #6249094: Display permissions based on relevance to private data" into jb-dev
99222d212f9ff5081d4ce6eef09dbe8eff85b83a 07-May-2012 Dianne Hackborn <hackbod@google.com> Finish up issue #6249094: Display permissions based on relevance to private data

Added bitmaps for permission group icons. We had to pick either
icons for a dark or light background, and it had to be light for
settings, so the installer theme has gone back to dark.

Tweaked the permission groups to match the icons.

Redid the group priorities to make them correct (they were written
with higher priorities being less important).

Fixed bug where priority was not being used for system apps.

Change-Id: Ia3d3f0c1614a11b4cfd11682ce9e6c9f87d75c06
ppSecurityPermissions.java
b75436066d8d7f074476071cab2888b53069a26b 07-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am f9c4734b: am 464676bc: Merge "Showing default activity in activity chooser view only if enough space." into jb-dev

* commit 'f9c4734b307129e52832c2024e916157c71265c4':
Showing default activity in activity chooser view only if enough space.
f9c4734b307129e52832c2024e916157c71265c4 07-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 464676bc: Merge "Showing default activity in activity chooser view only if enough space." into jb-dev

* commit '464676bcb41e2948bd8243ed5a4a910328908789':
Showing default activity in activity chooser view only if enough space.
464676bcb41e2948bd8243ed5a4a910328908789 07-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Showing default activity in activity chooser view only if enough space." into jb-dev
4fa22f0b4d271a41e2a459e1d927c4ce54d15847 06-May-2012 Romain Guy <romainguy@google.com> am 95b0c45b: am aaa71475: Merge "Remove unnecessary framework allocations" into jb-dev

* commit '95b0c45b06d9a053f9050e0f0ef1171a18ae0711':
Remove unnecessary framework allocations
95b0c45b06d9a053f9050e0f0ef1171a18ae0711 06-May-2012 Romain Guy <romainguy@google.com> am aaa71475: Merge "Remove unnecessary framework allocations" into jb-dev

* commit 'aaa7147595346fdd398e2932817e075acbb8e497':
Remove unnecessary framework allocations
ab4c4f4ff73e66b7767640dbe6d4115237c48242 06-May-2012 Romain Guy <romainguy@google.com> 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
rogressBar.java
340e2611de6d54516e222597585dbe7968a9915d 06-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Showing default activity in activity chooser view only if enough space.

1. While a default target is very convenient, having two targets for the
widget on a phone takes too much space and the apps do not have room
to add other essential affordances to the action bar. Making the default
activity show only of the screen is large enough - the action bar
accommodates at least four targets i.e. 500dip.

2. Fixed a bug where changing the backing model of an ActivityChooserView
when the view is not shown did not remove the observer for the old
model, hence the View can get into a state where it responds to changes
of two models while presenting only one. Also in such a case the view
would leak since the singleton model will keep a handle to it.

3. Updated the documentation of share action provider to explain how a
a developer can change the backing history file and refresh the UI
based on the historical data in that file.

bug:6447692

Change-Id: Id5c9e54cd5df322ded8574ba028cb680e628243b
ctivityChooserModel.java
ctivityChooserView.java
hareActionProvider.java
1c80179039d17df40b820060d95f2ca77a10da3e 05-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 81c0f9df: am 35d79991: Merge "API REVIEW: android.widget.CalendarView" into jb-dev

* commit '81c0f9df0b45dd083db55afce52fdb001c21e8f4':
API REVIEW: android.widget.CalendarView
81c0f9df0b45dd083db55afce52fdb001c21e8f4 05-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 35d79991: Merge "API REVIEW: android.widget.CalendarView" into jb-dev

* commit '35d79991d5c97270f6c34d0da8879ea4c3984f80':
API REVIEW: android.widget.CalendarView
414efc3b5f50e2784f4f7c2be3f2c096aef0c6b4 05-May-2012 Svetoslav Ganov <svetoslavganov@google.com> API REVIEW: android.widget.CalendarView

1. Making sure that the comment blocks for methods setting/getting
resource attributes include links to the related attribute
documentation.

bug:6442803

Change-Id: If8acedfedf02400eee3f61ca3029325c05a5fb86
alendarView.java
235554e8452225ef5c947aab233dd5fdcb6f7c1d 05-May-2012 Adam Powell <adamp@google.com> am da6f2b54: am 9c982340: Merge "Fix LinearLayout measureWithLargestChild for wrap_content views" into jb-dev

* commit 'da6f2b54caedee4c5e9af86d49e6c95aee054340':
Fix LinearLayout measureWithLargestChild for wrap_content views
da6f2b54caedee4c5e9af86d49e6c95aee054340 05-May-2012 Adam Powell <adamp@google.com> am 9c982340: Merge "Fix LinearLayout measureWithLargestChild for wrap_content views" into jb-dev

* commit '9c98234095a6894621d1c71e1c9e523c70f0f067':
Fix LinearLayout measureWithLargestChild for wrap_content views
9c98234095a6894621d1c71e1c9e523c70f0f067 05-May-2012 Adam Powell <adamp@google.com> Merge "Fix LinearLayout measureWithLargestChild for wrap_content views" into jb-dev
eabc9198447c7f6253fcbee8af2887a650e79b00 04-May-2012 Adam Powell <adamp@google.com> Fix LinearLayout measureWithLargestChild for wrap_content views

Bug 6442795

When the measureWithLargestChild setting is enabled, LL used to
measure the full container taking the largest child rule into account,
but the child views were not properly remeasured for AT_MOST
measurespecs. Correct this.

Fix measureWithLargestChild for height

Change-Id: Ieb91114bc2ae65f9104337bd6d16a7d9e559571d
inearLayout.java
3d3e7a5816b5c78687bbfa4ef32abb8f1a5b83e1 04-May-2012 Amith Yamasani <yamasani@google.com> Javadoc improvements in SearchView per API review.

Bug: 6442174

Added attr refs to 2 methods.

Change-Id: I9b5f93e8e921a7260fdc25c8134e655f09a1ffb7
earchView.java
fc6ef88a3d9f0649ed9cd16043433c8f1352c18f 04-May-2012 Fabrice Di Meglio <fdimeglio@google.com> am 8396830d: Merge "Hide RTL related APIs - DO NOT MERGE" into jb-dev

* commit '8396830d8fedc08c0a9de36bcce3c8b65691729f':
Hide RTL related APIs - DO NOT MERGE
66388dcb09018933ccd1d38eae563f0890ba4f06 04-May-2012 Fabrice Di Meglio <fdimeglio@google.com> Hide RTL related APIs - DO NOT MERGE

- fix bug #6441155 API review: @hide RTL layout APIs

Change-Id: I13c5ea5f579cecffed9d517f06180ab0576cd26a
mageView.java
rogressBar.java
emoteViews.java
extView.java
a112461fdc7ab36912dce27256ce8289be94471b 04-May-2012 Dianne Hackborn <hackbod@google.com> am 610f310b: Merge "New permissions UI." into jb-dev

* commit '610f310b199ec0d93cb6e78106b029d7269015df':
New permissions UI.
0e128bb2e03dafdabc06710a6b0ea93f0e62a188 01-May-2012 Dianne Hackborn <hackbod@google.com> New permissions UI.

Had to keep around a little of the old API for the device
admin settings UI to continue to use.

Change-Id: I84c5666a7f3fec0495eae196a0ffc2223c9e6f82
ppSecurityPermissions.java
b8eba14f133997f3ab6de490afd2e4fad55913e8 03-May-2012 Adam Powell <adamp@google.com> am 43b8fd76: Merge "Fix nested cross-scrolling for ScrollView/HorizontalScrollView" into jb-dev

* commit '43b8fd76c03fe4d3c46919e98af91a18176c2654':
Fix nested cross-scrolling for ScrollView/HorizontalScrollView
43b8fd76c03fe4d3c46919e98af91a18176c2654 03-May-2012 Adam Powell <adamp@google.com> Merge "Fix nested cross-scrolling for ScrollView/HorizontalScrollView" into jb-dev
b3e02c44d57ac18d1debf21044289cf85d0dd672 03-May-2012 Adam Powell <adamp@google.com> Fix nested cross-scrolling for ScrollView/HorizontalScrollView

Bug 6429006

Disallow intercepting touch events for parents of
ScrollView/HorizontalScrollView when scrolling begins. Properly
respect touch slop when the child of a ScrollView does not accept
touch events.

Change-Id: I2ce503ad5104d450829ed58cd2748c9163e020d3
orizontalScrollView.java
crollView.java
07a42cfcd4e193b1c7a5842ca003fc661fc1bf4b 03-May-2012 Jim Miller <jaggies@google.com> am 1771ee34: Merge "Revert "Fix for layout parameter validation bug in GridLayout."" into jb-dev

* commit '1771ee34d1d308193e61a1b75368149f2d06aa6c':
Revert "Fix for layout parameter validation bug in GridLayout."
782c04b864dc5f71f7ec0c8e36cbaf5b838dc69c 03-May-2012 Jim Miller <jaggies@google.com> Revert "Fix for layout parameter validation bug in GridLayout."

This reverts commit 8a36e05443f13edde1eae0cf6ea01b3b2da6e637 which was causing
keyguard_screen_tab_unlock.xml to have a bad layout.

Change-Id: I50bdc6dbdf8d7b98ef77eae532860d375574213e
ridLayout.java
0bab2b068c63508b1f20e182d86f09ab06a88fef 02-May-2012 Gilles Debunne <debunne@google.com> am 54562cfb: Merge "Better horizontal internal scroll handling in Text." into jb-dev

* commit '54562cfbcd97a3b9d3ac9fb74f7a0d0d4bb9b8a0':
Better horizontal internal scroll handling in Text.
54562cfbcd97a3b9d3ac9fb74f7a0d0d4bb9b8a0 02-May-2012 Gilles Debunne <debunne@google.com> Merge "Better horizontal internal scroll handling in Text." into jb-dev
fd5bc01f70c8d9270162d38bb9f675308b5a19b0 24-Apr-2012 Gilles Debunne <debunne@google.com> Better horizontal internal scroll handling in Text.

Bug 6378843

Corrects CL 183460, which would clip text with a width greater than
twice the TextView's width.

Internal horizontal translation is now handled in a similar way to
vertical scrolling.

Internal scrolling is indeed handled by the TextView, which translates
the canvas and sets the clipping bounds accordingly.

When drawing the internal DL, we tighten the horizontal bounds like we
did for the vertical bounds using top and bottom. As in Touch.java, we
use the getHorizontallyScrolling() method to know if we indeed have to
measure the actual text width. If there is no horizontal scrolling we
use the TextView's width as a safe upper estimate in order to avoid an
actual computation. Note that horizontal scrolling is typically only
used for long single-lined text, so that the measurement loop is quick.

As a result, the internal DLs represent the entire text, and there is no
need to invalidate them when an internal scrolling takes place. This
behavior replaces the draw-only-what-is-needed we had before, but is
more consistent with what we do for long texts inside of a ScrollView
with no noticeable performance change, even on very long text.

Change-Id: I47c24c0ae988547d4f1e9f87d136225c93a3056d
ditor.java
6b36d0d044964cf133cb2cc6b5b62756d441045f 02-May-2012 Philip Milne <pmilne@google.com> am 3e350304: Merge "Fix for layout parameter validation bug in GridLayout." into jb-dev

* commit '3e350304599eeb627065de75f3bfe3a45f58389e':
Fix for layout parameter validation bug in GridLayout.
6b578dc30cab9f85d3b111920a1e4390e5482c8a 02-May-2012 Gilles Debunne <debunne@google.com> am 61552bc8: Merge "API fix in CheckedTextView" into jb-dev

* commit '61552bc81f9f0c1aacbeec694ff97978050c6182':
API fix in CheckedTextView
3e350304599eeb627065de75f3bfe3a45f58389e 02-May-2012 Philip Milne <pmilne@google.com> Merge "Fix for layout parameter validation bug in GridLayout." into jb-dev
61552bc81f9f0c1aacbeec694ff97978050c6182 02-May-2012 Gilles Debunne <debunne@google.com> Merge "API fix in CheckedTextView" into jb-dev
16f36e8215ac6929cb330b25b30f7f3d442bdc27 02-May-2012 Adam Cohen <adamcohen@google.com> am c9ca7f38: Merge "Preventing onClickPendingIntents from being set on collection widget items (issue 5961701)" into jb-dev

* commit 'c9ca7f38bccfa56bbca44998758869ec8c71f4d3':
Preventing onClickPendingIntents from being set on collection widget items (issue 5961701)
c9ca7f38bccfa56bbca44998758869ec8c71f4d3 02-May-2012 Adam Cohen <adamcohen@google.com> Merge "Preventing onClickPendingIntents from being set on collection widget items (issue 5961701)" into jb-dev
8a36e05443f13edde1eae0cf6ea01b3b2da6e637 01-May-2012 Philip Milne <pmilne@google.com> Fix for layout parameter validation bug in GridLayout.

Bug 6404882.

When a cell has an unspecified row and a column that is specified as greater
than the specified number of columns, GridLayout fails to report or correct
the error and loops indefinitely searching for a valid row to place the cell.

There is a cyclic dependency between the validation of layout parameters
(and allocation of undefined cell indexes) and the maximum column/row counts.
A performance optimization in layout paramter allocation caused this dependency
to be handled in correctly. The problem is fixed in this CL for this bug and
the symmetric problem for rows.

Change-Id: I0392343bc8a721a0ca7163f58f233ba8046c22e2
ridLayout.java
ffc46a5c7c60c911fdaab48681c323c89b570dac 01-May-2012 Adam Cohen <adamcohen@google.com> Preventing onClickPendingIntents from being set on collection widget items (issue 5961701)

Change-Id: If60f98c5e1be66ca840cbd4953841ef2c57a012b
emoteViews.java
2fb40285c78db71f41774650e4da47dda191e787 01-May-2012 Gilles Debunne <debunne@google.com> API fix in CheckedTextView

Bug 6103310

Change-Id: Ic144ed99199a296df3ef1a16f59caff08af58fd9
heckedTextView.java
43b32a1cd495092e0cfe466b9f0df1bb9aa2a274 01-May-2012 Gilles Debunne <debunne@google.com> am 8ed491b7: Merge "API fix, AutoCompleteTextView" into jb-dev

* commit '8ed491b75b08df3944481a9509dea2606a265857':
API fix, AutoCompleteTextView
dceca730d3092b38815b41f637eb6dbd419aac7d 01-May-2012 Gilles Debunne <debunne@google.com> am 1dcd2bfc: Merge "API fix in TextView" into jb-dev

* commit '1dcd2bfcabf565aa860fabc69ef54c8d66128a45':
API fix in TextView
8ed491b75b08df3944481a9509dea2606a265857 01-May-2012 Gilles Debunne <debunne@google.com> Merge "API fix, AutoCompleteTextView" into jb-dev
1dcd2bfcabf565aa860fabc69ef54c8d66128a45 01-May-2012 Gilles Debunne <debunne@google.com> Merge "API fix in TextView" into jb-dev
38abb6bdab7703ba4763e1969d98ad8d20500451 01-May-2012 Michael Jurka <mikejurka@google.com> am c81a0751: Merge "Revert "Adding getters/setters for StackView xml attrs. (Bug 6104219)"" into jb-dev

* commit 'c81a075196a6e0feed452b689ef523e156701f95':
Revert "Adding getters/setters for StackView xml attrs. (Bug 6104219)"
c81a075196a6e0feed452b689ef523e156701f95 01-May-2012 Michael Jurka <mikejurka@google.com> Merge "Revert "Adding getters/setters for StackView xml attrs. (Bug 6104219)"" into jb-dev
0b3d3a3a56dc17322ad436599c4e2e13e7ba9b6a 01-May-2012 Winson Chung <winsonc@google.com> Revert "Adding getters/setters for StackView xml attrs. (Bug 6104219)"

This reverts commit 7ced8f9cabfed2e11c125a1a6b4ff18f1cc50060
tackView.java
aa4348053857ae5b3ee00cb093057ed0e424f2ba 01-May-2012 Winson Chung <winsonc@google.com> am 7e400cfb: Merge "Adding getters/setters for StackView xml attrs. (Bug 6104219)" into jb-dev

* commit '7e400cfb715858a168add7fa6eaa262ab8ad0695':
Adding getters/setters for StackView xml attrs. (Bug 6104219)
7e400cfb715858a168add7fa6eaa262ab8ad0695 01-May-2012 Winson Chung <winsonc@google.com> Merge "Adding getters/setters for StackView xml attrs. (Bug 6104219)" into jb-dev
16e24dd88e4c327ce81c9b7158d9203feb4902e4 01-May-2012 Jean-Baptiste Queru <jbq@google.com> am ede38b5c: am 6a8186fb: Merge "Fixed group and child view caching in SimpleExpandableListAdapter."

* commit 'ede38b5c6c93bfd64522357d2075398c79431e1b':
Fixed group and child view caching in SimpleExpandableListAdapter.
f6d8e0cafd4cd8501988b0a13379bbfa594f21f7 01-May-2012 Jean-Baptiste Queru <jbq@google.com> am 50bd9d61: am 4426961e: Merge "Avoiding horizontal keypad navigation trapping within gallery."

* commit '50bd9d616695b2162b84a204bc678b83a14f59c9':
Avoiding horizontal keypad navigation trapping within gallery.
6a8186fb88455fcc418def0650b7b9f8f3573153 01-May-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Fixed group and child view caching in SimpleExpandableListAdapter."
4426961e7b2eb7733dbb0661c47c6aea2f2f7e75 01-May-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Avoiding horizontal keypad navigation trapping within gallery."
f03acef0ab614fbd69eee606bb60434f9659259f 01-May-2012 Gilles Debunne <debunne@google.com> API fix in TextView

Bug 6104140

Change-Id: I44af54ac7c194335a649e5878ff47dc894fa46fe
extView.java
7ced8f9cabfed2e11c125a1a6b4ff18f1cc50060 01-May-2012 Winson Chung <winsonc@google.com> Adding getters/setters for StackView xml attrs. (Bug 6104219)

Change-Id: Iaa1ba0292b0d40f73e315028d9f01ef407021e57
tackView.java
5703bbfa3d119ee4643983422f9dfeb23b20f446 01-May-2012 Adam Powell <adamp@google.com> Merge "Fix a bug in ListView where touch scrolling could skip a data set change" into jb-dev
5c49d11a57b0c868e15b9b3a79a9985288b5e15d 01-May-2012 Gilles Debunne <debunne@google.com> API fix, AutoCompleteTextView

Bug 6102885

Didn't fix dropDownSelector nor completionHintView at that point.

Change-Id: If080cbefd5189b79e4fa042e28dfa6a71524b93d
utoCompleteTextView.java
6f663c1a3c4d4a23bc71302add27b3d03d7d507b 01-May-2012 Adam Powell <adamp@google.com> Fix a bug in ListView where touch scrolling could skip a data set change

Bug 2597058

ListView's touch scrolling can query the adapter for new views. As we now
flush pending touch events before running layout/draw traversals (when we
normally bring ListView back in sync), this can now happen more often.

Resync data before executing a scroll if a data set change is pending.

Change-Id: I3e4eba4c2537911ba9cb3393ee4d9e68e46f84bb
bsListView.java
c85015cd0409b5ffd55bf94a068828385d032f47 30-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> CheckedTextView should be reported to accessibility as checkable.

bug:6219528

Change-Id: I7b57f69c29f20c8a9466c56226407b51b9bf3b3a
heckedTextView.java
65340c1682dc73671d59cfbe27ee86549d23ed1d 28-Apr-2012 Philip Milne <pmilne@google.com> Merge "Fixes for optical bounds feature." into jb-dev
7a23b49a8ceb07d3fa12c45fd42cd16131fd746a 25-Apr-2012 Philip Milne <pmilne@google.com> Fixes for optical bounds feature.

1. Make the feature opt-in (ViewGroup::layoutMode defaults to CLIP_BOUNDS) without inheritance.
2. Rename COMPONENT_BOUNDS to CLIP_BOUNDS.
3. Rename LAYOUT_BOUNDS to OPTICAL_BOUNDS.
4. Complete GridLayout implementation.
5. Change the default_gap between components to 8dp, to align with the Style Guide.

Change-Id: I8d40dfc5f4ca469f6424eb3ff60d07bec56e3a9f
ridLayout.java
1b332dbffa54afaa5cb2635cb59195db2e48cdb2 28-Apr-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add TextView textSize as a ViewDebug for hierarchyviewer" into jb-dev
c54da1cef96454886967dfe72ed9873f23084b96 28-Apr-2012 Fabrice Di Meglio <fdimeglio@google.com> Add TextView textSize as a ViewDebug for hierarchyviewer

Change-Id: I6459d0d9cdb9fe6a81b3e30c56b64159fc729d52
extView.java
e6eb9291423988e4f2e82367d760490397222fe3 27-Apr-2012 Adam Cohen <adamcohen@google.com> Merge "Fix NPE in RemoteViews (issue 6408103)" into jb-dev
c431c156bbb5c59f921c031e56744e5d6f12a77a 27-Apr-2012 Adam Cohen <adamcohen@google.com> Fix NPE in RemoteViews (issue 6408103)

Change-Id: I3e7ff2941b721c2c0c5c4e7d598df794b105c391
emoteViews.java
2938ac3f9fa8d2a8031a6b4bac4d4beb97f99e06 27-Apr-2012 Adam Cohen <adamcohen@google.com> Merge "Enabling RemoteViews to have a landscape and portrait layout" into jb-dev
7a4be122cd0073240122b9f9badc78df677ea791 27-Apr-2012 Amith Yamasani <yamasani@google.com> Merge "Add some missing getters for XML/Java API consistency." into jb-dev
9004053c59e20127b04abbdb249bf1e44768da9e 26-Apr-2012 Adam Powell <adamp@google.com> Merge "Fix janky programmatic ListView scrolling" into jb-dev
5d20064651b9947a4573c9a0eefec90f66eb1b59 24-Apr-2012 Adam Cohen <adamcohen@google.com> Enabling RemoteViews to have a landscape and portrait layout

-> Implmented BitmapCache to ensure no bitmap data is duplicated
within a RemoteViews hierarchy.

Change-Id: I68f0f5e2882ee2a2a9a110c1642b93c4c7518743
emoteViews.java
emoteViewsAdapter.java
0b8acd81d5029385ec0ae3cafd90acf3036b89ac 26-Apr-2012 Adam Powell <adamp@google.com> Fix janky programmatic ListView scrolling

Adjust AbsListView to use a linear interpolator for smooth scrolling
rather than the default scroller behavior. This prevents irregular
motion as the scroll is altered in-flight to account for varying
height list items.

Bug 6397800

Change-Id: I8cc33dfc18903943369e1353930c48e2652b0142
bsListView.java
verScroller.java
24d146b966c87fd9c3b48027cbfb4238cb892ca5 26-Apr-2012 satok <satok@google.com> Fix the boundary of the sentence level spell check

Bug: 6400290
Change-Id: Ifb3b2f4034a1717369c63206611e5b6c441fded5
pellChecker.java
eca59d39c3e92815002dd50aaf176100a02e5a47 26-Apr-2012 Amith Yamasani <yamasani@google.com> Add some missing getters for XML/Java API consistency.

Bug: 6103517
Change-Id: I46dca62d4d6465a4d0b0d2eafd9013ab4a90fb3c
earchView.java
ba0ee8fce6e62154593c5b5bad982f356b28d35e 25-Apr-2012 Michael Jurka <mikejurka@google.com> Make Advanceable a public API.
dvanceable.java
069ac9a78d62a68d5eb640d3b87793f4ac924f6d 25-Apr-2012 Winson Chung <winsonc@google.com> Merge "Updating activity/task transition animations."
dc6f79bf4374f2fcea2b9d4d0aa7f2e39cc42456 18-Apr-2012 Winson Chung <winsonc@google.com> Updating activity/task transition animations.

Change-Id: I0d4295d269222310a5a6594fb379b9592dd9ced0
emoteViews.java
2d373a18345a5d0a5f8272833b6fdc8bfc4a91cd 21-Apr-2012 Gilles Debunne <debunne@google.com> TextView refactoring part 3: the easy

Removed safety net getEditor() method.
Cleaned-up trailing spaces.
Enforced the 100 characters limit on all lines.

Change-Id: I0e0d704f8b795cd2e2d040f31c20e63c60fa31a8
extView.java
b2b15716d8b5b5814e82575a592e76f522f6a4c6 24-Apr-2012 Philip Milne <pmilne@google.com> Merge "Promote layout debugging code from GridLayout to ViewGroup."
0b7d747e900dd9e6e6f62f10772c2dded9b9d0c6 24-Apr-2012 Gilles Debunne <debunne@google.com> Merge "Editor uses a SpanWatcher to track EasyEditSpans"
8b482446683e4908e6a71da42301291a0a399932 24-Apr-2012 Gilles Debunne <debunne@google.com> Merge "Centered text is not updated"
c62589cbecef6e748bcc6c6f4ea6a8ff7656923f 12-Apr-2012 Gilles Debunne <debunne@google.com> Editor uses a SpanWatcher to track EasyEditSpans

Will also fix Bug 6344997

The previous TextWatcher mechanism was inneficient. It require an
expensive getSpans() call to retrieve all the spans and then search
for the one we're interested in in case it has been changed.

The SpanWatcher is faster, it will broadcast the add/changed/removed
events we're interested in.

Now that we can rely on SpanWatcher, use it to directly track
addition and removals of EasyEditSpans.

No unit test for this feature which require an integration with
the voice IME. Easy to test manually though.

Change-Id: Idabcacc48c479bf9868d5204c0b0ca709207ede2
ditor.java
pellChecker.java
extView.java
fb9f5be318e4f530eff9964702cfb655a6433f00 24-Apr-2012 Gilles Debunne <debunne@google.com> Centered text is not updated

Bug 6378843

Emergency fix. May submit a proper fix with less translations later.

Change-Id: I9d8348e29d5436580202d3ee0456d341bf81dab8
ditor.java
10ca24a97cefc14fca1b26f59e627f487b3b108b 24-Apr-2012 Philip Milne <pmilne@google.com> Promote layout debugging code from GridLayout to ViewGroup.

Layout debugging code draws rectangles around:

1. Layout insets (red)
2. Bounds (blue)
3. Margins (magenta)

Layout debug mode is enabled with:

adb shell setprop debug.layout true

Change-Id: Ia155a2d0fbf33693a1e3c040f627ea3a534e1aff
ridLayout.java
b983e27af47b6a3a6b13af0d3dd64b163f540efd 24-Apr-2012 Gilles Debunne <debunne@google.com> Merge "Re-added a flag to prevent the IME from showing"
1271e2cc80b01d577e9db339459ef0222bb9320d 20-Apr-2012 Chet Haase <chet@google.com> Remove USE_DISPLAY_LIST_PROPERTIES flag

This flag was still hanging around pending any need to disable
DisplayList properties. But things seem stable, so it's time to clean up
and simplify the code.

At the same time, I reduced redundance in DisplayList dimensions. We
used to call drawDisplayList() with width/height parameters that were
used to do a clip reject. This is redundant with the DisplayList properties
that set the bounds of the DisplayList; the left/right and top/bottom properties
represent the same width/height properties formerly used in drawDisplayList().
The new approach is to not pass dimensions to drawDisplayList(), but to
instead pull those dimensions directly from the DisplayList when needed.

Change-Id: I8871beff03b1d4be95f7c6e079c31a71d31e0c56
ditor.java
mageView.java
extView.java
de09576f4910f36f63275683870a067054d51428 23-Apr-2012 Gilles Debunne <debunne@google.com> Merge "Cursor is moved at end of word when it is added to dictionary"
eb65757d24a97450fed160d66e86a4a62c392c5c 23-Apr-2012 satok <satok@google.com> Merge "Fix the first boundary of the sentence level spell check"
979de903695275bae08f2e7a4e99d342f0facd23 23-Apr-2012 satok <satok@google.com> Fix the first boundary of the sentence level spell check

Change-Id: I7c7659c921103d31f9909c14850088aef0d2eb19
pellChecker.java
3473b2b1f495f0f5a31e7ed687557c423c63abff 21-Apr-2012 Gilles Debunne <debunne@google.com> Re-added a flag to prevent the IME from showing

Revert of CL 161404

This flag will be used by the dialer. It prevents any IME from
showing as a result of a focus given to a TextView through a tap
or a D-Pad click.

Change-Id: Ifa5bfcbff124b300780f76dea443d26cf172f5e3
ditor.java
extView.java
bb56676b07a85d38e8577a4151aad895d6522774 21-Apr-2012 Gilles Debunne <debunne@google.com> Merge "Visible spans changes only invalidate the affected text sub display lists"
ebc86af1dc186c77f723c8970951e8ff00b4866b 21-Apr-2012 Gilles Debunne <debunne@google.com> Visible spans changes only invalidate the affected text sub display lists

When a span with a visible influence on the text is modified, we only
need to invalidate the text sub display lists that overlap this span.

This is especially useful when typing and the composing span (an underline
span) gets updated after each key stroke.

Change-Id: Ib2af3219c41eb79ec5d0a2eee317aca8c4efdef9
ditor.java
extView.java
72de2062485f711c9a2291c204fd2c0fb6c4e20f 21-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Adding support for traversing the content of a node info at granularity."
aa780c110922148a6a4ba06734bb2b0bb8c98f93 20-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding support for traversing the content of a node info at granularity.

1. A view that creates an accessibility node info may add to the info
a list of granularity labels. These are granularities by which the
source view can iterate over its content. For example a text view
may support character, word link while a web view may additionally
support buttons, tables, etc. There are actions on accessibility
node info to go to the next/previous at a given granularity which
is passesed as an argument.

2. Added Bundle argument to the APIs for performing accessibility
actions. This is generic and extensible.

bug:5932640

Change-Id: I328cbbb4cddfdee082ab2a8b7ff1bd7477d8d6f9
umberPicker.java
e1a996e99dc68b48efad989876c01ce05a7a58ac 20-Apr-2012 Dianne Hackborn <hackbod@google.com> Merge "Move handling of package changes to a background thread."
2eb70fb257623de7d32e8c1a878f4c03b71846d1 19-Apr-2012 Gilles Debunne <debunne@google.com> Cursor is moved at end of word when it is added to dictionary

Bug 6355904

Change-Id: Ib56b719d0c3001ce975bccf8dd80c138bffc24cc
ditor.java
0b568ff17983ee84b6099e28c89cac414abd0739 20-Apr-2012 Gilles Debunne <debunne@google.com> Merge "TextView's sub display lists have tighten bounds"
d0d7503fd3e941113094532f28986f49b11b5fdb 20-Apr-2012 Dianne Hackborn <hackbod@google.com> Move handling of package changes to a background thread.

Helps get rid of some jank when installing applications.

Change-Id: I97d0022f82d67796e334d37086e5911dd6ca6b62
ctivityChooserModel.java
1fa179ef41c06bd19da70fd9bf95741238791940 13-Apr-2012 Adam Powell <adamp@google.com> Fix some smooth scrolling bugs in lists and update on the animation
timer.

Change-Id: I0cb03c6da204a34c9e942c3953b87287c3d4763d
bsListView.java
ridView.java
istView.java
157aafcbee0eabda798a3be406ccc4200ee86756 20-Apr-2012 Gilles Debunne <debunne@google.com> TextView's sub display lists have tighten bounds

An editable TextView caches text rendering inside an adaptive
number of sub display lists. The bounds of these use to be those
of the entire View.

This CL creates block display lists with tighten bounds, so that
(a still-to-be-implemented) quick rejection can occur.

Also cleaned-up the contradictory translations that were used to
handle the TextView's internal scroll and removed the invalidation
of display lists in that case.

TODO: When internal scroll sets a tighter clipping rect, quick
reject the creation and display of the clipped display lists.

Also renamed blockEnds to a more explicit blockEndLines.

Change-Id: I7d79bea78d06d19b6935aef75ff7aa7df2594050
ditor.java
8a97b4aea61b285d38f2e1e0b962d58f94a5aa0a 19-Apr-2012 Daniel Sandler <dsandler@android.com> Merge "Fix text transformations in Switches."
4c3308de7d51b16b1450c21787b442d84ace3984 19-Apr-2012 Daniel Sandler <dsandler@android.com> Fix text transformations in Switches.

In particular, we now honor android:textAllCaps in the
TextAppearance specified for the switch widget itself.
(Now you no longer need to create a separate capitalized
version of your strings to get them to look like the
platform switches.)

Change-Id: Ia48222a6dddd0d0f9115e554dffb621f4d6a2b94
witch.java
1bf4d5f24e2f958a7045598f9263e6bfc526fbdb 19-Apr-2012 Adam Powell <adamp@google.com> Merge "Fix crash setting null seekbar thumb"
0283a5573c0a8b239f88147fe4ecf1b379e2f0a4 19-Apr-2012 Adam Powell <adamp@google.com> Fix crash setting null seekbar thumb

External bug http://code.google.com/p/android/issues/detail?id=15693

Change-Id: I2f869b4ebd1f0857564c69999abb49285beefd14
bsSeekBar.java
820b236adce43567b2effd92e246c34a8a76c9f9 18-Apr-2012 John Reck <jreck@google.com> Cleanup PositionMetadata recycles

Bug: 6360817

Change-Id: I428014be20447d074d378901a289e090b4e4e777
xpandableListConnector.java
xpandableListPosition.java
xpandableListView.java
e1e874854ab8b73dc5f2346108cbfe90dabaea18 18-Apr-2012 satok <satok@google.com> Optimize the timing to query sentence level spell checking

Bug: 6354647
Change-Id: I52e6c21387c7f4d6fc05b4c50bbb0a5a6c75194b
pellChecker.java
fbf7e1f343b4d61c48187adb123a4308e809a92d 17-Apr-2012 satok <satok@google.com> Merge "Get rid of "isSentenceLevelSpellCheckSupported""
4e1cb3b7942d3ca05918604358b4ef83815ce448 16-Apr-2012 Philip Milne <pmilne@google.com> Merge "Fix for bug 6110465."
f937313944e0e9dfa4375a275710e420c2a92554 16-Apr-2012 Mindy Pereira <mindyp@google.com> Perform null check on empty view before doing accessibility check.

Fixes b/6341858 AdapterView does not properly check for null before checking empty view accessibility info

Change-Id: Ia19fdef2c7c5f3e6c3053ebc754efe6a664f9d66
dapterView.java
c7ee1b9369ffd7c21a70738056a82dc4238e7fc1 11-Apr-2012 satok <satok@google.com> Get rid of "isSentenceLevelSpellCheckSupported"

Bug: 6320351
Change-Id: I0e931b7248f8c65268b60af599c07432d58d2f1f
pellChecker.java
4213804541a8b05cd0587b138a2fd9a3b7fd9350 20-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Accessibility focus - framework

Usefulness: Keep track of the current user location in the screen when
traversing the it. Enabling structural and directional
navigation over all elements on the screen. This enables
blind users that know the application layout to efficiently
locate desired elements as opposed to try touch exploring the
region where the the element should be - very tedious.

Rationale: There are two ways to implement accessibility focus One is
to let accessibility services keep track of it since they
have access to the screen content, and another to let the view
hierarchy keep track of it. While the first approach would
require almost no work on our part it poses several challenges
which make it a sub-optimal choice. Having the accessibility focus
in the accessibility service would require that service to scrape
the window content every time it changes to sync the view tree
state and the accessibility focus location. Pretty much the service
will have to keep an off screen model of the screen content. This
could be quite challenging to get right and would incur performance
cost for the multiple IPCs to repeatedly fetch the screen content.
Further, keeping virtual accessibility focus (i.e. in the service)
would require sync of the input and accessibility focus. This could
be challenging to implement right as well. Also, having an unlimited
number of accessibility services we cannot guarantee that they will
have a proper implementation, if any, to allow users to perform structural
navigation of the screen content. Assuming two accessibility
services implement structural navigation via accessibility focus,
there is not guarantee that they will behave similarly by default,
i.e. provide some standard way to navigate the screen content.
Also feedback from experienced accessibility researchers, specifically
T.V Raman, provides evidence that having virtual accessibility focus
creates many issues and it is very hard to get right.
Therefore, keeping accessibility focus in the system will avoid
keeping an off-screen model in accessibility services, it will always
be in sync with the state of the view hierarchy and the input focus.
Also this will allow having a default behavior for traversing the
screen via this accessibility focus that is consistent in all
accessibility services. We provide accessibility services with APIs to
override this behavior but all of them will perform screen traversal
in a consistent way by default.

Behavior: If accessibility is enabled the accessibility focus is the leading one
and the input follows it. Putting accessibility focus on a view moves
the input focus there. Clearing the accessibility focus of a view, clears
the input focus of this view. If accessibility focus is on a view that
cannot take input focus, then no other view should have input focus.
In accessibility mode we initially give accessibility focus to the topmost
view and no view has input focus. This ensures consistent behavior accross
all apps. Note that accessibility focus can move hierarchically in the
view tree and having it at the root is better than putting it where the
input focus would be - at the first input focusable which could be at
an arbitrary depth in the view tree. By default not all views are reported
for accessibility, only the important ones. A view may be explicitly labeled
as important or not for accessibility, or the system determines which one
is such - default. Important views for accessibility are all views that are
not dumb layout managers used only to arrange their chidren. Since the same
content arrangement can be obtained via different combintation of layout
managers, such managers cannot be used to reliably determine the application
structure. For example, a user should see a list as a list view with several
list items and each list item as a text view and a button as opposed to seeing
all the layout managers used to arrange the list item's content.
By default only important for accessibility views are regared for accessibility
purposes. View not regarded for accessibility neither fire accessibility events,
nor are reported being on the screen. An accessibility service may request the
system to regard all views. If the target SDK of an accessibility services is
less than JellyBean, then all views are regarded for accessibility.
Note that an accessibility service that requires all view to be ragarded for
accessibility may put accessibility focus on any view. Hence, it may implement
any navigational paradigm if desired. Especially considering the fact that
the system is detecting some standard gestures and delegates their processing
to an accessibility service. The default implementation of an accessibility
services performs the defualt navigation.

bug:5932640
bug:5605641

Change-Id: Ieac461d480579d706a847b9325720cb254736ebe
bsListView.java
bsSpinner.java
dapterView.java
dapterViewAnimator.java
atePicker.java
mageView.java
umberPicker.java
extView.java
imePicker.java
2a07308ed27b7323377142c69975b019244e38d7 14-Apr-2012 Dianne Hackborn <hackbod@google.com> Merge "Add direct support for HTML formatted text in ClipData etc."
1557fd7809078e421f751efc7d2539b3efdc54b2 05-Apr-2012 Philip Milne <pmilne@google.com> Fix for bug 6110465.

Add layout bound metadata to 9-patch files and make layouts take them into account.

This CL contains a proposed API for dealing with layout bounds.

This solution exposes:

1. Class: Insets - for storing layout Insets (and later possibly padding).
2. Methods: View:(get/set)LayoutInsets() - for storing layoutBounds.
3. Methods: ViewGroup:(get/set)LayoutMode() - for controlling layoutMode.

It also iuncudes the changes to GridLayout to support layout bounds.

Change-Id: I60c836b6530b61c5abf37f93ee9c44aad73573f1
ridLayout.java
acb69bb909d098cea284df47d794c17171d84c91 14-Apr-2012 Dianne Hackborn <hackbod@google.com> Add direct support for HTML formatted text in ClipData etc.

When using the clipboard, ACTION_SEND, etc., you can now supply
HTML formatted text as one of the representations. This is exposed
as a set of methods on ClipData for building items with HTML
formatted text, and retrieving and coercing to HTML (and styled)
text. In addtion, there is a new EXTRA_HTML_TEXT for interoperating
with the old ACTION_SEND protocol.

Change-Id: I8846520a480c8a5f829ec1e693aeebd425ac170d
ditor.java
extView.java
c6afc7a7e0131f9186434604ba92adc37ce7196d 13-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Ignore the result of the on share callback in ShareActionProvider."
b33eacdb791e569ebb429b55d7ab098973e19764 13-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> Ignore the result of the on share callback in ShareActionProvider.

1. The reason for having this callback on the ShareActionProvider
is to notify the client that a share happened so he can update
the UI.

Change-Id: I65e8a8db8d4add0cd23d53be0286b14b4b4640b4
hareActionProvider.java
c8cbf5de769fb9396517cfcf101d5b5114012692 13-Apr-2012 Adam Powell <adamp@google.com> Merge "Fix bug 6330745 - internal fix for spinners"
af3631314f3d9423a3bd77f9cbaea16207b2aff8 13-Apr-2012 Adam Powell <adamp@google.com> Fix bug 6330745 - internal fix for spinners

Change-Id: I2897ce5f41f9442714053675405296cab5296ac6
pinner.java
7f97e54a152eff5c98297a8842bbd2cde586c04e 13-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Switch does not append its state text to accessibility node infos."
78bcc15b6c5959cc3eb9bbe2459af93451b74a22 13-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> Switch does not append its state text to accessibility node infos.

1. Switch was not populating the state on/off test in accessibility
node infos. It apparently has two texts, the state one and the
one it inherits from TextView.

bug:6213278

Change-Id: I9c6b1798a8b3230cfb6755cc5b088c320d991642
witch.java
bc896be574abf1ea92fcefb36ed80390d2366365 13-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "NumberPicker not redrawn when current value is changed via an IME."
fac14f9731ce7fc765de582c983af751aab697de 13-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> 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
umberPicker.java
4a5af365af41fcd759e6480c45166817c6e7bd3e 13-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "NumberPicker cannot fling in scrollable containers."
83dc45c65988e9b86e156d59f59ede48195ed1d5 13-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> 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
umberPicker.java
f7c83bc4d3e1996b491824902a6a0f98ac69bede 13-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> 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
umberPicker.java
f21bea245a7c305c75906f9c9228ac315e10cd9f 12-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "CheckBox should not populate AccessibilityEvent with text."
1728c07bfb6ccc8a24defcda07306f353a33e95a 12-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> 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
heckBox.java
df3ae4f3aea3bdce6bb54133c8a07a26bf207c3c 11-Apr-2012 Adam Powell <adamp@google.com> Invalidate for scrolling animations on the animation timer

Change View methods awakenScrollBars and scrollTo to post their
invalidation on the animation timer. Since these are often used in
computeScroll or similar to continue scrolling or flinging it should
not prevent other posted events from being processed before the frame
is actually drawn. (All changes in scroll position, etc. are
immediately reflected after the calls and do not need a draw to
present correct data about scroll position to apps.)

Don't accumulate floating point error while dragging
ScrollView/HorizontalScrollView.

Change-Id: I05b57d75f89a806488e46a8fb79b85d80f56d45d
orizontalScrollView.java
crollView.java
a050663feb6309c63867abd746cdf97388e289a4 11-Apr-2012 Adam Powell <adamp@google.com> Avoid potential leaks with Runnables posted from ProgressBar

Bug 6093695

Handle pending progress updates when a view is not attached when the
view becomes attached again. Batch pending progress updates together
rather than posting separate runnables for each.

Change-Id: I5dea671d5b9fbe1302912ca4734a63955e77ff4d
rogressBar.java
d3ce6f50c114f58a3f50e44764e9b315ac41f637 10-Apr-2012 Gilles Debunne <debunne@google.com> Merge "Faster and simpler replace in SSB, take two"
79af6063d536eb7edbc73be0fa2b8eb734758db7 10-Apr-2012 Dianne Hackborn <hackbod@google.com> Merge "Hide the optional permission stuff, not making it in to JB."
0249b43f6ce59bfec104f0fe606d9059244f8797 10-Apr-2012 Gilles Debunne <debunne@google.com> Faster and simpler replace in SSB, take two

This is a new version of CL 179343 which had to be reverted.

This problem of the previous CL is that the ComposingSpan that
was part of the replacement text was correctly added during the
replace but was immediately removed because it had a zero-length
size.

Swapping the add and remove blocks solves the problem.

The new non-zero length enforcement also revealed a bug in the
spell checker where we were creating useless range spans.

Change-Id: I59cebd4708af3becc7ab625ae41bc36837f1a1cf
pellChecker.java
4879f1f183d3d2fd775fe9366934d6077601be05 09-Apr-2012 Daniel Sandler <dsandler@android.com> Remove Chronometer logspew.

Change-Id: Ie9ea1ac9fb0b8053b00ce162c191dfa44c1ff6ab
hronometer.java
e824120016248bcfe3962883fe9f3b0481dd1c3d 06-Apr-2012 Dianne Hackborn <hackbod@google.com> Hide the optional permission stuff, not making it in to JB.

Also lock down the rest of the development tools permissions to
be development permissions that must be granted through an
explicit shell command.

Change-Id: I1ba216fffe1aab4bb9f83fcef108efc504f892f4
ppSecurityPermissions.java
48200b6f3ff1f742df57faf929f51f3db06fec88 05-Apr-2012 Daniel Sandler <dsandler@android.com> Merge "Chronometer support in Notifications."
d779412c58d329ada4d1d79bdb85700e90cbc8d6 04-Apr-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add View textAlignment"
a2985ed3099c9206a4fd9fd8eaf0e4025b82aca9 03-Apr-2012 Daniel Sandler <dsandler@android.com> Chronometer support in Notifications.

@hidden for now while we experiment with it in Phone.

Change-Id: Ib6ca3a8262f676d49d81e081a30c6d994c732a6b
hronometer.java
9da0f8a5c4bccf8e722ae2ebf43873457aec3271 14-Mar-2012 Fabrice Di Meglio <fdimeglio@google.com> Add View textAlignment

- fix bug #6163772
- use bits field and pack them as much as possible
- take care of "supportsRtl" flag from Manifest
- add visual unit tests

CTS unit tests in another CL

Change-Id: Ib77c4eb423854209af130688c5ef9977401a9c1c
extView.java
935a15ebed0e347667b9fe11e69b1a79df33569a 04-Apr-2012 Gilles Debunne <debunne@google.com> Merge "Removed spurious log about blinking cursor"
cfbf0e0296acd4c3451591ec4b241e393fb9bd8a 04-Apr-2012 Gilles Debunne <debunne@google.com> Removed spurious log about blinking cursor

Change-Id: I940c3847bb6e461178575480c82e7dd6739277cf
ditor.java
21aec19d3041fe040004dd32eef0cfd1bafd6fb6 04-Apr-2012 Chet Haase <chet@google.com> Merge "Optimization of alpha with DisplayList properties"
db8c9a6a4d9bf8c39f834b25611926caf21380f6 22-Mar-2012 Chet Haase <chet@google.com> Optimization of alpha with DisplayList properties

Some views (such as ImageView and TextView) handle non-opaque alpha
values directly. This was originally an optimization, but we can handle it faster
in many cases without this optimization when DisplayList properties are enabled.
Basically, if a view has non-overlapping rendering, we set the alpha value directly
on the renderer (the equivalent of setting it on the Paint object) and draw each
primitive with that alpha value. Doing it this way avoids re-creating DisplayLists
while getting the same speedup that onSetAlpha() used to get pre-DisplayList properties.

Change-Id: I0f7827f075d3b35093a882d4adbb300a1063c288
mageView.java
extView.java
1663565739361f3e01308e9c4d6cf30bfc6c197d 03-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Polish the Number/Date/Pickers per UX request."
fe41ce4ef97e7da585fdbf06988da8047e72b9f6 03-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> Polish the Number/Date/Pickers per UX request.

1. Now the NumberPicker max height is a bit smaller.

2. The Time/Date picker add top and bottom margin to
compensate for the shorter NumberPickers.

3. The Time/DatePicker dialogs have only "Done" button
and tapping onside saves the current state.

bug:6277808

Change-Id: I4c5928debb1c3b7fe126d6cd6745e3c5eb980901
umberPicker.java
78e2c336de8984dd86410351efedab86ad617ee8 03-Apr-2012 Adam Cohen <adamcohen@google.com> Merge "Only preload items if they are within the valid range (issue 6265338, 6194161)"
4c994986202b5b668a6377a9ad47aa5345046db9 02-Apr-2012 Adam Cohen <adamcohen@google.com> Only preload items if they are within the valid range (issue 6265338, 6194161)

Change-Id: Ic2713b41ad545a004df1e06e4be9946d7336c4b3
emoteViewsAdapter.java
d88876a72f9ceebd2c93eb9ba1be4bcff971e754 17-Mar-2012 Gilles Debunne <debunne@google.com> Extracted text editing logic in a separate class

Editor specific method and fields are extracted to a dedicated Editor class.

Some private fields and methods had to be made package private so that the
Editor can see them. No change in the public API.

Other changes in this CL:
- The Blink class no longer has a WeakReference to the TextView
- EasyEditSpanController is no longer a field of ChangeWatcher.

Future work:
remove the getEditor() method in TextView and
clean whitespaces and indentation.
remove the EasyEditSpanController as a change watcher, fix spanWatcher

Change-Id: I1fbe0176b6bd27d90f556dc3a90469367f77437c
ditor.java
extView.java
59075643acedd38e324746083e2c59f69c0b9e56 28-Mar-2012 Gilles Debunne <debunne@google.com> Merge "Handle non DynamicLayout in Editable draw method."
0711047af71a31568f7a49f078e9f46ef5af84aa 28-Mar-2012 Gilles Debunne <debunne@google.com> Handle non DynamicLayout in Editable draw method.

An Editable text will use a BoringLayout when the text is empty.
Fallback on the regular layout draw text method when the layout
does not support the block optimisation.

Change-Id: Ie4bdb4381f2f58b71d7c35b2f5734e544e3115ea
extView.java
4cb85f6ad6f6ff4428aa2c5179b6d62741be7aa9 28-Mar-2012 Gilles Debunne <debunne@google.com> Moving focus on text should not create an Editor

Bug 6241159.

onCreateInputConnection should not create an Editor but instead
should return an input connection iff the text is editable.

Change-Id: Ie9ea55b2467f5a40e6243b36f9b44fa6dfab586f
extView.java
b85967b9af76e1e60f7a96603e2567a6449d2e04 26-Mar-2012 Chet Haase <chet@google.com> Re-enabling DisplayList properties

Several issues came up after DisplayList properties were enabled,
so they were disabled pending fixes. Those issues have been fixed, so
DisplayList properties are once again being enabled by default. This
CL both re-enables these properties (in View.java and DisplayListRenderer.h)
and fixes the various issues that enabling them caused the first time around.

Related issues (all currently marked as Fixed, though that was simply because
DL properties were disabled - this CL provides the real fixes now that
DL properties are enabled by default):
Issue #6198276 Text input broken
Issue #6198472 Native crash at pc 00076428 in many different apps in JRM80
Issue #6204173 Date/time picker isn't rendering all parts of UI
Issue #6203941 All Apps overscroll effect is rendered weirdly/has flickering
Issue #6200058 CAB rendering issue - not drawing items?
Issue #6198578 Front camera shows black screen after taking picture.
Issue #6232010 Layers not recreated when children change (DisplayList properties)

Change-Id: I8b5f9ec342208ecb20d3e6a60d26cf7c6112ec8b
extView.java
91889e2c86d863f74feee6de3cda739646483938 27-Mar-2012 Gilles Debunne <debunne@google.com> Merge "Update to TextView#didTouchFocusSelect documentation"
aac722a9c0d199c79ae8ce2dd3cce113f01c30b7 26-Mar-2012 Philip Milne <pmilne@google.com> Fixes for bugs: 6104423, 6103563, 6103509, 6103807 & 6103253.

Add properties to Java API so as to better mirror the framework's XML API.

I'm not familiar with many of these areas so this CL is worth some scrutiny.

Change-Id: Iff63c43521305efaad5a2189c1b5556d2353cbd4
dapterViewFlipper.java
mageView.java
adioGroup.java
atingBar.java
820ba323f9919d33aac5e999bd8daa7842d3969c 23-Mar-2012 Daniel Sandler <dsandler@android.com> Add remotable methods for TextView's compound drawables.

Change-Id: I67445e5b1d4a571020dfcd551ab00bd83a8eb536
emoteViews.java
extView.java
3004cc50f22e724efb791aa80e9d6c566d2ddb5d 22-Mar-2012 Adam Powell <adamp@google.com> Add SeekBar property accessors to match available style attributes

Bug 6103624

Change-Id: I7bc863250f3b156cf6663e484baab2c35a949db5
bsSeekBar.java
0b7413d5d6239b7bc43816bea5187b323a633b11 21-Mar-2012 Adam Powell <adamp@google.com> GridView attribute updates

Bring GridView's API in sync with its supported style attributes.

Bug 6103758

Change-Id: Ib2c4d4d48061d23a7d886364965f0cb50c239e5d
ridView.java
a4a26053ea91a90c824ef98f17552c34bd89207e 20-Mar-2012 Gilles Debunne <debunne@google.com> Disabled display lists in TextView

Bug 6198276, bug 6193544, bug 6199959

The activation of display list properties on Monday 19th
broke the editable text behovior.

Disabling display lists to fix the blocking rendering
issues.

Change-Id: I5bd0584d1a34c6bb0af79ef45499154e9004eac1
extView.java
e72cf7341a608402309ce894fc12d050cc7c0e14 20-Mar-2012 Romain Guy <romainguy@google.com> Put back invalidate optimization

Change-Id: I6407e452deb44e50a50632961e960cf0bd39b09d
orizontalScrollView.java
crollView.java
e979e62ac7313b7cffe9b131bb8a99c356068b45 20-Mar-2012 Romain Guy <romainguy@google.com> Code cleanup

Change-Id: I390e92b4a778bd9dcde6535178c1a6b204b29fe4
orizontalScrollView.java
crollView.java
d11e6151fe88314505fa7adca6278de2e772b11c 20-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Revamp of the NumberPicker widget.

1. The number picker no longer shows up and down arrows, it
has only three touch targets which are the currently selected number
in the middle with a lesser one above and greater below, now what
you touch is what you get, flingability and long press are still
supported.

2. Removed the restriction for a View with an AccessibilityNodeProvider
to not have any concrete children. If the View has a provider, then
this provider is responsible for creating the AccessibilityNodeInfos
for all its descendants, concrete and virtual. The number picker is
a good example for such a case - it has a concrete input view and
two virtual buttons as its children. This is a safe change since
this behavior has not been released.

3. This patch also fixes bug where the number picker is stretched too
much in the Theme theme.

bug:6177794
bug:5728294

Change-Id: I5fb370fe0b864a156f5f2aaf2de5f55f6b6d4e84
atePicker.java
umberPicker.java
imePicker.java
b49e4d63d1976b673b4763bc012d152833609688 17-Mar-2012 Georg Hofmann <georg.hofmann@gmail.com> Fixed group and child view caching in SimpleExpandableListAdapter.

Now the adapter reports the correct type count and type for group and child
views by overriding the respective methods from the base class. Each group
view has two types, one for expanded views, one for collapsed views. Each
child view has two types, one for the last view within a group, one for the
other views within a group.

Change-Id: I117b2c0f7e98fb7fe2fdd35c15f7d1f9dc06674f
Signed-off-by: Georg Hofmann <georg.hofmann@gmail.com>
impleExpandableListAdapter.java
590924e10a39347e2375a2e4f96be95883637be4 16-Mar-2012 Gilles Debunne <debunne@google.com> Merge "Multiple display lists for editable text"
053c439824fcf95d613aaca8d9b60aa77c9e8132 15-Mar-2012 Gilles Debunne <debunne@google.com> Update to TextView#didTouchFocusSelect documentation

Bug 6171333

Related to https://android-git.corp.google.com/g/#/c/173335/

Change-Id: Ib4a83b6b0a03579b28d7319c9eb92a4bca09d209
extView.java
a8bfeaf4f49fa33e96f37302f9c9b99c94aa1581 15-Mar-2012 Romain Guy <romainguy@google.com> Cleanup ListView glow's optimized invalidates

Change-Id: Ie9759fd95366866512ec55072aa482f972650d15
bsListView.java
dgeEffect.java
33b7de85b6918b7714641f12f1ba2ff03a344740 12-Mar-2012 Gilles Debunne <debunne@google.com> Multiple display lists for editable text

Bug 5763685

Long text in a ScrollView (not when the View's internal
scroll is used) is cached as a unique display list when hardware
rendering is on.

As a result, each time the text is edited, the entire display
list has to be updated, which takes a significant amount of
time (up to 500ms for a few thousand lines), proportional to the
size of the text.

This CL splits the text into multiple display lists as the
text is edited. The boundaries of the display list are aligned
with paragraphs.

There is still an issue when the number of lines changes: onLayout()
is called which invalidates all the display list. When the source
of that change is line wrapping and not a change in the view's
dimensions, we should be able to simply shift down the previous DL
instead of re-creating everything.

Change-Id: I7de49a1e5637cdfc9ef06b64b1ec4b61d9ea2415
extView.java
b269aaf8608536c9ea928330079a4efc77c4d520 15-Mar-2012 Philip Milne <pmilne@google.com> Merge "Fix for bug 6170890."
edd69518ffec87fb7b1931e708678ef441152cde 15-Mar-2012 Philip Milne <pmilne@google.com> Fix for bug 6170890.

Also fix logic for consistency checking. Prior to this CL
GridLayout was causing Launcher to issue warnings to the logs
incorrectly.

Change-Id: I9d4017388e7c80c8bc5fa6cab97970835ff261fe
ridLayout.java
9d849a2f6351caed83105b90cab79223ec2bfbd3 15-Mar-2012 Romain Guy <romainguy@google.com> Optimize invalidate calls in lists.

AbsListView was doing too many invalidates during scrolls/flings.
Some of them were also covering too large an area of the screen.

Change-Id: I68fe5dda3657bddd673996e7cf4f3c3672c66cfc
bsListView.java
dgeEffect.java
1018fb42cb4958511a141787705aa429c5ec9bd3 13-Mar-2012 Philip Milne <pmilne@google.com> Fixes for bugs: #6103660, #6103957, #6104457 and #6104322.

Add getters and setters to the layout widgets so as to mirror their XML apis.

Change-Id: Ie2237fd55e1c3e4ec0d08b4f8154ea7e122c1e79
rameLayout.java
inearLayout.java
elativeLayout.java
ableLayout.java
a1cff5043d0fbd78fcf9c48e7658e56a5b0c2de3 21-Feb-2012 Chet Haase <chet@google.com> Handle view properties at the native level

Basic functionality of handling View properties (transforms,
left/right/top/bottom, and alpha) at the native DisplayList level.
This logic is disabled for now (via compile-time flags in View.java and
DisplayListRenderer.h) as we continue work on it (there is no advantage
to the new approach until we optimize invalidation and rendering paths
to use the new code path).

Change-Id: I370c8d21fbd291be415f55515ab8dced6f6d51a3
extView.java
48774533f1cfe3036919a2f73631e07b7c284617 12-Mar-2012 Adam Powell <adamp@google.com> Respect default styles when constructing GridViews with 1-arg constructor

Fixes public bug http://code.google.com/p/android/issues/detail?id=26757

Change-Id: If78b6210485558c5630445bdd4d6312386aaf2b5
ridView.java
d122d8eb3e92b47eb18aea1fc619cfd04e07b14b 10-Mar-2012 Gilles Debunne <debunne@google.com> Merge "Re-use the display list valid flag, save a boolean"
73ba0df14fedefe144808a2a43308811567875be 10-Mar-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Make Drawable RTL APIs public"
06e1ec6462763a2f12ba5fb1c1c826bf393bfacd 10-Mar-2012 Fabrice Di Meglio <fdimeglio@google.com> Make Drawable RTL APIs public

- also optimize imports

Change-Id: I2649a539a5784293d09179981a5d57e900219246
mageView.java
rogressBar.java
extView.java
559c4841a631321efc2284de9187dbaccce50550 10-Mar-2012 Ken Wakasa <kwakasa@google.com> Merge "Fix obvious typos under frameworks/base/core"
977c9a5d3cb9ecd9190c37da25d1e7476a1dd0bb 09-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Removing checked state description text for accessibility from some widgets."
55249c8601e04928d4e8afb17233596a3ed4e0ce 09-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Removing checked state description text for accessibility from some widgets.

1. The framework was appending some text to convey the state of a
a CheckedTextView or a RadioButton or a ToggleButton or a Switch
but the checked property already conveys that information. It is
responsibility of the screen reader developer to append the state
text based on the checked property. This change is requested by a
few screen reader developers.

bug:5951683

Change-Id: Ieba6797770201155c48e37147ae375dfcb5238aa
heckedTextView.java
adioButton.java
witch.java
oggleButton.java
f76a50ce8fdc6aea22cabc77b2977a1a15a79630 09-Mar-2012 Ken Wakasa <kwakasa@google.com> Fix obvious typos under frameworks/base/core

Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
xpandableListView.java
orizontalScrollView.java
istPopupWindow.java
crollView.java
impleAdapter.java
impleCursorAdapter.java
impleCursorTreeAdapter.java
dca510e026e3e75759bac84c3860dc84b83a608f 09-Mar-2012 Adam Powell <adamp@google.com> Fix docs

Change-Id: Idea902ec3b6e540972650a070e8d224603a55c94
pinner.java
witch.java
d9c7be6cc7d18f11731e6d7a1037cc294fde3a4b 09-Mar-2012 Adam Powell <adamp@google.com> Public API for android.widget.Spinner properties

Bug 6104467

Add properties that can be set/retrieved programmatically to match the
XML attributes available.

Also add resource ID versions of Drawable setters for Switch.

Change-Id: I198cfd9701189ab200c3190f61d18c459b7e4591
pinner.java
witch.java
787f2699f1f526517c23cf1017ca1a50e88ab8fb 09-Mar-2012 Adam Powell <adamp@google.com> Merge "Public API for android.widget.Switch properties"
6c86e1ba41b56ccb3668dbb044fa348cd4b47d55 09-Mar-2012 Adam Powell <adamp@google.com> Public API for android.widget.Switch properties

Bug 6104562

Add properties that can be set/retrieved programmatically to match the
XML attributes available.

Change-Id: Ief28e5cad9ec3e6c2d12dd11ff9fa24f22eecec3
witch.java
583fcb9175cd0c614f096db633d9e784ab7e1f54 09-Mar-2012 Romain Guy <romainguy@google.com> Merge "Dispatch screen state change events to Views Bug #6120957"
bb9908b828a8cfd5965553be66faa6af89973697 08-Mar-2012 Romain Guy <romainguy@google.com> Dispatch screen state change events to Views
Bug #6120957

Using this new callback, views can interrupt and resume their
animations or other periodic tasks based on the current state
of the display.

Change-Id: I398f4abd421e9c5f207107bf1009a7b92cf45daa
extView.java
bbd8226e97650e0f0aa558bd71d4b421394ef3e1 08-Mar-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "More fixes about padding"
f8f0c8ea4bee6f3316676f65b8e0369dff520e13 08-Mar-2012 Adam Powell <adamp@google.com> Merge "Fix measurement issues with Spinner and ListPopupWindow"
7507d3d31cb3d0ca190efc9d6b7ead5d6336f8d6 08-Mar-2012 Adam Powell <adamp@google.com> Fix measurement issues with Spinner and ListPopupWindow

Bug 6132826 - make sure that our speculative measurement of list items
uses an accurate width MeasureSpec. This bug would sometimes affect
window sizing when measuring height if content could wrap in the
presence of restricted width.

Change-Id: Ie28573e952cac3dfa2b95e4691758c72f26b8fd9
istPopupWindow.java
pinner.java
bf923ebb250a112266bd9bcae106cb84f42b6f15 08-Mar-2012 Fabrice Di Meglio <fdimeglio@google.com> More fixes about padding

- take care of overridig setPaddingRelative() too in TextView subclasses

Change-Id: If2057247cfcac919d777846def4adfeb5a682d51
heckedTextView.java
extView.java
0c245fb201aa28776586dc1ce4fc4fc281f894a7 08-Mar-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Make more TextView RTL APIs public"
a4fb0cb1fe63262170c13a7853be4ccd45083670 08-Mar-2012 satok <satok@google.com> Merge "Optimization of the request of the sentence level spell check"
fe5a51ee0440beb54f9ccba8b85f43b5f47f4cc2 08-Mar-2012 satok <satok@google.com> Optimization of the request of the sentence level spell check

Change-Id: Ic89b0dd027bf0af6e8f1877043ae40baed48b2a4
pellChecker.java
3154fc45e5294619c6f17c6e325036fbe8c70c5f 08-Mar-2012 satok <satok@google.com> Merge "Fix spell checker framework"
2428ccbbde3ca1f6643a4952a6ca881dab80ce45 08-Mar-2012 satok <satok@google.com> Fix spell checker framework

Change-Id: I281d031259dd220936832668e7a4556473ccb2ce
pellChecker.java
792ee0cc4d9415e45a16803c6fe3e60c53760e25 08-Mar-2012 satok <satok@google.com> Fix possible NPE in SpellChecker

Change-Id: Ib3c9fe7189c8f31a460149add857e9855919f386
pellChecker.java
c742c9fedb1c1d8ecd2914207af51b1ee4f34266 08-Mar-2012 David Sobreira Marques <dpsmarques@gmail.com> Avoiding horizontal keypad navigation trapping within gallery.

Non touchscreen devices such as Google TV require the keypad
navigation to properly move the focus among widgets.

The Gallery is misshandling the keypress event and avoiding
the focus from going to other widgets on it's sides upon
keypress even after the user has reached it's first and
last items.

Change-Id: If32ee57e8513cac692deb161e1941d6cc85e3188
Signed-off-by: David Sobreira Marques <dpsmarques@gmail.com>
allery.java
d159109bd88e290ffacce30aaff42b0a0c790709 08-Mar-2012 Fabrice Di Meglio <fdimeglio@google.com> Make more TextView RTL APIs public

- padding related APIs
- drawable related APIs

Change-Id: If926ba1658431f826153128553f1ff429275f948
extView.java
28ab0b5d0a15f9257fc08f9062b2b3884d1d125b 07-Mar-2012 Gilles Debunne <debunne@google.com> Re-use the display list valid flag, save a boolean

Change-Id: I991e7fb224b0725a0f2ae02f04456bd192582ca6
extView.java
faeac2737de098269a69011f4980a412559b55a9 06-Mar-2012 Jeff Brown <jeffbrown@google.com> Merge "Change widgets to post invalidate to the animation timer."
6cb7b46c56449e84434b11eb12f9b8977fcd0398 05-Mar-2012 Jeff Brown <jeffbrown@google.com> Change widgets to post invalidate to the animation timer.

Change-Id: I8377e924529fb9d8afd8a834003a17de616e8e87
rogressBar.java
extView.java
6c488de023a4797069673dc619c1a4096079ea9e 02-Mar-2012 Gilles Debunne <debunne@google.com> EditText caches only text in its internal display list.

Decorelate background and text in layout display. This allows
to only store the text in the editable TextView's display list.

Selection and cursor changes no longer need to invalidate the
display list, leading to faster rendering.

Change-Id: I3af3a98846e1bfe2d9ec6c42590e71bf3704595e
extView.java
b8b36b8b78e408f8b95cbf1ec7bfd87f30e8da7b 05-Mar-2012 Scott Main <smain@google.com> am dc022a6f: am 08e91352: am 93dc642e: docs: fix misc bugs from external tracker

* commit 'dc022a6f9aa30d9282c4f82c1cc4d1c8bde7e808':
docs: fix misc bugs from external tracker
08e91352169457ac86a2465e4db867971ce14b10 05-Mar-2012 Scott Main <smain@google.com> am 93dc642e: docs: fix misc bugs from external tracker

* commit '93dc642eaf48e3db58c4929df26283fbc5fd663f':
docs: fix misc bugs from external tracker
93dc642eaf48e3db58c4929df26283fbc5fd663f 24-Feb-2012 Scott Main <smain@google.com> docs: fix misc bugs from external tracker

Change-Id: I2be617be23d0ac50baabac561d510633fa9f162a
emoteViews.java
2e9e02fd3319a5952621d03c91e8c0efcd4883cd 03-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Sync of the NumberPicker attributes with the public Java APIs"
72d403ce351e91551324f2c935ea70b487da223c 03-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Sync of the TimePicker attributes with the public Java APIs."
e8331bd2e7ad3d62140143cafba3ff69be028557 03-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Sync of the NumberPicker attributes with the public Java APIs

1. Renamed some attributes to not overlap with already public
ones since they are not dedicated for external use.

bug:6094713
bug:6104108

Change-Id: Iab8a906680ebcaa91f020ffbf55cf603a1071437
umberPicker.java
53b948d3aec62e886bd10da664a07bdaab916b48 02-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Sync of the TimePicker attributes with the public Java APIs.

1. Renamed an attribute which is not mean to be public so
its name is not the same as that of an already public one.

bug:6094713

Change-Id: I3f8b3f3840b88265069d3474be7db04056d219c1
imePicker.java
d56ab1e3a102e06b539c68620460c27e06618f70 02-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Sync of the DatePicker attributes with the public Java APIs."
c49a8be0d2aee5a3d1ff50015a0c0758b0988cfb 02-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Sync of the DatePicker attributes with the public Java APIs.

1. Deprecated two old attributes.

2. Renamed an attribute which is not mean to be public so
its name is not the same as that of an already public one.

bug:6094713

Change-Id: I577a9e191cbd05cd18cb34105dcdbe53c0a5dd1e
atePicker.java
45e96fd28a6f0b6a6526c9af62b083be73385c95 02-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Adding getter/setter for all public attributes in CalendarView."
6435da6119ea6f81d78c3d58f1941e8dd8f8d44d 02-Mar-2012 Adam Powell <adamp@android.com> am d9760a81: am 25517fdc: am 637c50db: am c7e5a2fe: Merge "Fix dividers for LinearLayout (TabWidget)"

* commit 'd9760a813e99670c5bdb05c95ae3bafb58abf897':
Fix dividers for LinearLayout (TabWidget)
637c50db476d9a6cec13551920f7c163fef02ab8 02-Mar-2012 Adam Powell <adamp@android.com> am c7e5a2fe: Merge "Fix dividers for LinearLayout (TabWidget)"

* commit 'c7e5a2fe3042014f78667228a92e41d0a19547fd':
Fix dividers for LinearLayout (TabWidget)
ff37505cb13f96ddec09594517ad6f4fa2fd1def 02-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding getter/setter for all public attributes in CalendarView.

bug:6094713

Change-Id: Iff4a1d903d597ae8a3d74a4e4734376acca417f3
alendarView.java
dd3ef2c573396271c7c3b71e30fbd10cf66d3bc0 02-Mar-2012 Fabrice Di Meglio <fdimeglio@google.com> Improve RTL APIs

- follow changed / reset pattern

Change-Id: I1c5e9b39196029bd78add2ab13b984da124822ca
heckedTextView.java
extView.java
c7e5a2fe3042014f78667228a92e41d0a19547fd 02-Mar-2012 Adam Powell <adamp@android.com> Merge "Fix dividers for LinearLayout (TabWidget)"
b08dee9d38fb73715f17183dbc57b7130796b935 02-Mar-2012 Jean-Baptiste Queru <jbq@google.com> am f09c0c7f: am 93920d79: am a66be970: am 11aa4cc3: Merge "Set width of spinner\'s dropdown to fit on device"

* commit 'f09c0c7f31e72611d91b4ac91ce5a9f019b16083':
Set width of spinner's dropdown to fit on device
592c85cd6c083997ee7f31ecbd52ab67942467d6 01-Mar-2012 satok <satok@google.com> Merge "Handle sentence level spell checking hidden APIs"
8898358bfdf4693af02ad454e1deb8034379ce02 30-Nov-2011 satok <satok@google.com> Handle sentence level spell checking hidden APIs

Change-Id: Ia91f1771c0b8ef458dd5b023f4c372cc36a15657
pellChecker.java
161d9cf9547757e543783bc8d1cc173e1cb0215b 01-Mar-2012 Gilles Debunne <debunne@google.com> Merge "Invalidate text display list on scroll"
fe35a46f56b8d512f2af8d84e381dda52dbaea20 01-Mar-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #5616520 When the device is set to Arabic, and the email application is launched, the guided text is not displayed"
b863419b751e994d78f466374d1eb3d60eba1ef6 29-Nov-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5616520 When the device is set to Arabic, and the email application is launched, the guided text is not displayed

- do correct scrolling when hint is shown

Change-Id: If17a1ffbd4d83bfa601e5ee97d3e73932eb4143c
extView.java
93920d79b7fa57ad941f5dbf33cf15ead6cd7318 01-Mar-2012 Jean-Baptiste Queru <jbq@google.com> am a66be970: am 11aa4cc3: Merge "Set width of spinner\'s dropdown to fit on device"

* commit 'a66be970999c5eec1c8efb46e196f19ae563fc9b':
Set width of spinner's dropdown to fit on device
a66be970999c5eec1c8efb46e196f19ae563fc9b 01-Mar-2012 Jean-Baptiste Queru <jbq@google.com> am 11aa4cc3: Merge "Set width of spinner\'s dropdown to fit on device"

* commit '11aa4cc38b646f62eb22842d7510415b61c2ef84':
Set width of spinner's dropdown to fit on device
6382ade0c7e26c88c4a17f7ee7124ed92b0b8bcc 01-Mar-2012 Gilles Debunne <debunne@google.com> Invalidate text display list on scroll

This is a problem only when using TextView's internal scroll.
Since there was no bug report about this obvious problem, it
looks like most EditText are single ine or located inside of
a ScrollView.

Change-Id: I699ad0078c9df64c70d10c64f0293b404485e05f
extView.java
f17981b33b0359136c0b88a92311a3140be2ba71 29-Feb-2012 Gilles Debunne <debunne@google.com> Merge "Vibrate on long press, even out of text"
95148495fc3d33e4ad4dcbdee83317422db94dbf 28-Feb-2012 SeongJae Park <sj38.park@gmail.com> Set width of spinner's dropdown to fit on device

Commit for issue at
http://code.google.com/p/android/issues/detail?id=25916&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&start=100

[Problem]
Dropdown popup of Spinner become wider than device's width if selected
item's content's width is larger than device's screen.

[Cause]
Spinner just display dropdown popup with measured content's width
although measured content's width is wider than device's screen.

[Solution]
If calculated content's width is wider than device's screen, set width
of spinner's dropdown popup to fit on device.

Change-Id: I3276e5ff745c6ba1437c07fc55645d6b53fef89a
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
pinner.java
3e804a615dda96cc9f79474b01e301d4f3f63c0b 29-Feb-2012 Gilles Debunne <debunne@google.com> Merge "Removed TextAlign in TextView"
9f102ca592e5bca91140c72e0962277d8731f977 28-Feb-2012 Gilles Debunne <debunne@google.com> Vibrate on long press, even out of text

Bug 6073057

Change-Id: I53441f365419aa1ae4d51e03efff46697059d38a
extView.java
69db4df48713d695e40144833c7008020e0720f0 28-Feb-2012 Svetoslav Ganov <svetoslavganov@google.com> am 0c96daa5: am 0c7ffac4: am a2b41b43: NumberPicker showing IME when its input field gains focus.

* commit '0c96daa5d5a1ef778ad1ef4619ef1fa4c30519c6':
NumberPicker showing IME when its input field gains focus.
0c7ffac4caf413bd5fef2002079ec1d4bff2bc37 28-Feb-2012 Svetoslav Ganov <svetoslavganov@google.com> am a2b41b43: NumberPicker showing IME when its input field gains focus.

* commit 'a2b41b438d45570867e4682c0caaf93ace5e712e':
NumberPicker showing IME when its input field gains focus.
a2b41b438d45570867e4682c0caaf93ace5e712e 28-Feb-2012 Svetoslav Ganov <svetoslavganov@google.com> NumberPicker showing IME when its input field gains focus.

1. The NumberPicker was showing the IME if the input field
gets focus and hiding it when the the arrows are pressed.
The leads to a nasty behavior when the input is the first
focusable and the uses presser an arrow button. In such
a case the IME shows and hides on every arrow press pushing
the window content up and down - this looks pretty ugly.
Now the IME is show on double tap of the input field.

2. The NumberPicker input now by default has an IME action
done, hence after editing it the IME goes away.

3. The NumberPicker input now clears focus when it gets
IME action done, so the last picker in a sequence
does not show selection which is focus driven.

4. NumberPicker was incorrectly detecting double tap to
begin edit and it was possble to start edit on singe tap
if the user has double tapped before to start an edit.
Now double tap detection is using the double tap timeout
correctly.

bug:6071977

Change-Id: I0ff5a491064e51663b3abec675d839d0a65b986a
umberPicker.java
528e6dda428f388b7fca4c76696046c0f202f929 28-Feb-2012 Gilles Debunne <debunne@google.com> Merge "Selection highlight made possible with no editor"
0ca95700b170997abd03645e751f9679139fec24 28-Feb-2012 Gilles Debunne <debunne@google.com> Merge "Fix for NPE on long press to start a selection on text."
e7769bc76d01e9b031f65a58129b3e358ebabd3f 28-Feb-2012 Gilles Debunne <debunne@google.com> Fix for NPE when dragging on TextView

Bug 6076166

Change-Id: I52b1e2edc451f0601b71af50e6056dcbe69add43
extView.java
7e07adbcd3bc7e7bb4b32b620a8f96ee97fd4aae 28-Feb-2012 Gilles Debunne <debunne@google.com> Fix for NPE on long press to start a selection on text.

Bug 6075849

Change-Id: Ie07bd2adfecc0820995b9c8a75cd4de6dd9891e1
extView.java
83051b8c75a145a12eca1a021ff1a4fbcc77ba4b 25-Feb-2012 Gilles Debunne <debunne@google.com> Selection highlight made possible with no editor

Bug 6065081

Selecting text programatically is possible (like when a link is highlighted
by LinkMovementMethod) even when the text is not editable.

Also removed the textCanBeSelected text is highlight computation which prevented
links from being highlighted (legacy problem, not reported).
Now that they work, we can see that the highlight is not removed when the text
loses focus. Will be addressed in a different CL.

Change-Id: I673f435966686234b4c0b0a97bcc65abd01169ff
extView.java
d020ebff2ce5cab042a28cc4ca26852fa1143cd8 25-Feb-2012 Adam Powell <adamp@google.com> Merge "Fix bug 6065890 - Correct callback sequence for action bar tab switching"
c4e57e23f99f4cea6fcca870a95f7f20a6edfaf2 25-Feb-2012 Adam Powell <adamp@google.com> Fix bug 6065890 - Correct callback sequence for action bar tab switching

Keep the callback behavior consistent when action bar tabs collapse
into a spinner.

Change-Id: Ia82e55d816a92b7ec746e1d25486bc9d2c0778f4
pinner.java
5265466e8a5453e738713869f61ca45482b85319 25-Feb-2012 Dianne Hackborn <hackbod@google.com> Merge "New development permissions."
5cd164c5cf58047cda39b05a2c4f3cbab2d10078 25-Feb-2012 Gilles Debunne <debunne@google.com> Merge "Fix NPE on Activity start in TextView"
c1e79b45a2fa49cd31eed7437942ba9796495164 25-Feb-2012 Gilles Debunne <debunne@google.com> Fix NPE on Activity start in TextView

Bug 6065279

The selection can be created programatically, and mEditor may be null
when it happens.

Make sure mEditor is created to display the selection highlight.

Change-Id: Idd66a5fd4ad327f9b390b539574e6878c794ba4a
extView.java
9f809c2fd186c7cdb5ed52af4240189298c80ef7 25-Feb-2012 Gilles Debunne <debunne@google.com> Merge "Fix crash on long press in TextView"
f14634e4917dc86a9dfd05cd0d76b530a2d4f392 25-Feb-2012 Gilles Debunne <debunne@google.com> Fix crash on long press in TextView

Bug 6058792

Glitch in mEditor handling

Change-Id: I9b68796d5038c20d190ba5fbdaff1608b36aaee6
extView.java
b98a81f86ab87f1d718f329f03256111fdabd8d1 24-Feb-2012 Adam Powell <adamp@google.com> Add support for optional titles in action modes

Optional titles will only be displayed in the CAB if they entirely fit
instead of ellipsizing.

Fixes bug 5821883

Change-Id: I0cfd6d4fd34a4fa9f520499d577706da30606811
extView.java
e639da7baa23121e35aa06d6e182558e0e755696 22-Feb-2012 Dianne Hackborn <hackbod@google.com> New development permissions.

These are permissions that an application can request, but won't
normally be granted. To have the permission granted, the user
must explicitly do so through a new "adb shell pm grant" command.

I put these permissions in the "development tools" permission
group. Looking at the stuff there, I think all of the permissions
we already had in that group should be turned to development
permissions; I don't think any of them are protecting public APIs,
and they are really not things normal applications should use.

The support this, the protectionLevel of a permission has been
modified to consist of a base protection type with additional
flags. The signatureOrSystem permission has thus been converted
to a signature base type with a new "system" flag; you can use
"system" and/or "dangerous" flags with signature permissions as
desired.

The permissions UI has been updated to understand these new types
of permissions and know when to display them. Along with doing
that, it also now shows you which permissions are new when updating
an existing application.

This also starts laying the ground-work for "optional" permissions
(which development permissions are a certain specialized form of).
Completing that work requires some more features in the package
manager to understand generic optional permissions (having a
facility to not apply them when installing), along with the
appropriate UI for the app and user to manage those permissions.

Change-Id: I6571785c6bb5f6b291862b7a9be584885f88f3a5
ppSecurityPermissions.java
29382d9d9d03553dfbc235d32d27be13b4c76c5f 23-Feb-2012 Adam Powell <adamp@google.com> Bug 6058721 - optimize changing checked states in AbsListView

Instead of treating a checked state change as a full data set change,
simply modify the checked or activated state of on-screen views.
Any resulting layout changes will be serviced as appropriate.

Change-Id: Ia846de16bbc54f0729608259aa4b530da9404245
bsListView.java
812c6235635023ee68f57594f651607339160ad5 23-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am ad3102d0: am f3d94b44: am a91b052e: am fc24982a: Merge "Call onTimeChanged when AM/PM changed."

* commit 'ad3102d06bc6060f739e0803d0e45dec8020703b':
Call onTimeChanged when AM/PM changed.
c29f031598811486d83f418fd08fbfe1fc41788a 23-Feb-2012 Philip Milne <pmilne@google.com> Fix for bug 6050753.

The method:

TypedArray: getLayoutDimension(int, String)

throws an undocumented exception when either the width and/or height
attributes are undefined.

See the bug report above for reasons why this was deemed unhelpful both
in the tools area and to developers in general.

Fix by:

1. Documenting the conditions under which the method raises an exception.
2. Deprecating the method, advising callers to supply a default instead.

Additionally, redefine the:

ViewGroup: setBaseAttributes(TypedArray, int, int);

methods to provide the appropriate defaults in ViewGroup subclasses as
advised above.

For the platform layouts the default value is WRAP_CONTENT (and is
defined in the ViewGroup.LayoutParams class). The special cases
are accomodated in LayoutParams subclasses in the following cases:

Subclass width height

FrameLayout.LayoutParams: MATCH_PARENT, MATCH_PARENT
TableLayout.LayoutParams: MATCH_PARENT, WRAP_CONTENT
TableRow.LayoutParams: MATCH_PARENT, WRAP_CONTENT

Change-Id: I335a3bd8e2d7f7866692898ed73492635a5b61ea
rameLayout.java
adioGroup.java
ableLayout.java
ableRow.java
1eec6804d2d7aee3ac315c471b07606c51aa008c 22-Feb-2012 Romain Guy <romainguy@google.com> Merge "Reduce logs"
9c10ab03cd6a35fca9eec617b9bd444d13544b99 22-Feb-2012 Romain Guy <romainguy@google.com> Reduce logs

Change-Id: I2768972ec62f4d3ad800a4d7a4c44307a2fa0105
ableLayout.java
5ca6f9e56fa7256f355f1881e19e7ec5c805a693 22-Feb-2012 Gilles Debunne <debunne@google.com> Merge "EditText-specific data extracted from TextView"
978a8ff842d400249b1e0de4217913fb972cb2db 22-Feb-2012 Gilles Debunne <debunne@google.com> Removed TextAlign in TextView

This value is not assigned anymore.

Change-Id: Ic86a38acb870994ebe77a817b61aa618813e3788
extView.java
60e2186c354c30b2f75ed0ef1ba75181bd32afda 31-Jan-2012 Gilles Debunne <debunne@google.com> EditText-specific data extracted from TextView

All edit-specific data has been moved to an EditData inner class in TextView.

The instance of this class is created as soon as one of its fields is set to
a non-default value. Regular TextViews (buttons, checkboxes...) should never
have to instantiate the Editor, thus reducing their memory footprint.

Note: this is a debug version. The getEditor() method is here to track
possible problems and should be removed in the final version. Indentation
will be fixed then.

Next step is to extract more methods and classes into Editor and create a
dedicated class for it. mMovement may also be Editor specific.

Change-Id: Ic241953a2fb73213180f300c3609a9e6799aa884
extView.java
36a5822484860d8a66639f1d01387c7b545ffad9 22-Feb-2012 Gilles Debunne <debunne@google.com> Merge "Added bottom padding in textview's focused rectangle"
aebd28f729fa28016d70551d0372ab7fcd56ee1a 22-Feb-2012 Adam Powell <adamp@google.com> Fix bug 6048643 - verify ListView layoutparams while tracking stable IDs

Account for adapters that don't inflate item views using the ListView as
a parent.

Unify how AbsListView and subclasses generate layoutparams.

Change-Id: I963a5fcb4d98b721210a4d92d0db307f56acdf59
bsListView.java
ridView.java
istView.java
322044abe4affc29999398663007c57f664bc4fa 22-Feb-2012 Gilles Debunne <debunne@google.com> Added bottom padding in textview's focused rectangle

Bug 6017386

Focused rect in used in ViewRoot when a new view takes focus.
TextView bringPointIntoView defines an other rectangle as text is typed.

Make sure the latter is included in the former to avoid the jump when one
starts typing text.

Change-Id: I0177adc046c77a5fd9c1423c0069d5b9798dc0b9
extView.java
d404fe110558bd2e1960b428db6a2ee8bfd040cd 21-Feb-2012 satok <satok@google.com> Refactor sentence level spell checking APIs

Support sentence level spell checking APIs: Step 1

Change-Id: I31c0b88e7885f33a0694ab60b8f2dbceeffe42f1
pellChecker.java
a91b052e16196436fcd3a24caa894718db4d10d6 21-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am fc24982a: Merge "Call onTimeChanged when AM/PM changed."

* commit 'fc24982a44d2b2b678fe5aa212b2e709d10e6413':
Call onTimeChanged when AM/PM changed.
539ee8716b4f81260bab2e9f3dc5d88d81c99985 04-Feb-2012 Adam Powell <adamp@google.com> Add transient state tracking to Views

Transient state is temporary bookkeeping that Views need to perform
that the app should not need to be aware of. Examples include text
selection regions and animation state.

Transient state is a problem for AdapterViews like ListView that do
view recycling. Unless the app takes responsibility for tracking and
restoring transient state as if it were a part of the adapter's data
set, it cannot correctly recycle views. Selections disappear when an
EditText is scrolled out of sight and animations seem to play on the
wrong views.

Views can now flag themselves as having transient state. (As the name
implies, this should be a temporary condition.) If a ViewGroup
contains a child with transient state, that ViewGroup also has
transient state.

AbsListView's recycler now tracks views with transient state
separately. Views with transient state will be retained, and until a
data set change occurs the same view will be reused for that position
instead of calling the adapter's getView() method.

The API to set and check transient state is currently hidden.

Change-Id: Idfd8eaac2c548337686d8d9f98fda4c64be5b8a0
bsListView.java
dgeEffect.java
ridView.java
istView.java
6917e6550d2dc11ad3b794be08cc9caa53970d32 18-Feb-2012 Romain Guy <romainguy@google.com> Merge "Record possible clip rejects when recording display lists"
33f6beb10f98e8ba96250e284876d607055d278d 17-Feb-2012 Romain Guy <romainguy@google.com> Record possible clip rejects when recording display lists

This optimization allows us to quickly skip operations that lie
entirely outside of the known bounds of a display list. Because
of ViewGroup.setClipChildren, we must keep the operations recorded
in the display list. setClipChildren(false) is however a very
uncommon operation and we will therefore often benefit from this
new optimization.

Change-Id: I0942c864e55298e6dccd9977d15adefbce3ba3ad
extView.java
580d079101ef69e562ba491b33ecf4672fb10e58 17-Feb-2012 Philip Milne <pmilne@google.com> Merge "Fix remaining issue with bug #5904777"
50eb3b9bf9bf0b014ad19066951b6c1dffd4e3f3 17-Feb-2012 Jeff Brown <jeffbrown@google.com> Merge "Encapsulate the ViewRootImpl's handler."
6216e87fe8ad3273855233965b34049d22763e94 17-Feb-2012 Philip Milne <pmilne@google.com> Fix remaining issue with bug #5904777

LEFT alignment in an RTL environment had the wrong 'gravity'.

This was due to a modelling error in GridLayout which is fixed in this CL.

Also apply some very minor simplifications and refactorings following the
addition of RTL support.

Change-Id: I153bc06d3c22dcb9954e4cbdfa89625823239b89
ridLayout.java
6d3d5057b445069e73fd06adbc11fa412e7c48c3 16-Feb-2012 Fabrice Di Meglio <fdimeglio@google.com> Improve textDirection APIs

Change-Id: I8bff30f5adb0ab4077145d83ac4a716e04f289ac
extView.java
23677064730117feefff3d477ecf5f93baf28704 16-Feb-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add View.onResolvePadding() as a public API"
a175a5b7ea3682cb58cca7f9726d0b8171cd549d 16-Feb-2012 Jeff Brown <jeffbrown@google.com> Encapsulate the ViewRootImpl's handler.

This change makes it much easier to make sense of the messages that
get posted to the ViewRootImpl's handler by encapsulating their point
of dispatch within the ViewRootImpl itself.

As part of this change, the View.AttachInfo now carries a reference
to the ViewRootImpl itself, which simplifies some code that used
to try to find the ViewRootImpl by getting the root view's parent.

In principle, it might have been nice to hide the ViewRootImpl from
the View hierarchy but in practice the two were coupled in many ways.

Change-Id: I51ebccdf5f8c8c505cd6f17cdf594174d041dc54
extView.java
oomButtonsController.java
8963822068a43738dce3a4a799a73ea99487298e 16-Feb-2012 Romain Guy <romainguy@google.com> Merge "Prevent AutoCompleteTextView from opening a popup when it shouldn't Bug #5553515"
c27cc01f6abf8564dc9b7b6cd7f2a12a347f725d 16-Feb-2012 Romain Guy <romainguy@google.com> Prevent AutoCompleteTextView from opening a popup when it shouldn't
Bug #5553515

The People app is forcing ACTV to show the IME which had the side effect
of showing the drop down popup. ACTV was unfortunately not ready to show
the drop down if the filtering resulted in no results. Doing so was putting
ACTV in a weird state that in turn caused a window to be leaked and really
bad behavior to occur in the lower graphics levels.

Change-Id: I2ff146d5ae4e4a28edf6ea17039c9f8fdb710e4f
utoCompleteTextView.java
ccb1562e90d955416b9096d802464e37925486ef 16-Feb-2012 Fabrice Di Meglio <fdimeglio@google.com> Add View.onResolvePadding() as a public API

- following a comment from Dianne on this CL:

Change-Id: Ifa11d6ac423f205d0684297d25885eac1a89f279
https://android-git.corp.google.com/g/#/c/123009/1
heckedTextView.java
5e78d9bea5bddbf200b4349d445c7d6cc4383e20 15-Feb-2012 Gilles Debunne <debunne@google.com> Invalidate display list on alpha change

Bug 5945886

Change-Id: Ibab3ad2c9e526c038672699b571de154dfc8d17c
extView.java
626c3169755bdc51bf544b5625ea7704386ff7e3 15-Feb-2012 Gilles Debunne <debunne@google.com> Display list invalidated on hint text change

Bug 5993119

Change-Id: I750e73cb5c26e2aaa2a88a80cf35c4d471c30403
extView.java
f821ce7522ad99dc30e59e0266165f5eba79b1e2 17-Jan-2012 SeongJae Park <sj38.park@gmail.com> Call onTimeChanged when AM/PM changed.

Commit for issue http://code.google.com/p/android/issues/detail?id=24388

[Problem]
TimePicker doesn't call handler's onTimeChanged when AM/PM changed on
ICS althou it does on Gingerbread.

[Solution]
Call onTimeChanged as like as Hour/Minutes does.

Change-Id: I9911c351874168001b69c186f012836fc51285f5
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
imePicker.java
07ba2a2131abb4939d5b71ba27dcb68b2bba9255 14-Feb-2012 Gilles Debunne <debunne@google.com> Minor typo fixes

Change-Id: I8cd9500cc50b7a484bf387e6a6a0c9b4ffb175a4
pellChecker.java
d7dd89095ff2041f0793317c4ee8e8be49388148 27-Jan-2012 Philip Milne <pmilne@google.com> New hooks to allow layouts to improve their performance by doing more caching

This change allows layouts to be notified of changes to LayoutParameters that have occurred
between layout operations.

If an assignment is made to the fields of LayoutParams instances that are already in use,
cachced data may become inconsistent with the new values. For complex layouts, like
GridLayout, in which the layout parameters define the structure of the layout, caching
could have caused ArrayOutOfBoundsException to be raised without this change. This case is
rare in normal code as initialisation is typically performed once. Its nevertheless possible
and much more likely in environments like design tools where layout parametrs may be being
edited on the fly.

Prevent errors as follows (belt and braces):

1. Change javadoc to request that changes to the fields of LayoutParams be accompanied with
a call to View.setLayoutParams(). (This calls requestLayout() which was what the previous
javadoc advised.) Provide a (for now, private) hook for layouts with caches to receive notification
of such calls so they can invalidate any relevant internal state.

2. For GridLayout, we cannot clone layout parameters as traditional Java grids do without retaining
two complete copies because of the public getLayoutParameters() method on View. Retaining two
copies is wasteful on constrainted devices. Instead, we keep just one copy and compute a hashCode
for the critical fields of a GridLayout's layoutParams. The hashChode is checked it prior to all
layout operations; clearing the cache and logging a warning when changes are detected, so that
developers can fix their code to provide the call to setLayoutParams() as above.

Change-Id: I819ea65ec0ab82202e2f94fd5cd3ae2723c1a9a0
ridLayout.java
47d248eb438674ab0ca10154f3ff5e88f4ed70b7 09-Feb-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5904777 GridLayout should be RTL aware

- update also DEBUG mode for taking care about RTL
- one minor issue remaining: left alignment is not properly honored in RTL

Change-Id: I9a4c8413cb1189a032649472016994642418637b
ridLayout.java
c067717c1e4e25c511c3712e213c6f0ce2451d57 08-Feb-2012 Gilles Debunne <debunne@google.com> Merge "Invalidate text display list when text properties change."
132bda1cffcb28aab9b84f58dab9955257733ffc 08-Feb-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5979311 Change TextView to not clip top/bottom text

Change-Id: I40a2ef40e540f20a9f626ab2e4e6e39fd062c9fe
extView.java
2e85274d26c52f8df517e7e327eb78340c8c552f 08-Feb-2012 Gilles Debunne <debunne@google.com> Invalidate text display list when text properties change.

Bug 5887530, Bug 5945886, Bug 5904371

Added more invalidation when other properties of the text are changed.

Change-Id: I618dbaae9da64bf72dd29e444215b7de1c644573
extView.java
041a434d38c098848c0472bd6d89c55fd96d1ac3 03-Feb-2012 Adam Cohen <adamcohen@google.com> Merge "Handle null PendingIntents, Bitmaps, Uris and Intents in RemoteViews (issue 5223291)"
c6151f2369d92e7725d30d13c62b64cff49285a6 03-Feb-2012 Adam Cohen <adamcohen@google.com> Handle null PendingIntents, Bitmaps, Uris and Intents in RemoteViews (issue 5223291)

Change-Id: If8895b774dee6ba4138751a0c2f68c70402b3fa5
emoteViews.java
2d8b0170bff5076df7a39e6d01e407accec5f779 02-Feb-2012 Adam Powell <adamp@google.com> Fix bug 5339708 - edge case in ListView focus restoration

Some apps have managed to hit this edge case in monkey runs. In
layoutChildren an attempt to findFocus() fails when items are
focusable. When ListView attempts to restore focus to this view,
bad things happen.

Change-Id: Ie8bb1bab847898e342c16fbe3ff1a6153d6f69df
istView.java
0aa8f3b8db3eb97f53dc7fe8f09d5b983300417c 31-Jan-2012 Scott Main <smain@google.com> resolved conflicts for merge of 20d06540 to master

Change-Id: I80da9a11b4538c070b0000cfa3ea6cd865e46aef
644053466018c08e326787b909a76355bad1dd30 31-Jan-2012 Scott Main <smain@google.com> docs: fix typos and clarify some grammar in summary
external issue 21548

Change-Id: Ic38921cb64390b42651f3971efeb4b76101dfc14
umberPicker.java
1e56fff3b90946b342ddabf68648dc3551ce47db 31-Jan-2012 Romain Guy <romainguy@google.com> Merge "Add debug markers to OpenGLRenderer"
13631f3da855f200a151e7837ed9f6b079622b58 31-Jan-2012 Romain Guy <romainguy@google.com> Add debug markers to OpenGLRenderer

These markers will be used to group the GL commands by View in the
OpenGL ES debugging tool. This will help correlate individual GL
calls to higher level components like Views.

Change-Id: I73607ba2e7224a80ac32527968261ee008f049c6
extView.java
e62beb5c20c18beec5bee5ff0a9d84067949c36d 31-Jan-2012 Gilles Debunne <debunne@google.com> Removed SoftInputShownOnFocus methods in TextView

Not used by Phone, for which it was initially created.

Change-Id: I0cad668f894e88cda0a410005aaf6b6c0b89dc3e
extView.java
a82173305991a24bc1400149b41bb998a6f50b38 30-Jan-2012 Gilles Debunne <debunne@google.com> Merge "Remove onPreDrawListeners earlier in TextView"
0d29936ec3b5545a415e8d032150ea987aab36e3 26-Jan-2012 Chet Haase <chet@google.com> Fix bug in LayoutTransition for INVISIBLE views

When a view is becoming VISIBLE or INVISIBLE in a container with a
LayoutTransition, animations run to fade the view in and out and also
to run 'changing' animations on the view's other siblings. This logic
also cancels any running 'changin' animations to account for new ones
running.

However, in the specific case of INVISIBLE changes, there will be no
layout changes in the container - layout has already accounted for that
view (unlike in the case of GONE views); the visibility is just a matter of
drawing the view (or not). Therefore, we're canceling 'changing' animations
that should continue running and not replacing them with any other animations,
since new animations would only be started on layout chnages which are not
forthcoming.

One artifact seen from this bug is that the navigation bar buttons sometimes
disappear when changing orientation. This is because the menu button may
toggle between VISIBLE and INVISIBLE, causing animations on the other
buttons to get canceled, which leaves those views in a completely wrong
state.

The right thing to do is to avoid canceling in-process 'changing' animations
and to skip the logic of setting up new 'changing' animations which won't fire
anyway.

There is some minor API work in here because we did not previously have the
necessary information in LayoutTransition to know whether a view was being
hidden or shown to/from the INVISIBLE state.

Issue #5911213: LayoutTransitions ending in an odd state

Change-Id: I5c60c8583c8ea08965727b4ef17b550c40a3882c
ridLayout.java
2e37d6292658e5f481e7173f98e95fee28986c49 27-Jan-2012 Gilles Debunne <debunne@google.com> Remove onPreDrawListeners earlier in TextView

Bug 5556478

Launcher pre-populates its all apps and widget pages with their
content, which includes text. The layout calls some onMeasure methods
that trigger TextView's registerForPreDraw(), which in turns adds a
listener in the ViewTreeObserver.

However, some of these pages may never be actually displayed, leaving
the listeners in the list since onDraw() is never called.

As a result, every frame displayed by launcher is slowned down by this
array copy of 6-18 listeners.

The problem is not Launcher specific since other applications may use
a similar caching mechanism.

The solution is to unsubscribe the listener in onPreDraw.

The drawback is that several successive calls to registerForPreDraw() will
add/remove the some listener object. However, these calls are rare and are
relatively cheap since we're just adding the object in and out of an
ArrayList which should not need to change its size.

Change-Id: Ifb65655a27e302d31a2ad622d18f839aec99689e
extView.java
566e8baf43a08b1000b8c4c24fb14fe94e46394d 27-Jan-2012 Gilles Debunne <debunne@google.com> Merge "Fix for IOOB when suggestions have disappeared"
ea1181220deaf1820fb5cc13247d5e976b5543d4 27-Jan-2012 Gilles Debunne <debunne@google.com> Merge "Handle tap and move cursor before showing suggestions"
e93c51713c440d572913292926c6e606edd6c64d 26-Jan-2012 Gilles Debunne <debunne@google.com> Merge "Modified algorithm to remove duplicated suggestions"
7af1f9669b98020f83aa5278bb173550053b53d3 26-Jan-2012 Gilles Debunne <debunne@google.com> Fix for IOOB when suggestions have disappeared

This new test is required since the suggestion popup is now triggered by a
Runnable. We have to make sure there is still at least one SuggestionSpan
at that position.

Change-Id: I5c84ba0ca412f51a0201bee5c2e63b5bd3717338
extView.java
868121f29601657baeecff541ef6096257fa082c 26-Jan-2012 Gilles Debunne <debunne@google.com> Handle tap and move cursor before showing suggestions

Otherwise the suggestions do not correspond to the tapped location.

Change-Id: Id0bd87931e73513ca7e50c6212a17b0fc7d6179d
extView.java
6e0b22bea91398403ea500360b02ff2fc7a03d00 25-Jan-2012 Gilles Debunne <debunne@google.com> Modified algorithm to remove duplicated suggestions

Bug 5916225

Duplicates were removed when received from SpellChecker, in a way
that could move the top candidates lower in the list.

Moved that code to the part that creates the actual suggestion list,
to make it more generic. The order of the first SuggestionSpan is
guaranteed to be respected.

Also mentionned non null suggestions and fixed a problem in SuggestionSpan
constructor.

Change-Id: Iaa3b1b84ae512451e439e5c5e63448c2a19145b5
pellChecker.java
extView.java
954325ed26e3d04fcff45e971d12c8657565b6b2 25-Jan-2012 Gilles Debunne <debunne@google.com> TextView's display list updated on layout

Bug 5903021

We need to invalidate the DL at anytime the layout is changed.

Change-Id: Ief06c988b88cdf1b35fe8ce9bac1243326ea44c4
extView.java
f43305fb057e0818db456065fba9698e2163a762 25-Jan-2012 satok <satok@google.com> Do not spell check when the keyboard language is not supported by the current spell checker

Bug: 5787064
Change-Id: I54a3955220bbe3dae999f6634ccd734e658e45c0
pellChecker.java
3ad774667d33524d2d6d1472ded15f2c6d6f541d 25-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Fixing a typo in the NumberPicker documentation."
7caffbcd6a80e86901c4618c4acb0f1872d73022 25-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "NumberPicker should not throw an exception if no enough values for wrapping."
08a9e9f20abebf3ba47139dd225da1d0fef8ee84 24-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> Fixing a typo in the NumberPicker documentation.

Change-Id: I3a76923d468ddd01cd1ed5521992479cee82c6f0
umberPicker.java
37e800d6883436a477f013f2f329d1ed296ef3bb 24-Jan-2012 Adam Powell <adamp@google.com> Merge "Update ShareActionProvider to clear the sharing activity when the task is reset."
15a7bc62e1ca0727781853adbaee1ae52e464b57 24-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Removing unused imports and swiching off deprecated APIs"
aa47a6b35a209812212fcd4ed7b600557ab66f0a 24-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> Removing unused imports and swiching off deprecated APIs

Change-Id: I08fd2c17bcad42f0216b140c0511f48a782c8018
ctivityChooserView.java
314419ccb9daa215c5148f59e5b60c696ef51385 24-Jan-2012 Adam Powell <adamp@google.com> Update ShareActionProvider to clear the sharing activity when the task
is reset.

As per platform guidelines, when launching a sharing activity the Intent
flag FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET should be used.

Change-Id: I30bd3d20eb75aee7943b681dc2d9c7f44a04e919
ctivityChooserView.java
hareActionProvider.java
3f9c9eab7b41c409c3c7b503b89ad340e408b6a0 24-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> NumberPicker should not throw an exception if no enough values for wrapping.

1. The selector wheel was throwing an exception if a client requires that it
wraps its selector wheel if the number of values is less that the number
of values shown in the wheel. While wrapping makes no sense if the all
possible values are already shown, we should not throw an exception,
rather to ignore the request.

bug:5911190

Change-Id: Icd90cd39f66d9f39939801752bf1eb1eef8fe757
umberPicker.java
a54b9641cd832a4bbe6a3e8d0e4cb77449c92a76 24-Jan-2012 Gilles Debunne <debunne@google.com> Merge "Restored selectAllOnFocus"
cbe2f48d3f12a8189509314e098e04ecbce7c810 24-Jan-2012 Adam Cohen <adamcohen@google.com> Merge "Fix issue 5905210, AdapterViewAnimator sending negative index to Adapter"
d0c735fccc904366ded657263c33bb15475a1123 24-Jan-2012 Adam Cohen <adamcohen@google.com> Fix issue 5905210, AdapterViewAnimator sending negative index to Adapter

Change-Id: I6c1a3c17f1009d9512328f5844e17025f95a216c
dapterViewAnimator.java
4bb2833fa62d57d62a78d662bf937b19dde31ba7 24-Jan-2012 Gilles Debunne <debunne@google.com> Restored selectAllOnFocus

Bug introduced in recent refactoring
https://android-git.corp.google.com/g/#/c/158896/

Do not move cursor when selectAllOnFocus and focus just happened.
The didTouchFocusSelect() condition was not copied over from ArrowKeyMM.

Change-Id: Id01d225c436ae3dd97c5d77d5dac5d0690d7de76
extView.java
822b8f0cfae35958ee8d7e6e7cdd021f86c22879 18-Jan-2012 Gilles Debunne <debunne@google.com> Double tap to select enabled on suggestions

Using a runnable to schedule the action, interrupted by any other
touch event, enabling a catch of a double tap to trigger text selection
instead.

Change-Id: I21f8b9fdfad0036d6970f5dbfe6d72dd3eff35a1
extView.java
2f9510ca50b0fd2925bc7e349f76136ed403a386 20-Jan-2012 Gilles Debunne <debunne@google.com> Merge "Touch moves cursor in text refactored"
1d98303ab6141af57dc841115486d9795fc94d02 20-Jan-2012 Gilles Debunne <debunne@google.com> Merge "AOOB in AutoComplete"
92db51938f6dac6227ab362e851858bc848efd9e 20-Jan-2012 Gilles Debunne <debunne@google.com> Make sure text selection always starts

When text can indeed be selected, we should always initiate
a text selection on long press. When the WordIterator fails
(for instance if the text is entirely made of punctuation
characters, maybe also with foreign languages), we select
one character.

Change-Id: I842507f7cbaed9a924d3176ea8ed6586f3548366
extView.java
004b02d62605c172c3c9a332a22356cd4edf3598 18-Jan-2012 Gilles Debunne <debunne@google.com> Touch moves cursor in text refactored

Code was moved back from the movement method to the touch event code in TextView.

Change-Id: I7dc0d957554ddce08e810d20e0385f98802ef1a4
extView.java
b3ca0fe66c1def11a04b18e6872318deb0340b9b 19-Jan-2012 Gilles Debunne <debunne@google.com> Merge "Touch slop added to double tap detection"
bdf7f9658044d4c55c4826a88a41822045557ee5 19-Jan-2012 Gilles Debunne <debunne@google.com> Merge "Fixes around extract mode"
f0d3b7ff72511c9f6b9bf228e5b14ba6a2e35f34 19-Jan-2012 Gilles Debunne <debunne@google.com> AOOB in AutoComplete

Bug 5749557

Not clear how we can get an AOOB in that case.
tmp will always have the right length, and indeed the stack
trace attached to that bug shows a correct size of 10.

However, there is an index issue when we build the new
completion array. i is not the correct index to use.

Note however that the original buildDropDown method mentioned
is no longer present in the file. I tried to backtrack, but
the use of arraycopy always seemed correct.

Change-Id: Idf749c74b38923b5d18596c8e8f6ea887cc897d6
utoCompleteTextView.java
c171402318c1d71df961221f4ed1660fbedd08cc 17-Jan-2012 Gilles Debunne <debunne@google.com> Touch slop added to double tap detection

Similar to what is done in GestureDetector

Removed all gesture constants. Only one one them is used on MOVE
(added an early exit test), the 2 others on UP or DOWN where
performance is not such an issue.

Change-Id: Icd58ead5078f94f86786f934ddf81aa5ec9bf549
extView.java
0764dee89cc82dd53196cce2865d3cabafed208f 18-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "AccessibilityEvent/AccessibilityNodeInfo class name property should be set to only framework classes."
792840d48a70888942df41bbf7c531b14ef14792 18-Jan-2012 Adam Cohen <adamcohen@google.com> Merge "Hinting RemoteViewsAdapter as to which views are visible"
b967392e0170af8cfd8053fd43fcdf8c46f703e9 05-Jan-2012 Adam Cohen <adamcohen@google.com> Hinting RemoteViewsAdapter as to which views are visible

-> This prevents collection widgets from flashing loading
views when they are updated with new content

Change-Id: I1241ff9a09edfd990ad03f76449d18b9359246b4
bsListView.java
dapterViewAnimator.java
ridView.java
istView.java
emoteViewsAdapter.java
20761fcdcd513a808e855708fe2e676e409beb36 17-Jan-2012 Vladimir Baryshnikov <vovkab@gmail.com> Fix dividers for LinearLayout (TabWidget)

child.getTop()/child.getLeft - already contains offset for divider height/width,
so we need to subtract it, otherwise divider will be drawn behind the child.

Change-Id: Idd6e5aa4b20e84c64daaefdf393bc00fafb26c45
Signed-off-by: Vladimir Baryshnikov <vovkab@gmail.com>
inearLayout.java
8a78fd4d9572dff95432fcc4ba0e87563415b728 17-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> AccessibilityEvent/AccessibilityNodeInfo class name property should be set to only framework classes.

AccessibilityEvent and AccessibilityNodeInfo have a property className which is set to the source
Java class. This is problematic since leads to leaking private classes which would allow an
accessibility service to load classes from other packages. This is strongly undesirable since
not trusted code can be loaded, and hence executed, in the accessibility service. To address
that the class name is set to the most concrete framework class extended by the info/event
source.

bug:5878943

Change-Id: I7b3114ece8772ea2773f5151e21b8a6f2006882a
bsListView.java
bsSeekBar.java
bsSpinner.java
dapterView.java
dapterViewAnimator.java
dapterViewFlipper.java
utton.java
alendarView.java
heckBox.java
heckedTextView.java
hronometer.java
ompoundButton.java
atePicker.java
igitalClock.java
ditText.java
xpandableListView.java
rameLayout.java
allery.java
ridLayout.java
ridView.java
orizontalScrollView.java
mageButton.java
mageSwitcher.java
mageView.java
inearLayout.java
istView.java
ediaController.java
ultiAutoCompleteTextView.java
umberPicker.java
rogressBar.java
uickContactBadge.java
adioButton.java
adioGroup.java
atingBar.java
elativeLayout.java
crollView.java
earchView.java
eekBar.java
lidingDrawer.java
pinner.java
tackView.java
witch.java
abHost.java
abWidget.java
ableLayout.java
ableRow.java
extSwitcher.java
extView.java
imePicker.java
oggleButton.java
woLineListItem.java
ideoView.java
iewAnimator.java
iewFlipper.java
iewSwitcher.java
oomButton.java
oomControls.java
14568c3f76cc4d3ad75dfd0206a3dc2130135c58 14-Jan-2012 Gilles Debunne <debunne@google.com> Fixes around extract mode

Stop selection mode after Edit/Copy while in extracted mode.

The selection mode was started by a long press in the ExtractedEditText.
Selection Copy in the menu simply sends the id to the context menu.
SelectionMode is not stopped in the underlying text since it was not
started there. Stop it directly in the ExtractedEditText.

Cut and paste do stop the mode because the text is modified.

Change-Id: Id7dbfa99de404c4eb85ced9627c99af4895ac628
extView.java
b35ab7b72967adcfd01cec483a705dafe8b951d1 06-Dec-2011 Gilles Debunne <debunne@google.com> Sub display list in TextView

TextView uses a sub-display list to 'cache' the rendering of its
text. This saves time when drawing an editable text, where the blinking
cursor forces a re-draw twice per second, which creates pauses during
scrolling.

Added a sub-display list invalidation when an appearance span is
modified/added/removed.

Also added an invalidation of the display list when selection range
is changed.

Change-Id: I41e8068a12902b8a745c5bb77de8c77def76a270
extView.java
7d5178e9fbfe6fa8d473ecb7848fba05e90134bd 09-Jan-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add textDirection="locale""
bc5d876df0856e027f1e2cfce91cbdedb6aaf66f 07-Jan-2012 Romain Guy <romainguy@google.com> Avoid allocating when performing the measure/layout passes

Change-Id: I94faa9167d632ff5a1d05f795a2c4dcc0f02348c
elativeLayout.java
9cd7bde1ff872801a3c56620f8e5b40b7d5cba01 07-Jan-2012 Marco Nelissen <marcone@google.com> New UX calls for dialogs without titles.

b/5753055

Change-Id: I86ba0f937f71db56b3ea77752b2b30929b791a04
ideoView.java
4c1e00a8c29e532a5b0fce755bead691797eff94 06-Jan-2012 Fabrice Di Meglio <fdimeglio@google.com> Add textDirection="locale"

- also fix and update unit tests
- see bug #5242821

Change-Id: I29e029bab8ade336a430f9a2a5073caaf11b8dda
extView.java
2b072677538de979961b5bf527109fdab1713731 23-Dec-2011 Joe Fernandez <joefernandez@google.com> am 201469f5: am bb7f590a: Merge "docs: Add developer guide cross-references, Project ACRE, round 4" into ics-mr1

* commit '201469f54522436be79d4d6665721049bfc74320':
docs: Add developer guide cross-references, Project ACRE, round 4
3aef8e1d1b2f0b87d470bcccf37ba4ebb6560c45 20-Dec-2011 Joe Fernandez <joefernandez@google.com> docs: Add developer guide cross-references, Project ACRE, round 4

Change-Id: I1b43414aaec8ea217b39a0d780c80a25409d0991
earchView.java
cd76a4da3e95ae213b6a25418f43ff57d905ce2e 20-Dec-2011 Gilles Debunne <debunne@google.com> Merge "Rationalize blinking cursor test."
baea244a9fadd6fc30c1491085d01e1fe30f8ca4 20-Dec-2011 Chet Haase <chet@google.com> Fix ViewAnimator.getDisplayedChild() bug

Adding a view above the currently displayed child in a ViewAnimator
will cause the displayed child index to become stale, because it is
not incremented to reflect the new position of the currently displayed
view. This fix adds logic to the addView() override to increment the
index correctly.

Change-Id: I9c756ce51a8e8dcbeef8f0e4fbb3704482c21e9d
iewAnimator.java
545c4d44389f189f7dda68f8e0f54d3b90ad98a6 29-Nov-2011 Gilles Debunne <debunne@google.com> Rationalize blinking cursor test.

Moved full test into shouldBlink() to make the condition consistent.

Change-Id: Id8abf38e180e1a00eb132476f102361f0feb56da
extView.java
6e87ecbb1db883aa60aeb37b059f066974220d2b 14-Dec-2011 Gilles Debunne <debunne@google.com> am 2450b36a: am 19636dc4: Merge "Do not spell check the foreground ExtractEditText." into ics-mr1

* commit '2450b36a3696bc5afdf2a0f2af8b2008efb8a7b0':
Do not spell check the foreground ExtractEditText.
770f0fa92e0745c523be466e3520d22f51e28bb1 13-Dec-2011 Gilles Debunne <debunne@google.com> Do not spell check the foreground ExtractEditText.

Bug 5755099

In extracted text mode, we spell check the background and the foreground
edit text. All changes in the background are already propagated to the
foreground, and updates on the foreground may trigger a spell check
of the entire text since we use setText.

Change-Id: Ie44c3d9113258082ac6df5890851d0e21c702ea2
extView.java
249d1e827a7ffe2a034130d05e18c7b521b0de9b 13-Dec-2011 Gilles Debunne <debunne@google.com> Re-synced MR1 and master for SpellChecker

Some auto-merges got lost, re-syncing master with the latest
and greatest from MR1.

Change-Id: Ifc0b5d1fd2e11e68d219c3f491f37d4c047579a0
pellChecker.java
extView.java
a4b1b8ab3c240efe82d1018a54277f16dc03a8fa 13-Dec-2011 Gilles Debunne <debunne@google.com> am 7ffadba5: am 1fb90497: Merge "Text blinking cursor hard to see." into ics-mr1

* commit '7ffadba5dfbeeaa93a9559ca3eaf1a7719426a5f':
Text blinking cursor hard to see.
c1761e7fe10390d90b805f373b51ecaabf214dac 13-Dec-2011 Gilles Debunne <debunne@google.com> Fixed build after merge

Change-Id: Ifac89a70afa82047d97994860c6e58954f5d91d0
pellChecker.java
7cb77c1a0d86b0fbc8774cd90cc81debc3508be1 13-Dec-2011 Gilles Debunne <debunne@google.com> resolved conflicts for merge of 1742f20c to master

Change-Id: I02d84edfe8cc0b71881884ecec21f831404aa555
961ebb9ab0a6d45b06a74aa90894f7fda3d528c6 12-Dec-2011 Gilles Debunne <debunne@google.com> Text blinking cursor hard to see.

Bug 5738416

This problem was introduced in
https://android-git.corp.google.com/g/#/c/152599

The invalidated cursor region is no longer expanded to include the
cursor drawable (different from the handles' drawables).

Added that code back. Added a flag, since invalidateRegion is also
used to invalidate text span regions in spell check (assumes the decorated
span bounds are not bigger that text boundaries), which is fine in case
of underline.

When the cursor is moved on a single line, invalidate the whole line
(same as what was done before). This is sub-optimal, will file a bug
to fix this. The core problem is that we should invalidate the previous
and the new cursor's positions. We only have one of these.

Change-Id: I9ada9340fb52aad3d80c39efd021fd3f9ec0cc4d
pellChecker.java
extView.java
481c0a260420a921cdca55130d8d9685d17cf527 12-Dec-2011 Gilles Debunne <debunne@google.com> am afa0a714: am df372289: Merge "Fixed SpellCheckerSessions leak in TextView" into ics-mr1

* commit 'afa0a714acb45e90bdda3fd72b529a817a25f2d1':
Fixed SpellCheckerSessions leak in TextView
47730f1582dfa67909293d6d5b88ff89c5ad6ed5 10-Dec-2011 Svetoslav Ganov <svetoslavganov@google.com> am 33a3b2ce: am 48b428fb: Merge "NumberPicker getting stuck if scroll wheel not wrapable." into ics-mr1

* commit '33a3b2cecf174cb14097498214131fcfb32ec04c':
NumberPicker getting stuck if scroll wheel not wrapable.
70511ade47f75160bdfbf0693145a4b827294136 10-Dec-2011 Gilles Debunne <debunne@google.com> am b25d417f: am aa4a5713: Merge "Make the Next key navigate between TextViews" into ics-mr1

* commit 'b25d417fce0e0467187ac187a4dabae75d5dc83d':
Make the Next key navigate between TextViews
2afcfa42392996525c6a995b354b241f22429959 10-Dec-2011 Gilles Debunne <debunne@google.com> resolved conflicts for merge of 5371a165 to master

Change-Id: I61830ec96c277ebba9db3e40842597b9c98d53c7
683a485fbcf72caad42f9fd030255f1083ce5637 09-Dec-2011 Gilles Debunne <debunne@google.com> am aee940df: am a5a98a03: Merge "IOOB is Suggestions" into ics-mr1

* commit 'aee940df55b5d1f769f56ff8a6dd645253b7f8e5':
IOOB is Suggestions
17994a1d04e3e5e986f3758f996381ab759c3832 09-Dec-2011 Gilles Debunne <debunne@google.com> Blinking cursor in Talk

I verified that this fixes the unblinking cursor problem in Talk.

Change-Id: I5e3e5c8ad5cf3d8479462495107bf93e5e4fb956
extView.java
be5f49fb6e17e0b9588d3b94022b7e3eb6d47317 26-Oct-2011 Gilles Debunne <debunne@google.com> Performance improvements for long text edition.

Limit each parse to batches of a few words, to keep the UI thread
responsive.

Possible optimizations for the future:
- SpellCheck in a thread, but that requires some locking mecanism
- Only spell check what is visible on screen. Will require additional
spans to tag the pieces of text.

This is a cherry pick of 145656 into ICS-MR1

Patch Set 2: Make the Runnable shared and stop it when detached.

Change-Id: Ibf8e98274bda84b7176aac181ff267fc1f1fa4cb
pellChecker.java
df3722895172e03c81787f62d922daabaad3e20b 09-Dec-2011 Gilles Debunne <debunne@google.com> Merge "Fixed SpellCheckerSessions leak in TextView" into ics-mr1
48b428fb1369a787a15fa6d8ebf10f8b31937a8b 08-Dec-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "NumberPicker getting stuck if scroll wheel not wrapable." into ics-mr1
aa4a5713aab73cf7c9486cd587a0d986a8daf7e3 08-Dec-2011 Gilles Debunne <debunne@google.com> Merge "Make the Next key navigate between TextViews" into ics-mr1
0e7b8020fd8607957844f7d67e8aaa6dc2ef816f 08-Dec-2011 Gilles Debunne <debunne@google.com> Merge "Limit created string size in Spell Checker" into ics-mr1
06a8e9b1ce63f1e0842c877133b2562a6b638123 08-Dec-2011 Gilles Debunne <debunne@google.com> Make the Next key navigate between TextViews

Bug 5718127

Fixes from changes introduced in
https://android-git.corp.google.com/w/?p=platform/frameworks/base.git;a=commit;h=0500b3cfda5192efc09d6d4344b0c6c785c0a815

Change-Id: I4f6d213cd744b913b053275c4a26194cd030de84
extView.java
a5a98a034b4d52c6bbc75e72f74f1a6ea1c61ed5 08-Dec-2011 Gilles Debunne <debunne@google.com> Merge "IOOB is Suggestions" into ics-mr1
234484a9fb53786aa8b7ed2a3df7e24d41817689 08-Dec-2011 Svetoslav Ganov <svetoslavganov@google.com> NumberPicker getting stuck if scroll wheel not wrapable.

1. If the number picker was not wrapping the selector wheel
it was incorrectly initializing the fling scroller and
the error was proportional to the difference of the
current value and the max size. As a result if the number
picker gets stuck for a very long time.

2. The alpha of the selector wheel paint was not reset on
every subsequent fling so if the wheel was fading out
and a new fling is performed the selector wheel is
dimmed during the fling, rather bright.

bug:5728363

Change-Id: Ia90a6af86f162bda1b28f43f7ba7e4a9f5051b78
umberPicker.java
b69c8cab56cffb4799e6701e3a52da9242b0569d 08-Dec-2011 Gilles Debunne <debunne@google.com> am 0235016a: am 2df13452: Merge "Insert into user dict with the correct locale" into ics-mr1

* commit '0235016acb241556f24689e3d818db6973b5ad4f':
Insert into user dict with the correct locale
2df13452e05745a3da624c34018da983173c32c4 08-Dec-2011 Gilles Debunne <debunne@google.com> Merge "Insert into user dict with the correct locale" into ics-mr1
1f45d25257f791ce031e7e5bc3c7806a8b82b2eb 07-Dec-2011 Winson Chung <winsonc@google.com> am a21ce1f1: am 0a361b10: Merge "Workaround for issue where the notifyDatasetChanged call chain is broken when Launcher is killed. (Bug 5703782)" into ics-mr1

* commit 'a21ce1f1107e1aad19335bebe4aed915158b5ca6':
Workaround for issue where the notifyDatasetChanged call chain is broken when Launcher is killed. (Bug 5703782)
0a361b10a665a3d158c846722290f26ce62276e1 07-Dec-2011 Winson Chung <winsonc@google.com> Merge "Workaround for issue where the notifyDatasetChanged call chain is broken when Launcher is killed. (Bug 5703782)" into ics-mr1
c115fa041c02f68d1987e2c9cae263c9a31f370b 07-Dec-2011 Gilles Debunne <debunne@google.com> Fixed SpellCheckerSessions leak in TextView

Bug 5709546

Change 1a22db29 created a potential leak: setText calls
sendOnTextChange that now calls updateSpellCheckSpans.

The original call to updateSpellCheckSpans made sure the
View had been attached to a window, through the existence
of the SpellChecker object.

The mSpellChecker object will now only be created when the
View is attached, all other spell related method will do
nothing if it has not been initialized.

Change-Id: I8885c12be6395e2346c0ed057bb6a275256f012b
extView.java
653d3a27878d5358b4a91518a756f6b9b3407b07 07-Dec-2011 Gilles Debunne <debunne@google.com> Limit created string size in Spell Checker

Change-Id: I2f4e7a8b0022d76bc30199ff80c2fe637dbe03ef
pellChecker.java
5fa6737cac2bf246becb802982980372a4d6160b 07-Dec-2011 Jean Chalard <jchalard@google.com> Insert into user dict with the correct locale

This fixes a bug where a word would be entered in the user
dictionary with the wrong locale.

Bug: 5667272
Change-Id: I219d5461f8f8c74b6ab34f9bb157a4b977f00e68
extView.java
f9bb1cd1fcff7079445dae494ce5d56276092c11 07-Dec-2011 Gilles Debunne <debunne@google.com> resolved conflicts for merge of fb729202 to master

Change-Id: Ic571594b14f2822094d5c1aa4c4b1e9da4a2eae0
e300be9c29b7915450ddb62f2957d312b52cfa32 06-Dec-2011 Gilles Debunne <debunne@google.com> IOOB is Suggestions

Bug 5555929

This problem only happens when in landscape extracted text mode.

A suggestion pick from the popup window replaces the text in the ExtractedText,
when it should do it in the underlying source EditText instead.

When the replacement text is longer than the replaced text and is at the end
of the text, an IOOB occurs because the ExtractedText was not modified (we now
correctly change the source text using replaceText_internal).

This is basically an implementation of the TODO comment next to setSpan in
TextView.

Change-Id: I6575137530e0bb5c9ac7e40cc2bba9c66dc254d2
extView.java
c3f581b0474a216938810885f4f606e0db1f21ff 05-Dec-2011 Winson Chung <winsonc@google.com> Workaround for issue where the notifyDatasetChanged call chain is broken when Launcher is killed. (Bug 5703782)

Change-Id: Ic57a7ce85f41d58cd40b7d30eef4a1bf685182e5
emoteViewsService.java
98a85c2de6b3f27ba1ccb2cfd44a775b4f490f72 06-Dec-2011 Gilles Debunne <debunne@google.com> Merge "Invalidated bounds tightened in TextView" into ics-mr1
a49ba2f391cd0753eb12d2707bf9fe128e6566f0 02-Dec-2011 Gilles Debunne <debunne@google.com> (de)activating spell check taken into account immediately

Test for a change in the spell checker activate state on every
spell check. Add/remove suggestion spans accordingly.

Change-Id: I750f30b81464b85cebc695bdb0449ec038fc17df
pellChecker.java
0715f12605933f1587012705d0cd0c1a34fe11da 02-Dec-2011 Gilles Debunne <debunne@google.com> am b4812f8a: am 335c4e6c: Broken build. New methods made private.

* commit 'b4812f8a815a4c4a9896e73412f4011d7a30f03f':
Broken build. New methods made private.
335c4e6cb2094c7cbd6039e0c7915702b69e7657 02-Dec-2011 Gilles Debunne <debunne@google.com> Broken build. New methods made private.

Change-Id: Ia123ab4ddb1fe93bcd053c3ea5bf6b87c7204640
extView.java
2101c57552ad5e184e718683a7774d82f1ce01d4 02-Dec-2011 Gilles Debunne <debunne@google.com> am a8205d24: am 09cbff02: Merge "Better handles\' visibility test" into ics-mr1

* commit 'a8205d24703fc353076cf30795b3a06a87208cfa':
Better handles' visibility test
58d8953958ce452c5080eaa582d7e5d2b5017398 02-Dec-2011 Gilles Debunne <debunne@google.com> Merge "Scroll performance improved in multiline TextEdit" into ics-mr1
09cbff0294a27d33c93de50e0b4471ad86154a84 02-Dec-2011 Gilles Debunne <debunne@google.com> Merge "Better handles' visibility test" into ics-mr1
6bb5fc577d326cfef5b7b15457ef145118e2e904 01-Dec-2011 Gilles Debunne <debunne@google.com> am 4fec974c: am 0433c157: Merge "TextViews keep focus after Done" into ics-mr1

* commit '4fec974c2f75886516509699ccfc0100b029fe4d':
TextViews keep focus after Done
ad79297a4118e73e7828f08545963e9795407df1 01-Dec-2011 Gilles Debunne <debunne@google.com> am d732efa2: am b2aa672f: Merge "Revert "IME action (done, next...) correctly handled"" into ics-mr1

* commit 'd732efa2972eaaa22ff921c39744ec969598bcd0':
Revert "IME action (done, next...) correctly handled"
64901d4eb0f13b794d9c22ae58f16104b556f9b7 25-Nov-2011 Gilles Debunne <debunne@google.com> Better handles' visibility test

Checking if the hotspot position is visible instead
of checking if it is part of the clipped visible rectangle.

Bug 5638710

Patch set 2: synchronize static variables you will.
Patch set 3: renaming and refactored the while loop.
Patch set 4: synchronize you will (again)
Patch set 5: parent

Change-Id: I330510f491c85f910fc61598936113ad07d304e4
extView.java
647944897fecf2d14bf8140638be9141f4dc1432 01-Dec-2011 Gilles Debunne <debunne@google.com> TextViews keep focus after Done

Otherwise the ViewRoot tries to focus something else and as a result
it will scroll back to the top of a form with many fields, which is
annoying.

Change-Id: I1de10f76fe4b82bc4097fc13c629450d6f999fd0
extView.java
8bfcd133a2a326d3fddb87834fedb1cf18edc59f 01-Dec-2011 Gilles Debunne <debunne@google.com> Revert "IME action (done, next...) correctly handled"

This reverts commit efbad5fb90fe990d42bf30c63e42558bd9bdb5d8.
extView.java
ddd51fdb7117a6a0812968a47b43067d3d899991 30-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> am 4661a05b: am 2f504d9e: Merge "NumberPicker incorrectly shown for the old theme." into ics-mr1

* commit '4661a05bef8c98b18698202c758067ac9c965f77':
NumberPicker incorrectly shown for the old theme.
9f086d812ff04703de4b14e02a7702ba7c8acb33 30-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> NumberPicker incorrectly shown for the old theme.

1. NumberPicker is trying to greedily grow to its max size
but if the max size is not specified the default value
was the max integer which makes the widget get quite
tall in some cases. Now the widget tries to reach the
max size only if it has been specified.

2. NumberPicker was not computing its min width when the array
of display values is set.

3. DatePicker' layout for the old Theme was adding a margin on
the right of the group of spinners and if the calendar view
is not shown the spinners were not centered. Added the spinners
right margin to the left margin of the calendar view.

4. TimePickerDialog was using the wrong conext and was not dismissable
on an outside touch. Same for the DatePickerDialog context.

bug:5646161

Change-Id: Ic15f9b3e6291b76493604230ceb4f783a04d4ac7
umberPicker.java
8615ac9e049cdf4ab77b0897aca9bceec142c9fa 30-Nov-2011 Gilles Debunne <debunne@google.com> Invalidated bounds tightened in TextView

New invalidateRegion method, with better horizontal invalidate
bounds in case the region is on one line.

Use by SpellChecker when a new SuggestionSpan is added.

Change-Id: Ide11f1d3d2b1350032b475db0641018a49c08d13
pellChecker.java
extView.java
70b34a1e0525c8e13f431c2e6c9d37d1954de1b2 27-Oct-2011 Gilles Debunne <debunne@google.com> Scroll performance improved in multiline TextEdit

Measuring line widths, glyph by glyph slows down the scrolling
process for long text (for some reason, width measure efficiency
is affectedi by text length, maybe because the whole text has to
be passed to JNI layers).

This optimization avoids this computation in the case where there
is no possible horizontal scroll.

This is a cherry pick of 145957 into ICS-MR1

Change-Id: I2082e3d0eedace1a86122a03e4b21f90f3bc8522
extView.java
c273cd318d8bb45c22a914ba88d4cb4dd94a768e 29-Nov-2011 Gilles Debunne <debunne@google.com> Merge "Restoring mLayout has private in TextView"
e29e4d2adef21aa54b2ae4bf225e3492bc3735c3 29-Nov-2011 Gilles Debunne <debunne@google.com> am 9d8d5297: am 10232fe6: Merge "Extracted text problems" into ics-mr1

* commit '9d8d529739b1b9790599364f57cffbe022d15ee2':
Extracted text problems
6c9d4f3cd3c5185cda06f3bf83049dba81007bd1 29-Nov-2011 Gilles Debunne <debunne@google.com> am 0dca407e: am 7be31bd9: Merge "IOOB in text selection." into ics-mr1

* commit '0dca407eede3d85a0185718f4993c2b09d1cc658':
IOOB in text selection.
10232fe63916d03d147d0a07f8bf4d70cb60941c 29-Nov-2011 Gilles Debunne <debunne@google.com> Merge "Extracted text problems" into ics-mr1
7be31bd96a4cc71ebc2539573f062fa53cc7cb05 29-Nov-2011 Gilles Debunne <debunne@google.com> Merge "IOOB in text selection." into ics-mr1
cdfab19bf761eb6faaae119ab13b5a9de855770c 29-Nov-2011 Gilles Debunne <debunne@google.com> Restoring mLayout has private in TextView

Change-Id: If8c4385ec0b64fb2055f4561aeeb1c145294d679
extView.java
0dc1f648a09b46c45190ba1ce7daecf7fada4347 18-Nov-2011 satok <satok@google.com> add sentence level spell checker hidden apis

Change-Id: If65c89044bed064fd01a554e33176f64f7c21c0f
pellChecker.java
1a22db2927abf6860498ed4194947ba2d40d5ec7 20-Nov-2011 Gilles Debunne <debunne@google.com> IOOB in text selection.

Several issues here:

1. when selection has been set to size 0 (should not be possible, but see 2.),
moving any of the selection handles will create an IOOB because we add/substract 1
with no test. Added min/max.

2. the text change detection, which stop selection mode, was done in
handleTextChanged. We need to go deeper. Some methods (such as setText())
directly call the more atomic sendOnTextChange(). Moved the test down
to this method. As a result, pressing the 'x' button in the QuickSearchBox
correctly stops selection mode (it used to leave an empty selection).

This change may also solve some weird similar issues in extracted mode where
it is sometimes possible to end up with a 0-length selection.

It may also impact Bug 5555929 since spellCheckSpans will now be correctly
updated on ANY text change.

3. the before != after test is flawed. When this method is called, the text
has been changed and selection mode should be stopped even when the new text
happens to have the same size.

Change-Id: I869ef728662f4350f22ed6149dd42db193c333ed
extView.java
664d87ef01f7b4dbd7c96f23db73aba6cbc57481 17-Nov-2011 Gilles Debunne <debunne@google.com> am b3272d29: am de8c5ec8: Merge "IME action (done, next...) correctly handled" into ics-mr1

* commit 'b3272d297bb45e5cd3201766baef4fef7921ce05':
IME action (done, next...) correctly handled
de8c5ec88982b836b2c50d4f685f4e05b29bdd0d 16-Nov-2011 Gilles Debunne <debunne@google.com> Merge "IME action (done, next...) correctly handled" into ics-mr1
efbad5fb90fe990d42bf30c63e42558bd9bdb5d8 16-Nov-2011 Gilles Debunne <debunne@google.com> IME action (done, next...) correctly handled

Bugs 5599728 and 5319237.

mInputContentType should be set for a "modern" cupcake
environment says a comment in TextView.

However, it is possible to call onEditorAction on a
TextView that didn't use any of the method that lazily
create that field. This is for instance achieved using
the extracted mode in landscape (Done, Next actions)
or in Contacts, that feature a Next/Done button in the
IME.

As a result, the action is ignored.

The patch is to force the creation of the mInputContentType
when the EditText is associated to the IME.

Change-Id: I5beec5a52e9eec0c209af37d68791bb6ff83d6f6
extView.java
6ec455211b9959ed7ef37bd3e6655722d33d9fd9 15-Nov-2011 Gilles Debunne <debunne@google.com> am 7bc6600e: am 8a440477: Merge "Clean-up in TextView" into ics-mr1

* commit '7bc6600e60688ea37ee7f18b82cb16677c0f5e74':
Clean-up in TextView
8a440477fd203d74b73b32dc2b357f07dfc36067 15-Nov-2011 Gilles Debunne <debunne@google.com> Merge "Clean-up in TextView" into ics-mr1
0f6ba9267ff4ef8f87aecdfc2bb8fb7e2ba2e42e 12-Nov-2011 Jeff Brown <jeffbrown@google.com> Merge "Seems to break text views all over. Particularly noticeable is that the labels in launcher icons appear left-justified. Multi-line text fields also wrap after every character."
033a001a612c7349c35198561e095350182deb34 12-Nov-2011 Jeff Brown <jeffbrown@google.com> Seems to break text views all over. Particularly noticeable is that the labels in launcher icons appear left-justified. Multi-line text fields also wrap after every character.

Revert "Fix bug #5387832 [UI/Visual] Address of the website is not displayed properly(second line of the address is partly shown)"

This reverts commit caa8c06de5f94db69faca35d666c04b82d3f420b
extView.java
951aa9d8ea71082f4ae4c46c41616e79619401fd 11-Nov-2011 Christopher Tate <ctate@google.com> am 9acae658: am 847fbbea: Merge "Localized optimizations in views and bitmaps" into ics-mr1

* commit '9acae658e179796beee91d673f9f70af49ae3c9b':
Localized optimizations in views and bitmaps
847fbbeaf9e3ba187a45d0a631f0c087ce25b7f6 11-Nov-2011 Christopher Tate <ctate@google.com> Merge "Localized optimizations in views and bitmaps" into ics-mr1
1373a8eb581fe3c8e9a036e69042015f98a7e346 11-Nov-2011 Christopher Tate <ctate@google.com> Localized optimizations in views and bitmaps

* Don't call context.getResources() redundantly when unnecessary;
similarly for Resources.getCompatibilityInfo()

* During bitmap creation, don't bother clearing to 0: it's unnecessary
because now that the raw bits are stored in a VM-side byte array, it
was cleared at initialization time. Also, don't use the sanity-
checking public entry point to erase to a color, because we know
that we're by definition in a "legal" path to erase to the initial
contents and don't need to incur the overhead of the (inappropriate)
sanity checking.

Change-Id: Idaca4d64fdecefd5d51337646ead32e1db510e02
dgeEffect.java
extView.java
1333742bedc9b462024302f302e3a7f27053df66 11-Nov-2011 Akwasi Boateng <akwasi.boateng@ti.com> am cb0db030: Merge branch \'ics-mr1-plus-aosp\' of ssh://android-git:29418/platform/frameworks/base into ics-mr1-plus-aosp

* commit 'cb0db0306b5849a35d3d99eea1b34ce019c6f0d8':
Make the overridden ImageView#setVisibility remotable
Clamp non-monotonic stats instead of dropping.
DO NOT MERGE. Fix leak in LayoutTransition
Fix lastVisible/global rects
Fix Wimax-less build.
Fix leak in LayoutTransition
Deferring wallpaper update to improve workspace scrolling (issue 5506959)
Terminate EGL when an app goes in the background
boot animation is dithered and scaled
Fix NdefRecord byte-stream constructor.
PopupWindow dismiss() can get into a recursive loop.
Fold WiMAX state into the mobile RSSI.
Remove dedicated wimax icon to fix RSSI layout.
d00e75e94d1aa5cee740a06a4ce760e49016f7f6 11-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> am 7b8bec28: Merge "PopupWindow dismiss() can get into a recursive loop." into ics-mr0

* commit '7b8bec280f20e8a5863d8214bbc195497335eba6':
PopupWindow dismiss() can get into a recursive loop.
b241b4c6ab8dc6174375b6f18f83e04f569b299f 11-Nov-2011 Adam Powell <adamp@google.com> Make the overridden ImageView#setVisibility remotable

Change-Id: Idaf061ea8c2a06ec8abaf74cf865446d9092afa2
mageView.java
06f938e8aa56cd89ab0bdb04c8b946392c428dd1 10-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> PopupWindow dismiss() can get into a recursive loop.

1. The dismiss method in a PopupWindow is first removing the
popup View from the WindowManager and then if the content
View differs from the popup View the former is removed from
the latter. Then dismiss() clears the dismissed flag so a
subsequent call to dismiss() is a NOP. However, removing
a View both from the WindowManager and from its parent
ViewGroup triggers stuff wich may lead to a subsequent call
to dismiss(). This leads to a stack overflow exception.

bug:5598944

Change-Id: I2aeeda591be3e9aa98fec1ee17ea8f0e746e6992
opupWindow.java
9e71bb0b2f52b820777f644a60c8d9433800ad33 10-Nov-2011 Adam Powell <adamp@google.com> am aa771ceb: am 71282a47: Merge "Fix access modifiers on ImageView overrides" into ics-mr1

* commit 'aa771ceb0919f2a66ba9c927e5617d15471d70e2':
Fix access modifiers on ImageView overrides
6a939ae6fd7d130a3dc9b011877eac4e280c0546 10-Nov-2011 Adam Powell <adamp@google.com> Fix access modifiers on ImageView overrides

Change-Id: I64cc10c877ac4adc4b79abcd7c7617480bd82906
mageView.java
5d35fd79a78f9e17089ab36096f7b4f2ba7d99b3 10-Nov-2011 Adam Powell <adamp@google.com> am ba44080d: am 67121fd7: Merge "Fix bug 5581874 - Animated drawables don\'t start as expected" into ics-mr1

* commit 'ba44080d834d23d0bc7d118a4950f837eeaca96a':
Fix bug 5581874 - Animated drawables don't start as expected
9704a14eebda065c70f95e918b55ac0c302fc359 10-Nov-2011 Gilles Debunne <debunne@google.com> am 2e97db49: am e5504ba1: Merge "Visual glitches when starting extracted text" into ics-mr1

* commit '2e97db4981e7773e84deee37c394748076b1aafd':
Visual glitches when starting extracted text
37419d7321e71edb179faa0eafd2a2acf12b62c1 10-Nov-2011 Adam Powell <adamp@google.com> Fix bug 5581874 - Animated drawables don't start as expected

Fix a bug that caused animated drawables to not schedule properly when
a view has not yet been attached. Also make ImageViews update their
drawable visibility state properly, which will handle scheduling
concerns as ImageViews are attached and detached from their windows.

This should also fix the bug where animated notification icons in the
status bar do not animate until the posting app posts an update to the
notification.

Change-Id: I24c403182831258d1f251736e920c9efe1d38299
mageView.java
c95b7412c2d4b6dca0fdee631bd777b6148ddf81 10-Nov-2011 satok <satok@google.com> am 3628dafe: am 34bd5969: Merge "Respect user settings for spell checking language if explicitly set" into ics-mr1

* commit '3628dafe22aeeb2fca09b49d82c8d7289baf68ad':
Respect user settings for spell checking language if explicitly set
d1cd3e7b760db36bff6755620f3d72d4c490586a 10-Nov-2011 Gilles Debunne <debunne@google.com> Merge "Fix bug #5544127 TextView regression in ICS when setting TextSize dynamically"
771d64b1e0bd92a78f07ab725091c5946984c890 10-Nov-2011 Gilles Debunne <debunne@google.com> Clean-up in TextView

Removed some variables that are no longer needed after the
removal of context menu in TextView.

Change-Id: I6d98bb356bd7b409a5230756849aef0f2896d4c5
extView.java
39ba6d9c4cf5a88d71edb800f3f48f85f61187c4 09-Nov-2011 Gilles Debunne <debunne@google.com> Extracted text problems

Bug 5557258: recent text editing changed in ExtractedText mode is
broken. The modifications of the text performed by:
- drag and drop
- text suggestions, deletion
- voice IME's delete button

all change the ExtractEditText itself, while they should affect the underlying
EditText (and the change will be forwarded to the ExtractEditText). As a results,
changes are not actually modifying the underlying text.

Created new protected methods in TextView, overloaded in ExtractTextView to
affect the underlying text instead.

Changes to spans should also be forwarded to the original TV (see the 2 TODOs),
this is tracked in bug 5589158.

Change-Id: Ibfec272469e8db191b3875e7576e32481a9dc1bd
extView.java
e5504ba1a279fc58eac74bda8d9c5c29cae235a9 10-Nov-2011 Gilles Debunne <debunne@google.com> Merge "Visual glitches when starting extracted text" into ics-mr1
d4c3b8e106a7dd86a6c701c6e4475647c15acce5 10-Nov-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5544127 TextView regression in ICS when setting TextSize dynamically

- nullify cached font metrics when we are nullifying the layouts as a result of changing text size

Change-Id: I372e4fad336de4aac89e1344c3e8d34c4e914f2f
extView.java
567354474f7893313d63b2bd13d07bf92aa729d3 10-Nov-2011 Marco Nelissen <marcone@google.com> Bug 5575396: close spell session on language change

Cherry pick change 8b67db17ec91956023e25674efe28a1f5ca970c8 from ics-mr1

Change-Id: I8166859e435f034535510a36772644cde3923cd9
pellChecker.java
05f24700613fb4dce95fb6d5f8fe460d7a30c128 02-Nov-2011 satok <satok@google.com> Respect user settings for spell checking language if explicitly set

Bug: 5554116
Change-Id: I8c16d732af1fe713d30d97dfe829ff16653c7f34
pellChecker.java
extView.java
1002b622434cff2bd1cbdd96bbe25769de5438fa 09-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> am cc03abe1: am 1bef480b: Merge "NumberPicker incorectly enforcing minimal width and height." into ics-mr1

* commit 'cc03abe1fc51a62e65f22944c3a4cba5dd3c34d3':
NumberPicker incorectly enforcing minimal width and height.
c31c42abb6db2c35dfd6e3b1c97f220359469c06 09-Nov-2011 Adam Powell <adamp@google.com> am 8689afbd: Merge "Fix bug 5544103 - Spinner text doesn\'t look dimmed when disabled" into ics-mr1

* commit '8689afbd63db3b1af6058709da843ea9d6433b21':
Fix bug 5544103 - Spinner text doesn't look dimmed when disabled
61ddbbae71f4a3be2e03cd6c040c5f722dbe2b51 09-Nov-2011 Gilles Debunne <debunne@google.com> Visual glitches when starting extracted text

Partially addresses Bug 5547923

In landscape, tapping on the text
1. starts extracted text mode
2. displays the cursor handle or the selection popup window.

As a result, some ghost effects and race conditions create an
unpleasing visual experience.

Fixed this by not doing 2. in case extracted mode will start.

The drawback of this quicl fix is that the user will have to
tap again to get the handle/suggestion. That can be fixed later
if needed.

Change-Id: I10e1d8399bb35e5b2cd5cba1295f7d29d051cae0
extView.java
76bb11ca642556673249a6ef8b84ab2813deaa87 09-Nov-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5575396: close spell session on language change" into ics-mr1
1bef480b223f03d0fc866f08ca101a07ead89bc2 09-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "NumberPicker incorectly enforcing minimal width and height." into ics-mr1
5af447366d6dc5794cdcdd064bae72b66b9bc5c0 09-Nov-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #5387832 [UI/Visual] Address of the website is not displayed properly(second line of the address is partly shown)"
8689afbd63db3b1af6058709da843ea9d6433b21 08-Nov-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5544103 - Spinner text doesn't look dimmed when disabled" into ics-mr1
42b7e99b11a5ab1cbc0beebe0b15e46bdf462dff 08-Nov-2011 Adam Powell <adamp@google.com> Fix bug 5544103 - Spinner text doesn't look dimmed when disabled

Pre-Holo spinners had a far more "buttony" look that expressed the
disabled state clearly, but Holo spinners are more subtle. As a result
we want to mark the contained view representing the current item as
disabled when the spinner itself is disabled.

Express this as a private framework style attribute that cannot be
changed at runtime.

Change-Id: Icff2ef2b8a3b1a96cbf00e4c75eda41a4dada7b3
pinner.java
c4c13f970468286a19906a67a0dc81dbe4b81262 08-Nov-2011 Gilles Debunne <debunne@google.com> am 39896f52: Merge "No more context menu in TextView" into ics-mr1

* commit '39896f52a84947ffc2062a2584033ff749d90534':
No more context menu in TextView
39896f52a84947ffc2062a2584033ff749d90534 08-Nov-2011 Gilles Debunne <debunne@google.com> Merge "No more context menu in TextView" into ics-mr1
698e1d5d867a7ac653fa1d6f29cef4cfb73fad38 08-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> NumberPicker incorectly enforcing minimal width and height.

The min width and height were enforced with an exception which
is not correct since a view not having enough space should not
terminate the application. Now the insufficient vertical or
horizontal space is propagated by setting the
MEASURED_STATE_TOO_SMALL flag and respecting the constraints
imposed while measuring (consistent with the rest of the View
hierarchy).

bug:5572237

Change-Id: I2dbeb5451d3426cc983b41f6023c7b0fc52c7da3
umberPicker.java
b52d9729bfb2ef7ad50d9a5125ebf3a8322429a9 07-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> NumberPicker does not hide IME when flinged.

Now the IME is hiddedn once the user starts flinging since he is
using another method of updating the current value. This is now
consistent with the case of shown IME and poking the up/down
button.

bug:5174339

Change-Id: Id25934f394314a285b753f0bec7f422034ada90a
umberPicker.java
ff92dd69af5d95c00ef6ce9285c97d3e937cd704 07-Nov-2011 Amith Yamasani <yamasani@google.com> am 7919bfb1: Merge "Don\'t show the submit button when it isn\'t enabled." into ics-mr1

* commit '7919bfb12365b3f84e232235c35df957039995b7':
Don't show the submit button when it isn't enabled.
8b67db17ec91956023e25674efe28a1f5ca970c8 07-Nov-2011 Gilles Debunne <debunne@google.com> Bug 5575396: close spell session on language change

Change-Id: I661812c316ec9d98f66379357cbd1216bae65fa0
pellChecker.java
d291558b56aaa9e8233cb5d55abd1f9463a1ebc5 05-Nov-2011 Amith Yamasani <yamasani@google.com> am d69c203c: Merge "Close suggestions cursor when SearchView is detached." into ics-mr1

* commit 'd69c203cd48c1d0d3be92fb0396656ee8adc1185':
Close suggestions cursor when SearchView is detached.
cf72ab4ddebae48e34dd2d32b7da8bf5a5d7cfa0 04-Nov-2011 Amith Yamasani <yamasani@google.com> Don't show the submit button when it isn't enabled.

There was a particular scenario where it was being shown even if it's disabled.

Bug: 5412759
Change-Id: I34edd385062bed48bccef35e8240932d4cc96fd1
earchView.java
07194e57547bed05469b299b75ce948ab8edca40 02-Nov-2011 Gilles Debunne <debunne@google.com> No more context menu in TextView

No longer needed now that all devices use the CAB for text selection.

MR1 port of https://android-git.corp.google.com/g/#/c/147391/

Change-Id: Ibb4c93e37f6df43ad676265247a734634f886d8c
extView.java
d69c203cd48c1d0d3be92fb0396656ee8adc1185 04-Nov-2011 Amith Yamasani <yamasani@google.com> Merge "Close suggestions cursor when SearchView is detached." into ics-mr1
988af0861e5bb973b0593fbb19a8c357ae1c11e0 04-Nov-2011 Ken Wakasa <kwakasa@google.com> am 943f6d0b: Merge "Turn off the spell checker when the spell checker is disabled in the settings" into ics-mr1

* commit '943f6d0b33f599ed00b76c59b4a4b4c41d0e66f2':
Turn off the spell checker when the spell checker is disabled in the settings
943f6d0b33f599ed00b76c59b4a4b4c41d0e66f2 04-Nov-2011 Ken Wakasa <kwakasa@google.com> Merge "Turn off the spell checker when the spell checker is disabled in the settings" into ics-mr1
8790764e4c20737e57dafdfb3bb1c8cdb84169c5 03-Nov-2011 Amith Yamasani <yamasani@google.com> Close suggestions cursor when SearchView is detached.

Make sure that delayed filter requests don't go through after
the view was detached.

Bug: 5484819
Change-Id: I4d5ff5ea9b52109ecce7f84fa4d91dfcb6225037
earchView.java
uggestionsAdapter.java
9b3855b75246596fc704825dd92f9269f52cbe64 02-Nov-2011 satok <satok@google.com> Turn off the spell checker when the spell checker is disabled in the settings

Bug: 5554116
Change-Id: I9816101661e12cafdb9556c7e0bad39833f7dc67
pellChecker.java
c76e5669883a497781f76e546dc2cdfac18df4e4 02-Nov-2011 Amith Yamasani <yamasani@google.com> am dab15d14: Merge "Don\'t expand the SearchView if already expanded." into ics-mr1

* commit 'dab15d14ca2ce9c3a614e97869824c6337e76d51':
Don't expand the SearchView if already expanded.
dab15d14ca2ce9c3a614e97869824c6337e76d51 02-Nov-2011 Amith Yamasani <yamasani@google.com> Merge "Don't expand the SearchView if already expanded." into ics-mr1
d10b004116a3fdb4a9b388afea5a3214fb1f2ac5 02-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> am e5d0f199: Merge "CalendarView title incorrectly updated for different languages." into ics-mr1

* commit 'e5d0f19953189fdd0e2661ebb7f0ea925f14ea13':
CalendarView title incorrectly updated for different languages.
9c2572730614364a29b5e10c0a3f6ed769fce121 02-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> am 7f0c850b: Merge "Updating NumberPicker, TimePicker, DatePicker to fit different screen and font sizes." into ics-mr1

* commit '7f0c850b7a4a2b8a135a110a33d053f4d6689559':
Updating NumberPicker, TimePicker, DatePicker to fit different screen and font sizes.
cf3b31704ae7743ca85219bca9698adcf6fbc67a 02-Nov-2011 Dianne Hackborn <hackbod@google.com> am ad41a94b: Merge "Some optimizations." into ics-mr1

* commit 'ad41a94b298f834e13632ee29b27cefd75f10012':
Some optimizations.
a0684aafc8a3cb857131aae430cfd80d63b5a61d 02-Nov-2011 Adam Powell <adamp@google.com> am b1db20bd: Merge "Fix bug 5514022 - ListView should not auto-scroll selected item to top when gaining focus" into ics-mr1

* commit 'b1db20bde5e00c8cdd1a97b07ddcc41f321d3db8':
Fix bug 5514022 - ListView should not auto-scroll selected item to top when gaining focus
e5d0f19953189fdd0e2661ebb7f0ea925f14ea13 02-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "CalendarView title incorrectly updated for different languages." into ics-mr1
7f0c850b7a4a2b8a135a110a33d053f4d6689559 02-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Updating NumberPicker, TimePicker, DatePicker to fit different screen and font sizes." into ics-mr1
0500b3cfda5192efc09d6d4344b0c6c785c0a815 01-Nov-2011 Dianne Hackborn <hackbod@google.com> Some optimizations.

- Don't try to create a thumbnail bitmap on the client side. This
wastes 64k, and isn't needed since we are doing screenshots.
- Optimize View to put all of the callback pointers out of line.
Added a couple new APIs so these don't need to be protected/public.
- Lazily create ViewGroup's cache paint.
- Change FrameworkPerf app to not use HW accel drawing, to give better
comparison with GB.

Change-Id: Iec56d02459820d74a4cc9c7ec9c1856563c82c7b
extView.java
oomButton.java
434c73ffd85369e220261bda3ac5dbe911304a4c 01-Nov-2011 Amith Yamasani <yamasani@google.com> Don't expand the SearchView if already expanded.

Change-Id: I0699f9f8fea0b62b4cf6d45e920bd2f515944005
earchView.java
ec1e06a00d26a783fb948e739ad8157c03e55302 31-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Updating NumberPicker, TimePicker, DatePicker to fit different screen and font sizes.

1. Now the NumberPicker has minWidth/minHeight that is the lower bound
of the correspodning size for which the widget looks well enough to
be usable. There is also maxWidth/masHeight that is the upper bound
of the corresponding size for which the widget looks best. The picker
tries to greedily reach the max dimesions for which it looks best.

2. The NumberPicker was not taking care of the max width of the items
is shows numbers/strings mapped to numbers. Now if not explicitly
specified the widget computes the maxWidth at which it looks best
based on the content it shows.

3. Removed an unnecessary layout for number picker on tablets.

4. Updated the TimePicker/DatePicker to not hard-code width for the
number pickers it uses, rahter wrap the content.

bug:5417100

Change-Id: I432aa96185961e59a058a2565b15265ba7394818
umberPicker.java
3617933bee5a977a7e6c8f8f4b75e580f8bf2ebf 01-Nov-2011 Philip Milne <pmilne@google.com> Merge " Update to fix for bug 5393156" into ics-mr1
1442da620c117910e7628b36efc32ff962be02b2 01-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> CalendarView title incorrectly updated for different languages.

1. The formatting rule was hard-coded.

bug:5517162

Change-Id: I323bf623df3d9b7c0c173dc0f35ebfba070588b2
alendarView.java
93fdebb5ffd5ab1c703d5fdccda2e0b0cf4eafaa 01-Nov-2011 Gilles Debunne <debunne@google.com> Merge "No threading issues in SpellChecker."
dcce1216b0066f3f9ed1b01a485684e8617e7ea4 01-Nov-2011 Adam Powell <adamp@google.com> Fix bug 5514022 - ListView should not auto-scroll selected item to top
when gaining focus

Change-Id: I9b82cba3d48a211b1d2017d66791bea466938cab
istView.java
6b248641fc597a490d86cb4760d455e7f530b21b 26-Oct-2011 Philip Milne <pmilne@google.com> Update to fix for bug 5393156

Tweak to the logic to take account of margins when gravity = FILL is used and
there is a measurement dependency between the axes (as in mulit-line text).

Cherry pick ecab1178648670f2c72b47faf250040fcded3d13 to MR1

Change-Id: Ic0c95a4618bdb32acca75219796c66c1fc467610
ridLayout.java
69cde428909e09754fc44209f68da2aead9541c6 31-Oct-2011 Michael Jurka <mikejurka@google.com> am b4529b0a: Merge "HorizontalScrollView should delay child presses" into ics-mr1

* commit 'b4529b0adca243644f601c9fe5d419c283bf57c1':
HorizontalScrollView should delay child presses
e9b82808d412fa1b87954dd88579b92d0b4ab0e2 27-Oct-2011 Gilles Debunne <debunne@google.com> No threading issues in SpellChecker.

SpellChecker is exclusively called from the main UI thread and
there are no concurrency issues. As a result, the TextView's
wordIterator can safely be re-used in the parse() method.

Also reset the pool of SpellParsers on language change.

Change-Id: I1cc8a2750f21233754f006e40a81622730030ec8
pellChecker.java
extView.java
eba186448ff048f8fc1ba596c9779e8069a93128 31-Oct-2011 Joe Fernandez <joefernandez@google.com> am 74b2b954: am 09848bc8: Merge "docs: add developer guide cross references, Project ACRE, round 3" into ics-mr0

* commit '74b2b9547329a0b05e0bd5701057696007b854bb':
docs: add developer guide cross references, Project ACRE, round 3
b4529b0adca243644f601c9fe5d419c283bf57c1 31-Oct-2011 Michael Jurka <mikejurka@google.com> Merge "HorizontalScrollView should delay child presses" into ics-mr1
74b2b9547329a0b05e0bd5701057696007b854bb 29-Oct-2011 Joe Fernandez <joefernandez@google.com> am 09848bc8: Merge "docs: add developer guide cross references, Project ACRE, round 3" into ics-mr0

* commit '09848bc89de999416e2de82a7693b2deec6bf802':
docs: add developer guide cross references, Project ACRE, round 3
9edd58e9504cc3f070758e9125c49a72a3642186 29-Oct-2011 Michael Jurka <mikejurka@google.com> HorizontalScrollView should delay child presses

In Recents in landscape, we were seeing blue flashes when scrolling; generally, almost every scrolling container should be delaying child presses to prevent this problem
orizontalScrollView.java
09848bc89de999416e2de82a7693b2deec6bf802 29-Oct-2011 Joe Fernandez <joefernandez@google.com> Merge "docs: add developer guide cross references, Project ACRE, round 3" into ics-mr0
4e13ebed6b900ab7e977ec7bfd385b35b300a67c 29-Oct-2011 Gilles Debunne <debunne@google.com> Merge changes I2082e3d0,Ibf8e9827

* changes:
Scroll performance improved in multiline TextEdit
Performance improvements for long text edition.
73563ca81bdff400fcecc017c9d654a0b7410fa1 29-Oct-2011 Mark Wagner <mxw@google.com> Merge "bugfix 5513340 Insertion pointer (vertical beam) behaves oddly in Talk's message composition field"
f818511ddad0a212ede089e5aaa7e27794a369d8 26-Oct-2011 Mark Wagner <mxw@google.com> bugfix 5513340 Insertion pointer (vertical beam) behaves oddly in Talk's message composition field

Seems like we should be calling makeBlink from setEnabled

Change-Id: I5b0433ba438a693f53d29e8ff7d4d853acc96bba
extView.java
61fd1e8d8c3ccf2d6b7d4af1c19e8f0988d5a1ec 26-Oct-2011 Joe Fernandez <joefernandez@google.com> docs: add developer guide cross references, Project ACRE, round 3

Change-Id: I6125315ecdf0f78dd947c514a9944729d723e95d
dapterView.java
a068e2f1d9532e6f005a162adfa295c553873ca5 28-Oct-2011 Gilles Debunne <debunne@google.com> am 4eec98ed: Merge "Text handles do not handle scroll correctly" into ics-mr0

* commit '4eec98edee3d6eb516e30a7151da13fd726f93a9':
Text handles do not handle scroll correctly
93347c24a77489d614332b8dfa98a3a50092590c 21-Oct-2011 Gilles Debunne <debunne@google.com> Text handles do not handle scroll correctly

A recent patch taking scroll into account was applied at the wrong
level. isVisible() expects positions that already take scroll into
account. isOffsetVisible() is where the initial bug was.

Cherry pick of 144415 from master.

Change-Id: I06ceebfb3d7b24aa4adba886c24fcf9d8dd39d2e
extView.java
28f81dede5f1b968b933cbfa8dfd2c6eca49154d 27-Oct-2011 Gilles Debunne <debunne@google.com> Revert "Potential thread concurrency issue with WordIterators."

This reverts commit d224c88c480b4493b001f64b59ad37334c00e8dd.

Based on Dianne's comments, this small optimization seems uncessarily
risky. I'll submit a new change where each SpellParser has its own
WordIterator to make this thread-safe.

Change-Id: Ic09fa656b00d284536e58f4cc7d26d5e26c3f3cf
pellChecker.java
e9c98bdf995fdcec3ac361bd331bc222fe700aaf 27-Oct-2011 Gilles Debunne <debunne@google.com> Merge "Potential thread concurrency issue with WordIterators."
f2a02018e2fa3089f6d39fc838a04818ae6cf26b 27-Oct-2011 Gilles Debunne <debunne@google.com> Scroll performance improved in multiline TextEdit

Measuring line widths, glyph by glyph slows down the scrolling
process for long text (for some reason, width measure efficiency
is affectedi by text length, maybe because the whole text has to
be passed to JNI layers).

This optimization avoids this computation in the case where there
is no possible horizontal scroll.

Change-Id: I2082e3d0eedace1a86122a03e4b21f90f3bc8522
extView.java
35199f5ce7cfc433628a1beda84d80fcaa475e41 26-Oct-2011 Gilles Debunne <debunne@google.com> Performance improvements for long text edition.

Limit each parse to batches of a few words, to keep the UI thread
responsive.

Possible optimizations for the future:
- SpellCheck in a thread, but that requires some locking mecanism
- Only spell check what is visible on screen. Will require additional
spans to tag the pieces of text.

Change-Id: Ibf8e98274bda84b7176aac181ff267fc1f1fa4cb
pellChecker.java
872d11cbc459a603d729d58e80ea59e22118a0cb 27-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> am 8c807076: Merge "NumberPicker does not not fit on Crespo in landscape." into ics-mr1

* commit '8c8070763971b72aa012e23585fe844b4b956282':
NumberPicker does not not fit on Crespo in landscape.
e0c8ab5aaa02d7b9b01fe68fb893af4d78482f6c 26-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> NumberPicker does not not fit on Crespo in landscape.

1. Now the NumberPicker has a max height and width for which is looks
good but can still shrink if there is not enough available space.

bug:5512787

Change-Id: Ieea88cafa8408e1d4160bab4bfe2b771bd79f7f8
umberPicker.java
fec2aa51d618c1b959732e67b9a622daf5b0342b 26-Oct-2011 Philip Milne <pmilne@google.com> Merge " Update to fix for bug 5393156"
dc37203c95e07fa3257c9a6da912dcf1915a3399 26-Oct-2011 Gilles Debunne <debunne@google.com> Merge "Text handles do not handle scroll correctly"
ecab1178648670f2c72b47faf250040fcded3d13 26-Oct-2011 Philip Milne <pmilne@google.com> Update to fix for bug 5393156

Tweak to the logic to take account of margins when gravity = FILL is used and
there is a measurement dependency between the axes (as in mulit-line text).

Change-Id: I91b9143c2d5db41cb67dd641d5c7ea0b56cae7ff
ridLayout.java
caa8c06de5f94db69faca35d666c04b82d3f420b 07-Oct-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5387832 [UI/Visual] Address of the website is not displayed properly(second line of the address is partly shown)

- finally get ride of VERY_WIDE constant ...
- compute the text width on the fly (we cannot cache it as the paint properties can be changed)

Change-Id: I07a0df15202ad3f61eabf62da9658fc301422be7
extView.java
bd12e41ba5e29ee95bc653ffaf5cbd9dbd11d0c9 21-Oct-2011 Adam Cohen <adamcohen@google.com> am e3bb0ecb: Merge "Removing fades on last item in StackView for major FPS improvement on Prime" into ics-mr0

* commit 'e3bb0ecb2b36964cb3b02bc0d575e9366818ee00':
Removing fades on last item in StackView for major FPS improvement on Prime
fec22c6be6ce4988cda358cd405899566c07f032 21-Oct-2011 Gilles Debunne <debunne@google.com> Text handles do not handle scroll correctly

A recent patch taking scroll into account was applied at the wrong
level. isVisible() expects positions that already take scroll into
account. isOffsetVisible() is where the initial bug was.

Change-Id: If2a5349555ec9e86e4295e819d5d9086f0adcdbd
extView.java
c798b6688aa1076de96a70c2add20dcf745df800 21-Oct-2011 Adam Cohen <adamcohen@google.com> Removing fades on last item in StackView for major FPS improvement on Prime

Change-Id: I479eb129e80a6087ab55d1de7eed0222d6dacdf6
tackView.java
d224c88c480b4493b001f64b59ad37334c00e8dd 21-Oct-2011 Gilles Debunne <debunne@google.com> Potential thread concurrency issue with WordIterators.

parse() is called from the UI thread when text is changed, and in
that case it is safe to re-use the TextView's WordIterator.

It can also be called from the SpellCheckSession thread though
onGetSuggestions: use a local WordIterator in that case.

Change-Id: I596bff15cc8f997b9dc49598724450ac5c582101
pellChecker.java
592ddaa34f5a6799e4bb707996a3b8308448282e 12-Oct-2011 Gilles Debunne <debunne@google.com> Bug 5428541: Check that span is still in text before deleting

This is a cherry-pick in MR0 of CL 141388 from master.

Bug 5488537

In case the span has been removed from the text since the popup
was showed, the delete action is a no-op.

Change-Id: Iec2aeaf03becd82ad44715d5c08bfaa8f62aa3fe
extView.java
c5d6fe015201b6522d0edf6b9c243ffa689744bf 21-Oct-2011 Gilles Debunne <debunne@google.com> Merge "Renaming of a hidden API: ShowSoftInputOnFocus"
c8c2e17ecd3488b41d651369d942fafc745e6baa 20-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Add content description setter to RemoteViews"
c397df7754ad83eae15e5402a2fc76afb9d9d546 20-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> am 5dc30a77: Merge "DatePicker crashes when going from 2036 to 2035 via â–¼" into ics-mr0

* commit '5dc30a770ab1b4f07ff10502f9de9ec39daac41d':
DatePicker crashes when going from 2036 to 2035 via â–¼
5dc30a770ab1b4f07ff10502f9de9ec39daac41d 20-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "DatePicker crashes when going from 2036 to 2035 via â–¼" into ics-mr0
6304b0d58e74509a9f21b67b5227b2fee2f1b60f 20-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> DatePicker crashes when going from 2036 to 2035 via â–¼

1. Some obsolte logic was placing invalid index in the array of
scroll wheel items which was resulting in failure to look its
string representation from the cache causing a NPE.

2. While editing the current value via the IME the middle item
of the scroll wheel was partially visible i.e. the user was
able to see a dimmed version of the old value intermixed with
the new one.

3. The logic for hiding the IME while poking a button i.e. starting
to use another way of changing the current value, was incorrect.

bug:5480205

Change-Id: I1c2c96402bd38bac1dec64ccc6b550410332b9d7
atePicker.java
umberPicker.java
imePicker.java
4a41cb31472adfd9cb8b7814c661c3687e4b7a80 20-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> am 018cb119: Merge "AdapterView does not check for null adapter when initializing accessibility event." into ics-mr0

* commit '018cb119bca7a3a08dd59843e1fec9a3027a8133':
AdapterView does not check for null adapter when initializing accessibility event.
0e6fa8b60d113883c92dd754f5e3f8bb8b17e073 19-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> AdapterView does not check for null adapter when initializing accessibility event.

The code that initializes accessibility events was assuming the AdapterView
always has an adapter and this caused NPE. Now the right method of the view
is called to get the item count.

bug:5474162

Change-Id: I6c330dc2894477df9447a4ecfddc7bd62c575d59
dapterView.java
0f4109e4ef7bca3bf879335007803e6b5392ca6e 19-Oct-2011 Gilles Debunne <debunne@google.com> Renaming of a hidden API: ShowSoftInputOnFocus

Change-Id: Ib0384815f5ed677547a42d456ee190d5ac2ef7bd
extView.java
e261e283eaedd38235fc93b2a5c35758c613b10c 19-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Add content description setter to RemoteViews

bug:5480389

Change-Id: I66616f379a244ba7f3552d766f3aaa77f207550a
emoteViews.java
5b2dfbde530d85e50d296970e65007e6270ec6cc 17-Oct-2011 Chet Haase <chet@google.com> am 1aad3b5e: Merge "Issue 5432115: Speed up notification scrolling" into ics-mr0

* commit '1aad3b5e336a04ed612c091d8002569f959e1722':
Issue 5432115: Speed up notification scrolling
ba1fe8e3cfcf029a9bbd9bc7575e2b5c4f4ad8b0 15-Oct-2011 Chet Haase <chet@google.com> Issue 5432115: Speed up notification scrolling

The NotificationPanel was using views that had non-1 alpha
values set on them (permanently). This is costly in the GL
implementation and caused more rendering overhead, and worse
performance, than simple opaque views would.

The fix is to set the text color and ImageView drawable alpha
directly, without setting the View alpha property.

Change-Id: I381e0bd45bf45784b8e364a27a339e6583189a43
mageView.java
69db986cf01c74094747f82758e229da9f007a74 14-Oct-2011 satok <satok@google.com> am e6fee18d: Merge "Invalidate SuggestionSpan with FLAG_AUTO_CORRECTION when it\'s removed." into ics-mr0

* commit 'e6fee18d16a86c266afef48f7705268435a99111':
Invalidate SuggestionSpan with FLAG_AUTO_CORRECTION when it's removed.
e6fee18d16a86c266afef48f7705268435a99111 14-Oct-2011 satok <satok@google.com> Merge "Invalidate SuggestionSpan with FLAG_AUTO_CORRECTION when it's removed." into ics-mr0
ae245d59b384fb4e649d32a3475e4519fafa43ff 14-Oct-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5420741: exception when rotating device while suggestion popup is visible"
b9e78d96b745341c6cd8be950480c0cb0a20974f 14-Oct-2011 Gilles Debunne <debunne@google.com> Merge "Spell checher's language synced with keyboard."
5a401ddbc89c99315b82b27e1554dbf5141137b4 14-Oct-2011 Joe Fernandez <joefernandez@google.com> am 471fa9d1: Merge "docs: add developer guide cross-references, Project ACRE, Round 2" into ics-mr0

* commit '471fa9d10b4fa4da070c0ffb5fa5ea1354c8e6b8':
docs: add developer guide cross-references, Project ACRE, Round 2
471fa9d10b4fa4da070c0ffb5fa5ea1354c8e6b8 14-Oct-2011 Joe Fernandez <joefernandez@google.com> Merge "docs: add developer guide cross-references, Project ACRE, Round 2" into ics-mr0
558459fe85f56f29a6ed6a4d0adb4a0bd6665884 14-Oct-2011 Joe Fernandez <joefernandez@google.com> docs: add developer guide cross-references, Project ACRE, Round 2

Change-Id: I39a534ae3a2a34b4dabc333a09961012ef911d3e
oast.java
75e126f2df40365ca987d192d81188127518b384 14-Oct-2011 satok <satok@google.com> Invalidate SuggestionSpan with FLAG_AUTO_CORRECTION when it's removed.

Bug: 5460262

Change-Id: I4ca71020a6d4b7057f60ca99944c479775cca8b7
extView.java
19f4b66ddc924e1828ddc4082dd381616f57ec06 14-Oct-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5228934: added a flag to disable the display of the soft input on focus"
9d8d3f1539ce5bdf512bd47ec1648609d6cde5b1 13-Oct-2011 Gilles Debunne <debunne@google.com> Spell checher's language synced with keyboard.

Bug 5379440. The spell check is now using the IME's language to
do the spell checking. Changing the input language triggers a
new spell check of the entire text.

Optimizations: ArrowKeyMovementMethod re-uses the TextView's
wordIterator, already set to the correct language.

One wordIterator shared by all SpellParsers in SpellChecker.
Cannot re-use TextView's because of concurrency issues.

With the current implementation, one has to type a new character
to see the new spell checking take place.

Change-Id: I0e460c0a6777548f89d03d6b68f3deea6606c17f
pellChecker.java
extView.java
cbdd245793fe5dc42d4573c20d0a43ad95d06d53 13-Oct-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5428541: Check that span is still in text before deleting"
9e45b78c4ec5531a01fb43afc088f5c67880343d 13-Oct-2011 Adam Powell <adamp@google.com> am aa79a5d5: Merge "Fix bug 5455676 - seek bars without thumbs" into ics-mr0

* commit 'aa79a5d5a3b06b5b4e40a1ab0ccc6697627b1a8d':
Fix bug 5455676 - seek bars without thumbs
2c5b8cc71bc8ac1efa944568c1292929073bbc36 13-Oct-2011 Adam Powell <adamp@google.com> Fix bug 5455676 - seek bars without thumbs

Change-Id: I9a4257b91a89cceeca7d5acf9358a8254446c784
bsSeekBar.java
26c8b3ae7f01e8a28658e23e2a0d525dd7b9bdf9 12-Oct-2011 Gilles Debunne <debunne@google.com> Bug 5420741: exception when rotating device while suggestion popup is visible

The suggestion popup window was not dismissed on orientation change.
This is triggered by onDetachedFromWindow.
However, this method is also called when the suggestion popup window
pops up. A new flag detects that case to dismiss the popup unless it
has expressly been asked to show up.

Still errors in the log after that change, I assume related to the window manager.

Change-Id: Ia515fc576ddf2127b2f9863cc2652aeb619fff6e
extView.java
cee057ed2d5443d901484238a5212c2d3cc5c994 12-Oct-2011 Fabrice Di Meglio <fdimeglio@google.com> am 87228cd7: Merge "Fix bug #5446966 Changing Gravity on a TextView does not change how the text is aligned" into ics-mr0

* commit '87228cd7bb9a39e2bb33a767d214c8d834f840df':
Fix bug #5446966 Changing Gravity on a TextView does not change how the text is aligned
550efbfbf7cad81f2cc96da68e52324c6231f9ab 11-Oct-2011 Gilles Debunne <debunne@google.com> Bug 5228934: added a flag to disable the display of the soft input on focus

This will be used by the contact app for the dial screen text input.
https://android-git.corp.google.com/g/#/c/141088/

New upload to trigger a new android-build-police build.
Error 137 on buld server, builds fine locally even after a make clean.

Change-Id: I9288f3cab5c3330d693e08f88611acdd03526a41
extView.java
9f51384720715b58616a7281e2a073f736eff859 12-Oct-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5446966 Changing Gravity on a TextView does not change how the text is aligned

- this was a regression introduced when dealing with getLayoutAlignment()

Change-Id: I9571a7976789b768c7cb41560d88b35d67ae3895
extView.java
b10d396f2e1d0329013f5376bd486621bd177bc8 12-Oct-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5385279: IOOB in createMisspelledSuggestionSpan"
ba25c01335232b701232ff2157379b5828a47e52 12-Oct-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5237623: word no longer underlined after replacement"
af5280cc71e155758c2f6625eb999cabb37e937f 12-Oct-2011 Adam Powell <adamp@google.com> Fix bug 5173029 - make fast scroller aware of scrolling containers

When a ListView with a FastScroller is located in a scrolling
container, defer the start of the drag operation for a short time or
until a touch slop is crossed. This allows these lists to be placed in
containers like ViewPagers without immediately stealing touch events.

Change-Id: I9b10b6993b24113c5e95c485bf57206747c73a84
astScroller.java
c08ec615d26508c14c44680ffe649d46be6de8c5 12-Oct-2011 Gilles Debunne <debunne@google.com> Bug 5385279: IOOB in createMisspelledSuggestionSpan

Race condition: when spell check result come back, the spell check span may no longer
be in the text, although it should have been removed by removeSpellCheckSpan.

This is possible because onGetSuggestions is called from an other thread
and it can see the text in an inconsistent state where the span may have been removed
from the text, but the listener that calls removeSpellCheckSpan has not yet been called.
As a result, onGetSuggestions still lists the span but getSpanStart returns -1.

Change-Id: Ia40f7ed2b46fc94888fce5a6b209fb0d0d529bbe
pellChecker.java
28ef904077b8acdeebb6b80cd05c4f4447d3c155 12-Oct-2011 Gilles Debunne <debunne@google.com> Bug 5428541: Check that span is still in text before deleting

In case the span has been removed from the text since the popup
was showed, the delete action is a no-op.

Change-Id: I6478e0953cab132a984174b596d1f813909cdc2d
extView.java
aa4f5c95c372f54f6c2c89fdea0ececfd05f474a 12-Oct-2011 Adam Powell <adamp@google.com> Fix bug 5434403 - invalidation problem with seek bars at edges

Explicitly invalidate the seek bar thumb area when we change drawable
states for touch down. This prevents the thumb from only being
half-invalidated at the edges since it extends into the view's padding
region.

Change-Id: Icc4e608aca044b2d05f3a9378eced839c03947e6
bsSeekBar.java
5915c885deaf40231c29bc720503dcf03acab188 11-Oct-2011 Gilles Debunne <debunne@google.com> Bug 5237623: word no longer underlined after replacement

When replacing a word, we need to remove *all* misspelled
suggestion spans, not just the one which triggered that popup.

Change-Id: I7be17ac626b26123b029f5e10c1e2eaa5f94d67c
pellChecker.java
extView.java
a72a80632b07dd7faf0ca2a4a0eae2770b14caa6 11-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "DO NOT MERGE AdapterView does not set setCurrentItemIndex in accessibility event." into ics-mr0
eb0c52e491d89543d0e9573b81fdb9145d680059 11-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> DO NOT MERGE AdapterView does not set setCurrentItemIndex in accessibility event.

Cherry picking since branching caught us in the middle of review.

bug:5439637

Change-Id: I67d080abb4c14cad88b952e2f91d65e181b2029b
dapterView.java
98348517fde86f993b5720a862bce5c2a5f1a06f 11-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> DO NOT MERGE AdapterView#isScrollableForAccessibility does not handle null adapter.

Cherry picking since branching caught us in the middle of review.

1. If an AdapterView has no adapter and the view tries to fire an
accessibility event we get a null pointer exception.

bug:5439321

Change-Id: Ia3d7a5ad852ef42422d10d8a62c4d3af6792313b
dapterView.java
0c9698aca534f123414e4c5a9419f210473ba11b 11-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge changes I67d080ab,Ia3d7a5ad

* changes:
AdapterView does not set setCurrentItemIndex in accessibility event.
AdapterView#isScrollableForAccessibility does not handle null adapter.
b2a9e2167216d9b1330e93eaf6ecd37843042c09 11-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> AdapterView does not set setCurrentItemIndex in accessibility event.

bug:5439637

Change-Id: I67d080abb4c14cad88b952e2f91d65e181b2029b
dapterView.java
54669f837ac305a0e7a7725cb418a51b4ed8ebcd 11-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> AdapterView#isScrollableForAccessibility does not handle null adapter.

1. If an AdapterView has no adapter and the view tries to fire an
accessibility event we get a null pointer exception.

bug:5439321

Change-Id: Ia3d7a5ad852ef42422d10d8a62c4d3af6792313b
dapterView.java
f656030a865be029c7c29bab2ea6f5fff07624ae 11-Oct-2011 Gilles Debunne <debunne@google.com> Bug 5437846: Crash in SpellChecker

The cached mText field from TextView is not constant overtime.
It is especially changed whne the first character of text is added.
Retrieve the actual current value everytime we use it.

Change-Id: Ie297a3292106879621e54a22e5d03444d442ec96
pellChecker.java
59ba2b2fabf91af7685f3c00eea7fc155d05f1fc 10-Oct-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5250788: LatinIME slows down as amount of Text increases"
43ee0ab8777632cf171b598153fc2c427586d332 09-Oct-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5433910: RTE while adding an account from settings

Make the new marshalling/unmarshalling code for the long sparse
array of ints always consistent.

And sane.

Change-Id: Ifbfbe6e56f59e469acb66257c504b1168d6566fa
bsListView.java
287d6c6e12a38864d019fa7b9184206bc8a31ea1 06-Oct-2011 Gilles Debunne <debunne@google.com> Bug 5250788: LatinIME slows down as amount of Text increases

Removed unnecessary CharSequenceIterator and made the WordIterator
work on String instead of CharSequence

Submit words to the spell checker by batches.

Refactored WordIterator to make it intrinsically local.

Change-Id: Ie9e30691985a130fa55cd052005ddb22a21761cb
pellChecker.java
extView.java
e0f2515b444ceae20571cbe29e44237d259f54bd 07-Oct-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5399568 - ListView check states inconsistent after data set change"
14c080497e427c4dd9395df5bacb28bcc4291a32 07-Oct-2011 Adam Powell <adamp@google.com> Fix bug 5399568 - ListView check states inconsistent after data set change

ListView tracks check states in two ways, by position and by ID if an
adapter reports stable IDs. After a data set change there was no
guarantee that the position checked mapping was consistent.

Fix up the position mapping from the ID mapping after a data set
change. In the future this should happen by asking the adapter where a
given ID is now located, but this will require new API and not all
adapters in the wild will implement it. For now make a best guess by
searching in a limited window around the item's last known position.

Change-Id: I70ba89eb103c438b0410c3c6d066acc3918459f9
bsListView.java
7853c579fa52e4365c6e44ba38aeb3299d776f44 07-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Fixing errors in position information of scrollable views reported for accessibility."
d9ee72fddb8be40e414a831fb80458dc48699613 06-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Fixing errors in position information of scrollable views reported for accessibility.

1. ScrollView/HorizontalScroll view were reporting only the scroll X and Y but
failed to convey the max scroll along X and Y so the position can be determined.

2. WebView was not reporting correctly its scroll position for accessibility.

3. Some descendants of AdapterView were reporting incorrect position information.

4. Updated the accessibility docs with some details about the scroll information.

5. Cleaned up duplicated code.

bug:5412132
bug:5412265

Change-Id: I165e73ecde027dad811425b9f395a3f758c923ba
bsListView.java
dapterView.java
allery.java
orizontalScrollView.java
istView.java
crollView.java
535698c57dbbd0d0eef79223293526748a07dfec 06-Oct-2011 Luca Zanolin <zano@google.com> Remove the mic from the keyboard in SearchView

Bug: 5357750
Change-Id: I20c87a25e95222772c6b5154d09dd681b966fd9a
earchView.java
764041d21360b4865f905194e08eb8ea2f3ead9f 06-Oct-2011 Fabrice Di Meglio <fdimeglio@google.com> Fixbug #5387832 [UI/Visual] Address of the website is not displayed properly(second line of the address is partly shown)

- make VERY_WIDE bigger ... 64 times actually

Change-Id: I1a177ef5821d9341abb77ea69a50e05a5bfc97b5
extView.java
e921572bda621b75a217bce115c2b605caf9b26a 05-Oct-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Revert "Fix bug #5387832 [UI/Visual] Address of the website is not displayed properly(second line of the address is partly shown)""
ad0b051b133baf92f199c96a8ac1e81b3393190c 05-Oct-2011 Fabrice Di Meglio <fdimeglio@google.com> Revert "Fix bug #5387832 [UI/Visual] Address of the website is not displayed properly(second line of the address is partly shown)"

This reverts commit a130e5f59dc6b2117e4c1a8ffef54828e9ea44c7
extView.java
8c60235b550ecbd5cba594584f78ef6630953e56 04-Oct-2011 Gilles Debunne <debunne@google.com> Merge "5402566: Copy/cut icons do not appear if the text is Japanese only"
a13a322e090c50549ce5a42c382e1ef668cf0481 04-Oct-2011 Gilles Debunne <debunne@google.com> Merge "Optimisations and bugs in SpellChecker"
8f3105ff9bc331a3d664cf06793d47f4763db3c5 04-Oct-2011 Gilles Debunne <debunne@google.com> 5402566: Copy/cut icons do not appear if the text is Japanese only

When the word iterator return an empty range, select an arbitrary
character so that cut/copy icons are available.

Change-Id: I16e5a3c7f10886db967d870706da7f2d690af013
extView.java
2588a07730ff511329c87b5f61b20419b2443d48 04-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "The logic for not populating text to some accessibility events is scattered."
0058f724eb5a4e8b8f7409cdcea0ba154b5d2332 04-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Accessibility services cannot obtain the source of an event coming from a root namespace descendant."
e1fc4f6c3c7d573f013b707ee962d58f9fb636dd 04-Oct-2011 Gilles Debunne <debunne@google.com> Optimisations and bugs in SpellChecker

A bug was introduced in a recent refactoring: correct words didn't have their
SpellCheckSpan removed, leaving a lot of useless spans.

SPAN_EXCLUSIVE_EXCLUSIVE should never have a 0-length. With Japanese characters
wordStart could be equal to wordEnd when parsing the text: skip these.

Using toString().substring(...) instead of subSequence(...).toString() which
is more efficient.

Change-Id: I670870a34565939b676400091f4852152a7f7124
pellChecker.java
extView.java
2cdedffcfa5594f9d516fa235d5edf4d4f92c21d 03-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Accessibility services cannot obtain the source of an event coming from a root namespace descendant.

1. The user can touch the screen at an arbitrary location potentially crossing the root namespace
bounday which will send an accessibility event to accessibility services and they should be able
to obtain the event source. Also accessibility ids are guaranteed to be unique in the window.
Added a package scoped findViewByAccessibilityId method that dives into nested root namespaces.

2. Added accessibility support to the AnalogClock.

bug:5405934

Change-Id: I84edcb554bae41aafcbbc2723c5e62c1ef8a6ddf
nalogClock.java
imePicker.java
d2b58940f7db9d85a9d3f9d12173ec2a07c837df 03-Oct-2011 Adam Powell <adamp@google.com> Don't obtain attributes for the whole theme when looking for selection
mode drawables.

Change-Id: I82d327e8fcf67baa557245982b2b5ba76ffa9fec
extView.java
f00b4decc3f0b0ebd88b9a2cdb6df959704dfd46 03-Oct-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5327547: re-check word after it (may) have been added to user dictionary."
6771c7fdbede3f0b68ec06a5ea734c62577876fd 03-Oct-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5384674: When only one suggestion is returned, it is displayed twice"
d3871c53cfbc6c789de97cf3e5928a03c5b84232 03-Oct-2011 Gilles Debunne <debunne@google.com> Merge "New underline color for the Voice recognized suggestions"
70853772bd119339244a4fc8e020ad78495228be 01-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility support to the share UI.

Added content description to the overflow button and default
action target as well as content description for the popup
list with share targets.

bug:5398787

Change-Id: Iea1e9d85893899f7d161986cb958595083c79b93
ctivityChooserView.java
hareActionProvider.java
82e236d72ac197d6673d0b4d484fe5f0b9436731 30-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> The logic for not populating text to some accessibility events is scattered.

1. Some accessibility evenents should not and were not dispatched for
text population but there was no centralized location for enforcing
this - rather the system was firing them in a specific way or there
were conditions in a few places enforcing that. Now this is centralized
and clean.

2. Updated the documentation with some new event types the were lacking.

3. Explicitly stated in the documentaition which events are dispatched to
the sub-tree of the source for text populatation.

bug:5394527

Change-Id: I86e383807d777019ac98b970c7d9d02a2f7afac6
dapterView.java
allery.java
orizontalScrollView.java
crollView.java
845d9c7f7ee4ffc776f66fcb5206ac7287e270ef 23-Sep-2011 Gilles Debunne <debunne@google.com> Bug 5327547: re-check word after it (may) have been added to user dictionary.

Change-Id: Id4f32477c3368a140883dd34c97578aab46b04db
extView.java
176cd0d3b4a612b9fdd88c1d245e9fd93a327bf2 30-Sep-2011 Gilles Debunne <debunne@google.com> Bug 5384674: When only one suggestion is returned, it is displayed twice

Two separate issues here:
- The results of the spell checker may be identical to the one set by the IME. Since
we merge the spans, the entries are duplicated. Filter spell checker results to avoid
these duplicates.

- When the text is saved on rotation, the spans are saved and restored. Since we start
a new spell check when the window is attached, it also doubles the size.

Change-Id: I21e1a5ae1b264bc97f44d762e4589bf520c6c19c
pellChecker.java
extView.java
eba3d923415431ea8b301d4e77c8f2b7225fed30 30-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5384675: Color in add to dictionary"
9fb46925d33643f830dfc2cf5a15601eb416143b 30-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5384535: Underline for typo even if there are no suggestions"
5b92a451c0004b53e8c10537c5254c9e6d047d19 30-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5254884: suggestions are no logner copied in the clipboard"
67ed574cdb0a66c42a9827f7dbc54df98578271b 30-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5250788: EditText gets slower has the entered text gets longer"
c2deadc9f3c7bb0bd23500bd86a1cffe04862c07 30-Sep-2011 Gilles Debunne <debunne@google.com> New underline color for the Voice recognized suggestions

Change-Id: Icb863942e7c11caca7384deca5c59866d4668256
extView.java
594cb476547b38098018e80b5f70935ff60d9551 30-Sep-2011 satok <satok@google.com> Merge "Use user's settings for the spell check language instead of the system locale"
70deff4c107963164f8b88365909fd30ab5e6526 30-Sep-2011 satok <satok@google.com> Use user's settings for the spell check language instead of the system locale

Bug: 5390462
Change-Id: Ia2a3981cb93f451646debe5ee6b037313825cf9f
pellChecker.java
af43add388cdc69d6d1006b874f970eb7dd3026e 30-Sep-2011 Luca Zanolin <zano@google.com> Merge "The x and y position of the pop-up where not calculated correctly when the text view had internal scrolling."
2783b4fa43568e480fd59e8beb7d762f9f696249 30-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "ActivityChooserView shows "see all" improperly."
46c78b4de14b18152db031d155006e6f45aa9eaa 30-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #5387832 [UI/Visual] Address of the website is not displayed properly(second line of the address is partly shown)"
1c07e22c364732779b33c72bdc0e18c4bda0f7ef 30-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> ActivityChooserView shows "see all" improperly.

1. The cooser was presenting the "Show all" option if the number
of available activities was more than the initial max count of activities
to be shown. Since the show all option is added to the drop down
the latter becomes effectively one longer than the initial max activity
count which may make the drop down taller than client expectats. Also
this leads to the case where if the activities are one more than the
initial activity count pressing the show all button will just replace
the show all item with the activity that did not fit - this is somehow
annoying to the user.

bug:5379282

Change-Id: I2693214cb0b66edb2a3bdffc01ed29139341111c
ctivityChooserView.java
a15cb2cda76905789aa2b9d175d1e17307e4cde8 30-Sep-2011 Philip Milne <pmilne@google.com> Merge "Fix for 5393156"
4a145d72622772b920f60195e80942058984259c 29-Sep-2011 Philip Milne <pmilne@google.com> Fix for 5393156

. Fix for the above.
. Make instances of Space invisible by default.
. Correctly accomodate parental constraints when row/col order is undefined.

This fix allows GridLayout to accomodate simple dependencies between
its axes. In the example given in bug 5393156, the presence of a
multi-line TextView means that GridLayout can only compute its height
after it has computed its width. This fix adds a second measurement pass
to GridLayout that passes infomation betwen the axes, using the GridLayout's
orientation property to indicate which axis should be examined first.

Change-Id: I90761c6fcfe8edc7ef6d9a89076fd5cda3adc0a4
ridLayout.java
pace.java
a130e5f59dc6b2117e4c1a8ffef54828e9ea44c7 29-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5387832 [UI/Visual] Address of the website is not displayed properly(second line of the address is partly shown)

- make DynamicLayout honor max lines
- make StaticLayout.generate() take maxLines as a parameter instead of using the field mMaximumVisibleLineCount

Change-Id: I9eafb1be4b8bb2aa881514955a6903f559cb6a1e
extView.java
1dd7e534e7870a4d2799e06dafdeffa932989f24 29-Sep-2011 Gilles Debunne <debunne@google.com> Bug 5384535: Underline for typo even if there are no suggestions

Change-Id: I63f78227a3a80c5fdb97b1d5d8d6c595a70e1990
pellChecker.java
cf68fee06da3c1e238c0fcbeac40fd6385d15e93 29-Sep-2011 Gilles Debunne <debunne@google.com> Bug 5254884: suggestions are no logner copied in the clipboard

Change-Id: I621c5b4da4252876b0f424e895a4e19e2a4dda50
extView.java
e670101db8fbad28ee38481495be6387504f7da6 29-Sep-2011 Gilles Debunne <debunne@google.com> Bug 5384675: Color in add to dictionary

Change-Id: Ibb89265a90d6b598927dec2bcf45a8c02388b5f0
extView.java
404c8e57647cd70bc1e6b1fc6301d34e2c732d55 29-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5278473 & 5278471: delete option in suggestion popup menu"
f4314dffbd1b082bb6458b2d6bee69bda4ce2673 29-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Too many SpellCheckSpans are created."
253f694981592a99efc68799bedb073ac3fb0e30 29-Sep-2011 Chet Haase <chet@google.com> Merge "Fixed ProgressBar logic for AnimationDrawables"
83e8ced91a8c235787bd1f0e3a5b9f85ff7a9cd2 29-Sep-2011 Luca Zanolin <zano@google.com> Merge "Change the width of the suggestion item to match the one of the suggestion pop-up"
636da63854b454f95074aa85c57edd142d2a6ae0 29-Sep-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5385274 - tabs in browser can't be scrolled"
f6a6c97062d905be267fcb8f70e6eb06fb7e5ab4 29-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5385274 - tabs in browser can't be scrolled

Fix a regression related to optimizing invalidation in scrolling
views.

Change-Id: I6a39075dc830d78436a274935a904a32084defac
orizontalScrollView.java
crollView.java
8f847653859d9f4c0e0d54f390673b7dccf0b5eb 29-Sep-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5386915 - Action mode is intercepting touches it shouldn't be"
e0b6cd14ac116006e26dac6898a332fa90f1f49c 29-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5386915 - Action mode is intercepting touches it shouldn't be

Standalone action mode windows should not be touch modal.

Change-Id: Ia3bab69b3ac344837093a17c4b58451bcc3471bf
opupWindow.java
02dd17da3685652b5235ca48bd6882e65997434a 28-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5389072: NPE in MediaController.updateFloatingWindowLayout().

There was another constructor which we didn't add the call to
initialize the layout.

Change-Id: I1519c9afd7d6333736fe19d256f55a2f4cdc60c3
ediaController.java
a53d19dc6dc25e00c898fc7e53276b864ea91936 29-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Revamping of the NumberPicker widget for improved usablility."
d5ea0a1bc2fae7c6084b0c5cc9b68a925a0f50f6 29-Sep-2011 Gilles Debunne <debunne@google.com> Bug 5250788: EditText gets slower has the entered text gets longer

Profiling showed that the bottle neck was in the word iterator.
Now initializing the word iteerator to only a window around the region
of interest to reduce the text analysis.

Change-Id: Ibfa4952cbf52a1b36726f965143ac7a6dc63673e
extView.java
a79803c0924836053a6f97cc0e73f7ad56f763bd 29-Sep-2011 Chet Haase <chet@google.com> Fixed ProgressBar logic for AnimationDrawables

There are problems in ICS using custom ProgressBar indeterminate drawables when
those drawables are AnimationDrawables. Code that determines appropriate aspect-ratio
sizing should not kick in for this case; the animation drawables know what size
they should be.

Change-Id: I7c35e0dc0f2719f698551f197c688e6156a3f5bd
rogressBar.java
b80a3fcad1776c1b9abe3662899660b4f88ac2ab 16-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Revamping of the NumberPicker widget for improved usablility.

1. Now if the widget is not interacted with shows a smaller selector
wheel with the increment and decrement arrows at the top and bottom
respectively.

2. Tapping an arrow button now animates the widget to the new value. i.e.
rotates the selector whell to the next value.

3. Fixed a bug that double tapping on the input shows the IME but then
after pressing an arrow button the IME is not hidden.

4. Fixed a bug that was exposed via late changes in the framework or the
graphics and was manifested of the selector wheel not having fading
edges.

bug:5251980
bug:5383502

Change-Id: I4a089dc69b07a3b28a514017cddf786cb9f4af16
umberPicker.java
a403cb7e721a914b84cc2af17d400e108d077fff 28-Sep-2011 Luca Zanolin <zano@google.com> The x and y position of the pop-up where not calculated correctly when the text view had internal scrolling.

This method is invoked only when the pop-up is currently displayed and the text scrolles.

This is scenario is reproducible only with Voice IME (I think), as the text is inserted without
touching the screen.

Bug: 5290463

Change-Id: I0b842732cc1f115de06e992fbe28cb64eac49b22
extView.java
85d4ea6fe49e97c8b569768ba63a849653adb5b1 28-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5158468: Update floating window size when the anchor view size changes.

Originally when surfaceChanged() happens, we remove the old window and
create a new window. This causes flickering. Now we just update the window
layout according to the size of the anchor view.

Change-Id: Id741dac07872e473f2c9829b626c5c9568e7e22d
ediaController.java
ideoView.java
58707d6212aed2c6dfcdaecd108c6ddf117e756b 28-Sep-2011 Luca Zanolin <zano@google.com> Change the width of the suggestion item to match the one of the suggestion pop-up

Bug: 5267313
Change-Id: Ic7151398872459459f2537322961092d3ccffd1c
extView.java
a6c673bd6fdd5385ce9c76088f5d90e739216008 28-Sep-2011 Gilles Debunne <debunne@google.com> Bug 5278473 & 5278471: delete option in suggestion popup menu

Also added + and x icons on that line.

Change-Id: I508ae48f83eb7a831f24bb4f81933d9e698abde6
extView.java
b062e81e3a16af43db3619d721aa522c137d1aa9 27-Sep-2011 Gilles Debunne <debunne@google.com> Too many SpellCheckSpans are created.

Removed the Runnable in SpellChecker, spell check is triggered at the end
of updateSpellCheckSpans instead of when a new SpellCheckSpan is created.

Cache the spans in updateSpellCheckSpans to limit the calls to getSpans.

When typing, every new letter in a word will create a SpellCheckSpan
(this is needed in case the user taps somewhere else on the screen)
The SpellCheckSpans are pooled in SpellChecker to limit unnecessary new
SpellCheckSpan creation.

Minor optimization on test order in getSpans to avoid some calculation.

Spell check is not started everytime the selection is changed (would be
triggered when the insertion handle is moved). Explicitely do that only
on tap.

Change-Id: Ibacf80dd4ba098494e0b5ba0e58a362782fc8f71
pellChecker.java
extView.java
f5d412a0c707bfc3a5e27cdaaea8b2a4e8cb5d72 27-Sep-2011 Adam Powell <adamp@google.com> Improve docs in BaseAdapter.

Change-Id: Idbe19f9b01132c28b4960515c23bd28e3729fd5d
aseAdapter.java
3a6c2e985534aeaef04661e2875a8745022c334a 27-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> am a200a23a: Merge "Bug 5332065: IOOB in case the suggestionSpan has been removed" into ics-factoryrom

* commit 'a200a23af10dfcbbe46d10e868c2eae9f2c794a4':
Bug 5332065: IOOB in case the suggestionSpan has been removed
14ed50a9a3386e63ee19f6ac0b66c7f3c0fe362a 23-Sep-2011 Gilles Debunne <debunne@google.com> Bug 5332065: IOOB in case the suggestionSpan has been removed

I don't understand how the SuggSpan that has been tapped to display
the popup can have disappeared when an item is clicked.

This problem seems specific to monkey test with a race condition somewhere.

Change-Id: I447b6563a1b959dc3c1ead31cde2d9bcad369765
extView.java
8013290dd0e9d3eabc3611d7eca47aa50bdceed0 26-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #5366547 TruncateAt.MARQUEE should be replaces with "two dot" ellipsis on hardware that dont support MARQUEE"
ea1c7f3c5175f6e83dddd381b9a809ec52a9320f 26-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5248215: Even though I turned off the Spelling correction, it still shows up"
cb332649e44db86ff8b4e7f006db4bbfd82fed55 24-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5366547 TruncateAt.MARQUEE should be replaces with "two dot" ellipsis on hardware that dont support MARQUEE

- introduce TruncateAt.END_SMALL
- code refactoring for suppressing use of hardcoded constants

Change-Id: I70e24857cd5d6bd012a743cbc0ba46fbd06d5457
extView.java
53f56c4f51ae11d5b3afde8ce221b3fe9aea3cf1 25-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5358705 - Request no full-screen mode of the IME when a
SearchView is expanded in an action bar

This is a case where we always know there will be room on screen for
the user to meaningfully use the UI in the absence of full-screen
extract mode. Save the old state and restore it when we go in and out
of expanded action bar mode.

Change-Id: I4ae2c5df4f581c6824e6a1f7ff8d97fd86d8e260
earchView.java
83a559e78f57703645066c822a1ec7257c06ba56 23-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Scroll accessibility events should not populate text."
186aaf973530f426b9b0e602e9744c591aa4aea9 16-Sep-2011 Gilles Debunne <debunne@google.com> Bug 5248215: Even though I turned off the Spelling correction, it still shows up

Bug 5313754: SpellCheckSession is released when the window loses focus.

When an EditText is initialized with text, a new spell check is initiated
and previous spell check spans are removed.
Requires a new flag to prevent this from happening when the window focus
change comes from the suggestion popup window being shown.

Also fixes bug 5329588: handle spell check language change.

This change has been reverted. This amended change defers the creation
of the SpellChecker, so that it is only created for editable TextView.

Patch 3: Bug 5332065, the spell check session is closed in onDetachedFromWindow, which is
called when the window is destroyed (like on rotation), which was not the case with
onWindowFocusChanged.

Patch 5: Fixed life cycle. A view can be created and never attached to the hierarchy. As
a result, the spellCheck session would not be closed. Moved spell check to onAttach and
perform a spell check when text is changed by setText only if the view has previously
been attached (and the spellChecker has been created).

Change-Id: Ic2cfbfc0d3f23c589dd9e37f02e4afc1d625615d
pellChecker.java
extView.java
b84b94e1a04cd1f396dd6fef98d65ca1a2729c92 23-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Scroll accessibility events should not populate text.

Scroll events are used to report position change and should not
contain the text content of the view that fires them because it
is usiually a containter for many other views and the text will
be long and not informative for accessibility purposes. Also
such evens are fired relatively frequently. If a client wants
to fetch some textual content for a scroll event he can use
the interrogation APIs.

bug:5352059

Change-Id: I43e02aca895c8ab16ba82ebe1cee3aea8ce7711a
bsListView.java
dapterView.java
1ac6b1e221a76d7f09f47599449227e934d61d83 23-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "ActivityChooserView not showing "Show all" properly if the default target button not shown."
f632eaa9d64fb21892cc057ec7444ec157686734 23-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> ActivityChooserView not showing "Show all" properly if the default target button not shown.

If the default target button is hidden all activities are shown in the list from
which to choose. In this case due to off by one error the list was not showing the
option to expand it if the activities are one more than the initially shown.

bug:5358475

Change-Id: I8c3db37dab008637d78330f8de830cec92720264
ctivityChooserView.java
823f074a73cfc23c40a7b576c71daa096ee9ed6a 22-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5300621 - Share menu disappears in gallery

ActionProviders (or action views) unfortunately had no way to report
that they had opened a sub-UI that would affect menu visibility
listeners used to hide action bars when not in use. This caused the
Gallery UI to hide its action bar when the share popup was open.

Add hidden API (to be made public later) to ActionProvider that can be
used to inform the menu system that a sub UI has opened or
closed. Account for this in menu visibility callbacks. Fix
ShareActionProvider to use this when its popup windows open and close.

Fix a regression where submenus were not properly reporting visibility
changes.

Change-Id: Ia6f45fb463ad106105c40d01f141c2e5c8b96f78
ctivityChooserView.java
opupMenu.java
hareActionProvider.java
a80599f5be394edd9f3918ba03c490850a1d9e7f 21-Sep-2011 Gilles Debunne <debunne@google.com> Revert "Bug 5248215: Even though I turned off the Spelling correction, it still shows up"

This reverts commit 6e405f84b8d0c7c0f939bc8e9bec17e65e704a2d.

Change-Id: I9593273d414aee1f9817f84b462cf45360ff19e3
pellChecker.java
extView.java
d1396fbc64faaa3d2157a0edff077650b70b4dba 21-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5229466: don't consume pointer events outside the window

Change-Id: Ifa3d1d5edd81346e6ca80e113f80914ee2c47055
ediaController.java
576b6bb2f9a72cc7599a254818b8d6a1df25ecb5 21-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5248215: Even though I turned off the Spelling correction, it still shows up"
4877b85aea6ae1e4c486e28fc5c684ea02fe82be 21-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "ActivityChooserView not showing highest ranked target if default action not shown."
efab4e7f59835cb2ea9fdc42cc8fd9ea3771d261 20-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> ActivityChooserView not showing highest ranked target if default action not shown.

The view was not showing the highest ranked activity if the default action
button was not shown (happens if no history is present).

bug:5224159

Change-Id: I66536513e14496568ea2034467bd29ea4bc93cdb
ctivityChooserView.java
d37848af08be784ce52da09629dce771131ae5e5 20-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> TextView not adding text to accessibility events.

Reversed conditional.

bug:5342756

Change-Id: Ia2a523af6f7b12e27275e6095ea1b137768ea14c
extView.java
f2ff20e05baec2d9849c7456e8455a2671820f2a 20-Sep-2011 Justin Ho <justinho@google.com> Merge "Tuning Overscroller's scroll curve Softer end + rounder curve with less contrast Bug: 5200575"
a181bb4b8cd5dbd3390d95fec07620c272bd350c 20-Sep-2011 Justin Ho <justinho@google.com> Tuning Overscroller's scroll curve
Softer end + rounder curve with less contrast
Bug: 5200575

Change-Id: Icff6ba3cf7ae052c80b2e80e2d2b07085fcb40ce
verScroller.java
2c2ab5864f6037cebac5a4c73ec039f266d0dcfd 19-Sep-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5260129: Suggestion strip in Talk app not showing all the time
extView.java
6e405f84b8d0c7c0f939bc8e9bec17e65e704a2d 16-Sep-2011 Gilles Debunne <debunne@google.com> Bug 5248215: Even though I turned off the Spelling correction, it still shows up

Bug 5313754: SpellCheckSession is released when the window loses focus.

When an EditText is initialized with text, a new spell check is initiated
and previous spell check spans are removed.
Requires a new flag to prevent this from happening when the window focus
change comes from the suggestion popup window being shown.

Also fixes bug 5329588: handle spell check language change.

Change-Id: I113229dbe06863d34c1369d05d067292894f73f1
pellChecker.java
extView.java
bc82385706c597ceb36bcf8f842f339bcaa321f9 19-Sep-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5260129: Suggestion strip in Talk app not showing all the time

Change-Id: Ibac6138f3b3b0c3850a30d2c432495aa57b7f3f1
extView.java
a93909792c6f9657780a4cc358c20eda88a94a1b 19-Sep-2011 Philip Milne <pmilne@google.com> Merge "Fix for http://b/issue?id=5297155"
cbff417962b06cb2d80fe8efe8de31482e7bfcbb 19-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5143751 - cts errors in android.app.cts.AlertDialog_BuilderTest

Change-Id: Ic532785d2c52bf65c3884665ffc53aabdf3253b9
dapterView.java
8ee6d7c20e7767c2f61f8db9a99d01e0a05f3842 18-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5333962 - Problems with no action bar/overlay action mode

Change the standalone action mode window for overlay mode to be of
TYPE_APPLICATION. (This also fixes a bug where overflow menus would
not work properly on these types of action mode bars.)

Set exitFadeDuration on btn_cab_done_holo_* drawables.

Remove no-window-focus override selector states for selectable item
backgrounds to allow proper touch feedback on windows that do not have
focus but that the user can interact with.

Change-Id: Ib504866238708150d21e6183ff7b695869c05d3e
opupWindow.java
f6679c88d12e9f7e10e6884d4a8487673e53c097 18-Sep-2011 Philip Milne <pmilne@google.com> Fix for http://b/issue?id=5297155

. Make GridLayout dynamic (see below)
. Change access modifiers from private to package private
(to remove access$XX methods generated by compiler)
. Make private internal classes final (+10% perf)
. Update javadoc and add limitations section
. Improve error diagnostics

The bug above highlights the fact that GridLayout is a static
rather than dynamic layout - i.e. that the structure of the
grid could not be changed once it had been set up. This fix changes
GridLayout to a dynamic layout in which changes to its orientation,
rowCount and columnCount properties may be effected between layout
operations.

This change does not require a change to GridLayout's public API.

Change-Id: If5643574422dcfd3a557ce4db2bb19498dc6ecd8
ridLayout.java
92061b70be48fabd8a1e5fbdbd3021211c820222 17-Sep-2011 Jeff Brown <jeffbrown@google.com> am 79aa4030: Merge "Can\'t stop the fling! Bug: 5335420" into ics-factoryrom

* commit '79aa40302b643ee6c6227ee354a1b1378e721568':
Can't stop the fling! Bug: 5335420
b0c71eb9f50ce06327fa6bb6219f0970e04fd856 17-Sep-2011 Jeff Brown <jeffbrown@google.com> Can't stop the fling!
Bug: 5335420

Fixed a bug in VelocityTracker where the output velocity was
not being set to zero when not available.

Added a condition to ensure that the velocity is at least
the minimum fling velocity before continuing. If not, then
the user is trying to stop the fling and scroll more precisely.

Change-Id: I36634b0c3f7a9a09cf20c33f71d41163a8e33eed
bsListView.java
verScroller.java
f18c8ddd0f466de4b2f819fbbd612949bd71c532 17-Sep-2011 Romain Guy <romainguy@android.com> Clarify documentation of AdapterView.OnItemSelectedListener
Bug #5331587

Change-Id: Ic3d6aca573639d6cae3abb45bfe821f5fd31f1bc
dapterView.java
1451f1821d4842ae9c5d3d4c6b5dab82048c0676 16-Sep-2011 Adam Powell <adamp@google.com> Merge "Update docs for RelativeLayout to better explain its interpretation of gravity."
a0383f7212651c9508ad5fb56b1cd1216ceb8fe9 15-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5319091: Completions delayed in AutoComplete in landscape"
1fec24e0fff95afaa90bbf811e9f8db659eb9324 15-Sep-2011 Adam Powell <adamp@google.com> Update docs for RelativeLayout to better explain its interpretation of
gravity.

Change-Id: Ie52dc23458c73dfb7fdbf929b802f968ef905557
elativeLayout.java
98c8b52b0ac7c108b03a5e73c1dcfb94a0a69868 15-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "TextView should report in an AccessibilityNodeInfo's text its hint if the View text is empty."
4c94936511a1c045f53c9207dc9908f5c89b56e5 15-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "CalendarView diregarding XML attributes."
0fd7e087eb95ff3d41e7170e6a093f7d31c6b6d8 15-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5299484: Recipient address in to field is doubled when entering in landscape mode"
ab5a4057e734df59358b606f1cba9ef921a9e269 15-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> TextView should report in an AccessibilityNodeInfo's text its hint if the View text is empty.

1. TextView was reporting only its text as the text of the emmited AccessibilityNodeInfo
not using the hint if the text is empty which is inconsistent with the handling of
accessibility events.

2. TextView was using the contentDescription in AccessibilityEvents if its
text and hint are empyty. However, the content description is reported as
a separate event property and it is incorrect to report it as the text.

bug:5129138

Change-Id: I1c9270459cb07650a0ec5181cc4a01993dde3b5c
extView.java
f1189e9a462dcc85918607159c433d9cd23de0bf 15-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> CalendarView diregarding XML attributes.

1. CalendarView was disregarding XMl attributes.

2. CalendarView was trying to set the current date
to today without checking where today is between
min and max date.

bug:5116456

Change-Id: Ie5a81826a3cd028f42e18a7985461fa283839171
alendarView.java
d513e9746f09611db6478e368207ac7b112a253d 15-Sep-2011 Gilles Debunne <debunne@google.com> Bug 5319091: Completions delayed in AutoComplete in landscape

The filtering is an async process. We need to re-update completion
when it is finished.

Changed loogic to mimic the way it was done in GB.

Change-Id: If49048d786b3b9529da55c7247e7ef5f3d0fc8b5
utoCompleteTextView.java
df82905cf3ceb9192dc8087f934081f809d99bcf 15-Sep-2011 Dianne Hackborn <hackbod@google.com> Merge "Update the public APIs for finding views by text to optionally use content description."
ea515aeafa01de6f50c854ee381b972ef2478284 15-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Update the public APIs for finding views by text to optionally use content description.

1. Added flags to the search method to specify whether to match text or
content description or both.

2. Added test case for the seach by content description.

3. Updated the code in AccessibilityManager service to reflect the latest
changes there so test automation service works - this is the fake
service used for UI automation.

Change-Id: I14a6779a920ff0430e78947ea5aaf876c2e66076
extView.java
de16e00f6d80b6ec21c15cfaba6f2083a5d4d86b 15-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "TimePicker CTS test failing."
11c91328185c017e65930f137e69191ddef7e111 15-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> TimePicker CTS test failing.

TimePicker code for setting the IME options was not taking into
account the old style of the UI where the AmPm spinner can be
null.

bug:5318844

Change-Id: I58b1781ef95398d11ecf0ca5bb49817cbba97b54
imePicker.java
688df79243762923f6cd34f767cb2f690b11a48c 15-Sep-2011 Gilles Debunne <debunne@google.com> Bug 5299484: Recipient address in to field is doubled when entering in landscape mode

A tap on a completion in the keyboard calls onCommitCompletion, which in turn calls
performCompletion because of the DropDownItemClickListener.

As a result, the text is replaced twice. Removing the first text replacement.

Change-Id: I4974d23c68ab25ca0ad0cda5abf25f30129b28ee
utoCompleteTextView.java
149cecdc7853125a4b67ebe4e7795a6e7d2af07d 14-Sep-2011 Adam Powell <adamp@google.com> Merge "Bug 5151927 - Monkeys should not play with detached lists."
a2b986e72c403f0b2ea593884e3135254bb83d30 14-Sep-2011 Adam Powell <adamp@google.com> Bug 5151927 - Monkeys should not play with detached lists.

Don't process ListView key events while detached from a window.

Change-Id: Ibf85e081887d47834a467f9fd2cb6a1e39b4857e
bsListView.java
istView.java
bd4016e9c8958d79cbee40ac5fb2a6d5ffa92241 14-Sep-2011 Gilles Debunne <debunne@google.com> Bug 5295607: IOOB problems in Suggestions

The start and end of the suggestion span were cached, where as
they should be retrieved when the user clicks since text may have
changed in the meantime.

Change-Id: Iab47f9969d538d8213a8c5b76b4b7ace8dc9428e
extView.java
5c3a77c0ff18d39f2d5811b612240788fe4628d1 14-Sep-2011 Adam Powell <adamp@google.com> Un-force fading edges in ListPopupWindows.

Change-Id: Iefb1f64b1f8927fd3c29a8d448a1517afac1ffe1
istPopupWindow.java
1e83b3e6ab69456db5d308c12e367a5d7166610d 14-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5312352 - ListView modal multi-select mode bugs

When the provided callback returned false for creating the mode, the
item was still getting checked and the bar was flickering. Don't do
that.

Change-Id: I384962742edeac0c43aec6f7898bd50dab064738
bsListView.java
d309a0434a74a4d3982d2309c49d7076e4611229 14-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #5282141 ScrollView overscroll should not generate invalidations when not needed (ANR textview redraws constantly when touched)"
e9dbef85d36ce4030dae29af0d80db8d6fd0b972 13-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5282141 ScrollView overscroll should not generate invalidations when not needed (ANR textview redraws constantly when touched)

- check if the overscroll range is not 0
- check if we are in the correct overscroll mode
- also udpate HorizontalScrollView the same way

Change-Id: I0bb37f9813a5871eb856914786db5c06de59e4d3
orizontalScrollView.java
crollView.java
ac126be503fb38068b25ed740ba183d8a0dd7858 13-Sep-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5226097 - App compatibility issues around new ListView fixes"
247a0f0a16f956c463644f732dacb6c8d0979ba3 13-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5226097 - App compatibility issues around new ListView fixes

Only dispatch change events when headers/footers change if we have an
adapter.

Change-Id: Ic5d68ea214196771d76f6a88186aaf5f8ed4c4cf
istView.java
18b43119229e5cd72952fdb71b7676de6e853c23 13-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5281947: add to dictionnary option promoted in suggestions."
883adec77118bdaa0984f157a13e2263f6419595 13-Sep-2011 Jeff Sharkey <jsharkey@android.com> Merge "Handle data changed during FlingRunnable."
7f2202b0bd6eb66e64d1bbed91c39181b754e90f 13-Sep-2011 Jeff Sharkey <jsharkey@android.com> Handle data changed during FlingRunnable.

Bug: 5297171
Change-Id: I733ed978bb1d237c992f5d003b212baeac102a3d
bsListView.java
f0ec2dd3270b60b1516293190757de298f187957 13-Sep-2011 Dianne Hackborn <hackbod@google.com> Merge "Fix problems where we were allocating TypedArray when not needed."
8a6d732360c9dbcdf1d2b4da93d150f16af8507b 13-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "CheckedTextView is missing onInitializeAccessibilityNodeInfo() implementation."
ab0f485e64418eb22f0a1d89d7064902b381e9c2 13-Sep-2011 Dianne Hackborn <hackbod@google.com> Fix problems where we were allocating TypedArray when not needed.

Fixes up some recycling of TypedArray objects to reduce the
number we need to allocate during inflation etc.

Change-Id: I948dccc052997779001eaa99db2a710b04be01ae
extView.java
bd5c9768c4432c6cb2bfa5f521d49ff03c087ff8 13-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Adding accessibility delegate mechanism for backwards compatibility support."
34ffaabc30eed123c12258ea63c3a53d1c92b559 13-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> CheckedTextView is missing onInitializeAccessibilityNodeInfo() implementation.

bug:5160586

Change-Id: I3861cfc398566805cdf3c551cbf20dc7b5c208d9
heckedTextView.java
031d9c1389de2b9dac7f175af0b962e24b21d5be 10-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility delegate mechanism for backwards compatibility support.

1. Added an AccessibilityDelegate class in View which can be set by
a client that wants to cutomize accessibility behavior via
composition as opposed to inheritance. Insead overriding a new method in
View thus being bound to the API version that introduced this
method a developer can conditionally inject the accessibility
customization if the platform API version is heigh enough. The
developer will have to override the method of interest of the
delegate. The default implementation of the delegate methods is
the same as that of View in the case that there is no delegate
set. If a delegate is set calling an accessibility related method
on View will be handed off to the corresponsing method of the
delegate.

bug:5259555

Change-Id: I00e750e22e5e7164a1b571cb3d12ecaf4ab93db4
dapterView.java
mageView.java
abWidget.java
fc7a8081f8d9ca3c2891d3c2d748dc26f8139ed6 12-Sep-2011 Gilles Debunne <debunne@google.com> Merge "If suggestion span is not enable, removes the suggestion span (so no underline is displayed), and do not try to display the suggestion pop-up."
6515f50d0c759cfff163aaf7f42a970019d93923 12-Sep-2011 Jeff Brown <jeffbrown@google.com> Merge "Handle DOWN/MOVE/UP gestures with fling. Bug: 5265814"
e076045f10a1f4fd2764ec2230e068702fd64d06 08-Sep-2011 Luca Zanolin <zano@google.com> If suggestion span is not enable, removes the suggestion span (so no underline is displayed),
and do not try to display the suggestion pop-up.

Bug: 5267093

Change-Id: Ia6f2596d0c62885ef9affeb478e00d3b92d76aac
extView.java
78f6e63031da4ff06057be9a9e6c77ea83da4673 10-Sep-2011 Jeff Brown <jeffbrown@google.com> Handle DOWN/MOVE/UP gestures with fling.
Bug: 5265814

When MOVE events are batched, a ListView may not receive only
one MOVE event followed immediately by an UP in the case of
a quick fling. Unfortunately, the old code relied on there
being at least one additional MOVE event following the first
in order to really scroll or fling.

This change extracts common code from onTouchEvent to
handle scrolls as soon as they are started if there is additional
remaining motion beyond the initial touch slop (taken care of by
mMotionCorrection).

Change-Id: I8c8f03f580bfba96aa69cf111d245ba7fd3b4c2a
bsListView.java
c9fd978da60f76c0576150c55629a034e1fa19fb 09-Sep-2011 Gilles Debunne <debunne@google.com> Bug 5281947: add to dictionnary option promoted in suggestions.

When several SuggestionSpans are available at a given position, their
content are merged, in creation time order.

As a result, the IME's suggestions are picked before the spell check, and
no add to dictionnary option is created.

This CL modifies the comparator to make easy correction spans appear first
(Voice IME), then misspelled words and then regular suggestions.

Also avoids the creation of a new comparator and length hash map on every display.

Change-Id: I1f9f031a6fdcbbc09f248a192b83051092765f8e
extView.java
2bfc75a6d9217d20e6fb17b484424935aa55a575 10-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5255124: Move cursor to the end of a word after correction popup alternates selection"
4f2b0dc552dbce06ae6825d099e959b40e6bf0e6 10-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5278456: text highlight color depends on the type of suggestion spans."
1a87ba4636fd6ec1f33664f24263e9452fd43a65 09-Sep-2011 Gilles Debunne <debunne@google.com> Bug 5255124: Move cursor to the end of a word after correction popup alternates selection

Change-Id: Idd3edc72edf864f256df173bcf643163192ecbde
extView.java
99e109915e2fe08179f6a64c607ef56a91fb1dfa 09-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "The time and data pickers did not support IME editor action correctly."
5b60d38a8a9f506e32987911d34e94f9e167f099 09-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Update the sharing UI according to latest UX specs."
6c0d41a4ea56a8da79ee3ded62706ec983a39c0b 09-Sep-2011 Michael Jurka <mikejurka@google.com> Merge "Fix FrameLayout padding when foreground drawable is set"
02473da2b0a99d886d0dbcf5fba5619047855111 09-Sep-2011 Michael Jurka <mikejurka@google.com> Fix FrameLayout padding when foreground drawable is set

The padding of the foreground drawable was being added to the padding that already existed, even if the foreground drawable was drawing within the padded region. This was preventing having a foreground drawable and a background drawable set on a FrameLayout that overlapped perfectly.

Change-Id: I355ff9323fb49afc5816f47ec9e257e0ff849861
rameLayout.java
a53efe9923bedab4fe5d578f32eaff308e5b9e76 09-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> The time and data pickers did not support IME editor action correctly.

1. Updated TextView to traverse all focusable items. It was searching focus
down and up and was missing right and left focusabled. Updated the focus
seach to use FOCUS_FORWARD and FOCUS_BACKWARD - now all focusable views
are visited.

2. TimePicker and DatePicker were not specifying the IME options for
the next and done editor actions.

bug:5264046

Change-Id: Ief80863fc312582f2f76928bf6e915f620c427e5
atePicker.java
umberPicker.java
extView.java
imePicker.java
fa4e2d994bb398b89d08304bb233671ef1a5d5f8 09-Sep-2011 Gilles Debunne <debunne@google.com> Bug 5278456: text highlight color depends on the type of suggestion spans.

Change-Id: I76ac02b7688a297c0e83d593f446a4cf2ee36015
extView.java
2295cc77c72d451e7a1c9ec48f120a8e73651b6d 09-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #2246815 Error popups on EditText should span the width of the screen instead of the width of the EditText field"
f2e754002166b8126e6faf8c494da5835432d572 08-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Update the sharing UI according to latest UX specs.

bug:3362473

Change-Id: Ic302c289e28061f53446f98e5b97573d57d9cfb8
ctivityChooserModel.java
ctivityChooserView.java
e4231461f41e4e25645be0831f5653aa6d266b2b 09-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #2246815 Error popups on EditText should span the width of the screen instead of the width of the EditText field

Part 2

- use "textview_error_popup_default_width" as a dimension resource instead of a basic constant

Change-Id: Ieb89fc416105716ab491749a82390a7e784b1755
extView.java
0669577b13302767e90a193c5f48e7faae580654 09-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #2246815 Error popups on EditText should span the width of the screen instead of the width of the EditText field"
33438be0087518aeb99e17ecc70213956ce0f25a 09-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #2246815 Error popups on EditText should span the width of the screen instead of the width of the EditText field

- cap the popup to 240 (Validated with UX team)

Change-Id: I2923825a19b7c79fa0d1233300f42e10bdda8df7
extView.java
15208ac5003de16e8e3d9ec26c3ef05347da7731 08-Sep-2011 Gilles Debunne <debunne@google.com> Merge "No vibration when long pressing in the empty part of an EditText"
df1324c3cfcd94c1a634fd7f1ef97f15e0d727dc 08-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Longpressing in landscape correctly starts selection mode."
0c4f8ec6d33f113e8173efa86901593cd8b84cdf 08-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Updated text selection color. As in 133272"
703bde8ca5b2b5b7bc4460eacd48194278c45ae3 08-Sep-2011 Steve Block <steveblock@google.com> Merge "Add FrameLayout.getMeasureAllChildren()"
76866208f81988fa653568513112b152e156d806 08-Sep-2011 satok <satok@google.com> Merge "Send onViewClicked in the extract mode"
a67a3cfc7c5db3b0a7710a75b57cd5360fce015a 07-Sep-2011 satok <satok@google.com> Send onViewClicked in the extract mode

Bug: 5257838
Change-Id: I16547aab86812f2db45deb879ad887dc38968164
extView.java
aacbf9111b58f10f7474fbd3a8debb02713f8b18 08-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Not visible view should not be announced or interacted with."
0b0a41d8e26eaf0f1d9d922621494daf40964a9a 08-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Not visible view should not be announced or interacted with.

1. Some invisible views' text was reported by accessibility events.

2. Accessibility actions could have been perfromed on invisible views.

bug:5264355

Change-Id: I68184fb436a3e10e947ec6f1eae02aa3d0d1cb7f
dapterView.java
elativeLayout.java
abWidget.java
e28454a23723c76b4eebdf9651692d85aa2a4737 08-Sep-2011 Gilles Debunne <debunne@google.com> No vibration when long pressing in the empty part of an EditText

Bug 5272224. Vibration should be limited to the start of an action mode,
which is not the case here.

Change-Id: I0f2263edb24e73f10297d27e109bb37c46fe96bc
extView.java
98fb9ed4c1f630e1834b16e5bcf55de8d87d12cc 08-Sep-2011 Gilles Debunne <debunne@google.com> Longpressing in landscape correctly starts selection mode.

Two issues here:
1. selection mode was stopped when extracted mode started,
thus loosing the selection.
2. starting selection mode shows a transient action bar which
is then hidden when extracted mode starts. Detect this case
and do not start selection mode, which will start in extracted
mode. This also solves 1.

Change-Id: I61d6e8d2071e9d3b1a136915b685962bbc093bd0
extView.java
4147abcd84f7dab2bf6f7a644b86c732d8e16cdb 07-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #5252977 TextView selection handles appearing in a weird state"
9a355fbb0d94d13ef586bb76590798bdd72d93a9 07-Sep-2011 Winson Chung <winsonc@google.com> Merge "Updating javadoc for StackView constructors (4554433)"
03e4d64587d50200d990f95a64b1b1c57ae59d77 07-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5252977 TextView selection handles appearing in a weird state

- a remove of a listener was missing as dismis() and hide() need to
share the same semantics

Change-Id: I01dc5a971324d0aa0942e365d5302d93a1a51a16
extView.java
abc8b50a26282689c66562cf619563744d2855d1 07-Sep-2011 Winson Chung <winsonc@google.com> Updating javadoc for StackView constructors (4554433)

Change-Id: I084c9535f9be4ae4e3942828d3b624d28eae4b06
tackView.java
0046199daba6a089dc966cf56a8e95d80ed60831 07-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Fix "out of bound exception" when the span has prefix."
d486bd278959e4f70fc2d14b02621156a132c8ce 07-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Fix several issues with the "EasyEditSpan"."
1564fc7c7eab89fb2d13719c0d4dc664d57b930e 07-Sep-2011 Luca Zanolin <zano@google.com> Fix several issues with the "EasyEditSpan".

- The easy edit span was displayed twice when in extracted mode. The orignal TextView now checks if it is in extra mode, and if so it does not display any pop-up
- The easy edit span was displayed before the view was layout causing the application to crash.

New feature:

- the span is automatically hidden after a timeout

I also renamed all the fields and classes to "EasyEdit...". There were still some field/class using an old name.

Bug: 5255363
Bug: 5247453
Bug: 5246997

Change-Id: Ic9bf05d2525e2df9017c91344a687e8cb9105417
extView.java
6fbe5ca6438587af59de2cb55a97a55354a7eb03 07-Sep-2011 Gilles Debunne <debunne@google.com> Updated text selection color. As in 133272

b/5217848

Change-Id: I628c65af941d575a402a38f45bc923ebb4256c56
extView.java
c6fc20a91bdf6f5d8cd8784324a55e39bcb7077c 07-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #5262565 Need to remove CharCount TextDirectionHeuristics"
2346e0117dff5db9be3932b696a1baaed4488c2f 06-Sep-2011 Luca Zanolin <zano@google.com> Fix "out of bound exception" when the span has prefix.

Change the behavior of the highlight marking the "suggested text" and not the differences.

Bug: 5252699
Change-Id: I4c7e9fc9bac81da8b5f643990b86a336363d7968
extView.java
6436876156b02b8c602579fe7bc7c61330d83bb0 06-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "AbsListView does not populate accessibility events correctly."
e3bf88da23bfadd89a35b6dec769ea825e5ecd6e 06-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5262565 Need to remove CharCount TextDirectionHeuristics

- update unit tests too

Change-Id: I7c518f58a9f17cb679bc3913bdd38243f7ad2195
extView.java
aa56534722a4972428e3d16b8e64caaea565a715 06-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> AbsListView does not populate accessibility events correctly.

The toIndex of accessibility events fired from a AbsListView
is exclusive but should be inclusive i.e. it was reported one
more that it has to be.

bug:5256286

Change-Id: I496959fdfb6760b0c74899730c4cc558e89234a6
dapterView.java
34d2eba560f83f4eb665cdc039cf02bf96c201da 01-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5243493 TextView selection is not working correctly when there is some RTL run into it

Part 2

- make selection handles aware of the run direction

Change-Id: Idf41036de53d8968e7ae27eb87aea09e86bcd652
extView.java
a59e3146b7dc298043e43e1816e3415b2583a3c8 03-Sep-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5201420 - Appease the monkeys"
e1bf486846ce7589727ad84440bd9a2d42751055 03-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5201420 - Appease the monkeys

Make ListView.onFocusChanged more tolerant of missing adapters.

Change-Id: Icae1cfd02fe369d3fd0e3c6531adb973f44f3036
istView.java
a1b92c5e8b750d8f5b2dc5ca7e8b4edc97de5575 03-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5231904 - Fix wobbly progress spinners

Make ProgressBar maintain aspect ratio on indeterminate progress drawables.

Make RotateDrawable tolerate left/top bounds != 0.

Change-Id: Iee03030caa98f72a8745f1ae3fb0de108ff663d4
rogressBar.java
572527f2c337ec9266ebcd931a66e17d2ae63e01 02-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Remove the suggestion underline when the TextView loses focus."
a41bc33855d9e55701c6e615590e273ada69a445 02-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Popup windows positions are updated when a TextView is scrolled"
f3d78eac0f565b51d5e657e6cb21b4a48ef6f660 02-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Added an add to dictionary option in suggestions for misspelled words"
26b5cf40b14a7916c9fee01d797b82d786338cf1 02-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Fixes around text selection"
1737fcd689072cabcb9937316ba159ee954f3536 02-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Fix for NPE in Switch"
fe5e9834a3086ab6bd99a4cb0d9273fdeb52ecd8 02-Sep-2011 Luca Zanolin <zano@google.com> Remove the suggestion underline when the TextView loses focus.

Only the easy correction (i.e., voice ime corrections) will lose the underline, while the misspelled span will not.

Change-Id: If96c17473dd70c99b808739ddde800cc93551e2a
extView.java
70a6312f09329bd0b19343bc7906f9ce665fe3ad 01-Sep-2011 Gilles Debunne <debunne@google.com> Fixes around text selection

Text selection mode was started by two consecutive taps inside a
field with selectAllOnFocus.

ArrowKeyMovementMethod does not respect the possible cancelLongPress and handles up events.
As a result a scroll that happens to end up at its initial position will be considered a tap
and will move the cursor.
This is however not considered as a tap in TextView and a possible selection mode would not
be stopped in that case.
Fixed by making ArrowKeyMovementMethod aware of the cancel that happened in Touch.

Change-Id: I07372b703f250e1edc7ee0665318ce30441b9187
extView.java
e90bed18cc123c0963bbcc023976fa355c16a352 30-Aug-2011 Gilles Debunne <debunne@google.com> Added an add to dictionary option in suggestions for misspelled words

Change-Id: I031f17a76b4a81ae375b778046b8c391f9b8b2b2
extView.java
17b0317e8d006731da722a849ab2a8deb17494f6 02-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Accessibility events fired from AdapterView underpopulated."
c48c47c8206251800e9c6768db5c7aef2fe301e8 02-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Accessibility events fired from AdapterView underpopulated.

Accessibility events fired by an AdapterView did not report
the index of the first and last visible items, rather only
the total item count.

bug:5225039

Change-Id: I6931d82f0418c659f26e1e8a345da69da99690c5
dapterView.java
d5e6527f5f35f128bd4308a19721911df517a1c1 02-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Polish of the accessibility feedback of Date and Time pickers"
3fec3fe0e3a83c5e0d1264f34bcc55b158537bc6 01-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Polish of the accessibility feedback of Date and Time pickers

bug:5228006
bug:5228004

Change-Id: I927e3a6dcbf4f81eab6f506fc38842d8e7a37aa1
atePicker.java
umberPicker.java
imePicker.java
f682a77d5ee2c47285ddce14894db0c9e9359cdd 01-Sep-2011 Gilles Debunne <debunne@google.com> Popup windows positions are updated when a TextView is scrolled

The View's internal scroll was not triggering an update of the popup windows' positions.

Also fixes an update problem when a new long press moved the action popup window.

Change-Id: Ic3bb39fc55981c67db2a15ef2e90aad37a36d116
extView.java
e724ee4b04d121556e9764f72f9b921a0e16392a 31-Aug-2011 Gilles Debunne <debunne@google.com> Fix for NPE in Switch

Happens when the checked state is set in XML in the CompoundButton
constructor. The drawable are not yet loaded at that point.

This still work since the Switch constructor calls setChecked, which
will invalidate.

Change-Id: I76459307e77596ce0f2759e9449eb42287c6bad7
witch.java
8a16f92270f4cc803292adfb533838603c67d742 01-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Using ListView for Suggestion popup window"
89935e41c593a599e8955388b27fb926e60e5e94 31-Aug-2011 Adam Powell <adamp@google.com> Make EdgeEffect public API.

This enables apps to make use of the system's visual edge effect used
during overscroll in 2D content.

Also un-@hide the getCurrVelocity methods from Scroller/OverScroller,
without which it becomes cumbersome to obtain values to pass to the
EdgeEffect#onAbsorb method.

Change-Id: I40e452455f5cb5d45d1fb3687f739fc8eae65560
bsListView.java
dgeEffect.java
dgeGlow.java
orizontalScrollView.java
verScroller.java
crollView.java
croller.java
0eea6681519277310e1733d791bfc0342b8e5cea 29-Aug-2011 Gilles Debunne <debunne@google.com> Using ListView for Suggestion popup window

New background assets from Bug 5204807.
New text selection color and associated handles, bug 5217848.

Change-Id: I4eaea6be732843d8ff344400d029b4a1b80b084f
pellChecker.java
extView.java
282e377d8b25a3aaf02ce40f33279d94b77ecbdc 31-Aug-2011 Adam Powell <adamp@google.com> Ellipsize marquee TextViews that aren't currently animating

On some devices the fading edge effect can be expensive. Offer an
alternative for screens full of textviews.

Change-Id: I0382b4ea0f8b0c6948cb68611f3679dbf5e2898a
extView.java
b5305007a6eb10457aa97b9791fed62d3542e3c1 31-Aug-2011 Gilles Debunne <debunne@google.com> Merge "Add EditTextShortcutSpan to provide edit short cut in the text view."
e6d368218918f911b1954296dab25bf84147b4c6 30-Aug-2011 Luca Zanolin <zano@google.com> Add EditTextShortcutSpan to provide edit short cut in the text view.

At the moment, EditTextShortcutSpan allows only the deletion of the text. In the future, we may decide to add extra functionality,
like "retry" where all the text is removed and a specific IME is triggered.

Fix the underline. The underline is not defined in thickness, and not as a multiplier of the default underline thickness.

Change the behaviour of SuggestionRangeSpan to match the specification.

Change-Id: I80437d9887c7a2ff8f62c38afbb0cb7add7ee9c8
extView.java
57324c738272eb35217eebfa5001eff45101f683 29-Aug-2011 Gilles Debunne <debunne@google.com> Moving action popup window when moving text selection

Long press to select, the action popup (Paste) is displayed.
A second long press moves the selection (selection mode is still on),
but the action popup's location was not updated.

Change-Id: I2ac133e608dbca35ec0236b47b42f029623fc303
extView.java
9906847cef4307896a64c68fa27da6603a7d8da2 29-Aug-2011 Gilles Debunne <debunne@google.com> Bug 5218421: new NPE is SpellChecker when using Japanese language

The spell checker session is null because the Japanase language is not supported.

Change-Id: I41d2157e8f66799fdb6dff718e8903ce6f1bb9fe
pellChecker.java
474cac1c212e1f02deaffe5512941af9cb2a760b 29-Aug-2011 Gilles Debunne <debunne@google.com> Merge "Suggestions popup window is dismissed on tap outside."
150176d83023e3c486dba10edebb72af36b4099a 26-Aug-2011 Chet Haase <chet@google.com> Made the Switch class public.

Tweaked the API of Switch slightly and made the class public (it was
hidden before).

Change-Id: I4a099e8afd18a11a5850252025ae3bbbb866830d
witch.java
9a5cc2810bbbcb0eab4579aa4131039820d92101 29-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5124021 - Menu visibility incorrect when restoring ListView
selection mode

Fix visibility of menus when action modes are initiailized early.

Fix ListView problems persisting check states.

Change-Id: Idc21036dc39259e72f0e6831a0ccb4695f8858ef
bsListView.java
aa1c88de0232e0ed9d741895ce2e67356c1b120f 27-Aug-2011 Romain Guy <romainguy@google.com> ToggleButton could keep a reference to a previous drawable

Change-Id: Ic19a8e86c61b58926504daf35f0de41358a899b4
oggleButton.java
d32f27aec04dd91edf488f280ca609e0b55aec9e 26-Aug-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #5199577 TextView with android:password="true" is showing the "dots" on the left even if the password chars are RTL"
87a4d87ecf156affc23a5e2591d28ff5d5986fe0 26-Aug-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5218421. Spell check crash with Japanese characters"
d6e3494421dff2a091f1011e5266b280b2109843 26-Aug-2011 Gilles Debunne <debunne@google.com> Bug 5218421. Spell check crash with Japanese characters

The word iterator returns no word in that case, and this is not
supported by TextInfo.

Change-Id: Iaf31c58638c02d3cdc7b88bc0d1201e793e84f17
pellChecker.java
7810b5f8cffb3c2c98fd0df579f4da5a9ac6cc73 25-Aug-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5199577 TextView with android:password="true" is showing the "dots" on the left even if the password chars are RTL

- force TextView to LOCALE text heuristic when in "password" mode
- remove TEXT_LAYOUT_DIRECTION_UNKNOWN_DO_NOT_USE
- LocaleUtils.getLayoutDirectionFromLocale() returns "LTR" is locale is NULL or ROOT

Change-Id: I182c46aaf2d73c8b18967fffa230bfabec91ed06
extView.java
ba5fe92361f717899e4b1e37a79f9f0547624487 26-Aug-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5199326 - ListView's fast scroller is out of sync with contents"
35948b7ed502d3f126acc8f2d61e099fa5deb0c7 25-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5199326 - ListView's fast scroller is out of sync with contents

Also fix a bug where the fast scroll track was not being properly
invalidated while animating out.

Change-Id: Ie90568a993699d5d061985985e3d93165d1d2219
astScroller.java
8e7e95f22f700fae6926d87b25c388bf9b509389 25-Aug-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5166707: NPE fixed in getFocusedRect"
fd419b051a43c68b28131d1fd4535af0d21b5039 25-Aug-2011 Gilles Debunne <debunne@google.com> Bug 5166707: NPE fixed in getFocusedRect

Change-Id: I1e59ac739f1258c0047a667443f80b2c09ffa12c
extView.java
28294cc74491885c7fe4442353026f01f5b773e8 24-Aug-2011 Gilles Debunne <debunne@google.com> Suggestions popup window is dismissed on tap outside.

But now the tap is not handled at all, as it was before. To do this, the popup window
is now focusable. As a result, the TextView's window loses focus. We hide the
cursor to prevent a non-blinking visible cursor. We should also fake the
state of the parent TextView to keep it visually focussed.

SuggestionRangeSpan and SpellCheckSpan had to made Parcelable since they are recreatedi
when the TextView is re-created when the popup is dismissed.

Change-Id: Ic99b2c4f02c282394f214938dd19168547af4886
extView.java
616b20c0de273bf19791db319f83658055a39d6c 25-Aug-2011 Gilles Debunne <debunne@google.com> Remove spell log that exposes typed text in the logs

Change-Id: I88a31f7e1fb93f0550d1cd5eb86afacbc19afd29
extView.java
6435a56a8c02de98befcc8cd743b2b638cffb327 05-Aug-2011 Gilles Debunne <debunne@google.com> Spell checking in TextViews

New UX interactions (the Paste action is no longer displayed after a delay)
suggestionEnabled flag replaced by existing input type flag.
removeSpans fixed in SpannableStringBuilder to always send notifications
SuggestionSpan handled by TextView instead of SpannableStringBuilder

New span update algorithm to correctly handle edition around word boundaries.

Change-Id: I52c01172f19e595fa512e285a565a3fd97c3c50e
pellChecker.java
extView.java
c2d256b41587ff44efb6373885affe02e5df80b5 23-Aug-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Improve TextDirection resolution"
04963769e36a389f96a25712dd0bd0de570b4df8 23-Aug-2011 Michael Jurka <mikejurka@google.com> Merge "Track motion events before we decide to start scrolling"
13451a476a1951a19d3cb531c47bf5a51587800a 23-Aug-2011 Michael Jurka <mikejurka@google.com> Track motion events before we decide to start scrolling

Change-Id: I0e2de488c62814982a21b7a7debbf1cd78e5891c
bsListView.java
orizontalScrollView.java
crollView.java
151763d3fc702ee2341aa6bebe821ce98d99e787 22-Aug-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Adding a callback to ShareActionProvider + make ActivityChooserView popup hide on action bar hide."
a646145c335ba821f01d9e4f8be2583eb9fd7266 20-Aug-2011 Fabrice Di Meglio <fdimeglio@google.com> Improve TextDirection resolution

- remove unuseful heuristics
- tune Javadoc

Change-Id: Id72a158b3a17a528423d278b1cbfd95b8c2951b5
extView.java
16296180984756e631611005179f42865af35621 19-Aug-2011 Amith Yamasani <yamasani@google.com> Merge "Fix an unintentional change in method signature and avoid an API change."
a465b2d4c34a24e42e5356b3632cc9c071fc9739 19-Aug-2011 Amith Yamasani <yamasani@google.com> Fix an unintentional change in method signature and avoid an API change.

Change onDetachedFromWindow() override to a protected method, like superclass.

Change-Id: If626c5187290516d525cab5a76f5c5cabe2d87f0
earchView.java
23f4cc0353615107cc9c19fda9cf96ddd43266e2 18-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5099037 - No delete option when multiple videos are selected

Fix some bugs related to how action item slots are allocated in menus.

Fix some padding/margins in ActivityChooserView.

Change-Id: I12096b0165daca902c5bc8e24c1e8d54a35e9557
ctivityChooserView.java
7fa6e4248383ea9d894cc2ac8037cbb04cb13197 18-Aug-2011 Romain Guy <romainguy@google.com> Merge "Invoke requestLayout() when drawables have different sizes. Bug #5142668"
9e648c44dee1e86e7839292feac9d49b3f3c8ce4 18-Aug-2011 Romain Guy <romainguy@google.com> Invoke requestLayout() when drawables have different sizes.
Bug #5142668

Change-Id: I0d3ae27984e69394e64b8aa0623bc3d6b22bc629
mageView.java
a8a44c68eee6f4b2958866f75d567bccd7b57abd 18-Aug-2011 Chet Haase <chet@google.com> Merge "Fix NumberPicker text positioning."
eeafd4296b7cf4c2ad9c985562f6d70e2a3ffc03 18-Aug-2011 Chet Haase <chet@google.com> Fix NumberPicker text positioning.

NumberPicker was making incorrect assumptions about how text was
positioned and centered inside of its controls. This fix changes
the logic of how the scroll wheel draws its text items based on where
the text is positioned inside the EditText that displays the text
by default. This should ensure that the text of the scroll wheel
exactly overlays the text in the EditText view.

Change-Id: I4a7694931f19042bd4142232612490c2ab912d11
umberPicker.java
3de510313a44977a25ecb5253603fb2df2cc34b2 18-Aug-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #5175022 Easy mode in MeasuredText.setPara() is no more used"
cb879688657fd7ee4bb8a4c6ab0d18735a8f9de6 18-Aug-2011 Amith Yamasani <yamasani@google.com> Merge "Don't force measurement when SearchView is in iconified mode."
4b60c30838fbd635964f1e79c057de5048dcc66f 18-Aug-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5175022 Easy mode in MeasuredText.setPara() is no more used

- use the real TextDirectionHeuristics constants
- make more formal that LayoutDirection should be resolved BEFORE TextDirection
- reset TextDirection if LayoutDirection is recomputed
- remove non used TextDirectionHeuristic.isRtl(CharSequence...)

Change-Id: I1d53a7e3ee324cfd27785bb4d715d93de8d9ff4d
extView.java
a95e488bdcef3737287227419cfe214bef0556aa 17-Aug-2011 Amith Yamasani <yamasani@google.com> Don't force measurement when SearchView is in iconified mode.

Bug: 5178204

Update the focused state drawables when focus changes. Blue
underlines were not showing up consistently.

Bug: 5174426

Also use the correct style for the search icon so that it matches
other actionbar actions.

Change-Id: I8beed4cf435b074280a5dd79f7a4da4a39152b71
earchView.java
15b8016434a888b47a6032715acf831a0e0b2e5c 17-Aug-2011 Luca Zanolin <zano@google.com> Fix bit comparison for checking the variant of the input type.

Change-Id: I0c74af09e29e39fbd092c10b107ea7aa3273a680
extView.java
751b85e8c3b5ff07eaaa6bdbd32517dcdc8f27aa 17-Aug-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5048082 - Conversation doesn't scroll after you send a message"
ee78b173aae7ecb35b065c7499ac4f89b9c2f06e 17-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5048082 - Conversation doesn't scroll after you send a message

Fix TRANSCRIPT_MODE_NORMAL to work properly when multiple data set change
events happen before a relayout.

Change-Id: If866f7c649c1119d088020f1231b916047402b8c
bsListView.java
4cee03a85f5756227e3c74965a5d3fb52bbf57a9 16-Aug-2011 Gilles Debunne <debunne@google.com> Merge "Change the behavior of SuggestionSpan."
846b7624748b58234e3d9bc782fde8bba2f70194 16-Aug-2011 Amith Yamasani <yamasani@google.com> Merge "Voice search icon replaced by X on typing."
7d1c55fad8194e2c82f5f88f98ab5569f9c52ab9 16-Aug-2011 Luca Zanolin <zano@google.com> Change the behavior of SuggestionSpan.

SuggestionSpan can be accessed in two different ways:

- by tapping on the text (easy access)
- by tapping on "replace" pop-up (not easy and difficult to discover)

The "easy access" will be used for dictionary suggestions and voice recognition suggestions.

The suggestion span can be rendered into two different way:

- default, text is underlined in blue
- spelling error, text is underlined in red

Change-Id: I0af0fe6700d0ad588facb21c021dc6f59ef172f1
extView.java
3365275aa2a253bcdfa7c62ead22587da198d5f2 16-Aug-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #3388534 Long file names are improperly displayed when played"
0be5d7d333f9b926dce8e37df06d8e710ab77dbe 16-Aug-2011 Jeff Brown <jeffbrown@google.com> Merge "Find next focus id from inside-out. Bug: 5165543"
360abf32ccc384286d8e0772ab7271edfc70a0be 16-Aug-2011 Jeff Sharkey <jsharkey@android.com> Merge "Adjust holo tabs to match spec."
5fa3e1446a07b9a2bae996f59dc61fa78253dfc4 16-Aug-2011 Romain Guy <romainguy@google.com> Merge "Fix synchronization issue in ArrayAdapter External bug #19235"
62e2bdecc21819a71c04204f20fc051886fdabd6 16-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5165223 Fix Holo Spinner item/dropdown alignment.

Fix bug 5117565 Spinner popup extends out of screen bounds.

Change-Id: I7fef7bbe98aa26611c498d1fe875e84db57dcda0
istPopupWindow.java
opupWindow.java
pinner.java
11f4a48c54f3006778c874662ff04a4d9d157f25 09-Aug-2011 Jeff Sharkey <jsharkey@android.com> Adjust holo tabs to match spec.

Change-Id: I8653ab10cd45bed3c38b15362e80af6c3319f763
abHost.java
abWidget.java
95a78c38373bb99258d83a6ab2c92825d979f200 16-Aug-2011 Romain Guy <romainguy@google.com> Fix synchronization issue in ArrayAdapter
External bug #19235

Change-Id: I57d28a48ee1e4216e042e7f9d4b198b713f05b93
rrayAdapter.java
4dfbec2665bd5f567d7321f2e88a39e1ab45fdf8 15-Aug-2011 Jeff Brown <jeffbrown@google.com> Find next focus id from inside-out.
Bug: 5165543

This change fixes some problems when the view hierarchy contains
duplicate ids, such as when ListViews contain nested custom views.
If the custom views contain next focused id hints, then the system
should prefer the other views within the ListView item over any
other views outside of the ListView item.

Change-Id: I5653ff6bac0bf9f08bd6ecbe5a3bb22ea47ab566
istView.java
8059e0903e36cbb5cf8b5c5d5d653acc9bbc8402 11-Aug-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #3388534 Long file names are improperly displayed when played

- force ellipsising when there are more lines found than maxLines
- do not care about lines when we have reached maxLines
- also fix relayouting when changing maxLines thru setMaxLines()
- do not allow START / MIDDLE ellipsis when there are multiple lines
(and print a log accordingly)

Change-Id: I90f5a7f5200a220aceee01fb7300bec2c4c3a075
extView.java
e21f89c80256ed2aeaa53022770b140b58e75394 15-Aug-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5159596 - Slider grabs touch point when trying to scroll a list"
186c1683ce6a6c7e845b06b8c0706ef7950c6608 15-Aug-2011 Gilles Debunne <debunne@google.com> Merge "Text suggestions are enabled for a subset of input types"
1029866a12e04e9db52485e2ec0353e764d15549 15-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5159596 - Slider grabs touch point when trying to scroll a list

SeekBar widgets were not good citizens when placed in scrolling containers.
Detect when a SeekBar being touched is in a scrolling container and fall
back to a touch slop-based method for beginning a drag. Taps along the
seek bar itself will still change the value on touch up, even if the touch
slop never initiated a proper drag.

Factor out the code used to determine scrolling container status in View
into something that can be reused elsewhere in the framework; leave it
@hidden for now.

Change-Id: I59a21e8ab2c3b0092fafedbcd6ae1ee15f45971c
bsSeekBar.java
eekBar.java
167d69ac41d8a1446ab216e3821ecbcccd8291bb 13-Aug-2011 Amith Yamasani <yamasani@google.com> Voice search icon replaced by X on typing.

Also, adjust width measurements to work for 32dip icons in actionbar.

Bug: 5160466
Change-Id: I7197d710de16f92af8ea797ac504a3a73ee090d9
earchView.java
248b112ddaea42eb7c9330407aee1c9d836db7fd 12-Aug-2011 Gilles Debunne <debunne@google.com> Text suggestions are enabled for a subset of input types

Change-Id: I0e521eec2784af99ff741a1132a3bc3f7b7aa071
extView.java
1329192fc317b60a4ebcc4d058d8545f6f8743aa 12-Aug-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5150869: Text selection enabled in browser."
2237829e770dfb17496796154436d04a08d7a2aa 12-Aug-2011 Gilles Debunne <debunne@google.com> Bug 5150869: Text selection enabled in browser.

After text selection is started, rebuildWebTextView is called, which
calls setHorizontallyScrolling with false (multi-line). This was already
its value, but since there was no test for a value change, the layout was
nulled and this stops the selection mode.

Change-Id: I99aadbf45fca4fbdbe8ab7266fe9a7ff839e2792
extView.java
8a5c6617d513bd0a47c733520facb3ba543b70b0 11-Aug-2011 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #5016544: IME keyboard hides folder rename text field."
072b50c6671e06707563864007f3ca491ea02435 03-Aug-2011 Gilles Debunne <debunne@google.com> SuggestionEnabled flag enforced in ActionPopup

Also removed the Nothing to paste string (and its references)

Change-Id: Iaed952075e9e72dcb962ca52341615bc57cb4047
extView.java
ffad0cf83d517754224bef15a4c7b07af3e44e04 10-Aug-2011 Daniel Sandler <dsandler@google.com> Merge "Fix obviously broken DateTimeView.onAttachedToWindow()."
74df8e34920ff7df70c9e92b81a2286a389e4ac2 10-Aug-2011 Adam Powell <adamp@google.com> Merge "Flingable switches"
01d11edc1ea2c495ba4bd6bbea8ba7bb7f597678 10-Aug-2011 Adam Powell <adamp@google.com> Flingable switches

Change-Id: I640656358cf28569242d900d41493a69845f7305
witch.java
5607a3827172ff40196380d846128e892bedc118 09-Aug-2011 Amith Yamasani <yamasani@google.com> Added methods to change text entry mode in SearchView.

Bug: 5143618

Handle imeOptions and inputType attributes in SearchableInfo.
Methods to directly modify those attributes on SearchView.

Change-Id: I340617767f930ecb1b1ad5ab2696bc613982a20b
earchView.java
70a3f677bf015d8641f41d149b76d362bb2b801c 08-Aug-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5016544: IME keyboard hides folder rename text field.

Tweak some issues in TextView with the focus rect used to determing
where the scroll position needs to be. The ultimate problem was that
in various situations it would use the right-most selection position
cursor as the scroll location and when it adds 1 to make this a valid
rect we end up with a rectangle that is outside of the view.

Change-Id: Ia200c58e4e014d2a0a1be4761f9a1e5eb702a8e5
extView.java
1f6ac8b1e05a15739961aeb1640c0007c492bae1 09-Aug-2011 Gilles Debunne <debunne@google.com> Merge "Handles' position are updated in case of external change."
b932146135429ecec79a26c44b37e147d9ff8389 09-Aug-2011 Gilles Debunne <debunne@google.com> Merge "The PASTE action is always displayed, even when starting a selection"
8d3c234407883afd574b17b13ea92a9cdc6afc7a 09-Aug-2011 Daniel Sandler <dsandler@google.com> Fix obviously broken DateTimeView.onAttachedToWindow().

Change-Id: I6b9e948d26b4c22b4520ca48b71c1f7e45ca7899
ateTimeView.java
50d3c667eb71c3b7b180745aa46741a7d44b2200 09-Aug-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5135608 - Let AbsListView take focus while detached"
b3750133db256ffa5956c8836bc86c3c22918cb1 09-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5135608 - Let AbsListView take focus while detached

While it is valid to request focus while detached from a window,
AbsListView did not handle it gracefully if it had an adapter whose
data changed while the view was detached, since DataSetObservers are
unregistered during this time. Assume that the data could have changed
if we gain focus while detached.

Change-Id: Id135693ffcc48ff5a9d530d335ab449180624c43
bsListView.java
f6d3079f98ce0f0854249433ab85a4fff1225e9a 08-Aug-2011 Daniel Lehmann <lehmannd@google.com> Merge "Don't perform query if QuickContactBadge has been initialized via assignContactUri"
3a02ff1300772b0063a7a97ffc0248275603fe7c 08-Aug-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5112702 - switches should have "ON" on the right"
e13e55b9bb477493f65c9fb33ff25e00e2a98260 08-Aug-2011 Daniel Lehmann <lehmannd@google.com> Don't perform query if QuickContactBadge has been initialized via
assignContactUri

Also changes:
- Remove handling of mMode, as QuickContact now ignores this anyway
- Don't draw the overlay-triangle if no action can be performed

Bug:5132023
Change-Id: I8d6f8df9caf140fdade8683bd7b22d53c28994f4
uickContactBadge.java
ec1d60369f751c2d9b60237077ceb9c03e4c0aed 08-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5112702 - switches should have "ON" on the right

Make Switches obey the Grand Unified Theory of Button Ordering.
This also matches their behavior with volume/brightness sliders.

Change-Id: I4e72801e81b10002542a05f61c99a57991f130ff
witch.java
a7845ed44a3722e7d96ca9b677be213da7e8c8fe 08-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5124712 - allow partial items when measuring height of list popups

Change-Id: I59c9fc6d5dcd21679ba67d7c233ecd9d7e19d21c
istPopupWindow.java
cb2516bb660c6035f1e75dffa45fdf3cd5fc620d 06-Aug-2011 Gilles Debunne <debunne@google.com> The PASTE action is always displayed, even when starting a selection

Change-Id: I5269490f411de2bf6195956aead240a3908026e7
extView.java
232cbab493013b961b1526cd3a3e6638643ef312 06-Aug-2011 Gilles Debunne <debunne@google.com> Handles' position are updated in case of external change.

A 'Select All' for instance will alter the selection and the handles
have to updated accordingly.

Change-Id: I8ac91c858e7944a7b4ce1b37a3d90609a3003d22
extView.java
c218cacee01e3dbda8a6272c51e82e2fc5febe05 05-Aug-2011 Philip Milne <pmilne@google.com> Merge "Remove call to setPadding() in setUseDefaultMargins()."
b559976a50c34848d602cc7138859507a379893c 05-Aug-2011 Philip Milne <pmilne@google.com> Remove call to setPadding() in setUseDefaultMargins().

It is not possible for teh user to override the assigned padding values
because the XML attributes are processed in the opposite order.

Also, make the XML and Java examples grid3.xml and Activity2.java
consistent in preparation for a move to API demos.

Change-Id: I47334f9f5a46a8a528067d88350dd70eaa38ff33
ridLayout.java
f14f8ddd95199651aa1140795b41420ce90e45ca 05-Aug-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5118908 - ImageView.setImageDrawable always requests layout"
2a0e99da03ae85d18c9f35913e7dd04b94c1cf41 04-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5118908 - ImageView.setImageDrawable always requests layout

Make ImageView a bit more conservative about when it requests a
layout. This improves performance for ListViews where apps
asynchronously load images and replace placeholders outside of the
optimized getView path.

Change-Id: I564a4a343ab9c8c2d5baf907b5f573b5ee02c87a
mageView.java
f88f8c92df0dc4e2eae3cb206fb1758abf2485b4 05-Aug-2011 Amith Yamasani <yamasani@google.com> Merge "Don't call onQueryTextChanged more often than necessary."
b47c4fd206ce5d057996d49228342d17ecca027e 04-Aug-2011 Amith Yamasani <yamasani@google.com> Don't call onQueryTextChanged more often than necessary.

Also update the hint text if iconifiedByDefault changes.

Bug: 5097238
Change-Id: I876b3f3e74c30230f68d6bc88a95e182e4cc652b
earchView.java
0a2a287987d3840503997504a8dbcefb34a07af5 04-Aug-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5073637 - Market apps crashing FastScroller"
568ccd88d7efd33da0c535e07b7ea7cf476be22a 04-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5073637 - Market apps crashing FastScroller

It seems that some popular Market apps do not properly implement
SectionIndexer#getSectionForPosition and the framework did not
previously call it. Revert to more simplistic scrollbar behavior for
apps targeting sdk < Honeycomb.

Change-Id: If0b1f2b4db540de4bb8ba45798e498c09cddb42f
astScroller.java
8c6c79f0909ceabeb8abe1013648c31c7582b7ad 30-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding a callback to ShareActionProvider + make ActivityChooserView popup hide on action bar hide.

1. Added a callback to ShareActionProvider allowing clients to be notified
when an activity is chosed given them a change to say update their UI and
also decide whether to handle the activity launch themselves.

2. The popup of the ActivityChooserView was not hiding on hiding the action bar.

bug:5094963
bug:5095004

Change-Id: I6c8e8cc1f22d07e707e2218eb108f9101417b23b
ctivityChooserModel.java
ctivityChooserView.java
dapterView.java
hareActionProvider.java
7abaecc3dbb610b24e22685e6aa749c7011be1eb 04-Aug-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Removing firing of spurious scroll accesibility events."
2c44b9221b6a8792bd1d8e4a210106af0071aa00 04-Aug-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "No selection or click accessibility events are fired when a list item is tapped."
271865565a5c18089853d3e9c804c941742511d3 04-Aug-2011 Philip Milne <pmilne@google.com> Merge "Tidy."
4c8cf4c93314722a77ce69396b9cb201ac007a58 03-Aug-2011 Philip Milne <pmilne@google.com> Tidy.

Simplify logic for alignment modes.
Simplify drawing of rectangles.
Remove redundant code that was generating warnings in IDEA.
Remove the flexibility variable from Spec as it always has the value UNDEFINED.
Supress remaining inspection warning for clean (green) inspection status.

Change-Id: I2ddd80c68e7a6db0877648c2fdecefe9dbe7d32f
ridLayout.java
eba69ac07085089194b4a1403f6b698605adf417 04-Aug-2011 Gilles Debunne <debunne@google.com> Merge "A tap on the insertion handle is only handled if it has not been moved"
c0e74ca82285d09fd5253f39c63610fa9553906d 03-Aug-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5050963: Suggestion popup moves with its associated TextView"
040023a4813d5a546b5ddaadde0eeea328615923 03-Aug-2011 Gilles Debunne <debunne@google.com> A tap on the insertion handle is only handled if it has not been moved

Without this test, an arbitrary drag of the handle that happens to end next to
where it started triggers the replace/paste action popup window, which is very
confusing.

Change-Id: Ib1f848147a1c12c231a28f2e730eccaf5321f85c
extView.java
21078e4349568210b8c1909999d7714d57f3fff5 02-Aug-2011 Gilles Debunne <debunne@google.com> Bug 5050963: Suggestion popup moves with its associated TextView

Generalisation of the onPreDraw listener pattern for all popup windows
(SuggestionsPopupWindow, ActionPopupWindow and HandleView).

Added a shared PositionListener class that tracks movements of the
parent's TextView and limit calls to hierarchy to get this position from
different places.

See also bug 5106062.

Change-Id: Ia2fe9509fa7df683acc859f9871bf4630c2da4dc
extView.java
04ee7956ea5009098f9a4c02436b91c18c60d225 03-Aug-2011 Romain Guy <romainguy@google.com> Merge "Add the ability to enable/disable marquee fading per device"
5857bceaeae70aa93f2a428a6d1c6ec8851c1b9b 03-Aug-2011 Dianne Hackborn <hackbod@google.com> Merge "Clear the bitmap from the canvas in a lot of places."
6311d0a079702b29984c0d31937345be105e1a5e 03-Aug-2011 Dianne Hackborn <hackbod@google.com> Clear the bitmap from the canvas in a lot of places.

Change-Id: I6b2071ac7b348c473b9bdd1b972d095aebbb4fb3
tackView.java
6805545649f2b194859033df94602492b9ec086e 03-Aug-2011 Romain Guy <romainguy@google.com> Add the ability to enable/disable marquee fading per device

Change-Id: I4211553455e87f0af598a2fac1d4f65f15c294fc
extView.java
e10bcdb37cad965ea60da3f9d413d7645b3ae75a 03-Aug-2011 Philip Milne <pmilne@google.com> Merge "Fix for http://b/issue?id=5081478"
899d5922870c78e0e663bc5661849eb468afc984 21-Jul-2011 Philip Milne <pmilne@google.com> Fix for http://b/issue?id=5081478

GridLayout needs to call measure on children after it knows how large children should be

Also:

. Remove deprecated methods and XML attributes.
. Stop Spaces having margins by default.
. Remove getSpacers() and findUsed()
. Change default for row/columnOrderPreserved() from false to true.
. Improve automatic index allocation mechanism to use individual maxima.

Change-Id: Id79fbb2e70a0bf2002191ec2a9746547d896de72
ridLayout.java
dbe55b722cd2eac15167f29eb45a34cf01fefd14 01-Aug-2011 Bjorn Bringert <bringert@android.com> Merge "Fix exception when a focused item is detached."
1ea6889136cdad8fc01de0665b3a16a4dcb259fe 01-Aug-2011 Mark Brophy <mbrophy@google.com> Fix exception when a focused item is detached.

When a ListView has itemsCanFocus set, and scrolling moves the currently
focused item off the display, its focus is cleared. This is checked by
calling getDistanceToView().

However, it's possible that the view will have been recycled. If so, it
will have been detached from the parent by calling
ViewGroup.detachViewFromParent. Since this doesn't clear the view's
focus, we'll still try to call getDistanceFromView(), causing an
IllegalArgumentException since the view is not a descendant of the
ListView anymore.

Check whether the view is still a descendant before calling
getDistanceToView(). If it's not, we also need to clear the focus.

Bug: 4556022
Change-Id: Iebee56032223b70d714e2ec3bb7a19093ab5f81c
istView.java
e3f89c08f24c88d8758bc8ad2f67ce00790b2120 01-Aug-2011 Luca Zanolin <zano@google.com> Sort the suggestions based based on the length of the text they are attached too.

When the suggestions are displayed, the shortest one will be at the top of the list, as they are the most relevant one.

Bug: 5006130

Change-Id: Id3ac3accce5198a6a58a0c3028ee5f77957ceac6
extView.java
4e03f5910cf641e2610f4cbe3fc24d84c430d1e8 30-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Removing firing of spurious scroll accesibility events.

1. Adding a TextView to a layout fires an accessibility scroll event
with mScrollX = 8144. Now TextView does not fire scroll events
since they are not interesting for accessibility and also the
implementation fires scroll to frequently - though correctly.

2. AbsListView was firing accessibility events for the same location.
Here the caveat is that this class does not know its height and
calls onScrollChange every time is scroll as seen by the user
may have changed but for accessibility purposes we care for the
start and end indices of visible views. The fix is to avoid
sending access events with duplicate data.

bug:5097467

Change-Id: I7bf11efd638ea3673843f1095a03f518e57cfe9d
bsListView.java
extView.java
9ea764f159a8b0f1180a939d0800587900bdbc07 30-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> No selection or click accessibility events are fired when a list item is tapped.

1. It appears that this was never working!?

bug:5098631

Change-Id: I37cd93e6e94137918a2cade13f24846563b23633
dapterView.java
0ef92056b7ce67922e868057d398caf51a89a372 29-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Improving accessibility feedback for two state widgets."
9ba79560bf99e9048929e2c58ebc8d4d4d0fa3b7 29-Jul-2011 Gilles Debunne <debunne@google.com> Merge "New interaction model for suggestions"
44df62c441ba0b2b0fe29591949099179c2fc64b 29-Jul-2011 Amith Yamasani <yamasani@google.com> Merge "Don't submit a query if it's whitespace only."
7650259a597dd24137420d32acc35efc44db381e 29-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Improving accessibility feedback for two state widgets.

1. Added population of sensible text for the state of the
two state controls such as CheckBox, Switch, etc. This
is important since if they are in a layout manager which
fires an accessibility event there should be a description
of the widget.

bug:5092552

Change-Id: Ie3ca955653563496b84db379ae23a23fe88089a8
heckBox.java
heckedTextView.java
adioButton.java
witch.java
extView.java
oggleButton.java
c9c4c2dad6a9a438fe4d94c05d6ee1239bcc0914 29-Jul-2011 Adam Cohen <adamcohen@google.com> Merge "Fixing widget notifyDataSetChanged() not getting called, issue 5092676"
2148d43eb23c702e834c93ae427f822f32d280a2 28-Jul-2011 Adam Cohen <adamcohen@google.com> Fixing widget notifyDataSetChanged() not getting called, issue 5092676

Change-Id: I61a034a77c0c9d07aba71bfabe7a0864ce92c2e9
bsListView.java
dapterViewAnimator.java
emoteViewsAdapter.java
646f856ec8675a2b00fffd55559a8fed6d348005 28-Jul-2011 Gilles Debunne <debunne@google.com> New interaction model for suggestions

Double tap and long press both start a text selection mode. The previous 'Paste'
popup window associated with insertion handle is now also used in selection mode.
It offers a new 'Replace' option that will popup the suggestion list.

The HC paste/side/nopaste layout are no longer used. For the new action popup
window, I also chose not to make the new background / text appearance styles
themable in order to avoid the same problem in case this design evolves again.

Known problems:
the popup is not moved when the TextView is scrolled.
the final visual style may change
the "ADD TO DICT" option is missing from the suggestion list
no interaction with the spell checker
- There are different bugs open for each of these

Change-Id: I167841f5ac017227fe4efa616eb935247250871a
extView.java
ccdd4ee44f8cfbb45b2989cca833895fcc4c4225 28-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5087980 - MenuItem#expandActionView should work from within
onCreateOptionsMenu

Initialize menu presenters early enough to respond to expanding an
action view within onCreateOptionsMenu.

Have SearchView show the IME as an async post to handle attempts to
show it while the UI is still in initial setup.

Change-Id: I77f3a94ed4397737edb5a7a15bf54993b6723f5e
earchView.java
812634c236b83e100c8473d607e44f8d8c48e805 27-Jul-2011 Scott Main <smain@google.com> cherrypick Change-Id: I213711f4b5d867ba91c961a2f098b6cc415cfcb3
docs: clarify framelayout class summary, issue 5055437

Conflicts:

core/java/android/view/View.java
core/java/android/widget/FrameLayout.java

Change-Id: Ia446d2d4cc798757d7aea104cfaf75fc2315dc50
rameLayout.java
6a7421ba94b1fca0a20ddf146054ebd771ee471e 27-Jul-2011 Amith Yamasani <yamasani@google.com> Don't submit a query if it's whitespace only.

Just to maintain backward compatibility. It's not documented that a space
is not a valid query, but it does make sense to expect that.
Bug: 5079755

Also avoid showing an x by an empty query, by having the SearchDialog simulate an ActionBar.

Change-Id: I3a9332286a439b659e179a249587c491ef29e5c1
earchView.java
84935dc2c00bcc7f6a05370f8fbbd0232a6eb40b 27-Jul-2011 Amith Yamasani <yamasani@google.com> Merge "Make sure that suggestions are queried on focus or tapping."
377fe393298039e4ea8407451b9afe0475d136a0 27-Jul-2011 Amith Yamasani <yamasani@google.com> Merge "Handle callbacks to CollapsibleActionViews that are in an actionLayout."
a94b9ad23ac1f281c9d2dac02d01aa07ca5e1682 27-Jul-2011 Gilles Debunne <debunne@google.com> Merge "Bug 4987014: a tap outside dismisses the text suggestion popup"
05f0e1edb107f720c29fce657f59fbf4e350a116 27-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Updated the layout for the activity chooser view."
523a1289afe49c9b1ed0a6a95184c1e63fdc892a 27-Jul-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5051894 - drags/flings at the beginning/end of ListViews are often dropped"
044a46bda5e2f6bc9f700e65d05ed17faae68f11 26-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5051894 - drags/flings at the beginning/end of ListViews are
often dropped

Fix some weirdness in transitioning between overscroll states.

Change-Id: Ie0c2ba75cc60c340e654df58dee675ed1426edb9
bsListView.java
bfbbcf5677d4a5f8c8f938e4c8a8f86d3c7d74c2 26-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Updated the layout for the activity chooser view.

1. Updated the laoout to size the buttons properly.

Change-Id: I58f9beeca23af8b0471cf7f7ae9ca717223221aa
ctivityChooserView.java
10da590839e264735de8a4582021aca0dab81037 27-Jul-2011 Amith Yamasani <yamasani@google.com> Handle callbacks to CollapsibleActionViews that are in an actionLayout.

Also, the onActionViewCollapsed needs to be called before detaching
the action view, so that the action view can dismiss the keyboard properly.

Fixes the Gmail search case where the keyboard doesn't disappear on hitting
the "up" affordance after a search.

Change-Id: I3c2f3f90f0edf6473404e6ceae3fa08866cad736
earchView.java
f28d1875741d1845df45808e143f3a850e66f893 26-Jul-2011 Amith Yamasani <yamasani@google.com> Make sure that suggestions are queried on focus or tapping.

Bug: 3110831
Change-Id: Ic74a7eac1c5aa7d07c8a2e3f1ad19e026c990153
earchView.java
2888524e03896831f487e5dee63f18f1c33c0115 26-Jul-2011 Gilles Debunne <debunne@google.com> Bug 4987014: a tap outside dismisses the text suggestion popup

Change-Id: I61f5a3c981770393aa861c88d989c653ea00a067
extView.java
84e35d995f0b804a322e9e07fd1a0341658763ef 25-Jul-2011 Adam Cohen <adamcohen@google.com> Merge "Fixing old bug with AdapterViewFlipper"
496aa6d4d923eb5d6fb270f13172e790aa4d09e0 25-Jul-2011 Philip Milne <pmilne@google.com> Merge "Fix for http://b/issue?id=5064532"
5125e21bc0bbe5b9718d0f03b26cdafc67a7c726 21-Jul-2011 Philip Milne <pmilne@google.com> Fix for http://b/issue?id=5064532

5064532: GridLayout with initial "stretchy" row and "gone" view in last row doesn't stretch properly

Also:

. Infer stretchibility from whether or not gravity is defined.
. Make algorithms for handling flexibility within cell groups consistent
with those acting between cells groups (via constraint system).
. Hide and deprecate methods taking flexibility argument.
. Hide and deprecate CAN_STRETCH constant.

Both deprecated features will be removed after references are removed from platform.

Change-Id: Iabf2bf19f35cf30b8ec49c99b49a0550fd495125
ridLayout.java
c018496ab220158741488a67d3aed87abd6bf232 25-Jul-2011 Amith Yamasani <yamasani@google.com> Merge "Implement CollapsibleActionView on SearchView."
0d1d96272025f30f40c49c387f2fe9daaf6133c9 25-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Switch state text not added to accessibility events."
63bce03cc69be4a45230aa8bbd89dbde60681067 24-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Switch state text not added to accessibility events.

1. Adding the text to the events now.

bug:5071053

Change-Id: If36afb1f5327720fc002b8c49e5d7b00c5f189f7
witch.java
0bd1d0a15294345bf88b20df28466907f982cec7 23-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5060033 - No text-editing toolbar when in a dialog

Fix a bug that caused standalone action mode bars to not appear
properly or account for system insets such as the status bar.

Add public API to View to toggle the fitsSystemWindows attribute.

Change-Id: I5d7669425b930c5d23f9df26a45f544b706e8242
opupWindow.java
4725660292bcf11c84e9c7da127fd0215fb58e81 23-Jul-2011 Adam Cohen <adamcohen@google.com> Fixing old bug with AdapterViewFlipper

Change-Id: I3eda7f2451aaf8c75dd38d6d68fdcc04c03d2ee6
dapterViewFlipper.java
763bc076527b183204b8ef82711f9b404bed53db 22-Jul-2011 Amith Yamasani <yamasani@google.com> Implement CollapsibleActionView on SearchView.

Automatically handle expanding and collapsing in an ActionBar using
the new callback for Collapsible ActionViews.

Also clear the query text when collapsing.
Make sure that the 'x' doesn't show when in expanded mode with no text.

Change-Id: I7cba009c7cc9a1c264ec11c76315353cbde55c6c
earchView.java
fc302cdeed5317b140a2a7813857434effb793af 22-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5037537 - Revert "ListView focus bugfix."

This reverts commit a86127fe265896136d2e70273b7623e7c765fe2e.
bsListView.java
b72dedfa5e8db9e0fb532b4c362df252c3495591 22-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix CheckTextView padding"
aff599b4abb10bad6711ff9348f97a56240e0612 21-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix CheckTextView padding

- fix for bug #5051724 and bug #5051674
- override resolvePadding for doing correct padding resolution

Change-Id: Id8c7bf4afa24ff2169fd1bd7f5024a342279aab2
heckedTextView.java
d2bea209658c1e2b7575cddf4338d44e305ee554 21-Jul-2011 Gilles Debunne <debunne@google.com> Merge "Bug 4534376: Suggestion popup is not clipped."
6179ea3196e9306d3f14361fe9ef14191b1edba6 28-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility support to the Status Bar.

1. Added content description to pretty much all animals
in the zoo including buttons in the navigation bar,
notifications and status icons for battery, signal,
data, etc.

2. Rectored to avoid ovelaying views since they block
touch exploratino. In general overlaying views
cause trouble for touch exploration and accessibility
in general.

3. Avoid sending accessibility events in case the user is
touching outside of the StatauBAr panels to avoid
confusion.

4. Added records to accessibility events in the places where
this would help the presentation. So the event comes from
a given "leaf" view and its predecessor is adding a record
to the event for itself to provide more cotext. It is up
to the accessiiblity service to choose how to present that.

bug:4686943

Change-Id: I1c1bd123d828fb10911bca92130e9a05c1f020b3
dapterView.java
mageView.java
d578be2784ba452e7f4e3ef9723509ed115bcc5c 21-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Activity selections not always persisted by AcitivtyChooserView."
8dbace2dc970208e03c3cee02a7902a5bb9827ef 21-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Activity selections not always persisted by AcitivtyChooserView.

1. ActivityChooserModel was delegating the rsponsibility for reading
and persisting data to its clients i.e. ActivityChooserView and
the latter was persisting on detach from window. However, it is
not guaranteed that this callback will be received leading to
lack of presistence sometimes. Now the model is responsible for
loading and persisting thus voiding the posisbility a misbehaved
client to cause data loss.

bug:5061638

Change-Id: Ia2b7bb659f7b9abe8869c94b3eaa726ddd4e4fad
ctivityChooserModel.java
ctivityChooserView.java
31a41d35f64c016c63eebaaceff938a0ca40b122 11-Jul-2011 Gilles Debunne <debunne@google.com> Bug 4534376: Suggestion popup is not clipped.

This happened when the popup was larger than the screen because of a very long suggestion.
The text will now be ellipsized with a marquee (better than using 2 lines I believe).

Also removed the up layout that was intended to be used when the popup did not fit vertically.
The popup is moved up instead if needed.

Change-Id: Ie741610e74ade10c691614f1c30d0e17b213c698
extView.java
317ab3427afa24cbe71bf339903c9764dcafe93b 21-Jul-2011 Gilles Debunne <debunne@google.com> Merge "Suggestions are dismissed by back key"
83261239b07e1f3d2989bb4957e6a0e97c40a157 21-Jul-2011 Jim Miller <jaggies@google.com> Merge "Fix 5056699: GridLayout should maintain static indices for "gone" views."
6235b47cba0eddd0662eefc5218377c478036279 21-Jul-2011 Jim Miller <jaggies@google.com> Fix 5056699: GridLayout should maintain static indices for "gone" views.

GridLayout currently ignores views with visibility="gone" when accounting for rows/columns.
Instead it should count views with visibility="gone" as rows/columns with row/height equal to 0.

This also makes it consistent with other ViewGroups like LinearLayout where "gone" views
don't change order and are still present (but hidden) within a container.

Change-Id: I289d4ee6275d5b49b1e1d79985484216bbf48089
ridLayout.java
caed51bcc23303182ffffb8b2db04647845bc1f5 20-Jul-2011 Gilles Debunne <debunne@google.com> Merge "Insertion handles fades out after being positionned"
59f13c7dfb3cb38f03b7cc207d8e381f6274bfef 20-Jul-2011 Romain Guy <romainguy@google.com> Prevent NPE in TextView.getFadeTop()
Bug #5051776

Change-Id: I2fc1ac4b31c06cfb224898ff39f6b63bfbcd77e8
extView.java
3784a7f6f8483e6bc9e8624d454f8e90d20ed8ad 15-Jul-2011 Gilles Debunne <debunne@google.com> Insertion handles fades out after being positionned

Change-Id: I08b497222fd585a39cbd04b7be1992acf1a70145
extView.java
1003aeb9dee6cb9ccb9991b32a6be94cd933d0ce 20-Jul-2011 Romain Guy <romainguy@google.com> Merge "Reduce the fade area to save bandwidth."
f2fc460a9512500d9d5749fbaada88903d8e3b22 20-Jul-2011 Romain Guy <romainguy@google.com> Reduce the fade area to save bandwidth.

Change-Id: I8ccea17fc1fb3c132329baa0acc1b3d5a140a5c6
extView.java
ee4a6478e23f400244cc8d71bff5f22d649cb409 19-Jul-2011 Philip Milne <pmilne@google.com> Merge "Expose to the platform the ability to pick up changes in child visibility."
c679e6e7ff86faea12540d298c64a9fa866fd181 19-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Code cleaning"
350f0a63c9e785304063a95a6df9e128a67ec64f 19-Jul-2011 Philip Milne <pmilne@google.com> Expose to the platform the ability to pick up changes in child visibility.

Also:

. use above, to flsuh GridLayout state when child's GONE state changes.

Change-Id: I8567c24b51b807f0625918d42b6847a5a350311d
ridLayout.java
f66fdadefb3f15b647ffca57667233d8abfc14e0 19-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Code cleaning

- follow member name code style

Change-Id: I7a3540ee511aa600c71d2e4b9b7e7f94e47618a9
extView.java
e7dda0bb3d2b097f36b3e59f34fb5ab70e36b555 19-Jul-2011 Philip Milne <pmilne@google.com> Fix build breakage.

Change-Id: Ifdc2c02c8c18d3d372e6d2043c4819a0a7384c97
ridLayout.java
5f9fa8826887dd9a97617d5637a3862baf7b5913 19-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Test Gallery layout direction."
2e29de7cab35e4cf7c8f177b546cc95b101ed5c8 19-Jul-2011 Philip Milne <pmilne@google.com> Merge "Gather View's hierarchy notifications into methods that can easily be overidden."
f51d91c3ab232154b6c00d7f71377ff2421f79bf 19-Jul-2011 Philip Milne <pmilne@google.com> Gather View's hierarchy notifications into methods that can easily be overidden.

Also:

. Remove backward compatibility Group class now that AppsCustomizePagedView has been updated.

Change-Id: Ie3eabbdf57a539b28cdc3fd6d48cd984a4014960
ridLayout.java
3d0124f1764e57b18161b833b52964f3141243d1 14-Jul-2011 Doug Felt <dougfelt@google.com> Test Gallery layout direction.

Change-Id: If88f559e8cc46bb72ed45f33d7fc52802f1e1246
allery.java
b4569fb17fada4fdc43e4f4dbfbc79bb097a1f74 09-Jul-2011 Amith Yamasani <yamasani@google.com> SearchView behavioral and visual changes

Align text suggestions and search string.
Close button only clears the field.
Back button clears focus, hides dropdown and keyboard.
Tweaked SearchDialog's use of SearchView to follow above patterns.
Fixed other little bugs.

Change-Id: I9d34c2ebe2b1b2ca887220894c19a26809db85f6
earchView.java
uggestionsAdapter.java
6dd005b48138708762bfade0081d031a2a4a3822 18-Jul-2011 Dianne Hackborn <hackbod@google.com> I. Can. Not. Stand. ViewAncestor.

It was done so we would have the name "ViewRoot" available for a
public API. However, the name "ViewAncestor" just makes no sense.
So instead, change it to ViewRootImpl.

Change-Id: If9599ca67896f339f6fefa7d1dde121201171d97
extView.java
oomButtonsController.java
682dbafc8f6c90281303e225c5d58d4e5f74fc09 19-Jul-2011 Philip Milne <pmilne@google.com> Merge "Derive GridLayout's 'gap' constants from new "default_gap" entry in dimens.xml."
b0ce49b5ad53631ff0c3cdd8266e82f3c20c65dc 16-Jul-2011 Philip Milne <pmilne@google.com> Derive GridLayout's 'gap' constants from new "default_gap" entry in dimens.xml.

Also:

. removed static import of R.styleable - this is non-standard
. removed final modifier from DEBUG flag,
this prevents the compiler from excluding the debugging code but
allows debugging code to be enabled externally
. added override to removeAllViews() as GridLayout needs to be notified whever hiearchy changes.

Change-Id: I2409289bce7c6638eff320ffd48a6c0704e77fa8
ridLayout.java
414051b8b1e31b69ca622d68f391245f1989500b 18-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Update the style of the action bar share UI

1. Made the background of the default and expand buttons change when pressed.

2. When the share UI is shown on the overflow the "Show all" menu item was
present event if all items are shown.

3. The width of the popup for picking an item was different for the action
view and overflow case.

bug:5039747

Change-Id: I72afbcf86c93596c7eba4d70c002eab060ff31f8
ctivityChooserModel.java
ctivityChooserView.java
hareActionProvider.java
0f55cc33f658b2793a12d609a0989348077324a4 17-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> AccessibilityNodeInfo does not report checkable coreclty.

1. AccessibilitiyNodeInfo's checkable property was not set.

bug:5039205

Change-Id: I083d1c357c6d9875536e66e355c8a33bd580cee6
ompoundButton.java
176ee3d0f24e10e980069158518aa05c0dc466c1 16-Jul-2011 Gilles Debunne <debunne@google.com> Bug 5037953: Fix NPE in bringPointIntoView

Change-Id: If711f65de1a70ac9132b0b853a9f336ec56355b8
extView.java
8132ba5e2e82d02697ef0570142abb8fc8054a67 16-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5011067 - align popup lists to their content rather than
window frame by default

Change-Id: I05803b7487248d38981c2adc5422bf01761bc18c
istPopupWindow.java
pinner.java
9c83011005349f2f0ebefb47c8ea7fc4bb5a07f7 16-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #4972141 Overlapping content in single-choice dialogs"
54d69625558f401d5fe65309effb713d2ea06f54 16-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #4972141 Overlapping content in single-choice dialogs

- need to take care about padding resolution

Change-Id: Ida9738ffada6c6455b7949f933fa61924c4f7961
heckedTextView.java
9703ac8e6f98346a659fd4dbd112f82b558b6de1 16-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Some code refactoring"
c7f2cdea3c16b7303c8f897293e9816029edd1d0 15-Jul-2011 Gilles Debunne <debunne@google.com> Merge "Bug 4382356: No automatic focus change in ScrollViews"
8202cd3602b87634eeb8b2729612d96f8dbf9416 15-Jul-2011 Gilles Debunne <debunne@google.com> Bug 4382356: No automatic focus change in ScrollViews

The current behavior in ScrollView is inconsistent: a slow scroll will
not change focus while a fling will. With this change, the focus is not
moved from field to field (resulting in poup due to keyboard / suggestion bar
state changes).

Also made sure any new input in a TextFields scrolls back the view to make the
EditText visible. Has no effect if the EditText is already visible.

Change-Id: I7ff301fe85f73c27d76e4893aeab7442d0539b13
crollView.java
extView.java
50e95eba5c7cf70a0ecbc50c0cf5b700201aa67f 15-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Implement textDirection heuristic selection."
38143a682274dd5f9212d9092ed3553f2ec3e88c 15-Jul-2011 Gilles Debunne <debunne@google.com> Merge "Bug 5014726: Paste works in ExtractedText"
1e20946aa34372de5585e2a8ce3b73906a2d828b 15-Jul-2011 Jeff Brown <jeffbrown@google.com> Ensure selector state is updated when touch mode changes.

This fixes a problem where the focus selection rectangle
often remains visible even after entering touch mode.
This problem is particularly noticeable when using the
mouse to scroll the list while an item is selected.

Change-Id: I9938d2586725d91fd3f6738408233f2ead167319
bsListView.java
a6111377e1edbc5d63fc2a7205d58b2d9c21d978 15-Jul-2011 Jeff Brown <jeffbrown@google.com> Remove edge slop support.

The edge slop feature was added a long time ago for a specific
device that had severe non-linear touch response issues near
the edges of its touch screen. The feature is not useful on
modern hardware that is property calibrated.

Change-Id: I26716cbc7411c31883ddb4bb4ddd981027790d0f
bsListView.java
orizontalScrollView.java
istView.java
crollView.java
a79f4b7df9d6d80b9371ba289040a60fa93bb87c 23-Mar-2011 Jason Bayer <bayer@google.com> Refresh the drawable state when selecting a position.

It seems that mSelectorShowing is a dead (always false) field.

Bug: 4070346
Change-Id: Icf3cc6f19cc49dcfda15229a6d91232404c0743c
bsListView.java
a86127fe265896136d2e70273b7623e7c765fe2e 01-Jul-2011 Mark Lindner <mlindner@google.com> ListView focus bugfix.

resurrectSelection() didn't take into account disabled items
(which shouldn't ever get focus).

Bug: 4967915
Change-Id: I849d2d993ddf93f49108e7b867ff6d24643c07a8
bsListView.java
2585e9bd6ded294e426607717ccc85a56bade594 01-Jul-2011 Justin Koh <justinkoh@google.com> Frameworks: fixes possible invalid pointer index call.

Fixes possible invalid pointer index call in AbsListView.

Bug: 4982383
Change-Id: I9b88ab6a055c7678ef81fbe3187473edf8d12f6a
bsListView.java
d4ee810dce69698efd5a839c450823161276dfd7 15-Jul-2011 Adam Cohen <adamcohen@google.com> Merge "Catching RemoteViews#apply() layout inflation exceptions in RemoteViewsAdapter"
b7ffea697292e48c9d764c5677b69af484e045c8 14-Jul-2011 Adam Cohen <adamcohen@google.com> Catching RemoteViews#apply() layout inflation exceptions in RemoteViewsAdapter

Change-Id: I8a481e106b27d145fda92aa0d747e4a8615a5fd0
emoteViewsAdapter.java
d2b5d1cf4aaa5ce95803a837f563292763184302 14-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Some code refactoring

- make Layout.Alignment.ALIGN_LEFT as the default case
- update unit tests for reproducing bug #5002512

Change-Id: Id7ec17abd115bcda7f3434e6d64dbbba6915f108
extView.java
d44264a5eebbecc5ae02f9036d61b888d494e133 14-Jul-2011 Philip Milne <pmilne@google.com> Merge "Rationalize API after adding maximum size feature."
cb379120456d8065d742021fc5c66748fc8a11a8 07-Jul-2011 Doug Felt <dougfelt@google.com> Implement textDirection heuristic selection.

Change-Id: I2fcf18de573f2d66494fa5ed61e4273c3c6078c7
extView.java
93cd6a6c78683643de51f9e698b38847bd1f1155 12-Jul-2011 Philip Milne <pmilne@google.com> Rationalize API after adding maximum size feature.

. Change name of Group to Spec
(with the addition of the fglexibility field, this class no longer represents a group)

. Replace overloaded Group/Spec constructors with factory method

. Bugfix for measure() when alignmentMode == ALIGN_BOUNDS

. Bury as much Java API as possible, to minimize restrictions on future API enhancements

- make all field access in Group package private
- use factory methods in place of field assignment

Change-Id: I46a5027a013bf7c3110b77108b8fd0427165cd18
ridLayout.java
76559a65ad9d644f10beacf8895ceb217fdd0aeb 07-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Polish of the ActivityChooserView and ShareActionProvider.

1. Addressed the UX comments: ActivityChooserView's default selection
popup no longer shows a message, rather hightlights the default
action which now it displays. Alignemnt of the UI.

2. The ShareActionProvider shows a sub-menu if the host item goes
on the overflow menu.

3. Now the heade layout of the activity chooser view is not needed hence
dropped and the item and footer ones are merged.

Change-Id: I0b3de623e4c0a805be9ed73a8541e66b8c00e2d2
ctivityChooserModel.java
ctivityChooserView.java
alendarView.java
hareActionProvider.java
a6c53c79390e719ae425d38d6d80587e0d017ef3 13-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Introduce TextView drawableStart and drawableEnd"
5292a9d0a096ff946810c0f13ce1a1b76fee7dcd 13-Jul-2011 Gilles Debunne <debunne@google.com> Merge "Refactored TextView selectable state methods."
459ac63adae54bafff2391f1f60c607f5deece4a 13-Jul-2011 Gilles Debunne <debunne@google.com> Bug 5014726: Paste works in ExtractedText

Change-Id: I3eb72001662cf9df0a94377f98ba22b19c490fa4
extView.java
9a845ee42512db9f7f2214336fbb05e9896852d3 13-Jul-2011 Adam Powell <adamp@google.com> Merge "Update ActionProvider to support dynamically building submenus."
961dd11895ce72e59bca124ef5bea4e4c1183099 12-Jul-2011 Adam Powell <adamp@google.com> Update ActionProvider to support dynamically building submenus.

Stub out ShareActionProvider for building a submenu of activities to
choose from.

Change-Id: Ibd9ada77a455ed1a296c87b6d967073ca0f676c2
hareActionProvider.java
5fa915039a028c42498808d0ddfc4569a2345c44 12-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Date/time pickers and calendar view not handling locale change."
f5926962cc665d4a2e6464f9ba9e3e9788496a6f 12-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Date/time pickers and calendar view not handling locale change.

1. The data/time pickers and calendar view do not handle locale
change properly since they use cached Calendar instances to
limit the GC but fail to update them when the local changes.

Change-Id: I2a92d7f4e0f2798422843123e5aa483f8044bbed
alendarView.java
atePicker.java
imePicker.java
a3b6b95f9943b53d25d44a35082f817802d4eccd 30-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Introduce TextView drawableStart and drawableEnd

- update also unit tests

Change-Id: I20b82f5fea2cc48c93fd9e26eb03290ad730c08a
extView.java
4a7199ae2b25ad57ae9c3a634aacd1315afe4041 11-Jul-2011 Gilles Debunne <debunne@google.com> Suggestions are dismissed by back key

Also changed back when in text selection mode: selection mode / suggestion are hidden
first, before the IME is dismissed.

Bug 4541805.

Change-Id: I71ee7fe2fdf9e882d059482aa29dd45ade3e5dbe
extView.java
bb588da7b16734c89618e91d7f6d53db39f1266c 12-Jul-2011 Gilles Debunne <debunne@google.com> Refactored TextView selectable state methods.

There were inconsistencies across methods on how to decide if text is selectable.

Fleshed up textCanBeSelected to support all cases (including non editable textIsSelectable).

onTouchEvent removed from CursorController, test in SelectionModifierCursorController for
editable text is not needed since it is conditionned by an hasSelectionController().

Bug 5016955: protection in offset for text selection

Change-Id: I1e39f7c4a859476e0220e72a4e490b43e60b4a9a
extView.java
25b9f42737c60c052c0f8279d748c619e39935a8 11-Jul-2011 Doug Felt <dougfelt@google.com> Fix scrolling bug causing centered cursor.

Change-Id: I792a2c4d291e2ac5f0d1ed6e74f5e2ecb395c010
extView.java
7f86c806ada21fc7a3feefd89d6fcb4282b0af40 02-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix View reset of layoutDirection and textDirection

- do it in onDetachedFromWindow()
- make naming consistent too
- update unit tests

Change-Id: I320fcdbf75166bae793c4409e7344608b696667f
extView.java
7f8f79a1ff086c04a3ad2a442b1d39a8186e3e50 08-Jul-2011 Adam Powell <adamp@google.com> Add ALL CAPS style to TextView/TextAppearance

Switch out ugly hack in action menu items for the new style.

Change-Id: I68a0ed62a352b14d499e6478b82bbc12dcb5a030
extView.java
eea5be5447c759fcc11e587504ae172a4665db78 07-Jul-2011 Adam Powell <adamp@google.com> Merge "Action bar layout tweaks"
5d1a9840aaf57ae90716f0ac34abdcd09f7f4ed6 07-Jul-2011 Philip Milne <pmilne@google.com> Simplify and tidy the API for maximum value support.

Also:

. Remove CAN_SHRINK, FIXED from public view. These can be added later.

Change-Id: I63a64ac4748605da60373c8e3c2109178b5260c2
ridLayout.java
160bb7fa60e8ece654e6ce999b6c16af50ee7357 07-Jul-2011 Adam Powell <adamp@google.com> Action bar layout tweaks

Fix a Spinner issue that reported odd baselines

Fix detection of expandable items for action menus and allocation of cells

Use the right asset for home-as-up in Theme.Holo.Light.SolidActionBar.Inverse

Add TextAppearance.Holo.Widget.ActionBar.Menu as a basis for further
menu item styling

Sync with design for tab/menu text appearance

Change-Id: I32026bbde1cd4e15b6cda30d78d3d48250c84c94
pinner.java
35aecd5884a5ccfe380903e39f30f468315e8f92 01-Jul-2011 Adam Powell <adamp@google.com> Updates for action menus

Sync with UX designs for action menus in split action bar mode.
Layout is now based on a grid cell scheme.

Tweak action menu item layouts.

Fix some bugs with drawing LinearLayout dividers.

Rename config resources to follow convention.

Action bar menu items now show text in ALL CAPS. This is done in a
locale-dependent manner, but if it produces problems in specific
locales the config resource config_actionMenuItemAllCaps should be set
to false for that locale.

Change-Id: I064c2dd85e012e89551f29153efcfc17f9106333
inearLayout.java
extView.java
51ac0e94a83cfccb5105aa14df1077729a5b4ccc 17-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding a ShareView and ActionProvider for menus.

1. Adding a widget for sharing contenet with other applications.
The widget orders the share targets based on previous shares.
It displays the share target list as either a popup anchored to
itslef or as a dialog.

2. Added a ShareDataModel that will back widgets or other classes
that are interested in share targets for a given intent ordered
according to share history. This class is backing the ShareView

3. Added ActionProvider mechanism for the MenuItems. The action
provider of a menu creates the action view as well as performs
a default action if the menu item is on the overflow menu and
is triggered but none of the menu callback has handled that.

bug:4590827

Change-Id: Iaa4add2df2538b8c6c7edbeaf2880486d4fd75c5
ctivityChooserModel.java
ctivityChooserView.java
hareActionProvider.java
f03712bf540db15d0594b848e63c207fd50e9379 02-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix default TextView textDirection heuristic"
0b28c757adfec4302b144d8230c01c04ae00ca2b 01-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix default TextView textDirection heuristic

- use "first strong" instead of "locale"
- optimize "any rtl" heuristic too
- fix a few wording issues too

Change-Id: I239a11a49a7a6a6d45165f593c96e8b6b84f0661
extView.java
0e591ab277e777b0422463823e3abf28bb1fd5d8 01-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add charCount heuristic to TextView textDirection"
8f5026562f26dcde43ee9d9182b309c3204dc1ad 30-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Add charCount heuristic to TextView textDirection

- threshold set to 60% (using a constant)
- fix also one issue during layout direction resolution (parent could be null so delay resolution
up to when parent is no more null)

Change-Id: I65f24a297aac6bc0d5d482ee31b55db0b201e5bf
extView.java
48b55244d286b6d4e3699a5d9e938a9c87aaae75 29-Jun-2011 Philip Milne <pmilne@google.com> Support for maximum values in layout GridLayout.

A cell's ability to shrink or stretch is now integrated with the
constraints system, which is now supplied with both upper and lower
bounds.

Also:

. Remove package private access (pseudo) annotation
. Remove rowWeight and columnWeight attributes and fields
. Remove code to handle weights

Change-Id: I9e2432101d15466c621f51ae362435051fab5764
ridLayout.java
fe8b06cfb4cb4991bcfd09ffa60dcbb7b48ee45f 30-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Support control of text alignment."
c0ccf0c47c00942a9d0f2670600a8f2d4d7adb5b 24-Jun-2011 Doug Felt <dougfelt@google.com> Support control of text alignment.

Change-Id: Id6f3682f67ba2e6811e3014cd34a281e6dd0a469
extView.java
aa2f8066c1f1d2b486e49581797bc1b683b376b5 29-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Minor tweak of NumberPicker to draw the scroll wheel at the right locaion"
6a19fcde07527706c2a9175e0b9f2a71549b7ffe 29-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Minor tweak of NumberPicker to draw the scroll wheel at the right locaion

Change-Id: I8429ee1f06f5ef2c41a97c287d598f7c14c22837
umberPicker.java
2551ef0f51e486a7efc800197c8c1f3f06e1e858 29-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Minot twaek of the NumberPicker"
5203194fdff0c0aaefc405d65871ef0e06e7c682 29-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Minot twaek of the NumberPicker

Change-Id: I3ab1d27633e7b75f77d09084964cc17edddb9394
umberPicker.java
83955ef12fb324fb3d407c5ea08769f267af7074 29-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add textDirection support for TextView and ViewGroup"
863fcd62171e55bc9f2105d9fb5877df982454d8 21-Jun-2011 satok <satok@google.com> Add onClickView to InputMethodService

Bug: 4697141

- onClickView is called everytime the user taps EditText

Change-Id: Ia71ad325e50a20e9e1001def662ef992bb50a9d0
extView.java
01fa0d7aae1a551e1e7cfb90d2aeaf2fcb3978af 29-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Date and time pickers do not show properly on phone

1. Copied the default NumberPicker layout to sw-600dip
i.e. in the layouts for tablets and changed the
layout to fit on the screen. No mini calendar on
phones - you need an microsope to see it.

2. Fixed a two pixel off erroro in NumberPicker noticable
when the scroll wheel fades away.

bug:4259424

Change-Id: I07a73faff1e95dffd30424cc8addd35f2fe30e8f
umberPicker.java
222688682e6e072076489d8203d01bdf2366101a 28-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Add textDirection support for TextView and ViewGroup

- use ViewGroup inheritance if defined
- use different heuristics (inherit, firstStrong, anyRtl, ltr, rtl)
- add more unit tests

Change-Id: Ic1325aa7d9e4689b181e0a2d08b7dd7fb3f0dbeb
extView.java
a0156177cdc809795dd8bc5a19943dd2b6f82b66 27-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Added scroll and text selection change accessibility events.

1. Added scrolling accessibility event to provicde feedback
when a view is scrolled.

Note: We need scroll events for ICS since even though we have
touch exploration the user does not know when something
is scrollable and not feedback is provided while scrolling.

bug:4902097

2. Added a text selection change event to provide feedback
for selection changes including cursor movement.

Note: We need the text selection change events for ICS since
even though the IME supports navigation in text fields
the user receives no feedback for the current selection/
cursor position.

bug:4586186

3. Added a scrollable property to both AccessibilityEvent and
AccessibilityNodeInfo. The info has to describe the source
in terms of all properties that make sense for accessibility
purposes and the event has this property (kinda duplicated)
since clients will aways want to know if the source is
scrollable to provided clue to the user and we want to avoid
pulling the info of the source for every accessibility event.

Change-Id: I232d6825da78e6a12d52125f51320217e6fadb11
bsListView.java
allery.java
orizontalScrollView.java
crollView.java
extView.java
b0b1b11b965598cb8fb724e636ebb58a77d437b5 24-Jun-2011 Amith Yamasani <yamasani@google.com> Merge "SearchView improvements per design."
3af0b4e1250aaaf4502eaa05131a3d06342d562c 24-Jun-2011 Guang Zhu <guangzhu@google.com> Case insensitive for real

previous code was comparing to the unconverted CharSequence, so
it's never going to find a match if the string is mixed case

Change-Id: Ifd537d9781b7da1a2328f01b6f2f3229ca7d950b
extView.java
246529891ee289e8393ad4a486db785ef455c778 24-Jun-2011 Amith Yamasani <yamasani@google.com> SearchView improvements per design.

- X is visible only if there is text, or we need a way to close a
search field that is iconified by default.
- Search dialog (legacy) has a back button to the left.
- Hitting X on a non-focused search view will bring it into focus
and show the keyboard if necessary.

Change-Id: I5a30bb08adcf84639a922a9e13be1d1562f714e6
earchView.java
a1f7b10f7299b40ee3a4e5e309882ea1a931cd5e 23-Jun-2011 Philip Milne <pmilne@google.com> Handle baseline aligned rows in which some components define baseline and some don't.

Also:

. Make all of the methods in Alignment package private.
. Inlucde Tor's test case

Change-Id: If78a6a3b653723d9e12d6b162fd0c86b11a82dff
ridLayout.java
0edc52970f82b6a42324ebec9458b3098112e499 22-Jun-2011 Philip Milne <pmilne@google.com> Merge "Minor tweaks to GridLayout for KeyGuardScreenUnlock."
42b91bbcdaf64b2f19d0a9ce168964b31a5dc139 22-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4818050 - Need a way to get notified when a PopupMenu gets
dismissed/canceled

Add an OnDismissListener to PopupMenu.

Change-Id: I7abe1b9c9bea5e758a9c32631185e50cd7eb1ed0
opupMenu.java
ec39c234bde97336aae18994efe67424527f3fa2 22-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Searching for AccessibilityNodeInfo by text not case insensitive.

1. The query string was not converted to lower case during search
for infos with text.

bug:4818098

Change-Id: Ie4ba8ac2632072bdd71070ec8fd24ca255560ac0
extView.java
1fd16378812792913a6aa6923acbec20037e09ff 21-Jun-2011 Philip Milne <pmilne@google.com> Minor tweaks to GridLayout for KeyGuardScreenUnlock.

Also:

. Swapped order of args in internal getMargins() methods.
. Stopped implying row/col weight = 1 when size = MATCH_PARENT.

Change-Id: I657fb3e54867eb9735f9509878968941bf6a6a49
ridLayout.java
b3a8c54389c9be2b37c5524ad8eb3112054221a7 21-Jun-2011 Philip Milne <pmilne@google.com> Accomodate margins in child measurements.

Also:

. Cater for components that are GONE.
. Include code to draw component bounds and margins when in DEBUG mode.

Change-Id: I688f8b638469eb11987ebb207b7db1dc953e84e7
ridLayout.java
bf68f833fe835ce393264ecb2fdf3a7d8c38cfde 21-Jun-2011 Adam Powell <adamp@google.com> Don't draw a middle divider on the first visible view.

Change-Id: I44f81e473344c29ac1f1d4ad4c9be86464394b75
inearLayout.java
09e2d4d0d5101e2fc44909b83965465a7b90afab 20-Jun-2011 Philip Milne <pmilne@google.com> Ensure measuredWidth > getSuggestedMinimumWidth(), same for height.

Change-Id: I7f2dc2e874d8aacf961e98fe41139ada7a992449
ridLayout.java
a789cafb066fd98e0e7f7ce506e3defa8104ba80 17-Jun-2011 Philip Milne <pmilne@google.com> Pass width/height specs in the standard way when measuring children.

Change-Id: I127b206cb677f8a09990b6852c98023d6c97112d
ridLayout.java
pace.java
1e54825135a7ccde421aa7fc400ab69e9348b5d6 17-Jun-2011 Philip Milne <pmilne@google.com> Change includeMarginsInAlignment flag to aligmentMode property.

Also:

. Change getInteger() to getInt().
. Conditionally compile, Paint() allocation and initialization.
. Correct spelling mistake in javadoc.

Change-Id: I00438a717e635a3917c5324f56063dce2e6041e8
ridLayout.java
452eec33d667f9e705b57e60948b070536fbc1b4 17-Jun-2011 Jim Miller <jaggies@google.com> Merge "Update GridLayout constructors to properly handle DEBUG=true"
c655ba5e467090eb4f839f148ac31b50c389ffb2 17-Jun-2011 Jim Miller <jaggies@google.com> Update GridLayout constructors to properly handle DEBUG=true

This fixes a case where the grid layout debugging wasn't showing.

Change-Id: I28b2754d2d824731e24126300bc501ae2e379ee4
ridLayout.java
c9885f6557dc1c96e2cc2c1a86fba359f00f131c 16-Jun-2011 Philip Milne <pmilne@google.com> Future-proofing: change Alignment interface to abstract class and add a parameter for measurementType.

Also included bugfix from Winson: arcs wre not being cleared in invalidateStructure() so
state wasn't properly cleared when children were added after the first layout operation.

Change-Id: I7b46eadd955bd74b7bb3e4dad2f47ed3f092ff63
ridLayout.java
13774d2e38e73ef4d0f6d0db3501ba032fa6da5a 16-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> AccessibilityNodeInfo not properly returning checked status

1. CompundButton was not setting its checked state in the info.

bug:4674048

Change-Id: Ic711d4ee9b2214e9bdf86546df406b497aaa90b5
ompoundButton.java
0656bc32fa8bb59dae502a0f1409afe47f9f638d 15-Jun-2011 Gilles Debunne <debunne@google.com> Merge "Bug 4579629. Send before and after text when suggestion is picked."
f49971ec06e65ee2a0f0fd48a615b89c677086e7 15-Jun-2011 Adam Powell <adamp@google.com> Make FastScroller behave kinder and gentler when an app decides to
return null from SectionIndexer#getSections()

Change-Id: I9132073f149e13051db13d2e563bd7c1a316046e
astScroller.java
c0053223bedf33581b0830fb87be32c1f26e5372 13-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Add View.getResolvedLayoutDirection()

- update Callback2 interface
- update Gravity.getAbsoluteGravity() and Gravity.apply() to be more generic
by changing "boolean isRtl" parameter to "int layoutDirection"
- fix BiDiTests for RTL FrameLayout

Change-Id: I97bb456c22d5fd3ecb34f08564ce4dbed37e7459
rameLayout.java
ridView.java
mageView.java
inearLayout.java
rogressBar.java
elativeLayout.java
ableRow.java
extView.java
4d8028082127003852016a6a1f480f5286118f96 14-Jun-2011 Gilles Debunne <debunne@google.com> Bug 4579629. Send before and after text when suggestion is picked.

Change-Id: Iaf8ad50b19e7301ece1a5a7a13b3bc604c817fd6
extView.java
8fa10d44e12edd32732cc7bca91e366ede3a4e30 14-Jun-2011 Gilles Debunne <debunne@google.com> Merge "Switch is not affected by touch when disabled"
c2ab0d665c9d1c332fbd726abf582a27cf7a6701 13-Jun-2011 Gilles Debunne <debunne@google.com> Switch is not affected by touch when disabled

Also unchanged at the end of a drag/fling if the switch has been
disabled in the mean time.

Change-Id: Ie471a7fcf57fa633ee8eeefdfaa2939883ccfef0
witch.java
c282401b5729d07a522b35d54f199a0e85fd3f34 13-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Final polish of the interrogation feature."
28b6711c4c7449e597f57e016e5bc4741e115f9a 13-Jun-2011 Philip Milne <pmilne@google.com> Merge "Bugfix for GridLayout assuming that the x value of last column index is maximal. This is not the case when column indexes are defined incorrectly and GridLayout should still work in this case."
51f17d54613c33638c8a2da8affcd9ba35994cb3 13-Jun-2011 Philip Milne <pmilne@google.com> Bugfix for GridLayout assuming that the x value of last column index is maximal. This is not the case when column indexes are defined incorrectly and GridLayout should still work in this case.

Change-Id: I5deb3fb43ed1dd16dd20868854b96ebae4d30623
ridLayout.java
fc442bdea14289656ef1f537103578eb71faf473 11-Jun-2011 Jeff Brown <jeffbrown@google.com> Ensure the RemoteViewsAdapter cleans up its HandlerThread.

Using a finalizer for this is kind of gross but it is robust.
We could try to hook onDetachedFromWindow() on the View
but that would introduce additional lifecycle management to
the adapter since a View could potentially be detached and then
reattached, so we might need to recreate the handler, etc.

Ideally this code should probably be changed to use AsyncTask.

Change-Id: I9ad5fff388411619363e4a075ed0244966b38726
emoteViewsAdapter.java
eeee4d2c01d3c4ed99e4891dbc75c7de69a803fa 11-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Final polish of the interrogation feature.

1. Added a new event type for notifying client accessibilitiy
services for changes in the layout. The event is fired at
most once for a given time frame and is delivered to clients
only if it originates from the window that can be interrogated.

2. Exposed the findByText functionality in AccessibilityNodeInfo.
This is very useful for an accessibility service since it allows
searching for something the user knows is on the screen thus
avoiding touch exploring the content. Touch exploring is
excellent for learning the apps but knowing them search is
much faster.

3. Fixed a bug causing an accessibiliby service not to receive
the event source in case of more than one service is registered
and one of them does not have paermission to interrogate the window.
The same event was dispatched to multiple services but if one
of them does not have interrogation permission the event is
modified to remove the source causing subsequent serivices not
to get the later.

4. Moved the getSource setSource methods to AccessibilityRecord
instead in AccessibilityEvent.

5. Hiden some protected members in AccessibilityRecod which should
not be made public since getters exist.

6. Added the View absolute coordinates in the screen to AccessibilityNodeInfo.
This is needed for fast computation of relative positions of
views from accessibility - common use case for the later.

7. Fixed a couple of marshalling bugs.

8. Added a test for the object contract of AccessibilityNodeInfo.

Change-Id: Id9dc50c33aff441e4c93d25ea316c9bbc4bd7a35
bsListView.java
dapterView.java
cd2ca4038a027315832c38c68be5076000bc4b53 11-Jun-2011 Jeff Sharkey <jsharkey@android.com> Move data cycle methods to framework object.

Moved so they can be used by both system service and Settings UI, since
they both work with data usage cycles. Still covered by tests.

Change-Id: I01c0c4db6da9457dd867c9167d31a5f9f8e5f5d9
abWidget.java
f474870fe1189f73cf8ffbaba9e524ef194b5043 10-Jun-2011 Philip Milne <pmilne@google.com> Optimise the way that indices are auto-allocated so that XML files can normally avoid using indices.

Change-Id: Iafb25b17fec9391664c81a7e213eeaa918254912
ridLayout.java
ed6741817a6c075a306b5e9c63e6c08abc5b8dc6 03-Jun-2011 Gilles Debunne <debunne@google.com> Text selection on phone

Exception on device rotation due to a removed test for existing selection.

onPreDraw is called for the PhoneWindow, updating container position, but before
the popup window is layout. Added a flag to force a new update after the layout.

Change-Id: I0f833c689a367ef76144230df28afa48db9ad950
extView.java
31bc2f92520aea11b8a339a1ad9ec998cc90c59d 09-Jun-2011 Gilles Debunne <debunne@google.com> Merge "Add SwitchPreference"
7fd948756947506db62a2bafca2ed45ff53ac0a0 08-Jun-2011 Philip Milne <pmilne@google.com> Fix for baseline alignment in LinearLayout compatibiity mode.

Change-Id: Iaa194537c1bc493172fab89624279fe5cbfa1f70
ridLayout.java
be0a4535053bbfdebd215e244b154ac810fd8edc 30-Nov-2010 Adam Powell <adamp@google.com> Add SwitchPreference

Change-Id: I073e9bfba8c4e1a625c27f976f71ea56a81ba20f
witch.java
c46f7ffa9079f3ae8a5204e7519ed7a1250116d0 07-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Rename atribute View horizontalDirection to layoutDirection and update unit tests

- update before/after to start/end in unit test app

Change-Id: Id7286ef5d9390540faf8ecd5f0b1c140d04bb364
inearLayout.java
8643aa0179e598e78d938c59035389054535a229 20-Apr-2011 Svetoslav Ganov <svetoslavganov@google.com> Interrogation of the view hierarchy from an AccessibilityService.

1. Views are represented as AccessibilityNodeInfos to AccessibilityServices.

2. An accessibility service receives AccessibilityEvents and can ask
for its source and gets an AccessibilityNodeInfo which can be used
to get its parent and children infos and so on.

3. AccessibilityNodeInfo contains some attributes and actions that
can be performed on the source.

4. AccessibilityService can request the system to preform an action
on the source of an AccessibilityNodeInfo.

5. ViewAncestor provides an interaction connection to the
AccessibiltyManagerService and an accessibility service uses
its connection to the latter to interact with screen content.

6. AccessibilityService can interact ONLY with the focused window
and all calls are routed through the AccessibilityManagerService
which imposes security.

7. Hidden APIs on AccessibilityService can find AccessibilityNodeInfos
based on some criteria. These API go through the AccessibilityManagerServcie
for security check.

8. Some actions are hidden and are exposes only to eng builds for UI testing.

Change-Id: Ie34fa4219f350eb3f4f6f9f45b24f709bd98783c
elativeLayout.java
extView.java
a556abfb3d9ace5f6d179cf0831138fe9c580146 07-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Rename Gravity BEFORE/AFTER to START/END"
9e3b002d3f9141d54948a65e0330fdcd09e75a30 07-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Rename Gravity BEFORE/AFTER to START/END

- following spec proposal for having CSS3 like naming

Change-Id: Id5e316a2d9b54b9f20bbcb168fea6a3a83882e1b
rameLayout.java
inearLayout.java
elativeLayout.java
extView.java
371790b77491c1ea6a4abeb334143fa3a58e0652 04-Jun-2011 Jeff Brown <jeffbrown@google.com> resolved conflicts for merge of 955e8d79 to master

Change-Id: I90b0d523053d173b7df60ebc975de65ab387ff18
ce08f785604e15ec56b1e2e21f4058eec3c923d3 03-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix default TextView gravity"
ea28694aee64837bb74130716e45b89fce342651 03-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix default TextView gravity

- default set to Gravity.TOP | Gravity.BEFORE instead of Gravity.TOP | Gravity.LEFT

Change-Id: I5e528fb1d0a6e3c84dd506e899df33c9b58d25f3
extView.java
b93ffdb5d5c42cb3d3ae3596428f50b3046ae3d4 03-Jun-2011 Adam Powell <adamp@google.com> am b30dda6b: am 036c40f4: am fa8ee177: Merge "Framework: bugfix for menu selector not showing up properly." into honeycomb-mr2

* commit 'b30dda6b550fedcf5c3b15671d483205a7757e1b':
Framework: bugfix for menu selector not showing up properly.
160cbbb9ac1369a9df64e0a25e7736169bec0744 03-Jun-2011 Philip Milne <pmilne@google.com> Merge "Response to code review for GridLayout:"
aa616f31fe7c0c8e3657bb9a5889ec5e56ee5232 28-May-2011 Philip Milne <pmilne@google.com> Response to code review for GridLayout:

. Fixed spelling.
. Added comments on internal methods.
. Adopted the suggested internal name changes to improve clarity.
. Added UNDEFINED constant to public API to avoid making reference to Integer.MAX_VALUE in docs.
. Added final everywhere, then removed it.
. Make the Interval class package private so that it can be put somewhere more general later.
. Tidy code, removing maximize flag throughout.
. Remove last of allocations taking place during layout.
. Implement measureChild() etc.
. Added LinearLayout alignment compatibility mode, and made it the default.

Change-Id: I6a4ffa022d97d68138d1903d3830a20278815435
https://android-git.corp.google.com/g/#change,109891
ridLayout.java
99ce8abc3fee4dc31031b50c61c7300558feb74b 03-Jun-2011 Amith Yamasani <yamasani@google.com> am 42f53c7e: am eb012034: am 0119a67e: Merge "Use Holo background and proper padding for App Permissions UI." into honeycomb-mr2

* commit '42f53c7e6cec8d17a850a550c74f8dfc9435fbf7':
Use Holo background and proper padding for App Permissions UI.
955e8d79b1e75acd3e7963cb13afce134a193af3 03-Jun-2011 Gilles Debunne <debunne@google.com> am 00afa11c: am 0538e621: Merge "Tap timeout removed on paste. Relying on position only." into honeycomb-mr2

* commit '00afa11c1565da7ad6721db08a4da7c2ec1eacc0':
Tap timeout removed on paste. Relying on position only.
0538e6217de35e418c9779fd48c8300e65cc4f1e 03-Jun-2011 Gilles Debunne <debunne@google.com> Merge "Tap timeout removed on paste. Relying on position only." into honeycomb-mr2
793a940b84b376bed3be606c2b0f25adef69e20c 03-Jun-2011 Gilles Debunne <debunne@google.com> Tap timeout removed on paste. Relying on position only.

Change-Id: I2e2b4a68f17957a2631a545badd602e4d127cfc3
extView.java
bce84d2bcaa30b9d937b629111091e9f6286c3eb 03-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Improve ViewDebug informations for View and LineaLayout

Change-Id: Ie34519c975027dead806b7859b638d78c39ace77
inearLayout.java
e9ff92d7d27beff024fffa3e7637cd75337e7848 02-Jun-2011 Gilles Debunne <debunne@google.com> Merge "Remove suggestion span underline on device rotation"
aa67eef1b64fd52366bcba339150ce571bc1409b 02-Jun-2011 Gilles Debunne <debunne@google.com> Remove suggestion span underline on device rotation

Change-Id: I2fca995f839eff84ee8c62289f6f110ebb8dd321
extView.java
77c1cc0aa4d088f54c3b36a05a19acfa5295c4da 02-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #4509967 (layout_gravity not always respected)"
de35ceeeb9f8855c72dfd70593e917aa75b43770 02-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #4509967 (layout_gravity not always respected)

- fix FrameLayout
- code refactoring on LinearLayout
- add more unit tests

Change-Id: I49302582c61aa31a4eb7eded92327b10408f71a4
rameLayout.java
inearLayout.java
23a5996b2b9bdbc1af7cc278e842b9d403b53441 01-Jun-2011 Amith Yamasani <yamasani@google.com> Merge "Keep track of USER_QUERY to pass to the intent."
b30dda6b550fedcf5c3b15671d483205a7757e1b 01-Jun-2011 Adam Powell <adamp@google.com> am 036c40f4: am fa8ee177: Merge "Framework: bugfix for menu selector not showing up properly." into honeycomb-mr2

* commit '036c40f443a6d83881bc336a94b5da41bbc0bbcc':
Framework: bugfix for menu selector not showing up properly.
3c7b96a3466d05ad9979e86f44eb61a12ef67da3 01-Jun-2011 Justin Koh <justinkoh@google.com> Framework: bugfix for menu selector not showing up properly.

Menu selector wasn't showing up properly because selector state wasn't updated after touch mode. Added this to resurrectselection call.

http://b/issue?id=4372583

TESTED = runs on M4.

Change-Id: I349c3b86f4e8a1a02a20494b547859d0c12867ee
bsListView.java
829de65b9aa8d59cff7d8b4acd6c89682a1952a5 01-Jun-2011 Gilles Debunne <debunne@google.com> Merge "Select all for text shown as an icon on smaller screens"
5e9af2ddf09cd2dbb9d7c1a07f9dab8b262077b8 28-May-2011 Gilles Debunne <debunne@google.com> Select all for text shown as an icon on smaller screens

Text has been removed to leave space for 4 icons, that should fit
even in portrait mode.

Note: requires a definitive selectAll icon from designers.

Change-Id: I65547527e9ca872aa8888467f31fa7de9653fa77
extView.java
38fd7cde0bf51f5372c829713ab8578af941fd36 01-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix TextView potential NPE in isLayoutRtl()"
83fa41b06e0180d4e86c16f7cb6ae2439183fda8 01-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix TextView potential NPE in isLayoutRtl()

- test if mDrawables can be null
- see bug #4517017 (was seen with Monkeys)

Change-Id: I07f04c88a238d1cae6fe89b0ab56fc2c456b8534
extView.java
42f53c7e6cec8d17a850a550c74f8dfc9435fbf7 31-May-2011 Amith Yamasani <yamasani@google.com> am eb012034: am 0119a67e: Merge "Use Holo background and proper padding for App Permissions UI." into honeycomb-mr2

* commit 'eb01203447afd2606b77739a0bd0b2ea216756e4':
Use Holo background and proper padding for App Permissions UI.
ff7705e1d3503787764bc7efd9ac4e8689f6dac0 31-May-2011 Amith Yamasani <yamasani@google.com> Use Holo background and proper padding for App Permissions UI.

Bug: 4515158
Change-Id: I47a8f2fbdc2547dd08e199ccbfa51710048963ae
ppSecurityPermissions.java
da188fbe4b4d7b91e1440afe5a1279d0fd7a91eb 31-May-2011 Gilles Debunne <debunne@google.com> Merge "Fix for bug 4499752 - Detect nulled layouts in HandleViews"
ed9a34d54b6b51367616da9e0eec40588eab2306 28-May-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Refatoring a bit of accessibility code"
bad9d97693a784ea37f1510550e0e4a98f9a9180 28-May-2011 Svetoslav Ganov <svetoslavganov@google.com> Refatoring a bit of accessibility code

Change-Id: I4df1741b622b21176c10311da0dc6347ca6fb390
bsListView.java
dapterView.java
d4bb0b01c6caccbaef1baec377a59c10790da35c 28-May-2011 Gilles Debunne <debunne@google.com> Fix for bug 4499752 - Detect nulled layouts in HandleViews

Change-Id: I6a7289150bf461cdf4cca0aff4aa4a0400e0d553
extView.java
068d73cf51305a9dfc15c96f17a18676637d3e02 28-May-2011 Amith Yamasani <yamasani@google.com> Keep track of USER_QUERY to pass to the intent.

Fixes bug: 3144023

Change-Id: Ib1f04119c7c0b5aa8ceaf7b15ccec70c76b2dff1
earchView.java
a98eef8601dfd280f56f7a51495ecd4127eefbb2 27-May-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix overrides of isLayoutRtl(Drawable dr)

Change-Id: I7042805747db134d93e39cbb41773d8d5a1cb370
mageView.java
rogressBar.java
5ff0f99b23da389f59fe736c4c670c60f13be8ea 27-May-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add support for Gravity BEFORE and AFTER"
6a03640539405afbdefe72894759281b98aa6e6f 23-May-2011 Fabrice Di Meglio <fdimeglio@google.com> Add support for Gravity BEFORE and AFTER

- update layouts
- add Callback2 for RTL aware Drawable
- add unit tests

Change-Id: Ic64d0291e262170aff7297c6580b0b422eaa8d89
rameLayout.java
ridView.java
mageView.java
inearLayout.java
rogressBar.java
elativeLayout.java
ableRow.java
extView.java
b1619e5615a295981b6467442783b3e57edf36b3 26-May-2011 Gilles Debunne <debunne@google.com> EditText notifies the IME when a suggestion is picked.

Bug 4443922

Change-Id: Ie1e5a8164bf80bcfb48036c9337e649dc0d8a2fb
extView.java
3f8956d82bb40b15acee26017db0d13ddf43c80a 13-May-2011 Philip Milne <pmilne@google.com> Introduction of GridLayout.

Change-Id: Ia2ec315e7d29dcc5aa13b080fc6ce00708e9c034
ridLayout.java
pace.java
50f7fb9ca19cb6602d01bd3528d2c3eaed103c4f 25-May-2011 Adam Powell <adamp@google.com> Merge "Action bar tab layout"
f8ac6b7394cfd37f01471bb35475ff2930eee140 24-May-2011 Adam Powell <adamp@google.com> Action bar tab layout

Sync with UX on action bar tab layout behavior.

Make action bar tabs behave better with configuration changes.

LinearLayout now supports largest child measurement in unspecified
mode.

Change-Id: Id520641715a61c07e64124a0c5a70912996c98a0
inearLayout.java
4725a90e8ea82799fb88fd27db5bb16969ac5abf 25-May-2011 Romain Guy <romainguy@google.com> Code cleanup.

Change-Id: Ie7685b14e3eb81a2e1034004c3ba04b523e9dd13
tackView.java
970ce730175e1d27ce3fc7c179f2d24ecc1b5213 24-May-2011 Gilles Debunne <debunne@google.com> Merge "Made getOffsetForPosition public in TextView."
bd4d5826228d3c3c55a52aa7e175559509ec3498 24-May-2011 Gilles Debunne <debunne@google.com> Merge "TextView uses floats for touch event positions."
7a4adca1cb1904e98cc695e7b7707b5d7d7dcd89 24-May-2011 Gilles Debunne <debunne@google.com> Merge "Added a new flag in TextView to disable Suggestions."
9511b41e05312f1f5ed88d22040876218d7bfdd4 24-May-2011 Gilles Debunne <debunne@google.com> Made getOffsetForPosition public in TextView.

Bug 4443839

Change-Id: I3e5d6f0fe3a45b068166f682daf3c4163903306e
extView.java
3bca69b09fb51116b5eb18fb91cb991c1450e384 24-May-2011 Gilles Debunne <debunne@google.com> TextView uses floats for touch event positions.

This is the type returned by event.getX/Y methods. Conversion
to ints is only performed when needed. Low performance impact
since there is only a minimal amount of computations on these
values.

Change-Id: I53a56efe5e3a1a96911adc25fedaab7f40f1ba8e
extView.java
7d372b49e2691967fab3a9d63103bab1b1ff205e 24-May-2011 Adam Powell <adamp@google.com> am 7dfdb914: am f483ed90: am bdc26dc3: Merge "Change measurement of effective screen height for PopupWindow now that DisplayMetrics reports it without system decorations." into honeycomb-mr2

* commit '7dfdb914206eafbf2aa4533e9b6a50428a5d0d3d':
Change measurement of effective screen height for PopupWindow now that DisplayMetrics reports it without system decorations.
f3a135bfbae0e64cf32dcb21714420ec974b1cab 24-May-2011 Gilles Debunne <debunne@google.com> Added a new flag in TextView to disable Suggestions.

This is needed for specific TextEdit (such as AutoCompleteTextField)
which do not want to display the "No suggestions available" message.

Bug 4443830

Change-Id: Ic228b56bacfdf2765e70eb24952ab087556c1f93
extView.java
f32e0fe66f4144e51b5a8b85242522b4ba01393c 21-May-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "RTL Ordering of visual elements in LinearLayout"
1e4cfbeba54898373c852097d1519a1d966c0854 02-Apr-2010 Fabrice Di Meglio <fdimeglio@google.com> RTL Ordering of visual elements in LinearLayout

- also update unit tests for testing LinearLayout

Change-Id: I0794d48c45a8fd4a899fdf6f6a1d05485b416e1a
inearLayout.java
7dfdb914206eafbf2aa4533e9b6a50428a5d0d3d 21-May-2011 Adam Powell <adamp@google.com> am f483ed90: am bdc26dc3: Merge "Change measurement of effective screen height for PopupWindow now that DisplayMetrics reports it without system decorations." into honeycomb-mr2

* commit 'f483ed90401d63b7317f823fcac10315146d3072':
Change measurement of effective screen height for PopupWindow now that DisplayMetrics reports it without system decorations.
3f4a764cf400aa209c1f8f76a1c73143eefc4905 21-May-2011 Adam Powell <adamp@google.com> Change measurement of effective screen height for PopupWindow now that
DisplayMetrics reports it without system decorations.

Change-Id: I57f926de1cc7170b9996d7c71aa01542baf0c673
opupWindow.java
63f46e7145fb2087515eb04015d84d956cbb00cd 19-May-2011 John Reck <jreck@google.com> expandGroup can now animate

Add a boolean to have expandGroup animate the same as
performItemClick does

Change-Id: I652c6fa8f9a7b527572337b11900d653b5285352
xpandableListView.java
51d6eb7dcfb776cb70a337ba4fd1eaadc94d8688 16-May-2011 Romain Guy <romainguy@google.com> Fix crash when using a SimpleCursorAdapter initialized with a null Cursor.

Change-Id: Ia7d078db8ab941c830663e6af7cbb07d7bad24a8
impleCursorAdapter.java
0c0b768e1514280812321854db6dfba723c3d169 16-May-2011 Romain Guy <romainguy@google.com> Fix NPE when calling PopupWindow's default constructor.

Change-Id: I5317b052236d758fd3b9055c9940fbb10ec7b123
opupWindow.java
73162196e712c5f71238642bf8ca0b5984ee51a4 13-May-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Factored out the Accessibility vertical initialization."
30401328c1026389171d454c934c15875c3f7ff0 13-May-2011 Svetoslav Ganov <svetoslavganov@google.com> Factored out the Accessibility vertical initialization.

1. Accessibility events were filled with data in
dispatchPopulateAccessibilityEvent and
onPopulateAccessibilityEvent. These events have
two axis of population 1) up the class
hierarchy to populate information for the event
source; 2) down the view hierarchy to populated
all the text contained in the source including
its descendants. These two axis of population
were done in on population pass now the populating
the source properties happens in initializeAccessiblityEvent
and the text in onPopulateAccessibilityEvent which
is called from dispatchPopulateAccessiblityEvent.

2. Removed the string description from events fired from
CompoundButton since the event has isChecked()
property and it is responsibility of the clients
to decide what utterrance to use and if to use such
for announcing the checked state.

Change-Id: I5d7f75cf8a87a7a4b3bb7b311e8e642ec9a0faa5
dapterView.java
heckedTextView.java
ompoundButton.java
istView.java
rogressBar.java
abWidget.java
extView.java
65f47d88107b2e34e4bab1f5208bff3f73ce4e8a 13-May-2011 Jeff Brown <jeffbrown@google.com> Merge "Add initial API for stylus and mouse buttons."
fe9f8ab03a63b1037f07dd85799fbea80ec6adaa 07-May-2011 Jeff Brown <jeffbrown@google.com> Add initial API for stylus and mouse buttons.

Added the concept of pointer properties in a MotionEvent.
This is currently used to track the pointer tool type to enable
applications to distinguish finger touches from a stylus.

Button states are also reported to application as part of touch events.

There are no new actions for detecting changes in button states.
The application should instead query the button state from the
MotionEvent and take appropriate action as needed.

A good time to check the button state is on ACTION_DOWN.

As a side-effect, applications that do not support multiple buttons
will treat primary, secondary and tertiary buttons identically
for all touch events.

The back button on the mouse is mapped to KEYCODE_BACK
and the forward button is mapped to KEYCODE_FORWARD.

Added basic plumbing for the secondary mouse button to invoke
the context menu, particularly in lists.

Added clamp and split methods on MotionEvent to take care of
common filtering operations so we don't have them scattered
in multiple places across the framework.

Bug: 4260011
Change-Id: Ie992b4d4e00c8f2e76b961da0a902145b27f6d83
bsListView.java
ee511cc529bcbb8551af4313cf1d2bbf0362de14 05-May-2011 Gilles Debunne <debunne@google.com> SuggestionSpans are preserved when picked.

This is the exception case: text replacement should NOT remove SuggestionSpans
when this is the result of a Suggestion pick in the popup.

Save them and restore them after the text replacement.
Only spans that entirely englobe the replaced region make sense after the
text replacement.

Change-Id: Ib18eb6437c3a63fd0e788ebd4565c8f42e83503b
extView.java
979154ffd3dc3a3a76ec11fbf3f50440c13b70b6 11-May-2011 Daisuke Miyakawa <dmiyakawa@google.com> Remove an unnecessary word from javadoc

Change-Id: I6e24f72d547753ff40c7a09e95e9b28e13828f1e
ultiAutoCompleteTextView.java
d9fd3d5ca93ba9840a56812752c4b8beaffcdee7 06-May-2011 Gilles Debunne <debunne@google.com> Merge "All SuggestionSpans are removed when the window loses focus."
b51cc1dd63808da505cd8beb7300f57dc98ff1d3 05-May-2011 Patrick Dubroy <dubroy@google.com> Merge "Only delay pressed feedback for Views inside a scrolling parent"
e0a799a2ac1ca78e30fbac9e4e12a063425c08d3 05-May-2011 Patrick Dubroy <dubroy@google.com> Only delay pressed feedback for Views inside a scrolling parent

Add a method on ViewGroup to determine whether it supports scrolling.
This allows us to show the pressed feedback immediately in many cases,
improving responsiveness of buttons, etc.

This patch also lengthens the timeout in order to reduce flashes
when the user is scrolling.

Change-Id: Ieb91ae7a1f8e8f7e87448f2a730381a53947996f
bsoluteLayout.java
rameLayout.java
inearLayout.java
elativeLayout.java
crollView.java
9de128ef79452dcda91b46f9dea3cb158bfe2eae 05-May-2011 Gilles Debunne <debunne@google.com> Merge "Off by one bug in TextView's suggestions popup."
ba4997ac355d11db3c7b04d4215c6948d05cb047 02-May-2011 Gilles Debunne <debunne@google.com> All SuggestionSpans are removed when the window loses focus.

SuggestionSpans should have a limited, well defined life-span.
Saving these in onSaveInstanceState is inappropriate since these can
be very large and will not necessarily be saved/loaded by the application.

Keeping them in the application when it is dismissed is not consistent
since they may be garbage collected while the application is not active.

Change-Id: Icebf6cb0218528f9d162a689ad33efeb770fbede
extView.java
c6cc0f8c19d9eccf408a443fa2bf668af261dcd0 12-Apr-2011 Joe Onorato <joeo@google.com> Rename ViewRoot to ViewAncestor.

ViewRoot is about to be a new public class for poking at ViewAncestor.

Change-Id: Ie95d707c6d8bbb48f78d093d7b2667851812a7d5
bsListView.java
istView.java
extView.java
oomButtonsController.java
6e222bcadbf15f4c34b63394831f80f7c82199b4 04-May-2011 Gilles Debunne <debunne@google.com> Off by one bug in TextView's suggestions popup.

Change-Id: I39615bb75e1e2e24ba5c5a65f1b3e11f8fadd89f
extView.java
04748befb89768cdd2f0a3560d4951ff94c2b0af 03-May-2011 Adam Powell <adamp@google.com> Merge "Refactoring of action bar internals"
640a66eac612b850b5dabd3b93bd94f83ed2d567 29-Apr-2011 Adam Powell <adamp@google.com> Refactoring of action bar internals

Split action bar implementation details. Factor out common components
into AbsActionBar. Layout rules for the lower half of split action
bars.

Change-Id: I6bc39ba6c343055597880a7d4663dd8f30aa4999
inearLayout.java
e8141854dcedb9f8487efe1a1237793e8f004f93 02-May-2011 Conley Owens <cco3@android.com> am dddaa56f: Merge commit \'b737647d\' (Scrolling using arrow keys with padding) into m

* commit 'dddaa56f793ad9ecb4e20df746f562ac7f24d158':
Scolling using arrow keys with padding
dddaa56f793ad9ecb4e20df746f562ac7f24d158 30-Apr-2011 Conley Owens <cco3@android.com> Merge commit 'b737647d' (Scrolling using arrow keys with padding) into m

Conflicts:
core/java/android/widget/ScrollView.java

Change-Id: I1cfd3f7091e92793ce9fa048a09ae08a04c10c80
bd3ddbb809a72eb96291b12858be3deaf4ef4083 30-Apr-2011 Scott Main <smain@google.com> am 75c78dc3: am 511ec082: am de506220: am 1462813a: Merge "docs: more documentation for ProgressBar" into honeycomb

* commit '75c78dc364efb74c2d7c0187b3b26d0ab70e3c3e':
docs: more documentation for ProgressBar
19b7cd95ffa9be9e2399b120cc11749b0f54c125 30-Apr-2011 Conley Owens <cco3@android.com> am c703b49e: am 54668b8a: am e1787009: Merge "Added null check on return value for getKeyDispatcherState()"

* commit 'c703b49eb13993c45a1cab7ea1130601fba1df3e':
Added null check on return value for getKeyDispatcherState()
f0f955e2c3440d835bfffffdec31c980d9a1ffd9 30-Apr-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Touch exploration - nits"
887e1a17eb9b12448f5929791b564565b2665aab 30-Apr-2011 Svetoslav Ganov <svetoslavganov@google.com> Touch exploration - nits

Change-Id: Ie49558e0a81218dbad70c02f81dd7a59b3213d5c
dapterView.java
istView.java
extView.java
75c78dc364efb74c2d7c0187b3b26d0ab70e3c3e 30-Apr-2011 Scott Main <smain@google.com> am 511ec082: am de506220: am 1462813a: Merge "docs: more documentation for ProgressBar" into honeycomb

* commit '511ec082bb198cfd04aebdccf56db6f4c8df9523':
docs: more documentation for ProgressBar
c703b49eb13993c45a1cab7ea1130601fba1df3e 29-Apr-2011 Conley Owens <cco3@android.com> am 54668b8a: am e1787009: Merge "Added null check on return value for getKeyDispatcherState()"

* commit '54668b8a3599559fc007af1d75c039400a05e898':
Added null check on return value for getKeyDispatcherState()
de506220d8a3d453463e1abe1b2eb54afd48ec93 29-Apr-2011 Scott Main <smain@google.com> am 1462813a: Merge "docs: more documentation for ProgressBar" into honeycomb

* commit '1462813a28270d4255f9542b666960182e274a6e':
docs: more documentation for ProgressBar
42f139c0696e2988adb24048fab998695e95fba3 29-Apr-2011 Scott Main <smain@google.com> docs: more documentation for ProgressBar

Change-Id: Ief415c0b22da3e7d4ea318e321edc7d215603f0f
rogressBar.java
939ccad344c5f32bc9e7dbfa80648c1e75cac62a 29-Apr-2011 Gilles Debunne <debunne@google.com> Merge "SuggestionSpans are removed around edited text."
75beb336f4b164c3bed5d4b91f0b9c6ea49a3437 29-Apr-2011 Gilles Debunne <debunne@google.com> SuggestionSpans are removed around edited text.

SuggestionSpans do not make sense anymore when the text they
refer to is modified. Removed these at the lowest possible common
level: In the SpannableStringBuilder that is used to back the Editable.

This way, IME do not have to care about removing these when they change
text. And they cannot forget to so either.

Also fixed a bug in TextView's paste with multi-item paste text (never
exercised, since we have no source for such a thing).

Change-Id: I08ed921f8c04ffb1a00936a3e554a85ee82f103c
extView.java
76616b138eb68a77a838a93fdf2f0322e982f706 29-Apr-2011 Conley Owens <cco3@android.com> Merge "Scolling using arrow keys with padding"
8e3b17ad13a07ccfe904fa787c0be4cc92d85c0b 29-Apr-2011 Gilles Debunne <debunne@google.com> Merge "TextView uses WordIterator to select words."
c59269f4d3a0a3bd7220b797b04ca037c7b54c75 22-Apr-2011 Gilles Debunne <debunne@google.com> TextView uses WordIterator to select words.

Also added some boolean return values to know when selection is
possible.

Change-Id: Ic6763509318c56fcef49349d586e45d14d58a86a
extView.java
e17870092941cecf64956819d395ec34111cbe71 29-Apr-2011 Conley Owens <cco3@android.com> Merge "Added null check on return value for getKeyDispatcherState()"
b25825a1b159a469f80423800daa7f5b6250acce 27-Apr-2011 Steve Block <steveblock@google.com> Add FrameLayout.getMeasureAllChildren()

Currently the counterpart to FrameLayout.setMeasureAllChildren() is
FameLayout.getConsiderGoneChildrenWhenMeasuring(). This change
deprecates FameLayout.getConsiderGoneChildrenWhenMeasuring() in favor of
a new FrameLayout.getMeasureAllChildren() method.

Change-Id: Id26ec8b3966bd1553d5fd708ad76049069fcaeef
rameLayout.java
4ae02b37bb0ee0a9a626108299b6a2e9ac028ca2 17-Jan-2011 Per Andersson <per.andersson3@sonyericsson.com> Added null check on return value for getKeyDispatcherState()

The result from getKeyDispatcherState() was used without
checking if it returned null, which resulted in a NullPointerException.

Change-Id: I4b55ad44d5c08b7f729dbbdbcaed0e978a430258
opupWindow.java
0d846898ba2a13d016573b795a88ed8f568ace35 28-Apr-2011 Gilles Debunne <debunne@google.com> Merge "Support for overlapping spans in TextView's suggestions."
214a8627c5688b7d942a1209fa38eda4a24a7240 27-Apr-2011 Gilles Debunne <debunne@google.com> Support for overlapping spans in TextView's suggestions.

Implemented the merging of the different spans, highlighting words that actually differ.

Some TODO left in the code.

Change-Id: Iaf01f36b07d01639a4009cced6ea9b055ce9cc1f
extView.java
9fc27819d75e24ad63d7b383d80f5cb66a577a0d 27-Apr-2011 Romain Guy <romainguy@google.com> Correctly compute tex coords for rect layers.
Bug #4192695

This change also fixes Javadoc links in the framework.

Change-Id: Ia548bcb18baba5d6fe6a4a04a2278e3a3bd465b2
mageView.java
736c2756bf3c14ae9fef7255c119057f7a2be1ed 23-Apr-2011 Svetoslav Ganov <svetoslavganov@google.com> Touch exploration feature, event bubling, refactor

1. Added an Input Filter that interprets the touch screen motion
events to perfrom accessibility exploration. One finger explores.
Tapping within a given time and distance slop on the last exlopred
location does click and long press, respectively. Two fingers close
and in the same diretion drag. Multiple finglers or two fingers in
different directions or two fingers too far away are delegated to
the view hierarchy. Non moving fingers "accidentally grabbed the
device for the scrren" are ignored.

2. Added accessibility events for hover enter, hover exit, touch
exoloration gesture start, and end. Accessibility hover events
are fired by the hover pipeline. An accessibility event is
dispatched up the view tree and the topmost view fires it.
Thus predecessors can augment the fired event. An accessibility
event has several records and a predecessor can optionally
modify, delete, and add such to the event.

3. Added onPopulateAccessibilityEvent and refactored the existing
accessibility code to use it.

4. Added API for querying the currently enabled accessibility services
by feedback type.

Change-Id: Iea2258c07ffae9491071825d966dc453b07e5134
bsListView.java
dapterView.java
heckedTextView.java
ompoundButton.java
atePicker.java
istView.java
rogressBar.java
abWidget.java
extView.java
imePicker.java
c1e1f43dab96a317f58e31137c49a4df2e919b83 23-Apr-2011 Adam Powell <adamp@google.com> Merge "Revert "Touch exploration feature, event bubling, refactor""
3fb3d7c4e756bd32d5abde0abca9ab52d559bc84 23-Apr-2011 Adam Powell <adamp@google.com> Revert "Touch exploration feature, event bubling, refactor"

This reverts commit ac84d3ba81f08036308b17e1ab919e43987a3df5.

There seems to be a problem with this API change. Reverting for now to
fix the build.

Change-Id: Ifa7426b080651b59afbcec2d3ede09a3ec49644c
bsListView.java
dapterView.java
heckedTextView.java
ompoundButton.java
atePicker.java
istView.java
rogressBar.java
abWidget.java
extView.java
imePicker.java
3f92b8b18856371f561955197b488191433977e6 23-Apr-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Clean getTextRunAdvances() APIs"
f9fa622cc04028fd7c5f5036ea2e0ccfb80d55f3 23-Apr-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Touch exploration feature, event bubling, refactor"
2037b827f3e3955ca3b05fd372bf4bac82764333 22-Apr-2011 Gilles Debunne <debunne@google.com> Refactoring in TextViews' handles

The position of the container has to be updated on each frame
in preDraw, since the handles' positions can be modified programatically.
Updating position when the handle is dragged is no longer sufficient and
now redundent.

Change-Id: I304b13089f4327baad2e8d4c0974c649bef1e883
extView.java
ac84d3ba81f08036308b17e1ab919e43987a3df5 05-Apr-2011 Svetoslav Ganov <svetoslavganov@google.com> Touch exploration feature, event bubling, refactor

1. Added an Input Filter that interprets the touch screen motion
events to perfrom accessibility exploration. One finger explores.
Tapping within a given time and distance slop on the last exlopred
location does click and long press, respectively. Two fingers close
and in the same diretion drag. Multiple finglers or two fingers in
different directions or two fingers too far away are delegated to
the view hierarchy. Non moving fingers "accidentally grabbed the
device for the scrren" are ignored.

2. Added accessibility events for hover enter, hover exit, touch
exoloration gesture start, and end. Accessibility hover events
are fired by the hover pipeline. An accessibility event is
dispatched up the view tree and the topmost view fires it.
Thus predecessors can augment the fired event. An accessibility
event has several records and a predecessor can optionally
modify, delete, and add such to the event.

3. Added onPopulateAccessibilityEvent and refactored the existing
accessibility code to use it.

4. Added API for querying the currently enabled accessibility services
by feedback type.

Change-Id: Iec03c6c3fe298de3f14cb6efdbb9b198cd531a0c
bsListView.java
dapterView.java
heckedTextView.java
ompoundButton.java
atePicker.java
istView.java
rogressBar.java
abWidget.java
extView.java
imePicker.java
0a1413e4bf9dcda2a8abb2287e43f612a7fb2453 22-Apr-2011 Fabrice Di Meglio <fdimeglio@google.com> Clean getTextRunAdvances() APIs

- remove ICU reference in API names
- use a "reserved" int parameter to pass either "0" for Harfbuzz or "1" for "ICU"

Change-Id: I88b4f76feafd203a6999cd7349402fa36a9a4b2a
extView.java
63f9689627b8fd9b94afd35b1274939c56e5642f 20-Apr-2011 Marco Nelissen <marcone@google.com> Revert recently added check to addFooterView

b/4319206

Change-Id: Ic89b2166bdc7a878ae2983d393a1d01aaa3b7d23
istView.java
2a231f8435dba525c838779e0fd44710ea23cd98 20-Apr-2011 Adam Powell <adamp@google.com> Merge "Refactor menu internals."
22c04a316a482176957fd27285c0fe36e2f3979c 19-Apr-2011 Marco Nelissen <marcone@google.com> Fix bugs in ListView

Make addHeaderView and addFooterView be more consistent with each other: they
now both check that there either is no existing adapter, or that the existing
adapter is a HeaderViewListAdapter, and they both call the DataSetObserver
(previously only addHeaderView would check the adapter, and it would only
check that it was null, while only addFooterView would call the DataSetObserver)
Make removeHeaderView and removeFooterView check that the DataSetObserver
is non-null before using it.

Change-Id: I681b87f70aabca63e664ca8d0c1cfc25530e00b9
istView.java
696cba573e651b0e4f18a4718627c8ccecb3bda0 29-Mar-2011 Adam Powell <adamp@google.com> Refactor menu internals.

In the old world, MenuBuilder and MenuItemImpl were responsible for
generating views for any presentation of a menu. MenuBuilder needed to
know any types and resources involved, and the implied caching
semantics did not work well for menus presented within AdapterViews.

In the new world, the MenuPresenter interface takes over the
responsibility of generating views or adapters for menu
items. MenuBuilder/MenuItemImpl still provide extra metadata tracking
used by these presenters. Mutiple presenters may be active for a
single menu at a time. All of this remains internal framework
implementation details.

BaseMenuPresenter provides a simple base for presenters that treats
the host MenuView more like an AdapterView. This allows for less
rebuilding of views when items are added/removed.

Callbacks have been restructured. Calls that relate to the menu itself
are still handled by MenuBuilder.Callback, but calls related to a
specific presentation of a menu are handled by MenuPresenter.Callback
objects attached to a MenuPresenter.

Also add API to programmatically set divider options for LinearLayout
and hidden API so that ActionBarView can have finer-grained control
over divider placement.

Change-Id: I2265b86a084279822908021aec20dfbadc1bb56b
inearLayout.java
1ba7b7efae72b1e14a2443a4d984cbac5d010f99 13-Apr-2011 Steve Block <steveblock@google.com> Fix a typo in FrameLayout JavaDoc

Change-Id: I8b016aff1f790fbeaf435170c1ff33455ec91204
rameLayout.java
b3fc1a5b8b8f88eaf00b05957523cbdc0944b24b 06-Apr-2011 satok <satok@google.com> Rename CorrectionSpan to SuggestionSpan

Change-Id: I004b2e012b2de4de959a31da1f55b63ca7c14199
extView.java
43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09 07-Apr-2011 Joe Onorato <joeo@google.com> Remove the deprecated things from Config.java. These haven't been working since before 1.0.

Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
ursorAdapter.java
ursorTreeAdapter.java
592cb584b00f418f0e94b5d23f229f5fcfeebbe7 08-Apr-2011 Adam Cohen <adamcohen@google.com> Merge "Fix crash in bug 4259574"
fa2e3ff3d33b2cbb452d22439e98b59e07f70f3d 08-Apr-2011 Adam Cohen <adamcohen@google.com> Fix crash in bug 4259574

Change-Id: I7fb3a4485ecfc2ac19eebdcfdcfe26e97a08e6b5
emoteViewsAdapter.java
5435a06010fb50dd8b495df6b7f21f15d82a2c0a 07-Apr-2011 Mattias Petersson <mattias.petersson@sonyericsson.com> Scolling using arrow keys with padding

It was impossible to reach the end of a large test when scrolling down
using the arrowkeys when the ScrollView had padding. A common example
of this would be an AlertDialog with a text that is too long to fit on
the screen.

Change-Id: I55464290a0cdeabde83ccccc76fe8d015ae57a8d
crollView.java
6a839703cd9aa72f5c6f107d0a8f894601d5c308 07-Apr-2011 Gilles Debunne <debunne@google.com> Merge "Word suggestion popup added to EditText."
6934044fd7d2de12c21e3cc9b7da589ec3b71e8e 31-Mar-2011 Gilles Debunne <debunne@google.com> Word suggestion popup added to EditText.

A double tap on a word will now display a list of suggestions based
on the CorrectionSpans that were added by the IME.

This is a first implementation of this feature. It needs some attention from
designers.

Change-Id: If863107681ce82a1639f21315878f830c2991fb7
extView.java
d38a0cee2074fcf8005fc0d746aad282941a39b8 06-Apr-2011 Adam Cohen <adamcohen@google.com> Fixing AdapterViewAnimator onItemClick compatibility

Change-Id: I7b7c37370d0afdc23c62534ea41ffedc8f96f8ff
dapterViewAnimator.java
tackView.java
fb2e9d23e03c93fd11d79545a07ae776721117f9 04-Apr-2011 Gilles Debunne <debunne@google.com> Merge "IME is no longer shown when an EditText gets focus."
4b6bf80fad680a42add7cf426bbb0690a1d44fa3 04-Apr-2011 Adam Cohen <adamcohen@google.com> Merge "Making StackView res-out and click feedback colors stylable"
c5a43594babeabe965e6f386259431e9712951a0 04-Apr-2011 Gilles Debunne <debunne@google.com> IME is no longer shown when an EditText gets focus.

Change-Id: Ife24f83831f97c911e4e800547182a390cda0d75
extView.java
26f072c3ee4f2baecf4fd3f8ed829ed709055cf4 02-Apr-2011 Adam Cohen <adamcohen@google.com> Making StackView res-out and click feedback colors stylable

Change-Id: Ia6241b1b66dc510b22bcf342d775f98eb7c86871
dapterViewAnimator.java
tackView.java
4111bec3b68a200932817f4b8924fea08f4d5905 30-Mar-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix text redering issue where the text was sometimes truncated"
037300bba5c87c9a9efe1f693b48f6ff1ffd7479 30-Mar-2011 Winson Chung <winsonc@google.com> Deprecating old RemoteViews API which takes appWidgetId when setting the RemoteViewsAdapter intent.

Change-Id: I72edaa839ae0633a1a24d8f69f5f8c664832ed30
emoteViews.java
eee49c699c035ffba188417489f40d34f587d65c 25-Mar-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix text redering issue where the text was sometimes truncated

- mostly was visible in Settings apps / Wi-Fi networks summary info for each network
- correctly setup the local SkPaint for advances computation
- improve test app for adding live resizing

Change-Id: Ia031fe1b115b521ba55c7e68f2a26300f02e48ca
extView.java
e3797a15fbf769a0abcbe121cfd33b4b658aea1e 21-Mar-2011 satok <satok@google.com> Removed APIs for setCorrectionSpan from InputConnection

("setCorrectionSpan" was added in Id3abc9ea4d11753cd )

Also..
- Added a class java doc for CorrectionSpan
- Removed FLAG_DEFAULT
- Changed the return type of getSuggestions from Array<CharSequence> to String[]

Change-Id: If5eb091e307a7a40c5b4a70ec1fe6059ecd9fb2d
extView.java
8da36372a390c76cbd3985b93eea881ad6a43040 25-Mar-2011 Gilles Debunne <debunne@google.com> Merge "Fix a leak in TextView around ViewTreeObserver"
6f72cf80576c17b888d4768dfcd14481087b7143 25-Mar-2011 Gilles Debunne <debunne@google.com> Fix a leak in TextView around ViewTreeObserver

Port of AOSP change 21909 into master.

Change-Id: I5a3490a6e0151867840507d0137ee811ea2fb139
extView.java
2625feae79ab418355c2a4dafe8b162bba3cc1cf 24-Mar-2011 Adam Cohen <adamcohen@google.com> Modifying RemoteViewsFactory interface

-made onDestroy() one way
-moved uncaught exception handling to the application process

Change-Id: I958571a34eaa48b27e441e3a117c109fb2d2c644
emoteViewsAdapter.java
emoteViewsService.java
becb0be2bb769e819774d32d6f9e4f6b31668157 22-Mar-2011 Adam Powell <adamp@google.com> Fix bug 3175131 - listviews don't highlight properly

Fix up selector drawable state when we resurrect a selection.

Change-Id: Id883c8b416207a50951ec2852826b1eee17bc50c
bsListView.java
c0a8cd10a5829bf4e94ee073ba6f553128e9d8e9 19-Mar-2011 Svetoslav Ganov <svetoslavganov@google.com> Text in accessibility events not consistent

bug:2513822

Text added to accessibility events is truncated to max
length. However, the fromIndex and toIndex properties
are relative to the text before being truncated, thus
potentially our of bound. Removed the max length
limitation because test very rarely is longer that
500 characters and in the cases in which text is longer
than 500 character it will not be a real problem to
pass a bit more data through an IPC (very rarely).

Change-Id: Ie70ac630dfeb56d4f59079abb2f46d07582796b6
extView.java
6518ad760f98a0aa5db8c49ce1564bf5907a2c15 19-Mar-2011 Svetoslav Ganov <svetoslavganov@google.com> ProgressBar does not fire accessibility events on update.

bug:2866092

The progress bar fires accessibility events upon progress
change but not more frequently of every 200 ms.

Change-Id: I6560af61e3b3a7d28836723a5ab632fb467f47e1
bsSeekBar.java
rogressBar.java
f583dd37643f495642cd64e9b8e6a0a9e0836ff1 18-Mar-2011 Svetoslav Ganov <svetoslavganov@google.com> DatePicker does not respect the user preference of date format

bug:4124142

The DatePicker was not properly interpreting the current date
format and was ingoring user preferences for the date format
rather it was using the locale default all the time.

Change-Id: I195c2ad975dc4e9adc5b6eb70c33c909a1553113
atePicker.java
adb435835fb9a5f2bb74d29930b239dde18504a7 09-Mar-2011 satok <satok@google.com> Add CorrectionSpan and APIs to pass a secure CorrectionSpan to TextView

- CorrectionSpan is a span which has suggestions made by IME.
This has a function to change the current IME to other IME specified
in this span. For security reasons, only the current IME
is allowed to use this function through InputConnection.
(IME token is used for checking the validity of it.).

- CorrectionSpan stores following information:

flags, subtype Id, InputMethodInfo Id, suggests, locale, original string

Change-Id: Id3abc9ea4d11753cdc4f483a2bb3128f49ba198a
extView.java
9406eb13d5370b08fd6afec23465ae1e31cb1c9f 15-Mar-2011 Svetoslav Ganov <svetoslavganov@google.com> am 6d4f318f: am e65711b2: Merge "Tapping on the week number sends the DatePicker to epoch start." into honeycomb-mr1

* commit '6d4f318f0c836c0c2eac3a1d99debedc6c03578a':
Tapping on the week number sends the DatePicker to epoch start.
e65711b21f1b351f28d4f04819e1e05a9ac8dfee 15-Mar-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Tapping on the week number sends the DatePicker to epoch start." into honeycomb-mr1
1a730dcc4fdf78f97b3640f20323be5f2d5c4516 15-Mar-2011 Svetoslav Ganov <svetoslavganov@google.com> Tapping on the week number sends the DatePicker to epoch start.

bug:4093343

1. If getting a day from location in a week view fails
the out date was cleared but the client was unaware
of that failure. I have added a return value indicating
where getting the day from locations was successfull.

Change-Id: I566a9ee33dfe2e64300a4b50dacc652114e01442
alendarView.java
8329db39f2f55484352d58b1820eb31a22698f11 15-Mar-2011 Romain Guy <romainguy@google.com> am b245e31f: am ee7ace06: Merge "Fix rendering artifact in edge fades. Bug #4092053" into honeycomb-mr1

* commit 'b245e31fa8dd1ad6a59ccf858154f3c7b92e0eb8':
Fix rendering artifact in edge fades. Bug #4092053
ee7ace065f77b53a57cb6273b9f2f5d85caba90c 15-Mar-2011 Romain Guy <romainguy@google.com> Merge "Fix rendering artifact in edge fades. Bug #4092053" into honeycomb-mr1
7b5b6abf852c039983eded25ebe43a70fef5a4ab 15-Mar-2011 Romain Guy <romainguy@google.com> Fix rendering artifact in edge fades.
Bug #4092053

The problem always existed but was made visible by partial invalidation.
When saving a layer, the renderer would try to postpone glClear()
operations until the next drawing command. This however does not work
since the clip might have changed. The fix is rather simple and
simply gets rid of this "optimization" (that turned out to be
usless anyway given how View issues saveLayer() calls.)

This change also fixes an issue with gradients (color stops where
not properly computed when using a null stops array) and optimizes
display lists rendering (quickly rejects larger portions of the
tree to avoid executing unnecessary code.)

Change-Id: I0f5b5f6e1220d41a09cc2fa84c212b0b4afd9c46
bsListView.java
a51a6beeed6716e4df8063487eb253cb14af49ed 14-Mar-2011 Scott Main <smain@google.com> am 9e173ece: am 2213a4ac: am 462012db: am abdf0d53: docs: update search dev guide with SearcView widget

* commit '9e173ececf985c1dcd32e3cc2627499919fc329b':
docs: update search dev guide with SearcView widget
462012db70fb73431bb25909d73e45fea9fc5911 14-Mar-2011 Scott Main <smain@google.com> am abdf0d53: docs: update search dev guide with SearcView widget

* commit 'abdf0d533c292709e51cee2c1213d5e44baca963':
docs: update search dev guide with SearcView widget
e3f075622da4e78772abf21a5a219a0d48bc6c04 14-Mar-2011 Michael Jurka <mikejurka@google.com> Merge "Removing TextView predraw listeners sooner"
2b942d53297f7091e22ee281f2faf0aacb12fc4b 01-Mar-2011 Michael Jurka <mikejurka@google.com> Removing TextView predraw listeners sooner

Solves issue where the listeners were being run on every frame
extView.java
abdf0d533c292709e51cee2c1213d5e44baca963 08-Feb-2011 Scott Main <smain@google.com> docs: update search dev guide with SearcView widget

Change-Id: Ieb0ccdb78760a3c90df2381e647463f7532b0efc
earchView.java
816dd3d443108b473965f97123eef7300f53615f 14-Mar-2011 Gilles Debunne <debunne@google.com> resolved conflicts for merge of 9c06c0ff to gingerbread-plus-aosp

Change-Id: I7f9c71eeb9fc5e01856f764930c6f168741cc9da
9c06c0ffc9fe24c7b8bbeca53bce76aca9d1ac4f 14-Mar-2011 Gilles Debunne <debunne@google.com> Merge "Double tap on a word no longer opens context menu. DO NOT MERGE" into gingerbread
e1fb6ebd132617508c625aadf646cc88994f4203 14-Mar-2011 Gilles Debunne <debunne@google.com> Merge "Removed empty block warnings in TextView"
d40cc3c58a6c0d4f66bd10ee66a3b978a2b945c6 12-Mar-2011 Gilles Debunne <debunne@google.com> Removed empty block warnings in TextView

Change-Id: Ieec52faa6fa7160fb3f8fca30cdd25125ccd51ee
extView.java
6a85508e9423b3d65681178e873dcad061020d52 12-Mar-2011 Gilles Debunne <debunne@google.com> Wrong null check in TextView

Bug 4087576

Change-Id: I907cb08b24b23715f3900bc076de2cc856650981
extView.java
05bb0105bf053d26173feec5fbc997b2a6e228ca 11-Mar-2011 Gilles Debunne <debunne@google.com> Merge "Refactor in TextView's HandleViews."
180bb1bf26f3061fdfd58106e62d5874f57f675b 10-Mar-2011 Gilles Debunne <debunne@google.com> Refactor in TextView's HandleViews.

HandleView had a reference on its Controller, and Controller had
a reference to its HandleView.

This large refactoring breaks this dependency, creating smarter
HandleView subclasses that don't have to delegate to the controller
anymore.

Change-Id: I472621f747cdc78fd8b2bba84c0edc62cb2f6316
extView.java
52c7ba174ba6edabf7a4c7a69ee124a9e30244e9 10-Mar-2011 Gilles Debunne <debunne@google.com> Removed updateCursorControllerPositions hidden method.

This method is no longer needed since handles' positions are
updated in onPreDraw.

See CL 100549

Change-Id: I7f95d9850c866935c22ecc49c6f4ce89a87861ae
extView.java
9646145dec50053f620003bcd83b03164a2a4dbf 10-Mar-2011 Gilles Debunne <debunne@google.com> Merge "Fixed TextView#onTextChanged documentation."
4469e60e9e45a67680039bba63063d25019e4cd2 09-Mar-2011 Gilles Debunne <debunne@google.com> Fixed TextView#onTextChanged documentation.

Bug https://code.google.com/p/android/issues/detail?id=14804

Change-Id: I3356800b680ff79cc2fe099845634bb8d9b96ec6
extView.java
8975157cd45b72d45f2b0f94f1018dae264b5a4b 10-Mar-2011 Adam Powell <adamp@google.com> am 94929217: am 0175e945: Merge "Fix external bug http://code.google.com/p/android/issues/detail?id=15183" into honeycomb-mr1

* commit '94929217ae3fd4c577ed8b0f0391958de95bfaec':
Fix external bug http://code.google.com/p/android/issues/detail?id=15183
7ee1ff1450a3ff83b6b8663bd7f44dc6f30775af 10-Mar-2011 Adam Powell <adamp@google.com> Fix external bug http://code.google.com/p/android/issues/detail?id=15183

Prevent overflow in FastScroller indexing

Change-Id: I53f90feaefd49717a0bdaddcf9a4988318d40c7d
astScroller.java
ad8479ddccbeb9e26e3f9e377e205b8aa7adf0a4 09-Mar-2011 Amith Yamasani <yamasani@google.com> am f9b9bd53: am 1f111f11: Merge "Searchview layout cleanup. Some more tweaks required for Market." into honeycomb-mr1

* commit 'f9b9bd538d846d8931eb9cc4f05d51f4d19a318d':
Searchview layout cleanup. Some more tweaks required for Market.
00b9ea7daf217d92079da1a50ee9d8cff31ba179 09-Mar-2011 Adam Cohen <adamcohen@google.com> am d8bf8911: am f10615d8: Merge "Fixing inconsistency between invalidate region and draw region" into honeycomb-mr1

* commit 'd8bf89116b30a13ea48e3b057897ad83058095b1':
Fixing inconsistency between invalidate region and draw region
cf0f9a0b62726de469db943cddd79f50bb7dbe2c 09-Mar-2011 Romain Guy <romainguy@google.com> am 1e415023: am 3d7796c1: Merge "Correctly handle opaque fading views Bug #3475554" into honeycomb-mr1

* commit '1e415023ee4c8aef2bfcb51e4293e62eb32eb23f':
Correctly handle opaque fading views Bug #3475554
1f111f11721d5d550f45135ba193c465e59a635b 09-Mar-2011 Amith Yamasani <yamasani@google.com> Merge "Searchview layout cleanup. Some more tweaks required for Market." into honeycomb-mr1
79f7430bf93a9b5dc2b4e0f418f320affdfbf77b 08-Mar-2011 Amith Yamasani <yamasani@google.com> Searchview layout cleanup. Some more tweaks required for Market.

Bug: 3321263

Submit area should be visible when the field has focus, irrespective of text content.
Make sure that the fields get highlighted when focused.
Also fix an issue with hint not being applied from the SearchableInfo.
Bug: 3470348

Change-Id: If399d9551f89312c19485e249043f5823a862499
earchView.java
f10615d8d86f4324bf5f6b5a2eb2874cc2b5ef3d 08-Mar-2011 Adam Cohen <adamcohen@google.com> Merge "Fixing inconsistency between invalidate region and draw region" into honeycomb-mr1
321aa2b0258691c55843dff919eb2705d069167a 08-Mar-2011 Adam Cohen <adamcohen@google.com> Fixing inconsistency between invalidate region and draw region

Change-Id: I84458b31b4d3e8c305d64eb25e352fc4aba933d0
tackView.java
2243e555b061254f7f0f72ca1d6cd44db6c266fa 08-Mar-2011 Romain Guy <romainguy@google.com> Correctly handle opaque fading views
Bug #3475554

Change-Id: Ia4915ada67046486103dfc6f08e4dac8564f85dd
orizontalScrollView.java
682e32b743f36b6864d9909c391c12b754a4301e 08-Mar-2011 Gilles Debunne <debunne@google.com> am 0a301f58: am 949d0c8c: Merge "Text handles positions\' are correctly updated." into honeycomb-mr1

* commit '0a301f58a2b09a3c8aa083574121d21f275f62b9':
Text handles positions' are correctly updated.
949d0c8c384437d92fc1432b750da6da59df1fa7 08-Mar-2011 Gilles Debunne <debunne@google.com> Merge "Text handles positions' are correctly updated." into honeycomb-mr1
716dbf63d4580b3e4d87fec83c633e6ea8730117 08-Mar-2011 Gilles Debunne <debunne@google.com> Removed unnecessary memory allocation in TextView.

No other obvious unneeded memory allocation related to
text editing and selection was found.

Change-Id: I7d8c9210940982120caeb1e7b75d754557ebf6db
extView.java
cfc22c533222f0181be7a717fbf721891d3bfd2d 08-Mar-2011 Gilles Debunne <debunne@google.com> Text handles positions' are correctly updated.

Bug 3510106

The CAB animation does not fire events, which does not update the
handles' positions.

The solution is to make the handle update their position before any
draw traversal, using an onPreDrawListener. The ScrollingPopupWindow
onScroll listener is no longer needed with this change. This is also
a more robust solution since other events (such as animations) may
change the TextView's position.

The cost is a recomputation of the Handles' positions at each redraw
which was not necessary with listeners. But as mentioned before, not
all possible events provide listeners or will in the future.

Change-Id: I0f46118de5f660a75d95eecb2cf987fcb4b3b322
opupWindow.java
extView.java
3ba8f5d675831647e45d0ce11507c85dfb5f753b 08-Mar-2011 Adam Powell <adamp@google.com> Fix bug 4021346 - crash while navigating

Change-Id: Iff60c5f4214c56597f2a1b393982d023866e490e
istView.java
d452dbc2b62a9ddf7558965404f69f9a5e4ad1f5 07-Mar-2011 Winson Chung <winsonc@google.com> Merge "Fixing issue where AppWidget service was being hit regardless of caching in RemoteViewsAdapter. (3467340)" into honeycomb-mr1
7ab73e757ac6b66b0066c8ff41c2d589adacd248 05-Mar-2011 Winson Chung <winsonc@google.com> Fixing issue where AppWidget service was being hit regardless of caching in RemoteViewsAdapter. (3467340)

Change-Id: Icbcbf6ef94a861d88243bd2d6587995991b53c82
emoteViewsAdapter.java
7840055f76f2ba1a0052aee09e578cf9314f5364 03-Mar-2011 Chet Haase <chet@google.com> Fix problem with transparent background on Twitter app

ListViews whose items don't cover their entire content area should not
return true for isOpaque()

Change-Id: I9165c0315a49bb5774bdcd4c1b89c1be0ebfcebf
istView.java
268c7111f65c1f27598464c5f29ef4621bbf0407 03-Mar-2011 Bjorn Bringert <bringert@android.com> Merge "Pass AppData to the app from SearchDialog queries."
ffc4196c46419469f088ca23a0d0e31cf7979e30 03-Mar-2011 Jim Miller <jaggies@google.com> Fix 3502257: Fix glow calculation in EdgeGlow

Change-Id: I8e88c399c2b0dcba9f65d1bcf89fdddf432e4ed6
dgeGlow.java
940ef38c7c46565a8f8fdd6bb8e0183646d0abdc 03-Mar-2011 Amith Yamasani <yamasani@google.com> Pass AppData to the app from SearchDialog queries.

Bug: 3494468

During migration of SearchDialog to use SearchView, the appdata was not
passed along. This fixes the loss.

Change-Id: Ia754086d2bb95294e1d29650a72e4fdddec9c899
earchView.java
07d6f7bd750655852da49ee1a3c64f7dc05cc00d 02-Mar-2011 Adam Powell <adamp@google.com> Fix bug 3502257 - overscroll effect api

Change-Id: I3bf8bb653e96151c51fb94b4571a72b210615e62
bsListView.java
4797f020cd255aa606d0bb1ca419de0d4facc3c6 25-Feb-2011 Gilles Debunne <debunne@google.com> DO NOT MERGE Cherry-pick of cd59febcea2 from master

AIOOB exception fix in TabWidget

Bug http://code.google.com/p/android/issues/detail?id=15005

The problem was not specific to the legacy theme. The code that first
measure the tab's width with no contraint was incorrectly using the
mImposedTabsWidth array which could not have the right size if a
child was added.

The first measure after a child is added should indeed crash. Could
be investigated. This fix is sure anyway.

Change-Id: If5015aaa2d5574939fd5d6c6362ed6db94d35d4a
abWidget.java
549d2b15b5374e728f379739a92e382bdbaf7eaf 02-Mar-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3501411 - ListView should ignore "up" events outside of its view"
498e43dd8e0314e1147321bef57d4fdd82cb5284 02-Mar-2011 Adam Powell <adamp@google.com> Fix bug 3501411 - ListView should ignore "up" events outside of its view

Do not dispatch item clicks if the up event occurs completely outside
of list bounds.

Change-Id: I2bc38040bcc98944e1449affcdbd75e0194637cf
bsListView.java
e0d23e6fdc095f4aff11817e41f6c07a36d44fff 02-Mar-2011 Adam Cohen <adamcohen@google.com> Merge "Adding mouse scroll wheel support to StackView"
a8a7c92b3689cb90d72d03c0162bca848b19c392 01-Mar-2011 Adam Cohen <adamcohen@google.com> Adding mouse scroll wheel support to StackView

Change-Id: I8ae5039606b3080059cea579547f6c61586641e3
tackView.java
91b52b189550b20cdb4e3e1920fe81a479aec843 01-Mar-2011 Gilles Debunne <debunne@google.com> Merge "AbsListView notifies scroll events to the ViewTreeObserver."
0a1b818b8c45c8b100eeabb5c59bb4d85cf90868 01-Mar-2011 Gilles Debunne <debunne@google.com> AbsListView notifies scroll events to the ViewTreeObserver.

ViewTreeObserver OnScrollChangedListener will then get notified.

The scroll values are not specified, since they are passed to the
base View.onScrollChanged method that simply sets the flags.

No need to throw these from a Runnable (in case this happens during
a relayout) since the listeners will be notified later from ViewRoot.draw().

Calling View.onScrollChanged in invokeOnItemScrollListener for normal scroll and
in onOverScrolled to handle mScroller animation.

Change-Id: Ib41434e5cd82e5a45ca6653db576746e89ef072d
bsListView.java
5bf7658cb85a1e70f3ea89a3a674a96c2eb7531f 01-Mar-2011 Gilles Debunne <debunne@google.com> Merge "Removed ViewTreeObserver null checks"
0357e5b2fe067555b8bee66563a117b2978bc291 01-Mar-2011 Gilles Debunne <debunne@google.com> Merge "Scrollable tabs are correctly displayed."
3e5e6aced9848d1ce09082c72ba5cc422064d8ea 01-Mar-2011 Adam Powell <adamp@google.com> Fix bug 3497341 - take list padding into account when drawing
ExpandableListView indicators

Change-Id: Idf4d4f28f495a453b871ac7dbe7059f38812ff87
xpandableListView.java
52a5e6588395c9cea128d245a2572b7d69bbb12c 01-Mar-2011 Gilles Debunne <debunne@google.com> Scrollable tabs are correctly displayed.

Bug 3495561

Change-Id: I1fe4962ddbe2435c335c76769d37f57f4b30a3b3
abWidget.java
f37fccd9d867af5c1ea1770dea64e600fda04500 01-Mar-2011 Adam Powell <adamp@google.com> Merge "Change behavior of multitouch in scrolling views."
9bc30d31322848d61f518c1db43544988faaba8f 28-Feb-2011 Adam Powell <adamp@google.com> Change behavior of multitouch in scrolling views.

New pointers touching the screen always become the active pointer.

Still to do: allow flings until another pointer moves enough to stop
it. Currently flings will be immediately stopped by the other pointers
still contacting the screen.

Change-Id: Ic1c7bf98dcf40252593cec0ab1f0d524aaeed8e4
bsListView.java
orizontalScrollView.java
crollView.java
bb579480494b78e5943408bde116850cdb2b61d3 01-Mar-2011 Jeff Brown <jeffbrown@google.com> Merge "Fix inverted scrolling condition in lists."
275d8238da4c19acefffdb701273de86c09d2472 28-Feb-2011 Jeff Brown <jeffbrown@google.com> Fix inverted scrolling condition in lists.

Change-Id: Iaf0de1f7cad565b59e8347cb3634cb620d8016b0
bsListView.java
059d5affa188406223f00ee24373e85f3ce85cd7 28-Feb-2011 Gilles Debunne <debunne@google.com> Merge "Text selection mode is stopped when View is recycled in ListView"
ccf857cc4c388ecb3bf2e4d84d563853cc21dbfa 28-Feb-2011 Gilles Debunne <debunne@google.com> Merge "OnScrollListener fix in AbsListView"
49279ff77d4c208431c860d3cbb28e94c38e5b5c 28-Feb-2011 Gilles Debunne <debunne@google.com> Merge "AIOOB exception fix in TabWidget"
6c113a14caa8778055c8edfafc47af60fea7ac92 28-Feb-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "NubmberPicker up/down arrows do not work."
7719436342611a106df5d379fedf180a5dd0809e 28-Feb-2011 Xavier Ducrohet <xav@android.com> am b732b7b5: am ce57a7f3: am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."

* commit 'b732b7b5e8192501360edc15fb8c6399d11fb97d':
GpsLocationProvider: Clean up HAL initialization/cleanup sequence
Fixed GSM encoded network initiated position request
Ensuring thread-safe usage of DateFormat.
Fixing infinite loop for zero duration.
Fix for an infinite loop while scrolling lists.
WAPPushManager, WAP Push over SMS message handler
Add --non-constant-id to aapt.
b732b7b5e8192501360edc15fb8c6399d11fb97d 28-Feb-2011 Xavier Ducrohet <xav@android.com> am ce57a7f3: am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."

* commit 'ce57a7f35344e76689d30f45964d1e37b78280cb':
GpsLocationProvider: Clean up HAL initialization/cleanup sequence
Fixed GSM encoded network initiated position request
Ensuring thread-safe usage of DateFormat.
Fixing infinite loop for zero duration.
Fix for an infinite loop while scrolling lists.
WAPPushManager, WAP Push over SMS message handler
Add --non-constant-id to aapt.
ce57a7f35344e76689d30f45964d1e37b78280cb 28-Feb-2011 Xavier Ducrohet <xav@android.com> am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."

* commit '6504490cde3ec5d48321d539e654d1f2072b33f9':
GpsLocationProvider: Clean up HAL initialization/cleanup sequence
Fixed GSM encoded network initiated position request
Ensuring thread-safe usage of DateFormat.
Fixing infinite loop for zero duration.
Fix for an infinite loop while scrolling lists.
WAPPushManager, WAP Push over SMS message handler
Add --non-constant-id to aapt.
6504490cde3ec5d48321d539e654d1f2072b33f9 28-Feb-2011 Xavier Ducrohet <xav@android.com> am dff6b8e7: Merge "Add --non-constant-id to aapt."

* commit 'dff6b8e71dda9f5d841fa26408714aec2aef1505':
GpsLocationProvider: Clean up HAL initialization/cleanup sequence
Fixed GSM encoded network initiated position request
Ensuring thread-safe usage of DateFormat.
Fixing infinite loop for zero duration.
Fix for an infinite loop while scrolling lists.
WAPPushManager, WAP Push over SMS message handler
Add --non-constant-id to aapt.
092bda57c4b8caad378400b2bc97b9ac66fd2179 27-Feb-2011 Svetoslav Ganov <svetoslavganov@google.com> NubmberPicker up/down arrows do not work.

bug:3490963

This is a bug I have introduced while fixing bug:3452868.

Change-Id: Ib2ee39d0c790d60d30bc10051d69f393672a006c
umberPicker.java
8f34567c71003505456a9b1a0d461a4e62883d70 26-Feb-2011 Jeff Brown <jeffbrown@google.com> Add scroll wheel support to TextView.

Change-Id: I6e4258c50b0d754dccf07266ff4b2abcbccd733a
extView.java
33bbfd2232ea9eaae9a9d87a05a95a430f09bd83 25-Feb-2011 Jeff Brown <jeffbrown@google.com> Add support for mouse hover and scroll wheel.

Dispatch ACTION_HOVER_MOVE and ACTION_SCROLL through the View
hierarchy as onGenericTouchEvent. Pointer events dispatched
this way are delivered to the view under the pointer. Non-pointer
events continue to be delivered to the focused view.

Added scroll wheel support to AbsListView, ScrollView,
HorizontalScrollView and WebView. Shift+VSCROLL is translated
to HSCROLL as appropriate.

Added logging of new pointer events in PointerLocationView.

Fixed a problem in EventHub when a USB device is removed that
resulted in a long stream of ENODEV errors being logged until INotify
noticed the device was gone.

Note that the new events are not supported by wallpapers at this time
because the wallpaper engine only delivers touch events.

Make all mouse buttons behave identically. (Effectively we only
support one button.)

Change-Id: I9ab445ffb63c813fcb07db6693987b02475f3756
bsListView.java
orizontalScrollView.java
crollView.java
4b2274fff53356d32e07585a566d2c73c92272a3 26-Feb-2011 Gilles Debunne <debunne@google.com> Text selection mode is stopped when View is recycled in ListView

Change-Id: If09cef9485ccc35c53ad9c7a809c982e32da2f0e
extView.java
e20a193754edec182fc0ea13f84a2a1e50add99f 25-Feb-2011 Gilles Debunne <debunne@google.com> OnScrollListener fix in AbsListView

Starting from a list at position 0 (first element displayed
at the top), touch and scroll down. The list cannot go further
down and the glow is displayed.

A connecter scrollListener will receive a FLING but will not
receive the IDLE after.

The reason is that the springback motion that should be started
at that point is not started because the overscroll distance is set to 0.

The fix is to report an IDLE state in that case.

Change-Id: I383babaf8412ee74d598efcf61e91cff44068c79
bsListView.java
cd59febcea2b75ebe657786133dcfa81fc3d5eb1 25-Feb-2011 Gilles Debunne <debunne@google.com> AIOOB exception fix in TabWidget

Bug http://code.google.com/p/android/issues/detail?id=15005

The problem was not specific to the legacy theme. The code that first
measure the tab's width with no contraint was incorrectly using the
mImposedTabsWidth array which could not have the right size if a
child was added.

The first measure after a child is added should indeed crash. Could
be investigated. This fix is sure anyway.

Change-Id: I4c0594e92019aabc545619e874bdfd49ce69c90e
abWidget.java
541466f6d6a5b4f4bcb94c5154ac3971ad8c3f3f 25-Feb-2011 Winson Chung <winsonc@google.com> Merge "Fixing issue where RemoteViewsService.onDestroy() was never being called."
84bbb020217adcdfe0694c44ccab57e208ffde16 21-Feb-2011 Winson Chung <winsonc@google.com> Fixing issue where RemoteViewsService.onDestroy() was never being called.

Change-Id: I15ad04eee18bc3e09d4846c7f2f2d2d8d168e518
emoteViewsAdapter.java
emoteViewsService.java
0277c171283826dce53cc48e8dd66187051227e4 25-Feb-2011 Gilles Debunne <debunne@google.com> Merge "Code clean-up around ScrollView."
05b55902815391e429c761623f051bf26396c21e 25-Feb-2011 Gilles Debunne <debunne@google.com> Merge "Removed ViewTreeObserver in TextView when handles are hidden"
bc006dc0aa1c149508a3196a40bac62cf1b33b84 25-Feb-2011 Svetoslav Ganov <svetoslavganov@google.com> am dc365a36: Merge "resolved conflicts for merge of 66edf2bb to honeycomb-plus-aosp" into honeycomb-plus-aosp

* commit 'dc365a36dac50bccc1411c37839513daec56d335':
Use different version of CLDR data in DatePicker
f114809031c5e5017bf69ab7a6d01024f1745fc8 25-Feb-2011 Svetoslav Ganov <svetoslavganov@google.com> resolved conflicts for merge of 66edf2bb to honeycomb-plus-aosp

Change-Id: I687ca9b7873890e3b30da16d5dde6b57ce92f0d6
2ed2eacd7e0569675410f1e62238b708c5dcc8ac 25-Feb-2011 Gilles Debunne <debunne@google.com> Code clean-up around ScrollView.

Change-Id: Ia110f30279a93c96741e9afbd93ed6231aa97ef1
orizontalScrollView.java
crollView.java
b7012e841c8a4590d0c05db21d4bcd7ba48ab310 25-Feb-2011 Gilles Debunne <debunne@google.com> Removed ViewTreeObserver in TextView when handles are hidden

terminate method is no longer needed since handles are popupWindow
which have their own fade-out animations.

Change-Id: I8354f78ece2ffe9c098ef2f02f0d637fc4c813c0
extView.java
66edf2bb3ffc6e03d942cdc94f1ca2daf5e64167 25-Feb-2011 Svetoslav Ganov <svetoslavganov@google.com> am 9e5b1a49: Merge "Use different version of CLDR data in DatePicker" into gingerbread

* commit '9e5b1a49022d08aee8653fd34f3a8cd878618aa5':
Use different version of CLDR data in DatePicker
30b1fe07a73d522e97b7140cc227232a0c8c1a1e 25-Feb-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Exposing the CalendarView of the DatePicker."
d5623fab340c65d437eb7b52670eab07ae19a15d 25-Feb-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "The NumberPicker input cotrols are somtimes not shown."
ef7ec7a029425bfb42be1476261c463c424f70be 25-Feb-2011 Svetoslav Ganov <svetoslavganov@google.com> Use different version of CLDR data in DatePicker

The ICU CLDR data doesn't use the month abbreviations that are
appropriate for the DatePicker, so use the framework copy of the CLDR
data.

Bug: 2641810
Note: cherry-picked from Honeycomb

Change-Id: I3c045dbfb751b8b7ce6361b5a67407206fc64db1
atePicker.java
5f3f6ce154ca1a0075f8ca13872d74f935acbe3d 25-Feb-2011 Svetoslav Ganov <svetoslavganov@google.com> Exposing the CalendarView of the DatePicker.

bug:3272194

1. Added a getter to DatePicker.

Change-Id: If0c7fee4ab5f6abf6b12a02dbd5d519c00683115
atePicker.java
f66adbe7565ad5dbb75c07dbf36212beeaa582fb 25-Feb-2011 Svetoslav Ganov <svetoslavganov@google.com> The NumberPicker input cotrols are somtimes not shown.

bug:3452868

1. Now hiding the input controls, which also cancels the input controls
fade-in animation, on every intercept of down since the fade-in
anumation flips a flag used to guide the drawing of the input controls.
Note that we also want the scroll wheel shown on down but the fade-in
anumation is actually hiding it upon completion.

Change-Id: Ib161ed757e537365b21e6913370d264152dca1fe
umberPicker.java
808b04abe63eff07a56865786bf321fdc950468c 24-Feb-2011 Gilles Debunne <debunne@google.com> Merge "Cursors correctly displayed with legacy theme."
eca97a320f52db05291019959851d6dd85ba2973 24-Feb-2011 Gilles Debunne <debunne@google.com> Cursors correctly displayed with legacy theme.

Bug 3482848

Change-Id: Ic2eda961a8bb5e865bc638106124d00a5a7b4b21
extView.java
ddf00b8afe43c7c2020f0d085e90f410a689e190 24-Feb-2011 Gilles Debunne <debunne@google.com> Text handles movement improvements.

Bug 3329346

Making sure the cursor is never hidden by the finger. Some
vertical movement is not repercuted on the handles' position
if it moves the finger closer to its 'ideal' touch position,
where both the insertion line and the top of the handle are
visible.

Also removed the hysteresis line filter which is not that
usefull and feels sluggy.

Change-Id: I6ad0fed0cf66753c6571b3bc620b1a0f2397c7b2
extView.java
557704e22a2bbcbcb52a0c080d91ad295f44a1da 24-Feb-2011 Romain Guy <romainguy@google.com> Merge "A bit more doc for ListAdapter#areAllItemsEnabled()."
68b6b1c2d1fc7be0da05eb8aeab57945b5fd24e8 24-Feb-2011 Romain Guy <romainguy@google.com> A bit more doc for ListAdapter#areAllItemsEnabled().

Change-Id: I339de99f52a8b5a3405d2aabd83a6dc92ca96e98
istAdapter.java
e42aa50ded160c27acdf9e66fd89ee5ef748f8e4 23-Feb-2011 Romain Guy <romainguy@android.com> am e5410aa1: am ad492161: am a2090bea: am 7118bdec: Merge "Fix for #12945: ProgressBar.setMax() will always redraw."

* commit 'e5410aa165d2c707c9f31eabbfcf9c2332d9228a':
Fix for #12945: ProgressBar.setMax() will always redraw.
0e7d652dbd7cc6415685bece745a752da39179c6 23-Feb-2011 Gilles Debunne <debunne@google.com> Removed ViewTreeObserver null checks

Change-Id: Ib11cbe188ac059cc3eaa24c178b2746a8b519918
bsListView.java
abHost.java
81f08086b44a117097960195d2c9072e29644962 17-Feb-2011 Gilles Debunne <debunne@google.com> Text selection handles correctly scroll

Bug 3416154

The origin of the problem is new display optimisations that enable
a scrollView to be scrolled without calling the onDraw method of its
children. As a result, the handles' positions were not updated on scroll.

DropDown popup menu have an integrated scroll listener that will fix the
problem. Using these indead is the first part of the solution.

The next problem is that when they get hidden, these popups try to move their
parent (the TextView in our case) which creates a scroll conflict. Fixed by
overriding findDropDownPosition.

Finally, when the handles get invisible, a new scroll listener has to be
installed that will show them back in case the view is scrolled back.

This is also an important step to fix Bug 3441308 (selectable text in list
views).

Debugging find outs:
Small optimization in PopupWindow to avoir unregistering then registering
back the listener when it is updated.

getHandle().show(); is not needed since updatePosition will do it through
moveTo().

Change-Id: I6bf6a3649538328257734ed1e651b23b889d65d9
opupWindow.java
extView.java
e5410aa165d2c707c9f31eabbfcf9c2332d9228a 22-Feb-2011 Romain Guy <romainguy@android.com> am ad492161: am a2090bea: am 7118bdec: Merge "Fix for #12945: ProgressBar.setMax() will always redraw."

* commit 'ad492161e4384efe11daec60cd14902f6b2c662a':
Fix for #12945: ProgressBar.setMax() will always redraw.
76327dc0a8807a6f1d16d067ca2480a2870baedb 22-Feb-2011 Gilles Debunne <debunne@google.com> Merge "Tuning the touch up filter."
8eb18b114ee96c07940be5ef0228fb38ae4a7a43 22-Feb-2011 Gilles Debunne <debunne@google.com> Merge "Fixes around cursor blink."
0c4650b4d566f65aa6faa9be45e7f1e29148e1a9 22-Feb-2011 Gilles Debunne <debunne@google.com> Merge "Cursor does not jump back to its previous position when IME is showed up."
2b9f895b024cfea048709bebbf75f0d845d8325a 22-Feb-2011 Romain Guy <romainguy@google.com> Merge "Add documentation to GridView."
84c6b95a7776ea5924a7c3e5a511c4df5c75924d 22-Feb-2011 Romain Guy <romainguy@google.com> Add documentation to GridView.

Change-Id: Ic81e498ad05f0c9c33580ecd6ce895ff1b6e00c4
ridView.java
0b1ab3a2776a1fff5b2abbddd3bc256e355e30ef 21-Feb-2011 Daniel Mladenovic <daniel.mladenovic@sonyericsson.com> Fix for an infinite loop while scrolling lists.

When scrolling in a list it's possible to get stuck in a
loop where the screen is continuously redrawn. This happens
when you are at the end of a list and try to scroll further.
The problem is that you enter a switch statement with the
mState variable set to STATE_PULL_DECAY. This will trigger
code in the switch statement that does some adjustments and
calculations, but it does not change the value of mState to
STATE_IDLE or STATE_RECEDE after it's done. Hence it will
continue to return to the same place and not stop updating
since the update() method signals for completion only when
the mState variable is set to STATE_IDLE.

The fix is changing the value of mState after the
adjustments and calculations have been made.

Change-Id: I57bc84ec12d43ca87a1163d94cb5b206a376a24e
dgeGlow.java
bc7a4c8cfa3b8352e14e2dcc8f6cd00cc00c7833 09-Feb-2011 Gilles Debunne <debunne@google.com> Tuning the touch up filter.

Bug 3436027

A movement has to happen recently, and there has to have been a stable
period before this.

Also fixes a problem with the paste popup that could be displayed for very
fast motion since it was only based on time and not on distance.

Change-Id: I02264b4d54e4d1323ebc2d1b5102769ba2d8569a
extView.java
3d01006fd6698cc52760527d25611b3c25193330 18-Feb-2011 Gilles Debunne <debunne@google.com> Fixes around cursor blink.

Bug 3394800

A previous fix called cancel when the window was detached. The cancel/uncancel
mechanism does not actually removes the Blink runnable.

It is indeed more a suspend, which is used when the window loses focus.
The problem here was that uncancel was never called.

Removing the runnable callback instead.

Also rationalized the use of makeBlink and the setting of mShowCursor

Change-Id: I92aac43a891991b7cc98738de0f12332ab16907a
extView.java
a2090bea4824cf153c4d9c735ee779613cf2e3d7 18-Feb-2011 Romain Guy <romainguy@android.com> am 7118bdec: Merge "Fix for #12945: ProgressBar.setMax() will always redraw."

* commit '7118bdec523568842e70555e353951df9f2596fd':
Fix for #12945: ProgressBar.setMax() will always redraw.
58e3822b5973e766f79046e8964457d9ef26df55 18-Feb-2011 Michael Krehan <ebomike@gmail.com> Fix for #12945: ProgressBar.setMax() will always redraw.

Fix for issue #12945: Changing the maximum of a progress bar does
not cause it to be redrawn, even though a new maximum changes the
position of the current progress in relation to its maximum. With this fix,
setMax() will always cause refreshProgress() to be called if the maximum is
different than it was before.

Change-Id: I971ec3302953bcadc0aac3dd8241481bab2b5a91
rogressBar.java
ad8484b3799ba7046e57388e34ba9a4c0a971b42 18-Feb-2011 Gilles Debunne <debunne@google.com> Cursor does not jump back to its previous position when IME is showed up.

Bug 3441308

This behavior may be restored for phones if appropriate.

Change-Id: Ibc2de587d64d372521da2d54f239cab56f04b407
extView.java
46b7d441c6efa456ad95471d1d06946ea5637232 18-Feb-2011 Gilles Debunne <debunne@google.com> Composing span is removed when insertion point is moved

Bug 3457633

Change-Id: I8896823b7e700dd52acec180c2a1d8e2f6ac5ae1
extView.java
b7c1b20c8a5a4d4378ae91b4a1f12a34100df452 17-Feb-2011 Adam Powell <adamp@google.com> Fix bug 3465210 - Anchored popups don't appear above anchor when there
isn't enough room.

Oops. Fix a regression introduced by recent changes.

Change-Id: I413998dc2413763f2ea3f31a7ca68f098be19b36
opupWindow.java
4f674407527b342692ee9cb6eacdbfb1bec764c7 17-Feb-2011 Adam Cohen <adamcohen@google.com> Merge "StackView rendering fix for non-hardware accelerated apps and hardware layers"
348e69cfabec21ccfbe708df06f0a7ea541a3053 17-Feb-2011 Adam Powell <adamp@google.com> Fix bug 3413800 - Revise AutoCompleteTextView dropdown behavior

Be more conservative with when we let an AutoCompleteTextView's
dropdown box of completion suggestions cover the IME.

Disable the expand-when-touched behavior of the dropdown list when
more than 3 items can be seen at a time without it.

Don't let a ListPopupWindow that is expanding in response to touch
scroll the anchor view within its parent and slide the dropdown out
from under the user's finger.

Change-Id: I009accfd4e841c9a5e1072735d8a0b067a0bc06a
utoCompleteTextView.java
istPopupWindow.java
opupWindow.java
1ff65d105a4691594b82a7a60e0b36f2dc677d11 16-Feb-2011 Adam Cohen <adamcohen@google.com> StackView rendering fix for non-hardware accelerated apps and hardware layers

Change-Id: I34a0362cd37c6b95a0b3196302b6510b0f7ad34e
tackView.java
55cdc0c9048fe63c5abe4ec8fc8a3479aba316d1 16-Feb-2011 Scott Main <smain@google.com> am 0ab1b326: am 13033ea5: docs: fix misc broken links

* commit '0ab1b326c72afb2bd7798462fcdd8e5d3b440fd2':
docs: fix misc broken links
13033ea52714d48d754c6bc8fccb18514c645a47 15-Feb-2011 Scott Main <smain@google.com> docs: fix misc broken links

Change-Id: Id7d0ee36398aca452ceb2c3d15982397f58a06c6
imePicker.java
99c4032fb34685bb01b2178c1cd663eed2af0c7c 16-Feb-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3362273 - Make overscroll glow appear within padding region"
7d86378b0c3a02499a5a9aab35851424ffa57bd8 16-Feb-2011 Adam Powell <adamp@google.com> Fix bug 3362273 - Make overscroll glow appear within padding region

Change-Id: I3c6513ada6bdd192c83f3ff59a2c85717156de22
bsListView.java
orizontalScrollView.java
crollView.java
5101e1ed51167ad39c7d8a91153e4b2059a11b71 15-Feb-2011 Amith Yamasani <yamasani@google.com> Merge "Don't change keyboard state in setIconifiedByDefault."
1b64c3b5fe33f39b8e94af325be6f8b092fd2332 15-Feb-2011 Amith Yamasani <yamasani@google.com> Don't change keyboard state in setIconifiedByDefault.

Bug: 3225887
Bug: 3453253 (possibly)

Since some apps call setIconifiedByDefault(false) at the initialization step,
it isn't a good idea to open/close the keyboard during this call. Apps
can call setIconified(false) instead to invoke the keyboard.

Change-Id: I9d5d08b74055a3e99053d647df0cd4c7953bae80
earchView.java
5fd8dd01a776e21df39e9de9777f034fd2d40e5b 15-Feb-2011 Adam Powell <adamp@google.com> Merge "Fix some bugs with MenuPopupHelper and ListPopupWindow"
05cc6dbf70f3aab56c28300745cbbf9215977602 15-Feb-2011 Gilles Debunne <debunne@google.com> Merge "Text insertion cursor is now defined by a Drawable."
ca51e8788a58f2af3525b7214a675f2d0233e5da 15-Feb-2011 Adam Powell <adamp@google.com> Fix some bugs with MenuPopupHelper and ListPopupWindow

Clean up handling of a few conditions in MenuPopupHelper that the
monkeys manage to trigger around the use of ViewTreeObserver. (bug
3443819, bug 3312949)

Fix a bug where a stale handler message could cause a ListPopupWindow
to reopen itself after being dismissed. (bug 3453607)

Change-Id: I488014767ccee785500862a2572beb35901d173b
istPopupWindow.java
f75c97e023af7d4ad9a8c129d4ea282b1c3b8f94 11-Feb-2011 Gilles Debunne <debunne@google.com> Text insertion cursor is now defined by a Drawable.

Bug 3261766

If defined, the drawable is used instead of directly drawing a 1 pixel
line. This makes the cursor more fancy and more visible.

The drawable is currently clipped by the TextView's limits, which is
currently visible on the left when the cursor is at the first position.
To solve this issue properly, we would need to propagate a do-not-clip
up in the hierarchy.

Change-Id: I99f6001048eed14104994acf6bab942dda8eb38e
extView.java
9b90062b966c9dfeeb2ad1179b519a14cd75910c 14-Feb-2011 Gilles Debunne <debunne@google.com> Double tap on a word no longer opens context menu. DO NOT MERGE

Bug 3451965

Change-Id: I2d693eda15da6562dd15eceb4109c0d588f224c9
extView.java
cfe8903441fa3fc13c774587fe96df8206d4ba7d 15-Feb-2011 Romain Guy <romainguy@google.com> Merge "Gracefully handle drawing caches allocation failure. Bug #3431451"
0211a0a10d20ec99bd78905ea9cd2960f7beb4c8 15-Feb-2011 Romain Guy <romainguy@google.com> Gracefully handle drawing caches allocation failure.
Bug #3431451

This bug was causing ListView to not render properly when showing an item
larger than the maximum drawing cache size. ListView relies on the drawing
cache to correctly mask all the background pixels. However, if the cache
is not properly created, the background will show through even though
ListView.isOpaque() == true. This change detects this case and falls
back to the default non opaque behavior.

Change-Id: I30a45e7a03fb7ebb2b12f0e85c075c2901954c44
bsListView.java
istView.java
0b96a57c851af2f66e3bc738035478efb3c1957e 11-Feb-2011 Adam Cohen <adamcohen@google.com> Making AdapaterViewAnimator setDisplayedChild remotable

Change-Id: Idee91f457e1d4316feb077aaa949baa54eca6ab1
dapterViewAnimator.java
emoteViews.java
iewAnimator.java
f3032e9d9dc00efbf53c97b9d0b6f6bd33336e9f 12-Feb-2011 Adam Cohen <adamcohen@google.com> Merge "Fixing a bug in RemoteViewsAdapter where cached items weren't being marked as requested"
aeb66ca473a194d0b9148234a710b26ce88c4807 11-Feb-2011 Adam Cohen <adamcohen@google.com> Fixing a bug in RemoteViewsAdapter where cached items weren't being marked as requested

Change-Id: I1275cbbcd949d27c1c7444a9fb7a684ae7d7eb25
emoteViewsAdapter.java
d4c5b7651f790a71bc602972bc6f7ff4f08ec76c 11-Feb-2011 Chih-Chung Chang <chihchung@google.com> Merge "Fix a bug that the condition for play/pause was reversed."
96bad1390115db294e3ff1aafc82d20fd19b0007 10-Feb-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3440372 - Spinner measurement issues with new rules"
b70c727b2ec470a091e61100abf05841d59bc9a8 10-Feb-2011 Adam Powell <adamp@google.com> Fix bug 3440372 - Spinner measurement issues with new rules

Change-Id: I3633239dc42277eb6447cf7f0907f35f4b45e873
pinner.java
d7db70123fe177e149ae50283e31508f79452f8c 10-Feb-2011 Chih-Chung Chang <chihchung@google.com> Fix a bug that the condition for play/pause was reversed.

Change-Id: I462ca5b910de98a875d7f54b4a937176f88474d0
ideoView.java
711734a2f8d7529df0ed1bce36da651fc835c144 08-Feb-2011 Gilles Debunne <debunne@google.com> AutoComplete list does not hide the IME when it re-appears.

Bug 3415891

With the current behavior, as soon as the list is expanded by
'long' pressing on or scrolling its content, it will always further appear
in its long state, thus hiding the IME.

This fix changes this behavior so that the default state is always
compact, not hiding the IME, and an explicit expansion
is always required.

Also fixes a bug in ListPopupWindow that prevented the timer that
expands the list from being started.

Change-Id: I896e92d54961769c10b276c36f6510e91ff096a2
utoCompleteTextView.java
istPopupWindow.java
a4a5758b5f51834f7555ec909e8188c432fc5dc4 09-Feb-2011 Gilles Debunne <debunne@google.com> The tab key completes text in AutoCompleteTextView.

Bug 3330651.

The first item in the list is not selected by default. From discussions
in other related bugs, there does not seem to be an agreement on this.

Supporting the actual token separator has also been punted. This would
require a new method in the Tokenizer, which could be ill-defined for
exotic tokenizer, plus typing a comma (for instance) to achieve a
completion is not a common pattern.

Change-Id: I30baf62077c412256175f871d21f4841e104f212
utoCompleteTextView.java
ultiAutoCompleteTextView.java
8e28ab22de4eb246114f32856ec8a46ae4a0e1cc 10-Feb-2011 Gilles Debunne <debunne@google.com> am 2050de5b: Text selection is broken.

* commit '2050de5b9a5c097e30545ab822211d49031bd9dc':
Text selection is broken.
2050de5b9a5c097e30545ab822211d49031bd9dc 09-Feb-2011 Gilles Debunne <debunne@google.com> Text selection is broken.

Bug 3439569

Lazy initialization code was not back-ported.

Change-Id: I9815f649891e2ddc602383488749144686ab1dd3
extView.java
63bd55c7bf6f5d9384ad25637a4f4a7d2ef8d441 09-Feb-2011 Gilles Debunne <debunne@google.com> am cdfe8999: Fix for multiple merge problem.

* commit 'cdfe899991c365d9e197d83f8859089cae082011':
Fix for multiple merge problem.
e04c14962f4a1089d411e1f7fa4d1019fe723885 09-Feb-2011 Gilles Debunne <debunne@google.com> resolved conflicts for merge of c0728cc0 to gingerbread-plus-aosp

Change-Id: I1b941e0610e498365d441c7bd23af276d1b5f986
8db7cb1cdfd357730c641bd1d858f3b1495d9a68 08-Feb-2011 Adam Powell <adamp@google.com> Fix bug 3395349 - Treat Spinner dropDownWidth property properly

Change-Id: I15bca2c938e1f9742cc5d47218632a1e636f90ac
pinner.java
5a50351cf33dcfc9a21f393521885cd3f248952d 08-Feb-2011 Gilles Debunne <debunne@google.com> Merge "CTRL+A simply highlights all text."
c1a35d2b1a2c3e784b9f49e009f254452fd2acca 08-Feb-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3389707 - Spinner: should be able to expand wider than their collapsed size"
19fd164408033eb46a40abd514aa0bf698525e55 08-Feb-2011 Adam Powell <adamp@google.com> Fix bug 3389707 - Spinner: should be able to expand wider than their
collapsed size

Change-Id: Ibd7389d3d7f74b36e9b3e42392cc1f3c0522f20d
pinner.java
299733e2b40e77d6d08c749fa8dd8a783857ee0e 08-Feb-2011 Gilles Debunne <debunne@google.com> CTRL+A simply highlights all text.

Bug 3351442

It does not start text selection mode, and does not display selection
handles. Just like a selectAllOnFocus does.

Change-Id: I3b6df3c57abb7cc2cd03a0a67896faeec2ec631f
extView.java
97228942d84fb93a155dfe2e62c927c8ea2eccd0 07-Feb-2011 Scott Main <smain@google.com> am 602a891a: am b0f1cfff: Merge "docs: SearchView is iconified by default" into honeycomb

* commit '602a891aea0392168e90f9dee61b33f45c698f34':
docs: SearchView is iconified by default
cccdbe9acb5cd721988b6b01a419c568fe5300b6 07-Feb-2011 Scott Main <smain@google.com> docs: SearchView is iconified by default

Change-Id: Iabe0fdc0b28847f0c401e3692932a73b7d595c88
earchView.java
cdfe899991c365d9e197d83f8859089cae082011 05-Feb-2011 Gilles Debunne <debunne@google.com> Fix for multiple merge problem.

Change-Id: I5d9c497f44aa9cdc34c195c41e02c3d7353c3fb4
extView.java
1ba2a47b82b950934ddf04570fb24124aec7f249 05-Feb-2011 Gilles Debunne <debunne@google.com> am 893ac28f: Merge "Blinking runnable is created only if text is editable. DO NOT MERGE." into gingerbread

* commit '893ac28f75561061a8f334cbd4e47833d7fd7843':
Blinking runnable is created only if text is editable. DO NOT MERGE.
826fbdf7b621861f24b71a16fbad53c2ccff1de7 05-Feb-2011 Gilles Debunne <debunne@google.com> am 8a6ba494: Merge "All runnable are stopped on detach. DO NOT MERGE." into gingerbread

* commit '8a6ba494a28702e68b0a8fbd8bac34335536a8f8':
All runnable are stopped on detach. DO NOT MERGE.
c0728cc042bd5cc6ab520d3395deec50481f8f5a 12-Oct-2010 Gilles Debunne <debunne@google.com> Double tap triggers text selection in a TextView. DO NOT MERGE

This is a convenient way to switch to selection mode without the
context menu. Context menu is still available and offerts Select Input method option.

Browser overloads touch events and this feature is not available in Browser which
limits the conflict with double tap zoom in browser.

Change-Id: I286504cf03733d5c2fb9bc01765f713d14bbd2f4
extView.java
2f7e9d403a8ef6660d3acf8c41f57ce339c9f7cc 05-Feb-2011 Gilles Debunne <debunne@google.com> am 53841df2: Merge "SelectAllOnFocus shows a higlighted text. DO NOT MERGE." into gingerbread

* commit '53841df2a49bffa53ba3d1e4b0580f4f23a64dc3':
SelectAllOnFocus shows a higlighted text. DO NOT MERGE.
893ac28f75561061a8f334cbd4e47833d7fd7843 05-Feb-2011 Gilles Debunne <debunne@google.com> Merge "Blinking runnable is created only if text is editable. DO NOT MERGE." into gingerbread
8a6ba494a28702e68b0a8fbd8bac34335536a8f8 05-Feb-2011 Gilles Debunne <debunne@google.com> Merge "All runnable are stopped on detach. DO NOT MERGE." into gingerbread
53841df2a49bffa53ba3d1e4b0580f4f23a64dc3 05-Feb-2011 Gilles Debunne <debunne@google.com> Merge "SelectAllOnFocus shows a higlighted text. DO NOT MERGE." into gingerbread
4fd9dae6a23a22142f73749c291c9fd18459e381 03-Feb-2011 Svetoslav Ganov <svetoslavganov@google.com> NumberPicker should not play initial animation while in edit mode

bug:3417930

1. Added a check if the widget is in edit mode to determine if to
play the initial annimation.

Change-Id: Ibcf23fa1ec55a1950323e71eda90da6418b655fb
umberPicker.java
15f16e3f860b28ef0767b08ae8d86dc08b6aac3b 01-Feb-2011 Gilles Debunne <debunne@google.com> am 65383292: am 8f8aac5e: Merge "Pixel were missing on the last line of text when using MaxLines." into honeycomb

* commit '6538329258ee01b27586d8b0e46e96160d719a68':
Pixel were missing on the last line of text when using MaxLines.
a90154fbe3506ec0d420234cbf23becb51027147 01-Feb-2011 Gilles Debunne <debunne@google.com> am d4155ae6: am 0ad4f096: Merge "Patches for the Paste window behavior." into honeycomb

* commit 'd4155ae607648942afbb5b5a20c93d82a839e0d2':
Patches for the Paste window behavior.
8f8aac5e8adfe14b8a01d90424b1815e0a0ebe28 01-Feb-2011 Gilles Debunne <debunne@google.com> Merge "Pixel were missing on the last line of text when using MaxLines." into honeycomb
78ed7b801d7fbbfac8f21b84b05dc4ce4c2d2e7e 01-Feb-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Clean up of the DatePicker"
13427a04de835677f9e5f727298f168b88faa562 01-Feb-2011 Svetoslav Ganov <svetoslavganov@google.com> Clean up of the DatePicker

1. Removed a duplicate DatePicker stylable.

2. Fixed a bug that if the user wrongly desires to have the
calendar view and spinners hidden despite that DataPicker
ovrrides such incorrect choice to show at least the spinners
the min adn max date attributes are igonored.

Change-Id: I6307db71aca837ad790aea59fa70ead393feb066
atePicker.java
0ad4f0963a47feafaaa92a756fb84caab5b6bddb 01-Feb-2011 Gilles Debunne <debunne@google.com> Merge "Patches for the Paste window behavior." into honeycomb
1c91433f7c61860319fa5d524b503c2631a7f2d3 01-Feb-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Set time dialog display changes AM/PM at 1 instead of 12" into honeycomb
11f9647e03d4e1141bc4312626c8dc9116f1f470 01-Feb-2011 Gilles Debunne <debunne@google.com> Merge "Hint text is visible when using center gravity." into honeycomb
3ce726eb9487bec53d53379b8b35cb84fd387357 01-Feb-2011 Gilles Debunne <debunne@google.com> Patches for the Paste window behavior.

Bug 3409440

Change-Id: Id266bb83aa6e1912817995881daa9c24a1553c32
extView.java
be17a7f269479ed91b6fe8a80966d4605c805a0a 31-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Set time dialog display changes AM/PM at 1 instead of 12

bug:3408128

Change-Id: Ifb17cbc0f448281cebb20296dcc58766cde02965
imePicker.java
9a80a650467384d582d3cdf13a8136622a831885 31-Jan-2011 Gilles Debunne <debunne@google.com> Hint text is visible when using center gravity.

Bug 3379366

Non left aligned text uses the VERY_WIDE width, but the hint text
was not.

Change-Id: I7327958336acf7fe16bb89bb8b7bf9b869167d53
extView.java
c1eb127f4e19c1f86e4b18c2c1daebe2404eeb93 31-Jan-2011 Gilles Debunne <debunne@google.com> Merge "Tabs are resized to make sure they fit in their parent." into honeycomb
ccfcd9e813d090ec9b4390b5217b32f73dd8263d 31-Jan-2011 Gilles Debunne <debunne@google.com> Merge "Fxi initial error popup dialog in TextEdit and refreshed assets." into honeycomb
0a4db3c5270440eeb7e4e44a7029926e239ec3bd 14-Jan-2011 Gilles Debunne <debunne@google.com> Pixel were missing on the last line of text when using MaxLines.

Bug 3295544

Only the last line of text includes the bottomPadding (extra line
spacing below the characters' descent. When The text is clipped using
maxLines, the desired height correctly added this value, but getLineTop
and getLineDescent are also used when the layout is drawn.

The fix is to make the layout aware of its clipping so that these
values are correctly updated.

Change-Id: I703656cf45022d34a90f55f0ed8fc5e4b30f80b1
extView.java
c9cb30837116b138a91b251e5217a644231eebef 31-Jan-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3405899 - android.view.WindowManager$BadTokenException" into honeycomb
65a1de963a9b93225b67a399c9abc66d9bb8fd6f 31-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3405899 - android.view.WindowManager$BadTokenException

Clear any pending runnables involved with TextViews when cursor
controllers are released

Change-Id: I96898fcc237f20d0b0f2351181244cb171fa2083
extView.java
12ab64593f557674f783e39ab804a7cd033b0050 30-Jan-2011 Gilles Debunne <debunne@google.com> Auto-clearing setError popup

Bug 3403325

Error popup has to be dismissed whether or not the key was handled.

Change-Id: Ib6326b27fc521398f3cb0c546d29a7de9df18375
extView.java
f1f409a389d67dedc4847f802df402e78dd01353 28-Jan-2011 Gilles Debunne <debunne@google.com> Fxi initial error popup dialog in TextEdit and refreshed assets.

Bug 3398923

Set the background of the popup when it is created so that the first
measure is correct.

New assets.

Change-Id: I4803754ef3115429a608d890f56c6b0c8033d253
extView.java
6ec44395f304a478fb56f20ca5e941514ed0a48e 29-Jan-2011 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #3403539: WordPress crashes on Honeycomb" into honeycomb
1ec7e20237932f14588a90e5d7378acad8efec80 28-Jan-2011 Dianne Hackborn <hackbod@google.com> Fix issue #3403539: WordPress crashes on Honeycomb

Change-Id: Ia86e26b5bd266d8e3362a04e412a58b98a062d5f
abWidget.java
d11f5d2c5e41b4f2f5bda5ecca793efd2ab2300b 28-Jan-2011 Gilles Debunne <debunne@google.com> Merge "Fix for TextView's error popup behavior when using soft keyboard." into honeycomb
c4d3f759dd6ccc5147c1e616958c8fb9415df6b9 26-Jan-2011 Gilles Debunne <debunne@google.com> Tabs are resized to make sure they fit in their parent.

Bug 3400841

The original bug 3365301 was fixed in
https://android-git.corp.google.com/g/#change,92920

This new version fixes problems. super.measureHorizontal has to be
called twice to correctly handle child padding, dividers... and to
enforce the original spec mode provided.

Change-Id: I1ba1c3f3b2c8296c13ca51ce330b540caaddb7eb
abWidget.java
e31ecf61042171242e6f31f22df7691c40f189b2 28-Jan-2011 Adam Cohen <adamcohen@google.com> Merge "Fixing static StackView scenario (Issue: 3399844)" into honeycomb
c6a4716e24e6310efae78d04d86cc3369c2023b2 28-Jan-2011 Adam Cohen <adamcohen@google.com> Fixing static StackView scenario (Issue: 3399844)

Change-Id: Ic1e700f7b4071f6ae86912cf5f12828e3f68f412
tackView.java
8a2a89588c3889b999a8fffa2d7c7a5c3ce25eb8 28-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Accessibility support to NumberPicker, DatePicker, and TimePicker

bug:3400707

Change-Id: I0d4b10e9c744e7221a9a7a74081bcee351abbaf2
atePicker.java
imePicker.java
b7fc63f7aac3689696f7f84953009b5928ac3db3 28-Jan-2011 Gilles Debunne <debunne@google.com> Fix for TextView's error popup behavior when using soft keyboard.

Bug 3370191

The documented behavior is to hide the error when the text changes.
However, this should not be the case if the error was reset by a text watcher.

Comparing errorBefore and errorAfter as was done before is not sufficient in the
case where the error is reset to the same value. String pool optimization will re-use
the same Object and it will look like the error has not been modified (hence the
blinking behavior reported in the bug).

For this reason, TextView has a mErrorWasChanged flag. The fix is to export methods
that can use this flag as in done inside TextView when a physical keyboard is used.

These methods are hidden.

Change-Id: Ie3ec59a368f3b1588b81242890b971ac48e8ff7e
extView.java
43d7b83ed92d54eeaf81e8e8b554daee1741df7b 27-Jan-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3391818 - Keyboard covers the "Show in chat list" selection in talk > Friend Info" into honeycomb
6f5e934b96c400f610b1c5ad228cc60cab5d443f 27-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3391818 - Keyboard covers the "Show in chat list" selection in
talk > Friend Info

Make spinner dropdowns cover the IME if present without being touched
first.

Change-Id: Ie47df1ad684649de73b102e2ecf5528a35301d93
istPopupWindow.java
pinner.java
17d31decef349b4f6026b41a7425a4e64940aef5 27-Jan-2011 Gilles Debunne <debunne@google.com> Soft keyboard is not shown when text selection mode is aborted.

Bug 3381317

Also generalized and uniformized the use of peekInstance. Added null
tests, and isActive tests before hiding.

Change-Id: Ifd1a053fd920841333e0ebab3e2a8d26b469a0f6
extView.java
315f3865983f59e5ad9f42602f443e8c42b6e5c4 27-Jan-2011 Gilles Debunne <debunne@google.com> Merge "CustomSelectionActionModeCallback can prevent selection mode from starting." into honeycomb
ddd6f3928756c439e8a7a975a9dc51248f687b7e 27-Jan-2011 Gilles Debunne <debunne@google.com> CustomSelectionActionModeCallback can prevent selection mode from starting.

Bug 3381317

Change-Id: I9fb52077216ed56c101ed58f8897478343369528
extView.java
f02853f211f0b7f698f82305e30c23e527192584 27-Jan-2011 Jeff Brown <jeffbrown@google.com> Merge "Fix down arrow in AutoCompleteTextView." into honeycomb
c291a7bf7a163cea10be135279103f72a6418383 27-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "The calendar view widget was jumping incorrectly to the next week while selectiong the last day of the week." into honeycomb
58f51255eb20f9c4d16c11554f372ff92d45fcc7 27-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> The calendar view widget was jumping incorrectly to the next week
while selectiong the last day of the week.

The NumberPicker widget was getting into an inconsitent state when
reaching the end of the range (non wrapping selector wheel) and
the user touches the location of the hidden increment/decrement
button.

Change-Id: Id54103295dd2574030e2c29996061faa659a5bb7
alendarView.java
atePicker.java
umberPicker.java
53838d265e36fb50341af168f5a91c3341c3cfc3 27-Jan-2011 Adam Cohen <adamcohen@google.com> Fixing some ugly StackView relayouts on rotation

Change-Id: Ic4b11637ed73e60e1af1fcd27e5610d8f84a31fe
dapterViewAnimator.java
tackView.java
8d6d3b83fb765eefc6fd38de77f1f45d2523ab89 27-Jan-2011 Jeff Brown <jeffbrown@google.com> Fix down arrow in AutoCompleteTextView.

Bug: 3337416
Change-Id: I572d55c973b9adc68765ba02197e84f3558e65bc
bsListView.java
ridView.java
istPopupWindow.java
istView.java
bc3f79371bb93e075bcb91d92180487337afce17 27-Jan-2011 Gilles Debunne <debunne@google.com> Merge "Tabs are resized to make sure they fit in their parent." into honeycomb
b90a91c633e99d4559095184af27d1416541d3c0 26-Jan-2011 Winson Chung <winsonc@google.com> Making requested indices the last to be pruned when we hit cache memory limits. (3368863)

- Also tweaking disconnect delay, cache size, and memory limit

Change-Id: If67188dcb363e5a2fbc02736f82bfd783af02533
emoteViewsAdapter.java
6741c941a76d17c257c396d86c7561aa43005b1a 26-Jan-2011 Gilles Debunne <debunne@google.com> Tabs are resized to make sure they fit in their parent.

Bug 3365301

This is a first implementation. The text inside the tabs is clipped
and can be hardly readable.

A nicer complimentary solution is to reduce the 40dip padding in portrait mode.

Change-Id: I19439ee6a63c3f9dcdcc944ddbbc18a81949db79
abWidget.java
ableLayout.java
9e7c2c6ded1144122915cfb8bd663e789c7eb93b 27-Jan-2011 Romain Guy <romainguy@google.com> Merge "Optimize invalidate() calls." into honeycomb
0fd89bf7221431260883cee4597e2db942d799a0 27-Jan-2011 Romain Guy <romainguy@google.com> Optimize invalidate() calls.

Change-Id: I09d99290ca74f96046702bc2604f125a1276ce05
bsListView.java
orizontalScrollView.java
crollView.java
extView.java
12b2dc23cc3cdd9dcd6bac91adc8e4198502bab5 26-Jan-2011 Gilles Debunne <debunne@google.com> Merge "Holo theme for error popups in TextViews." into honeycomb
2035a4657a900e25d5133ad0905105a70f2eedbb 26-Jan-2011 Adam Cohen <adamcohen@google.com> Fixing bug where widgets would go dead after moving to another screen

-> A memory optimization was causing AdapterViewAnimator to give up its
reference to its adapter, rendering the widget dead.
-> Did testing, and it doesn't appear that this optimization was
making a difference, so it appears safe to remove.

Change-Id: I274c5f73862cbda2dc5411d5c94a9ba1ac1e3635
dapterViewAnimator.java
2c070bae4493cd1976c5086ec4cbf6ce10482742 26-Jan-2011 Winson Chung <winsonc@google.com> Merge "Re-enabling queued unbinding of services after requests to the service. (3394210)" into honeycomb
16c8d8a558f94ec14ef52bb5ac11044e2d0d902c 21-Jan-2011 Winson Chung <winsonc@google.com> Re-enabling queued unbinding of services after requests to the service. (3394210)

- Fix for crash when detaching from window
- Potential fix for occasional IllegalStateException when updating List based widgets

Change-Id: I3d3f2bb691552a1136111043db686c4926b510c6
bsListView.java
dapterViewAnimator.java
emoteViewsAdapter.java
emoteViewsService.java
5f059e4663d94c4569b4757ea8406793fc217dfb 13-Jan-2011 Gilles Debunne <debunne@google.com> Holo theme for error popups in TextViews.

Bug 3277308

Change-Id: I9711adb848df975b95ad09fc84bba4b970e44670
extView.java
0f16477b2d2432a294801a12ac513cd41b00d03c 26-Jan-2011 Adam Cohen <adamcohen@google.com> Merge "Cleaning up StackView" into honeycomb
78db1aa9118edd71c2da28a2c23a0d875d1a707a 25-Jan-2011 Adam Cohen <adamcohen@google.com> Cleaning up StackView

Change-Id: I38cd8a5f2d25973d3f97551be0a873ca35044ed9
dapterViewAnimator.java
tackView.java
4df103cf3d134bc0e428656e07c43eda2687ecdb 26-Jan-2011 Gilles Debunne <debunne@google.com> Merge "A long press on the selection handle no longer selects the word." into honeycomb
874d77c62e0aa18116063948cd580ad0b37b4578 26-Jan-2011 Gilles Debunne <debunne@google.com> A long press on the selection handle no longer selects the word.

Bug 3371448.

Change-Id: I360e6259f5f58a6f251efbe031ac46a76b7168e7
extView.java
6bcbf54feed8ca7c1bf9b509f8581684988d45dd 25-Jan-2011 Amith Yamasani <yamasani@google.com> Merge "Heed the focusability flag in SearchView and set the default to true." into honeycomb
7f8aef6d5bd26cfc7f96d059ab66abdb320ebd27 25-Jan-2011 Amith Yamasani <yamasani@google.com> Heed the focusability flag in SearchView and set the default to true.

Bug: 3385804

Also, allow navigation through keyboard.

Change-Id: I444f142518172b35f33c2a5129179ac996d80dc7
earchView.java
5d9d03a0234faa3cffd11502f973057045cafe82 24-Jan-2011 Dianne Hackborn <hackbod@google.com> Maybe fix issue #3093599: java.lang.IndexOutOfBoundsException...

...Invalid index 0, size is 0 at
android.app.ActivityThread.performPauseActivity(ActivityThread.java:2326)

It looks like if an arrow key is dispatched between the time the
list view is told its data set has changed and it does the resulting
layout pass, we could try to move the position to a now invalid
index. This may prevent that from happening.

Also put in a better error message if saving state of a fragment
whose target is no longer in the fragment manager.

And fix a bug in PackageManager where we could return a null from
queryIntentActivities().

And add a new API to find out whether a fragment is being removed,
to help fix issue #3306021: NPE at
android.app.AlertDialog.getDefaultDialogTheme(AlertDialog.java)

Next, for new HC apps we can delay committing data to
storage until the activity is stopped.

Finally, use the new multi-threaded AyncTask executor in a few
places, so we don't have worked blocked by long-running tasks from
the application.

Change-Id: I27b2aafedf2e1bf3a2316309889613fa539760f3
istView.java
33322052edd6c77b4378e69b66f746f241a80764 25-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "DatePicker is picking the wrong date" into honeycomb
1914971c6bdeac330846488fdd5c0bb4120d5624 25-Jan-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3242393 - overscroll effect missing from lists which drag but are always visible" into honeycomb
4ce35419cea4c320b71f848cf00fd6f5d17e960e 24-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3242393 - overscroll effect missing from lists which drag but
are always visible

Change-Id: I20d73c452c7b98f1a046e356d0c6cdbfc8e5fe7a
bsListView.java
88b5953ab2f63ed6f820bb13845cf8fecb2d57e3 24-Jan-2011 Gilles Debunne <debunne@google.com> Merge "NULL inputType text fields should never show the IME." into honeycomb
705a27a97ccd8e363944083d948b7f5204916b85 24-Jan-2011 Gilles Debunne <debunne@google.com> Merge "Non-editable TextViews should not display a cursor." into honeycomb
98dbfd4940fb7f1e3ae11ec73aeb7a9dd26a24ee 24-Jan-2011 Gilles Debunne <debunne@google.com> Non-editable TextViews should not display a cursor.

Bug 3381320

The tests were inconsistent between makeBlink and onDraw.
If the text is non-editable, do not draw the cursor.

Change-Id: I0405e59444261a553e868b3ae5bdddd278f60bb2
extView.java
8cbb4c6e30cff706a243599634aeb8fd9a818d92 24-Jan-2011 Gilles Debunne <debunne@google.com> NULL inputType text fields should never show the IME.

Bug 3381317

Changes made in https://android-git.corp.google.com/g/#change,91880
displayed the IME onFocus. However, the test was not consistent to what
is done in touch event. textIsEditable is now checked too.

Change-Id: If11382c1c90a557839b87d62494253470c42b621
extView.java
67005b05cc76a38a5b3bf6e83957dd03619e9126 24-Jan-2011 Chet Haase <chet@google.com> Merge "Use optimized display lists for all hwaccelerated rendering" into honeycomb
7108724d4b6a1c2862154cd52ed4fb1e5f001186 24-Jan-2011 Gilles Debunne <debunne@google.com> Merge "New fix for popup behavior in AutoCompleteTextViews." into honeycomb
daf98e941e140e8739458126640183b9f296a2ab 10-Jan-2011 Chet Haase <chet@google.com> Use optimized display lists for all hwaccelerated rendering

Previously, display lists were used only if hardware acceleration
was enabled for an application (hardwareAccelerated=true) *and* if
setDrawingCacheEnabled(true) was called. This change makes the framework
use display lists for all views in an application if hardware acceleration
is enabled.

In addition, display list renderering has been optimized so that
any view's recreation of its own display list (which is necessary whenever
the visuals of that view change) will not cause any other display list
in its parent hierarchy to change. Instead, when there are any visual
changes in the hierarchy, only those views which need to have new
display list content will recreate their display lists.

This optimization works by caching display list references in each
parent display list (so the container of some child will refer to its
child's display list by a reference to the child's display list). Then when
a view needs to recreate its display list, it will do so inside the same
display list object. This will cause the content to get refreshed, but not
the reference to that content. Then when the view hierarchy is redrawn,
it will automatically pick up the new content from the old reference.

This optimization will not necessarily improve performance when applications
need to update the entire view hierarchy or redraw the entire screen, but it does
show significant improvements when redrawing only a portion of the screen,
especially when the regions that are not refreshed are complex and time-
consuming to redraw.

Change-Id: I68d21cac6a224a05703070ec85253220cb001eb4
bsListView.java
orizontalScrollView.java
crollView.java
extView.java
156f20919b3d5f298f8851215adbf65f8b4dc61b 24-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> DatePicker is picking the wrong date

bug:3375074

1. The logic for updating the higher rank fields on wrapping of
lower rank ones was incorrect. Updated that logic.

2. On reaching the min/max date the spinners did not stop
when reaching that date. Now spinners stop at min/max.

3. Fixed a couple of edge case bugs while setting the
the min and max dates of the DatePicker on the fly.

4. Restricted the scrolling/flinging to end at the min
and max dates.

Change-Id: Ibb588ea2cf951cf8d50328bbfbe7ebdad7ee8067
alendarView.java
atePicker.java
umberPicker.java
2bed570bba183249c6ca9ca1151d1d23808de8c1 24-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3367627 - spontaneous crash

Fix a little-traversed codepath that could cause some grief.

Change-Id: I75e6931c3208a0f18b40446f23a2fdd5a0065ce8
bsListView.java
4a74dbc3f2221af99f94b4f514b8291a16ae3661 24-Jan-2011 Gilles Debunne <debunne@google.com> New fix for popup behavior in AutoCompleteTextViews.

Bug 3374144

The fix in https://android-git.corp.google.com/g/#change,91880 is not
sufficient. An updated adapter needs to be able to force an update of
the poup result list.

Addded a flag that prevents the popup from being re-opened when it has
previously been closed by a user action.

Change-Id: I45fab056c8ebd6dc4317430213f2bc37b51b79e3
utoCompleteTextView.java
a049fe95cdf68c73f104420433610d8a8a8a7357 22-Jan-2011 Adam Cohen <adamcohen@google.com> Merge "Fixing a couple StackView bugs:" into honeycomb
e86ff4d56145d875c13a1637833f9f55d79febc9 22-Jan-2011 Adam Cohen <adamcohen@google.com> Fixing a couple StackView bugs:

-> Making sure to update visuals every time adapter count changes
-> Fixing a clipping issue seen on some devices

Change-Id: I489395b5caaa06eb7187b2dac679b793bf54d7e1
dapterViewAnimator.java
tackView.java
c3e85a712b7a2cc02624d1483b846c16ac85f091 21-Jan-2011 Gilles Debunne <debunne@google.com> Tapping inside an EditText should always pop up the IME.

Bug 3374062

When the tap in slightly off the EditText, it receives focus from its parent layout
which dispatches the event. However, the touch event is (correctly) not propagated
in that case.

onFocusChanged should hence do actions similar to what is done on touch up events.

Change-Id: Ia5c04546674fc6239aa4d0b8d051f4951ca91352
extView.java
d8b9d7cd1b2327b02e41edcddf94e64d481419d1 21-Jan-2011 Romain Guy <romainguy@google.com> Merge "Don't set a Toast's view to null when enqueued several times. Bug #3374386" into honeycomb
2152ca58c256f4e7d8a5d895eb96cdc2d2580a05 21-Jan-2011 Romain Guy <romainguy@google.com> Don't set a Toast's view to null when enqueued several times.
Bug #3374386

Change-Id: I0fc6f96b37c8866ad1e890813054dafbaf2cc13e
oast.java
e60e1e597b85ce2cc94818a42ff9e30547af94f8 20-Jan-2011 Gilles Debunne <debunne@google.com> Paste popup window is displayed on the side when it would be clipped on top of screen.

Bug 3259774

Change-Id: I6ea20452a3a235e264c91c112f52da7230657708
extView.java
cdd5626da62cb2dc013cded470e264232617f635 21-Jan-2011 Adam Cohen <adamcohen@google.com> Merge "Cleaning up some StackView bad behavior" into honeycomb
01f21354654a315ea2a2a1668bbda50645123d4a 21-Jan-2011 Adam Powell <adamp@google.com> SearchView API Review - bug 3370353 and bug 3370338

Renaming as per API council review

Change-Id: Id889be5a708fdc295ee50bb1b05014b2ff72122c
earchView.java
9cc55346ecb1c1f35760a71b5f3cdaebd02892e6 21-Jan-2011 Jeff Brown <jeffbrown@google.com> am d0725eef: Merge "Never drag scroll views with no children. (DO NOT MERGE)" into gingerbread

* commit 'd0725eef671c059b8e26d900fee655747f506dbe':
Never drag scroll views with no children. (DO NOT MERGE)
ef17dd497edc14ca753616862efaa3457e1df5da 21-Jan-2011 Adam Cohen <adamcohen@google.com> Cleaning up some StackView bad behavior

-> Issue: 3363564, 3320865

Change-Id: I32215478006a689f543532af4ce2267ccbb7fa56
dapterViewAnimator.java
tackView.java
1ec1fdfce959069f3092c15d27efc1c2286dc15c 20-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "API REVIEW: android.widget.NumberPicker.OnValueChangedListener" into honeycomb
cedc446684e94c9971c38c3206f1f224314bda2a 20-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> API REVIEW: android.widget.NumberPicker.OnValueChangedListener

Change-Id: I1e739553ab6b99b2768e42cf379a0b155dced81a
atePicker.java
umberPicker.java
imePicker.java
19484fac336ce1606a9f0b464d6bfc33ae0523e7 20-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Some touches on the NumberPicker UI." into honeycomb
6b20dc43a0b835254840746f1027945b5414654b 20-Jan-2011 Gilles Debunne <debunne@google.com> Merge "Error popup no longer flickers in TextViews." into honeycomb
0e2de6d7187ef67ec00a2f2544450caa4a239c39 20-Jan-2011 Adam Cohen <adamcohen@google.com> Addressing API Review docs bugs:

->Issue 3370313
->Issue 3370403
->Issue 3370328
->kthx, bye

Change-Id: I2d1962c27b3ba856a0b4632d335271300bab45eb
dapterViewAnimator.java
dapterViewFlipper.java
dvanceable.java
emoteViewsService.java
tackView.java
5f83a6017bacb513610df83a36b1f55953e65ad4 20-Jan-2011 Adam Powell <adamp@google.com> Better fix for bug 3112733

Make sure PopupWindows set to clip to the screen and that are anchored
to another view do not clip off the top of the screen.

Change-Id: I6ef9d61982dfda18a4ee7c69128932f5e08aa884
opupWindow.java
pinner.java
9cd5fb2f46e219ec8250383fb201b94cb2ee8c0a 20-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Some touches on the NumberPicker UI.

1. Shoing the scroll wheel and fades it out the first time
the widget is displayed.

2. Added separators for easing use to figure out which will
be the current selection while scrolling.

3. Updated the fling scroller to user decelerating interpolator.

Change-Id: Ie75519564ace8f44cc6f8eed692182153f839694
umberPicker.java
a85467bc8da8d4cecd47ed30da04c72c4f7bd842 20-Jan-2011 Gilles Debunne <debunne@google.com> Error popup no longer flickers in TextViews.

The removed lines were committed by the Android Open Source Project.
Their intent was probably: the message was there before, it is identical
after a text change, let's remove it to not annoy the user who already saw it.

The behavior however is that the message is displayed then hidden, then displayed
as the user types.

Bug 3365016

Change-Id: Ie820f8e5465ad8ab5890272c42627686e0d7961b
extView.java
ed58d8ed8a50cbd8c5e01c4e51bcbbe4341d1dfd 20-Jan-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3112733 - Missing TLS encryption option in manual email account setup" into honeycomb
d2766aec6a72eb73264281472a5164a75c6df799 20-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3112733 - Missing TLS encryption option in manual email account setup

Make spinner popups observe global events that should change the
position of the popup.

Change-Id: Ia65204f594a6972b96d4db08c205770e340fcaf9
pinner.java
2cb866b948c38923b31331a9b2f031eb9d791e6e 20-Jan-2011 Jeff Brown <jeffbrown@google.com> Merge "Never drag scroll views with no children." into honeycomb
eefc82483a90f641275db3084b78c8254cc45046 20-Jan-2011 Romain Guy <romainguy@google.com> Merge "Fix toasts." into honeycomb
cf3dd6bc6903282077c0044d1fdacba8f45e0886 20-Jan-2011 Romain Guy <romainguy@google.com> Fix toasts.

Change-Id: I11916c55e8092169d2ab28c100bc7a152d60d432
oast.java
1c0012e103a380489fe4a150247cd226de9a89a6 20-Jan-2011 Amith Yamasani <yamasani@google.com> Merge "Ensure that the column is valid before querying." into honeycomb
de6e2ca7fb7c2b6dc1a90e77be1cbac3af428598 20-Jan-2011 Amith Yamasani <yamasani@google.com> Ensure that the column is valid before querying.

Bug: 3303147
Change-Id: Ieec93317c5a2e924d3ee3108b61577b636943160
uggestionsAdapter.java
be2c4f92a990ca48ad6ede252343dd9574dfe505 18-Jan-2011 Gilles Debunne <debunne@google.com> Race condition patched in Email autocompletion.

Bug 3347962

Root cause of this problem: if the adapter's content gets updated by a backgroung
thread, the PopupDataSetObserver will call showDropDown which will popup the
list.

Added a flag to make this call show the popup iif it is already visible.
This relayout is needed to clear the mDataChanged flag set when the content was
modified and which otherwise prevents touch events on the result list.

ArrayAdapter didn't use its lock to protect access to mObject.

-------------------------------------------------

However, the study of the this race conditions revealed an other bug:

Updated adapter's content is not displayed in filtered AutoCompleteTextView
Bug 3369097

Change-Id: Icd90d452f98231866f4d8a1f6994c1492febecb9
rrayAdapter.java
utoCompleteTextView.java
4243dc394d89a93cb207efa36e9755c2424d688b 19-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Updated the Time/Date pickers to be backwards compatible

bug:3349400

Change-Id: I2a3dda82caf7de0ed203306c89ee774b94b7d82e
atePicker.java
umberPicker.java
imePicker.java
c446ae83e08fb451589dbacba9aa3f89d0d6acb0 19-Jan-2011 Adam Cohen <adamcohen@google.com> Merge "Removing deprecated widget api method." into honeycomb
0fd9be211881d3942e44962c6dff364719443c3b 19-Jan-2011 Winson Chung <winsonc@google.com> Removing deprecated widget api method.

Change-Id: I0610dcb5cf1001b2b7e86d78a88addf174cedd77
emoteViews.java
c7816cd6a1441cd46af57224c616c2d56ced5105 19-Jan-2011 Romain Guy <romainguy@google.com> Merge "Don't let toasts "leak" Context instances." into honeycomb
39bc6197baa7482dd070878a63992e8212965a4d 19-Jan-2011 Jeff Brown <jeffbrown@google.com> Never drag scroll views with no children. (DO NOT MERGE)

Fixes a regression from Froyo. Previously, when a scroll view
had no children, its onTouchEvent would return because the scroll
view would only start dragging if the user touched one of its children.
In Gingerbread, the user can drag from anywhere within the scroll
view, not just by touching a child. However, it makes no sense
to drag a scroll view that has no children so an empty scroll view
should just ignore touches like any other empty view group would.

This change fixes applications that for some reason or other happen
to have empty scroll views in strange places.

Bug: 3246230
Change-Id: I76c6136d3cd74968983033014d60deec1718ce30
orizontalScrollView.java
crollView.java
c4d09f2b69b82201ce48dbe29c4d8bd85bdda92a 19-Jan-2011 Romain Guy <romainguy@google.com> Don't let toasts "leak" Context instances.

Change-Id: I05a936579e60360cdb3453ad5cbcead8ca03191a
oast.java
32cf193412bb1261b0b8d9ab69df68e635a1e77d 19-Jan-2011 Winson Chung <winsonc@google.com> Disabling queued unbinding of RemoteViewsServices until we fix flashing in widgets.

Change-Id: Iee53d4930dc4007df4298a282cdd5101876215a1
emoteViewsAdapter.java
81f39eb6e76d0be1dd341af835e8002a0f80524e 12-Jan-2011 Winson Chung <winsonc@google.com> Refactoring app widgets to address security/performance issues.

- Moving the service binding to AppWidgetService to prevent arbitrary apps from binding to widget services
- Requiring RemoteViewsServices to require android.permission.BIND_REMOTEVIEWS permission

Change-Id: Id135bafba998299eb278067712b8a5d8487cfd04
emoteViews.java
emoteViewsAdapter.java
d63d33581051fdffd16789551852368d21b89fe1 19-Jan-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3362258 - Fastscroll is out of sync with the list" into honeycomb
b1f498afc379ec84b86137e91afda6eccb8f4c0a 19-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3362258 - Fastscroll is out of sync with the list

Change-Id: I13282bfed355f5794041e83818ee2e9e97c1b318
bsListView.java
astScroller.java
7890fe2da4719bf72b4fbcbef20a555d5fbd94bb 19-Jan-2011 Romain Guy <romainguy@google.com> Don't pass a null View to OnListItemClickListener.
Bug #3365153

Change-Id: I1328a554408bf16ec592ae1a747e57a5fb9305e3
bsListView.java
fb75738ee28839c67bef4abc15d6c7a407c34f55 19-Jan-2011 Jeff Brown <jeffbrown@google.com> Never drag scroll views with no children.

Fixes a regression from Froyo. Previously, when a scroll view
had no children, its onTouchEvent would return because the scroll
view would only start dragging if the user touched one of its children.
In Gingerbread, the user can drag from anywhere within the scroll
view, not just by touching a child. However, it makes no sense
to drag a scroll view that has no children so an empty scroll view
should just ignore touches like any other empty view group would.

This change fixes applications that for some reason or other happen
to have empty scroll views in strange places.

Bug: 3246230
Change-Id: Iada6e886e8363e6778f42fc4861de228512d8bed
orizontalScrollView.java
crollView.java
8d74f7f560498966d06a1fb5f490d182ade6c3c2 18-Jan-2011 Dirk Dougherty <ddougherty@google.com> Merge "Doc change: fix busted link to DatePicker tutorial." into honeycomb
aba62a5925e807f30e3abb1e348738eb342a9888 18-Jan-2011 Gilles Debunne <debunne@google.com> Merge "Added a touch up filter in text selection handles." into honeycomb
9a143e6641fa4a5942e7341007d916601402e8df 18-Jan-2011 Dirk Dougherty <ddougherty@google.com> Doc change: fix busted link to DatePicker tutorial.

Change-Id: I957aa3bb4c0c91f195de99405cc8e1b5a5bc82f7
atePicker.java
0a753cd481e4ef86275cae9c5869f4609098c358 18-Jan-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3357208 - List selector shows as dark black on first pressed state" into honeycomb
e0fd2eb2f143b2776b5e1a4e88144fddadd149b1 18-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3357208 - List selector shows as dark black on first pressed state

Make sure AbsListView selector drawable state gets configured on touch.

Change-Id: Ic5863ee05517b426585f59aaf52ba75b72d8c020
bsListView.java
ca29bb28404643574924b972022907006e76ce6f 18-Jan-2011 Joe Onorato <joeo@google.com> Merge "Don't crash with non-standard bitmap types." into honeycomb
f01345e19d6ab39c368d030a7741a06d25b4d2cc 18-Jan-2011 Joe Onorato <joeo@google.com> Don't crash with non-standard bitmap types.

Bug: 3299780
Change-Id: I435c3bedda22395db1b65dc9ff488bfea9069deb
emoteViews.java
aa8d73bfc32eae0340ba5236f3580d88558359ab 17-Jan-2011 Gilles Debunne <debunne@google.com> Added a touch up filter in text selection handles.

This filters the touch up event, so that in case the handles'
position is altered when the finger is lifted up, this unwanted
movement is discarded.

Bug 3282095

Change-Id: Ibfe8f49d979091ba49139449ecc13f47050608d9
extView.java
327fbd2c8fa294b919475feb4c74a74ee1981e02 17-Jan-2011 Dianne Hackborn <hackbod@google.com> Fix a bunch of API review bugs.

3362464 API REVIEW: android.content potpourri
3362445 API REVIEW: Fragment transaction stuff
3362428 API REVIEW: Fragment stuff
3362418 API REVIEW: Loader stuff
3362414 API REVIEW: android.content.pm.ActivityInfo

Change-Id: I6475421a4735759b458acb67df4380cc6234f147
extView.java
181d2e3172f24d8c920cbe4b446e8f938ccdc8bb 17-Jan-2011 Adam Cohen <adamcohen@google.com> Adding instance check to RemoteViewsAdapter getViewAt

Change-Id: Ie99d5aeef6e963c89b62cfd435d1c5cbb1fb6bfa
emoteViewsAdapter.java
e2364b098f00577aa90e63f8bb9b55a99021a5b2 17-Jan-2011 Chris Yerga <yerga@google.com> Merge "Fix content width calculation for Spinner control. The width of the dropdown was only taking into account the width of the items and not background padding." into honeycomb
59cce94eb8cecd484b467d7b855817116e4b13fc 17-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Catching some edge cases while flinging/scrolling in NumberPicker" into honeycomb
6c742f1e95dfe1f808bf02fadd5fbf9660b95050 17-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Catching some edge cases while flinging/scrolling in NumberPicker

1. If the scroll is exactly divisible by the scroll item height
the selector wheell is one off from the current value/text input.

Change-Id: I12721e85a99f6a5b51f5ad6f13c3836cb156c9a4
umberPicker.java
bee8ec2538c75797d9704617411f831945c8da54 17-Jan-2011 Romain Guy <romainguy@google.com> Merge "Prevent NPE when no indicator is specified. Bug #3362349" into honeycomb
875862e3ec85153553ce50acc02863ea0720ccb6 17-Jan-2011 Romain Guy <romainguy@google.com> Prevent NPE when no indicator is specified.
Bug #3362349

Change-Id: Ie15ed9e31fdd4eb72a18471375d8937c50eb1802
xpandableListView.java
3d20c846e45141acfbe9a56f0518ddb7a0bb4cf9 17-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Ensure that no callback is invoked while initializing DatePicker

bug:3360821

1. While my previous change:I3baff68c has partially fixed this bug
it was still possible for a callback to be invoked on init. If a
callback was already regitsered and the init is called the
callback is incorrectly notified.

Change-Id: I05c6cb78f4c7b7d2a00c52aef42c1698d9479be5
atePicker.java
efd0811a31e79aa1d3ee6fcaf8d79304872fcc5e 17-Jan-2011 Chris Yerga <yerga@google.com> Fix content width calculation for Spinner control.
The width of the dropdown was only taking into account
the width of the items and not background padding.

Change-Id: If27291c96191d4ac1f3e9200c6f6f585a19008c3
pinner.java
502045849f760f018f662d752020aef32d4cecd9 17-Jan-2011 Adam Cohen <adamcohen@google.com> Fixing StackView bug (Issue: 3321912)

Change-Id: I3a0e898e53a44146f1970479573880609f545799
tackView.java
c99ff7390d3c3fd7f5dbe773b6a824a877a1b52b 17-Jan-2011 Adam Cohen <adamcohen@google.com> Fixing StackView bugs:

-> Single item in loop mode (Issue: 3290092)
-> ITEMS_SLIDE_UP compatibility (Issue: 3134989)

Change-Id: I7fb662c388bfa57c7837a8a5225d33d839aed404
tackView.java
fb13abd800cd610c7f46815848545feff83e5748 17-Jan-2011 Romain Guy <romainguy@google.com> Fix 9patch rendering in ExpandableListView.

Change-Id: I60843d61a40b0cb7dd09923cb4489a5a76f20486
xpandableListView.java
94677083ab4c56ffef4a8a68d011d19333ab46c2 17-Jan-2011 Romain Guy <romainguy@google.com> Merge "Fix 9patch rendering in ExpandableListView." into honeycomb
fe75749cd9ad2186069037db0238b8596007c4d4 16-Jan-2011 Amith Yamasani <yamasani@google.com> Merge "Fix position and size of searchfield and buttons." into honeycomb
b2e551711aa93a3d296ced6368e895743d43da80 16-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3355197 - Add attribute for fast scroll preview panel text color.

Text color for the fast scroll panel is dependent on its background,
which is already configurable within the theme.

Change-Id: I6ac3018116f078b7567888d75fa34ffd250d2f92
astScroller.java
69d66e00136f67332c992326a7b2eb334eeb32a2 12-Jan-2011 Adam Cohen <adamcohen@google.com> Fixing StackView rotation bugs

Change-Id: Iaf9482734ca73238f82d180700389593df9c7eac
dapterViewAnimator.java
tackView.java
9b2e302ab8dff554fdb4a7f9d005496a655f8f03 14-Jan-2011 Amith Yamasani <yamasani@google.com> Fix position and size of searchfield and buttons.

So that they don't jump around.
Fine tune the padding.

Bug: 3336764
Change-Id: Idb96b2a337cd5e5dbd4a5287ab3b9190b4719b84
earchView.java
ec84c3a189e4aa70aa6ea8ba712e5a4f260a153b 14-Jan-2011 Patrick Dubroy <dubroy@google.com> Allow old view hierarchy to be GC'ed more quickly during rotation.
dapterViewAnimator.java
rogressBar.java
emoteViewsAdapter.java
79303750df0e4d18f51f64c7ef3ca21fca893bbb 14-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3352112 - crash in AbsListView.smoothScrollBy

Change-Id: I00b4e5855a1c0861993670a38ed2cd946fd18594
bsListView.java
783e6c8b3ba7eecac3bdd796b53a1293f9cb1be4 13-Jan-2011 Gilles Debunne <debunne@google.com> Merge "fix for cts DuplicateParentStateEnabled bug with TextViews." into honeycomb
379a51d96f1dc9db2dcc3288d536594c32f4b514 13-Jan-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3242262 - Add queryHint attribute for SearchView" into honeycomb
c0171d5e8ed1aaeaa658aa0d603860f7ada6807a 13-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3242262 - Add queryHint attribute for SearchView

Change-Id: I211b65139622c2a2cba03bd1323e2543b09bb111
earchView.java
fb81703ab11c653a587b652b90ec3b550f500ccf 13-Jan-2011 Gilles Debunne <debunne@google.com> fix for cts DuplicateParentStateEnabled bug with TextViews.

Bug 3347206

Do not add an extra slot in the drawable state for multiline if it
is not needed.

Updated setDuplicateParentStateEnabled documentation.

Change-Id: I95f74284721e25b483e12e9b861e810a55c260b6
extView.java
2f136a874d240cc7e85e8de9c7644a7daa9532da 13-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> DatePicker is calling back its listener on init.

bug:3341515

1.Changed the callbeack registration to follow the spinners
initialization.

Change-Id: I3baff68c295993f975beec2b376af88e32b24e20
atePicker.java
b439221a5aa7c36fedb242ee9180ce46e4ad19b7 13-Jan-2011 Gilles Debunne <debunne@google.com> Merge "QuickContactBadge shows its pressed state" into honeycomb
2ea9aaa2458ca468b8f127d8c69746a009df12a6 13-Jan-2011 Adam Powell <adamp@google.com> Merge "Fix bugs 3077517 and 3309579 - ListView bugs" into honeycomb
4032252c997be9f5d013054dc23ace855007b3a5 13-Jan-2011 Adam Powell <adamp@google.com> Fix bugs 3077517 and 3309579 - ListView bugs

Fix smoothScrollPositionFromTop scrolling too far on reverse scrolls

Fix an invalid touch mode when smoothScrollBy attempts to scroll off
the end of a list
bsListView.java
5cba862628b5f3e69cd05e97f6df6e101ebf4097 13-Jan-2011 Gilles Debunne <debunne@google.com> QuickContactBadge shows its pressed state

Change-Id: I7dfd02cc5c4e0a5ba6a7d65c2c61d650f5aa9249
uickContactBadge.java
54c38bf05da42e40b8726ab2b5a33762081e9345 12-Jan-2011 Gilles Debunne <debunne@google.com> Merge "New QuickContactBadge holo style." into honeycomb
16141478df60093fbf981c420a4f1a19b2e1953b 11-Jan-2011 Gilles Debunne <debunne@google.com> SelectAllOnFocus shows a higlighted text. DO NOT MERGE.

Bug 3201383

Highlighted is different from selected, only the background is modified
and selection mode is not started.

Tapping inside a highlighted text places the cursor. This is especially
useful for WebView and search bar has been modified to select all on focus.

Selection handles time out is no longer needed.

This CL is pretty involved and especially messes up with the terrible
ExtractedTextView, which causes a lot of problem with text selection
across device rotations.

The current implementation works pretty well. It has one problem: the handles
are not displayed when switching to landscape mode with a selected text.

This is still an improvement over the current GB version, where the handles
are not preserved at all across device rotation and where I can find more bugs.

Handles are now hidden when a context menu is displayed.

I can polish this more if we decide to include this in the MR1.

Change-Id: Id10bf2808ff25752efd59a1987e91d609ba478cd
extView.java
2ad2bf232714009586c5163e08754886bdd9ea20 12-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Renaming NumberPicker resources to be consistent." into honeycomb
02d2b3ba9ba830a8147db2739613f7bbb2d0fcbf 11-Jan-2011 Christopher Tate <ctate@google.com> API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"

There will be, in the future, a flag (View.DRAG_FLAG_GLOBAL) that means
for the drag to be cross-application. For now that flag constant is @hide
and furthermore the server-side implementation strips it, enforcing
local-only drags.

Change-Id: I8db840480ab90e18a5b8ecf29d62b4e6eafd405e
extView.java
5220834c6ccdabf949dfe7160548ad378850d71b 12-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Down arrow on the month can end up at the start of the month" into honeycomb
d7419986ca79e5408f247fbfcad2c5dc2966a9e0 12-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Down arrow on the month can end up at the start of the month

bug:3338078

1. The bug was that I was claculating delta month and day from
the current date but was changing the latter in the middle
thus causing inconsistent state.

Change-Id: Id3082b01778fc2b3116aa412aff3f12e9ebf0c97
atePicker.java
012dd5a461f18a2e5dad38c60282fac1c21ff7fe 12-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Renaming NumberPicker resources to be consistent.

1. The resources for the NumberPicker now start with 'numberpicker_' instead of the legacy 'timepicker_'

2. Removed unused resources.

Change-Id: Ide7c61df1936f174b6fffc778cba3a58b324556a
umberPicker.java
16ffa6cb2d31d130bb0b58afca31c461c784ce5d 12-Jan-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3338079 - Dialog styled activity decor" into honeycomb
32aa2c90ee6e12f6c53c7d572d5c02f1d795b8f7 12-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3338079 - Dialog styled activity decor

Fixed a bug in FastScroller that could cause a crash on an empty list
in always-show mode.

Fix holo light button text color

Change-Id: I7b50043d715b9b870eb34808017d743ba64d2e08
astScroller.java
7014b12873068f109f58b9d0ad4116fd8d4bf22f 11-Jan-2011 Leon Scroggins <scroggo@google.com> Find when pressing enter. Call onClickListener in TextView.

Bug:3313519

In Find ActionMode, Enter should call find on page (rather than
advancing focus to the WebView).

In TextView, pass and Enter key down to super, so that the
pressed state can get called properly, and the
onClickListener will fire.

Change-Id: Ia875fa6b5cf02565a0d066a009e68ce97718b032
extView.java
923505803aa248e95b1e0caa5bc83ac824d61194 08-Jan-2011 Gilles Debunne <debunne@google.com> New QuickContactBadge holo style.

The background is removed. A blue triangle is displayed on the lower right corner.
Now theme dependant.

Change-Id: I984ac5185039569bd378af9f15b59d11fd1b5c8f
uickContactBadge.java
dc32a99889045824482f69a3d175d6d5305e392c 11-Jan-2011 Gilles Debunne <debunne@google.com> Blinking runnable is created only if text is editable. DO NOT MERGE.

Change-Id: If85acc73cfa12b6da23d60459a746e1aef51d3aa
extView.java
d5253fae69f9f8752ced3f95dc115ca854167708 11-Jan-2011 Gilles Debunne <debunne@google.com> All runnable are stopped on detach. DO NOT MERGE.

This prevents these runnable from holding a reference to the context
that will prevent it from being garbage collected.

The blinking cursor is especially bad and appears in memore traces.

Change-Id: I8acbfbbfc59975dfd7bcf06e941074ea7dc0b0bc
extView.java
b3ea92235c9ccc1ff295839a8f324dcd1c83dd6f 11-Jan-2011 Jeff Brown <jeffbrown@google.com> Fix NPEs in detached views.

Bug: 3297518
Change-Id: Ife1384f3a5bebbd28a29f97dc6d519f8a0b10ba9
bsListView.java
utoCompleteTextView.java
istPopupWindow.java
opupWindow.java
d94f8c5055713a62dcea0b24a56273fb12442fc0 10-Jan-2011 Gilles Debunne <debunne@google.com> Stop text selection mode when new text replaces selection.

Rationalized the use of hideControllers and stopSelectionActionMode.

Hiding the selection controller should be done exclusively by stoping text selection
mode.

Bug 3322636

Change-Id: I30b4a651aa5fb5a865d636bec495a2b96ef114cd
extView.java
58f750ad145e6920c1c75bed8b333e54d78f3fed 10-Jan-2011 Gilles Debunne <debunne@google.com> Merge "Fix for an NPE in Account settings on long press." into honeycomb
4c8945191c60a92123c3df15a1f0a737a7084449 10-Jan-2011 Adam Cohen <adamcohen@google.com> Merge "Fixing bug where StackView doesn't clip it's children correctly" into honeycomb
488672148c30b17c0ea7fa0f4af3897ad51c566c 09-Jan-2011 Adam Cohen <adamcohen@google.com> Fixing bug where StackView doesn't clip it's children correctly

Change-Id: Icb051fa355c5c1b92f81d56f04efd4f8699c65a4
tackView.java
b0db5940c9c444d79f0bcae6526f390a99c01037 04-Jan-2011 Gilles Debunne <debunne@google.com> Fix for an NPE in Account settings on long press.

Bug 3333512

Change-Id: Ief79e824b86b964598f00ef74c6b5c61c0730242
extView.java
32c3a6929af9d63de3bf45a61be6e1a4bde136d3 10-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3324981 - Inconsistent/buggy FastScroll behavior

The fast scroller now always positions by index position.

Fixed a bug with always-show fast scrollers.

Change-Id: I08586ab2aae9733e78aa823aff711bcc14d2d44d
astScroller.java
d0b8365fcbe891b0bb3b54d345337f60c292d09e 10-Jan-2011 Romain Guy <romainguy@google.com> Return the View that matches the clicked position.
Bug #3323669

Change-Id: If6093885283f962d20bf287ba8b82d7c76f9076c
bsListView.java
f600780bea864c672e01a391b65da65d85045803 09-Jan-2011 Adam Powell <adamp@google.com> Merge "Remove unnecessary log" into honeycomb
1ab74be06cd85ffe12e258df174a46227412f3b2 09-Jan-2011 Adam Powell <adamp@google.com> Remove unnecessary log

Change-Id: I6bb267d7d5f82ae9e1cbe6b022b722ccedc428fd
pinner.java
2b6be701a90a4f0aefefcf8e70feb04722e1bcfe 09-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3312807 - Fix child margin measurement in FrameLayout

Change-Id: I5166d7b2d283c577d5f95a15b1626b068cfa6bc6
rameLayout.java
2ebac69419c5ae9b439178424482ae5ffd3a7e0c 08-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3334437 - require an adapter to measure dropdown content width

Change-Id: I357a2db66db121816091921e47708140958ad507
pinner.java
36d4c3f02b4c3366b965896bc3da8bb332db1a64 07-Jan-2011 Christopher Tate <ctate@google.com> Rename drag "thumbnail" to the drag "shadow"

No functional changes; just a rename of the relevant class/method/parameters.

Change-Id: I55d9ef7c2c17892b0bc99f5da622c281e006b53e
extView.java
539802e782303d5918c0ab0d38f3b8a2e9830431 08-Jan-2011 Joe Onorato <joeo@google.com> Merge "The switch widget didn't work properly until after onMeasure had run." into honeycomb
c3eabb9b6ce7f556313c8e3870d76c5b443f1c51 08-Jan-2011 Joe Onorato <joeo@google.com> The switch widget didn't work properly until after onMeasure had run.

Change-Id: I3259193ca60392ffc133f2ff6479feb8e4ad536e
witch.java
2b55d9030e9ac018659abbcc01ff7e2006b7b43f 07-Jan-2011 Romain Guy <romainguy@google.com> Merge "Don't match wrap_content/match_parent children with child count = 1. Bug #3328711" into honeycomb
a174d7a0d5475dbae2b48f7359abf1637a882896 07-Jan-2011 Romain Guy <romainguy@google.com> Don't match wrap_content/match_parent children with child count = 1.
Bug #3328711

Change-Id: Ic131f2feecbeec4a7250d47193c9794aa70d22ee
rameLayout.java
orizontalScrollView.java
crollView.java
c0dc40628e684398fd258069bcd31eac1e967180 07-Jan-2011 Gilles Debunne <debunne@google.com> Merge "Added support for Unicode surrogate characters in word selection" into honeycomb
0633549799ec02e8aaea3242ea66bd501f3bb604 07-Jan-2011 Gilles Debunne <debunne@google.com> Removed XmlAdapters from frameworks.

Has been moved to samples.

Change-Id: Icc0530d78df9755a4a1fe9314fa557a91da408c6
bsListView.java
dapters.java
79ff914f2183a5f0a4121ef06112409e1c699ae7 07-Jan-2011 Gilles Debunne <debunne@google.com> Added support for Unicode surrogate characters in word selection

Inspired by https://review.source.android.com/#change,16606

Change-Id: I896354f5aba83c1919c008f07b6d0b2abf0b8e01
extView.java
cf70dcb0f76d1175f1d3c31da1c827eb443a323a 07-Jan-2011 Romain Guy <romainguy@google.com> Fix typo bug in FrameLayout's measurement code.
Bug #3327185

Change-Id: If9a897efd8766b158749d053dabee3477bf1b053
rameLayout.java
9456655f93f34a11f4b4696212f2649eed0c35db 06-Jan-2011 Adam Powell <adamp@google.com> Fix a bug that could cause padded lists to draw dividers incorrectly

Change-Id: I6483848c55567f901ac8b1628991de3343bd3f3d
istView.java
a13fc67b8147a1bc8c25d2f28ab027023e339426 06-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3326380 - ListView motion scrolling stops too early when list
is padded

Change-Id: Iaca31e030aefc87f115d5022c2a42aefd73b88ea
bsListView.java
a39b987bb761899636ae1e3669d1343499d04ebd 06-Jan-2011 Adam Powell <adamp@google.com> Fix Holo Spinners

Fix bug 3321329 - Spinner dropdown does not match widget width

Fix a bug in ListPopupWindow where setContentWidth was misbehaving

Add gravity setting to Spinner. This controls the positioning of the
selected item view within the widget. Holo default is left, legacy
default is center.

In dropdown mode, Spinners now WRAP_CONTENT width based on a limited
set of dropdown content. This means the dropdown can display a
reasonable amount of its content without clipping, while matching
width with the Spinner widget itself.

Change-Id: Ia17fd5f71526548408f4ad3b16bde536b0d3b207
istPopupWindow.java
pinner.java
3dbf55c3a2d993b89d0947885061cf8421930639 16-Dec-2010 Gilles Debunne <debunne@google.com> TextView's color transparency is taken into account.

Unless it has a background, the TextView will be able to support
alpha (text, cursor and highlighted text colors).

Background colored spans should be detected and should also multiply
their alpha by mCurrentAlpha.

Bug 3144861

Change-Id: If640895b8c0b25dc00b909a0a118b68fac0cfd76
extView.java
7f3d515f5e7bec65bea5e4e3aeeed716cea90876 05-Jan-2011 Romain Guy <romainguy@google.com> Merge changes Ia8a15db8,I20ac5203

* changes:
Don't enable hardware acceleration when the app owns the surface. Bug #3323096
Make FrameLayout support mixed wrap_content/match_parent children. Bug #3259668
87121accdb0ce318482ac51270763a6faab2ed63 05-Jan-2011 Dianne Hackborn <hackbod@google.com> Some new API cleanup.

- Tweak Fragment docs to match new sample code.
- Make some new attributes public.
- Hide all of the XmlAdapter stuff, since it is not actually being used.

Change-Id: Iae2062f91d1ca0c6b1d656ae948417d3d048482f
dapters.java
9c9573721140c260d4614c7ac58923dcfa0cea22 05-Jan-2011 Romain Guy <romainguy@google.com> Make FrameLayout support mixed wrap_content/match_parent children.
Bug #3259668

If a FrameLayout is measured with an UNSPECIFIED or AT_MOST spec,
it cannot correctly define the size of its children set to
match_parent. This change adds a second measurement pass similar
to what LinearLayout does in the same situation.

Change-Id: I20ac5203c2efc2e559f88b2c9573d4ad7df488b4
rameLayout.java
crollView.java
87380bcaebe63bdcd44828f137b2b2b0ba952f0a 04-Jan-2011 Gilles Debunne <debunne@google.com> Added support for asian characters in text selection.

Inspired by https://review.source.android.com/#change,16606

Test class has been revamped to mimic new behavior: selectCurrentWord
is no longer used to add words to the dictionary. We rely on the suggestion
bar in the IME for that.

Change-Id: I1cb88df54dffb166c75f75fefb743ff55a33519b
extView.java
c0752ee7ce70ee0ebc537a67117e9f5d3b852d2e 23-Dec-2010 Gilles Debunne <debunne@google.com> No spaces are inserted around pasted text when there are already new lines.

Bug 3304489

Change-Id: I3c1bf915a2e20f87ed3cec3c30dbcc884bf6b46f
extView.java
da0a3f03a1eef3fd93266d00aa94f2e1a4f65236 22-Dec-2010 Gilles Debunne <debunne@google.com> Multi-line EditText background is set using a state. Step 2.

See change 86347 for Step 1.

New state_multiline state flag, handled in TextView drawable background drawables.

Change-Id: I230df16c7ddee3296da180fd80ef341a4ac17dc0
extView.java
b2316968cfb96148ebcff268afd32f98150a8869 22-Dec-2010 Gilles Debunne <debunne@google.com> Multi-line EditText background is set using a state.

Step 1/2: remove the previous code that relied on a specific theme attribute.

Bug 3214105

Change-Id: Ib4fc55a9093d64e69ac798ec56503ccdb284cbec
extView.java
c01f3feeb09b96f666c35fa1858ab3034599a452 23-Dec-2010 Gilles Debunne <debunne@google.com> Text selection is preserved upon device rotation.

Note that this used to create problems with ExtractEditText. These potential issues
were not handled in that CL.

Bug 3236848

Change-Id: I4b83ce8f66eba04f34c2faa8e38b83eb992637f0
extView.java
34c0688ceafbeef2648bd2287b3b3c3801679448 03-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Fixed the NumberPicker to adjust to the closest value while scrolling/flinging

Change-Id: I782603d9a187d0ce9196e3fc90f28e372637584c
umberPicker.java
7eab094722af54717859b7dcce3cc050f059e00b 01-Jan-2011 Dianne Hackborn <hackbod@google.com> Fix flicker issue in IME.

When IME is being moved as part of a window going away, it could flicker
as it immediately moves behind the window. Fix this.

Also make the default soft input mode for PopupWindow to be to not change
the IME visibility, since it is a rare pop-up window that should cause your
IME to close.

Change-Id: I0b43e080ad012739e9a3e5842794c778c859ac1a
opupWindow.java
25f84f323c607bbd9133432fd789ba29b2dcd4d4 30-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> 3316147 TimePicker and DatePicker is editable even after the first setEnabled(false).

Change-Id: If800b048973200d249b1f5c62af064392ed98d91
atePicker.java
imePicker.java
e51f94cfe9f97e13dad0e564dfc92b22e70c296d 29-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> Updating the ColandarView javadoc to reflect public attributes

Change-Id: I6cea3af0c310ef8478e7ff9de23e5c40a7063c02
alendarView.java
3d99f5b6ef3ffd9a5912e90c819af204b89afe57 29-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> Merge "3313982 DatePicker/TimePicker allow users to scroll date/time even when disabled."
51c52edad7d40697d7fb2a091f850506fa897643 28-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> 3313982 DatePicker/TimePicker allow users to scroll date/time even when disabled.

Change-Id: I8c28615bfc813dfdddf21c40d84cc7c36f1fd391
alendarView.java
atePicker.java
umberPicker.java
imePicker.java
d173fa3b1cb8e4294aba7564c0171894be6c3c24 23-Dec-2010 Dianne Hackborn <hackbod@google.com> Possible fix to issue #3213749: NPE at...

...android.app.Fragment.startActivityForResult(Fragment.java)

Make sure to remove all pending messages when AbsListView is detached
from its window.

But... that's not enough.

It turns out that when a fragment's views are animating away, they of
course don't get detached until after the animation is done. However
the fragment itself is immediately destroyed, leaving its live views
still going after that.

Here's a possible solution: when fragment manager initiates an animation
on a fragment whose views are being removed, it makes note of that so
it can hold off on destroying the fragment until the animation is over.

There are a lot of interesting race conditions here, if further operations
happen on the fragment while it is being animated. I think the code here
does something sensible, and it does seem to work for the situations I
have tested, but it is hard to know all of the edge cases that may happen.

Change-Id: I4490ce8862a9bb714c7ea54baca3072c62126388
bsListView.java
e9730bf3d2dcbea1879f24c18aaf9810ac57084c 21-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> Adding APIs for setting whether to show week number and setting the start day of week. Cleaned up the code a bit.

Change-Id: Iaa7154c6912a68cd91df3ac881c324096394ea24
alendarView.java
atePicker.java
ayPicker.java
umberPicker.java
imePicker.java
82d731ac5d28fb54c49948116786813a62b07b8b 24-Dec-2010 Ken Wakasa <kwakasa@google.com> Add TYPE_NUMBER_VARIATION_PASSWORD for entering a numeric password.

Also, bug fix in EditoInfo.makeCompatible().

bug: 3296883
Change-Id: Icc663b375cffbe1f4506d1758d624a1acca3576b
extView.java
dd830c21149c336139b28560c0e6fba9f3d0e0fc 23-Dec-2010 Dianne Hackborn <hackbod@google.com> am 60238734: am 2dda21b9: Merge "Another stab at fixing issue #3149290 java.lang.RuntimeException:..." into gingerbread

* commit '6023873463331d30b7ed12942c3323f1b6975ed8':
Another stab at fixing issue #3149290 java.lang.RuntimeException:...
6023873463331d30b7ed12942c3323f1b6975ed8 23-Dec-2010 Dianne Hackborn <hackbod@google.com> am 2dda21b9: Merge "Another stab at fixing issue #3149290 java.lang.RuntimeException:..." into gingerbread

* commit '2dda21b93f8a8e0fb70de44eae826bc68349813c':
Another stab at fixing issue #3149290 java.lang.RuntimeException:...
7becaeea7b220ab6fbe93e35461c7734032e7af4 23-Dec-2010 Dianne Hackborn <hackbod@google.com> Another stab at fixing issue #3149290 java.lang.RuntimeException:...

...Unable to pause activity
{com.android.settings/com.android.settings.applications.StorageUse}

Change-Id: Ibfa28a1c5af50dd150dfcafe71e905426d312643
bsListView.java
28104e1de5595a22a6987181b13ddeb192739afd 20-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> 3298147 DatePicker dialog does not provide mechanism for specifying range from which to select

Change-Id: Ib5dd7db90ccc5b4d984914c481118049ac3648fe
atePicker.java
ayPicker.java
umberPicker.java
c1df907e3950fd8d2efac110edd72ea07b3b441e 22-Dec-2010 Jeff Brown <jeffbrown@google.com> Support invoking key shortcuts using Control.

This enables Select All, Cut, Copy and Paste behavior in TextViews
and provides a general pattern for implementing additional keyboard
accelerators based on Control key shortcuts. The same shortcuts
also apply to menu accelerators.

Bug: 3286262
Change-Id: I7d458ee26abf51e0de1735ce490ce3baf504b471
extView.java
f3895edf4b21e1083b58cdb36b93223ecaa98ca8 21-Dec-2010 Gilles Debunne <debunne@google.com> Links are clickable in TextView when textIsSelectable.

Bug 3299410

Change-Id: I921c9eecbfef1d81b0d0e2ad2129400c58f165a1
extView.java
0e3b8f421dfcc5363f234eb1b76479cb2fb2e8ee 21-Dec-2010 Dianne Hackborn <hackbod@google.com> Fix issue #3301572: onCreateLoader must not be a member class: VolumeMetadataLoader

Also some various cleanup.

Change-Id: I8e8616a86c50c86817f7ec9bb02a5954c1ccd84f
impleCursorAdapter.java
50f784cf2dc2dea8061153ac3a843f60a9d88781 20-Dec-2010 Adam Powell <adamp@google.com> Measure spinner items for sizing the dropdown view.

Only a limited window of items will be measured around the currently
selected item.

Change-Id: Ie0431948fdd564fa4bbeb82dede9e2abebbaee55
pinner.java
fb1b2317aba98ae1ce82a3feef9de4a8b72e4bf1 18-Dec-2010 Adam Cohen <adamcohen@google.com> Merge "Fixing leak in StackView"
c0b53be0c92cc1102c733beef2ada7480950f90e 18-Dec-2010 Adam Cohen <adamcohen@google.com> Fixing leak in StackView

Change-Id: I2a5f340906c38f87a4b280bedcd47624351da467
tackView.java
4e6319b73c85082e18d1c532b86336ddd1f8cfaa 13-Dec-2010 Jeff Brown <jeffbrown@google.com> Add initial support for TAB navigation.

Bug: 3286652
Change-Id: I813a0318b3b8d9c9bc791ea6a2427be11c08de00
bsListView.java
utoCompleteTextView.java
ridView.java
istView.java
earchView.java
extView.java
202ef9e85105c4f5f08cc6f9ede78e155da040c8 18-Dec-2010 Gilles Debunne <debunne@google.com> Merge "AutoLink identified spans are selected when long pressed."
4dfe08632f32a21650b030886e823988b900ed3f 18-Dec-2010 Gilles Debunne <debunne@google.com> AutoLink identified spans are selected when long pressed.

Do not rely on standard word detection for these (which does not work because
of / or . in URL or - in phone numbers).

Various other bug fixes for text selection with autolinks.

Change-Id: I482e99efa980281086ce761b27b3a36579e7cf76
extView.java
9e780c66e9af6ce9fe45563c7c561b6463e91807 18-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> Merge "Bug 3191746. atePicker TimePicker: Dark theme is used in a Light theme app"
bf80562d22b2bbe7944d80d0524c69d0238010cb 18-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> Bug 3191746. atePicker TimePicker: Dark theme is used in a Light theme app

Change-Id: I20d0cca3b78af9db80854a57c88d6cab3b00f555
umberPicker.java
fdcd4084f3975aa4ad93509d40fd4ac065542c2a 18-Dec-2010 Gilles Debunne <debunne@google.com> Merge "Made text selectable even when autolinks are activated."
6ad986419d6e7ad0bbaf89fbe067f47379a58180 18-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> Merge "Bug 3293819. Timepicker is showing single digit for 0, 1, 2 minutes (the rest are fine)"
2b9484f453ef307880a93240bb050b39af72bee2 18-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> Bug 3293819. Timepicker is showing single digit for 0, 1, 2 minutes (the rest are fine)

Change-Id: I55c50857740fc1210c45e9b7fc8905ec2266ed8c
umberPicker.java
cbcb345ccddf8cbb61d58a9f2ecbe0cc9e6d3a6b 18-Dec-2010 Gilles Debunne <debunne@google.com> Made text selectable even when autolinks are activated.

Refactor for canSelectText.

Moved test from onCreate to startTextSelection.

Restored setFocusableInTouchMode needed to start a selection in touch mode.

Bug 3296490

Change-Id: I5c0c31dbebed79fd1f9d80f930cba1019d74f710
extView.java
5eb40a85fb4887501e13cceb5d25bf325cbb2875 17-Dec-2010 Adam Cohen <adamcohen@google.com> Merge "Addressing issues associated RemoteViewsAdapter's service crashes / disconnects"
fb60386b46d0c6216c765c10bd33ac42ca780917 17-Dec-2010 Adam Cohen <adamcohen@google.com> Addressing issues associated RemoteViewsAdapter's service crashes / disconnects

-See issue: 3052667

Change-Id: I95f1cac3defeadc38ac75453d9d59cd1b3cbcc83
bsListView.java
dapterViewAnimator.java
istView.java
emoteViewsAdapter.java
73d032eea9021a0431fe15b3de159ae05f916868 17-Dec-2010 Gilles Debunne <debunne@google.com> Merge "Removed focusableInTouchMode flag for selectable text."
d4bbcbd2dd516108a11acfab1d2d5c0c2f911aad 17-Dec-2010 Chet Haase <chet@google.com> Merge "Fix for TimePicker not redrawing itself."
e12f99984e0a7f0efaab0e221a6b881b8be8d720 17-Dec-2010 Gilles Debunne <debunne@google.com> Removed focusableInTouchMode flag for selectable text.

Change-Id: I7aaa08328cc22d6cd920b3bc2661de79c5fb1402
extView.java
c75ec3324e9e3e6500148cc2978caab90ea962e4 17-Dec-2010 Chet Haase <chet@google.com> Fix for TimePicker not redrawing itself.

The problem was that NumberPicker override View.draw(), but did not
call the superclass version of the method in some situations. This
resulted in the DIRTY flag for the view not getting cleared properly,
and future invalidations not propagating correctly.

The fix was to call super.draw() from NumberPicker.draw().

Change-Id: Ic17215dea86d54b77375494ada124dd6970e3ad6
umberPicker.java
c91893511dc1b9e634648406c9ae61b15476e65d 15-Dec-2010 Dianne Hackborn <hackbod@google.com> Fix issue #3272082: Contacts: when going back from edit view,
list UI is not ready yet

This involves some reworking of Loaders.

Loaders, in particular CursorLoader, are now expected to retain
their current data after being stopped. This allows applications
to keep that data across onStop() -> onStart(), so when the user
returns to the app it doesn't have to wait for the data to reload
and thus cause flicker.

This includes various API changes to better reflect the new
semantics, plus a new LoaderCallbacks method to tell the application
when it is actually time to stop their use of a loader's data.

Note this is somewhat half-done, to help checking in the extensive
application changes that are required without causing build breakage.

Change-Id: Ib4b3bf8185a6da46e7f06ca125521d65e2e380a1
ursorAdapter.java
esourceCursorAdapter.java
impleCursorAdapter.java
73e00df15e07933af06eac50901e50e07f9865bb 17-Dec-2010 Amith Yamasani <yamasani@google.com> Fix SearchView collapse on text input.

Bug: 3291919
Change-Id: I2e510c3f8c4fa520dd100e722896f725ef70b79e
earchView.java
36f43908ae8ef9c45cbbbc6f5c16d4281da77ff7 16-Dec-2010 Adam Cohen <adamcohen@google.com> Changing StackView layout to space items differently

Change-Id: Ia46d28312321b338b4a3aec1df9fa00c645f5b73
tackView.java
4aedb39a49bda340f871c8fac2239de4fe549b03 16-Dec-2010 Amith Yamasani <yamasani@google.com> New SearchView assets and close-button behavior change.

Hide the close button in SearchView when there's no text in it and it's not iconified by default.

Bug: 3275206

Adds Holo.Light theme and fixes the query refinement icon.
earchView.java
066460f3ba78ed22634939e8eaf0544ca9f56380 16-Dec-2010 Gilles Debunne <debunne@google.com> Fix for testAccessTransformationMethod cts test.

Single line textView should impose their number of lines and their
transformation method.

Bug 3289818

Change-Id: If1f1252ded1250e2aff85f1c615cc2e17026ba1d
extView.java
33a8cfb0af2e1d5983bc128007ded21bcc4f2da9 10-Dec-2010 Gilles Debunne <debunne@google.com> Show keyboard when user starts a text selection.

Bug 3266297

Change-Id: I1985ab52ae867c4a6c92279986cd6d0654614118
extView.java
39be4bdd59d00cce10d1090d3b92097f8a5dcfb0 16-Dec-2010 Gilles Debunne <debunne@google.com> Merge "Support custom themes in TabHost."
f02d4e36d7d9a605d40ed5d4775adc3d6743de02 16-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> Merge "Updating the light Date picker theme. Some UI fixes."
99b539f6326a5f0df123b34766becec023bf7a84 15-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> Updating the light Date picker theme. Some UI fixes.

Change-Id: Ic83fdf93868bf86478a1173e82f24ac27f6301bc
ayPicker.java
umberPicker.java
c89d59ce18738d6414309b7afb48c50c4d45de1a 15-Dec-2010 Adam Cohen <adamcohen@google.com> Merge "Fix in StackView layout"
20a1b8f586f3f5795ed00c41338b63390bd1d10f 15-Dec-2010 Adam Cohen <adamcohen@google.com> Fix in StackView layout

Change-Id: I09d9cf52a8301bad78754c7e00f2fd0c6c050045
tackView.java
a8a9ff20dcf5e3fa40e9b5aa69a7e3bf24a3a3d7 15-Dec-2010 Dianne Hackborn <hackbod@google.com> am b32ea255: am 7daaa98c: Merge "Fix issue #3149290: java.lang.RuntimeException: Unable to pause activity" into gingerbread

* commit 'b32ea25529589a77ede8faf278068157107ba897':
Fix issue #3149290: java.lang.RuntimeException: Unable to pause activity
b32ea25529589a77ede8faf278068157107ba897 15-Dec-2010 Dianne Hackborn <hackbod@google.com> am 7daaa98c: Merge "Fix issue #3149290: java.lang.RuntimeException: Unable to pause activity" into gingerbread

* commit '7daaa98c6531373a2a742c1360f0a2795de0619f':
Fix issue #3149290: java.lang.RuntimeException: Unable to pause activity
0e23ab70919739995a2e2612ddd1dfc2ad3bae76 15-Dec-2010 Gilles Debunne <debunne@google.com> Support custom themes in TabHost.

CL 76118 introduced style customized tab layout. However, applications
which tabWidgetStyle has been overriden and does not inherit from
Widget.TabWidget will not be able to access tabLayout. Use the default
holo layout for these.

Bug 3235944

Change-Id: I5666c5ef2886060a2175a3d642b012cdaf0a1d50
abHost.java
80bc16f7dfd9f46e0201ec6386dcf1436ec020d7 15-Dec-2010 Adam Cohen <adamcohen@google.com> Merge "New stack visualization"
99441c45e48abd118bd38da6f0844750a710cd33 15-Dec-2010 Dianne Hackborn <hackbod@google.com> Fix issue #3149290: java.lang.RuntimeException: Unable to pause activity

{com.android.settings/com.android.settings.applications.StorageUse}

AbsListView could call mAdapter.getItemId() if a save state happened
after the data changed but before a layout occurred.

Change-Id: Ica020971dc458dff79b56dd810733e217f4f7da6
bsListView.java
026e121bc35b9012943d8ea86518b51270d0c0ef 13-Dec-2010 Adam Cohen <adamcohen@google.com> New stack visualization

Change-Id: I0c479f92a3682dfb917e00935365dd3e99456daf
tackView.java
34961cc2e5cd483b15dfd1ff1eb33b01b849e0dc 15-Dec-2010 Gilles Debunne <debunne@google.com> Reduced Overfling threshold after many different cefficient tries.

Change-Id: Ib655e73fc75a09c6379883871fabf90793a6cff5
verScroller.java
d7fe27c7221f199979421688aaa8afd84d8dbf68 15-Dec-2010 Adam Powell <adamp@google.com> Merge "Fix bug 3274422 - Prevent pop-in of items in certain lists"
bdccc2d3db85d6489ddf332871ebf082386bae53 15-Dec-2010 Adam Powell <adamp@google.com> Fix bug 3274422 - Prevent pop-in of items in certain lists

Change-Id: Ia4f253b1cb49fbed175d87f8d85fae838a99a614
bsListView.java
96e6b8bfc82e04d06923c372657768b4866e4fb9 14-Dec-2010 Gilles Debunne <debunne@google.com> Remove line height attribute from TextView.

This attribute was introduced in HC and is only partially supported. It should
actually also be used by the layout to be meaningful.

Bug 3223987

Change-Id: Idb47be319a236326f7624fd865466356c19bc342
witch.java
extView.java
2e976df64426c3ffd35f72233f77d5e638e2b595 14-Dec-2010 Jeff Brown <jeffbrown@google.com> Expose split touch API on PopupWindow.

Already exposed the new window flags and layout parameters,
just forgot to make this API visible at the same time.

Bug: 3049580
Change-Id: If8dc3568eb2806fa21881c31b9f879d6045ca890
opupWindow.java
ebd747ffade9bb79077e8474a9c4cb6d9294fe0b 14-Dec-2010 Gilles Debunne <debunne@google.com> Merge "Heterogeneous comment for convertView in getView documentation"
31d48946534c27390916f6ce62e47962a61216ce 14-Dec-2010 Gilles Debunne <debunne@google.com> Removed no longer used longPressCallback in TextView

Change-Id: Iadac5579764ef14c2ec7a677c686a396cedc31fa
extView.java
e1aaf9d76eeb56ba34ba38c921bc0a69548567d7 14-Dec-2010 Gilles Debunne <debunne@google.com> Heterogeneous comment for convertView in getView documentation

Change-Id: I28d6b93600d840e9b3e8bf74d0f14d93c4be4fd9
dapter.java
2bc248b698b17fd333beae828039a8bff7604a9f 14-Dec-2010 Gilles Debunne <debunne@google.com> Off by one index error in word selection

Change-Id: Ia6b14b22cc5cf65a235bcdf7cbec48bd76f74460
extView.java
a3ae4a06569afbbf135692b8d55289117c42b205 14-Dec-2010 Gilles Debunne <debunne@google.com> Make TextView respect the maxLines attribute.

Bug 3186626

Restore some of the changes introduced in CL 78854.

Also added a few comments to the documentation.

Change-Id: I775be85c33ebe4a2384a40b21eec57f34fddcd33
extView.java
97d2dadffeb4f4b2345b0b879708411fd8c1155c 14-Dec-2010 Gilles Debunne <debunne@google.com> Merge "setTextIsSelectable documentation updated."
6f100f3895a4b572e2f1d031867b23ca733e3570 14-Dec-2010 Gilles Debunne <debunne@google.com> setTextIsSelectable documentation updated.

Change-Id: Ib48c3b8bba606d8874b92fe56da99eab4f335056
extView.java
3cd0c571ead0795d6e3d86a2865d51ff35b01c6f 25-Oct-2010 Adam Powell <adamp@google.com> Fix bug 3281956 - Cherry-picked from GB

DO NOT MERGE Fix bug 3124899 - timeout in CTS test
ExpandableListViewBasicTest

A certain sequence of events could cause AbsListView to enter an
infinite event loop. Only report reaching a scroll boundary to the
overscroll code path if the Scroller wants to move further, not if
we're done moving.

Change-Id: Ib61897f619e83b28f08b91e82f2b901cb1739e1a
bsListView.java
128b6ba93d0549fd2beff4482678e1229dc1cf3d 13-Dec-2010 Adam Powell <adamp@google.com> Fix bug 3280187 - ActionMode menu content not getting cleared properly when finishing

Fix bug 3279956 - FastScroller resource loading errors

Change-Id: I224b2b820636f88b09740a511aa0a9c480e54a2f
astScroller.java
086c0611d3680fbc2951f2b469bf78257ef4aed7 11-Dec-2010 Wink Saville <wink@google.com> Fix build.

This change, I80dbccebea11544595935077463ad7737c3392e9, broke the build
I undeprecated two old OverScroller constructors and hid the new one.

Change-Id: I257ebbc6bb432c6487d63ff03725146dd225a8e2
verScroller.java
512b54cf9e01c7ee05fd834bdd1ef77f7d5e8242 11-Dec-2010 Gilles Debunne <debunne@google.com> Merge "TextView's runnable are stopped when the View is detached."
406d09b8a786375fc5a723186f49c52ea2e6a059 11-Dec-2010 Gilles Debunne <debunne@google.com> Merge "Modified OverScroller curves"
7eeba5fad54f7bd043bc1629b2f506e5d6780607 11-Dec-2010 Gilles Debunne <debunne@google.com> TextView's runnable are stopped when the View is detached.

Stopping all Runnable thread that would otherwise keep a reference on the context,
thus preventing the activity to be recycled.

All Runnable are now also lazily created.

Change-Id: Idb93603c20cb3e847ae56eb842c64af6c5b82523
extView.java
05decf6d62be86c4b0f7e36cdef155d29a8c8ae4 11-Dec-2010 Adam Powell <adamp@google.com> Merge "Fix a bug where the fast scroll track would be positioned incorrectly."
2c6196aa557e4eaf09d1ec3ad1347742f7f9f7b5 10-Dec-2010 Adam Powell <adamp@google.com> Fix a bug where the fast scroll track would be positioned
incorrectly.

Make fast scroll theme attributes public.

Fix a bug where always-visible fast scrollers wouldn't appear on small
lists.

Change-Id: I377adf63d2fe88478f77b0b04466c6ae88557efe
bsListView.java
astScroller.java
c35a829b10946fe88b53fd3354b55218ecaff00e 10-Dec-2010 Gilles Debunne <debunne@google.com> Modified OverScroller curves

When OverFlinged, the scroller goes back to the edge using a spline
instead of a parabolic curve. This ensures that the final velocity of
this movement is null, thus removing the visual discontinuity that can
be observed with the current version.

Bouncing coefficient is deprecated. Changed doc accordingly.

New more expressive spline tension tuning coefficients.
These were tuned to match the one used before the refactoring of CL 81532.

Change-Id: I80dbccebea11544595935077463ad7737c3392e9
verScroller.java
aa85a4c8b7abf82c54ecbad29e4266581c65c3f9 07-Dec-2010 Gilles Debunne <debunne@google.com> A long press on the insertion handles triggers the selection.

The distance threshold has to be tuned before this feature can be validated.

Change-Id: I233ebc4a1d2d495279818d34496e8b17bbd76752
extView.java
89d7787454c181d6c501a38fee694f32c4a74c31 10-Dec-2010 Gilles Debunne <debunne@google.com> Merge "Selecting text from a punctuation sign selects previous word."
39fc4a3c7b1e6f7c6b64b8489f7b593daf7039b2 10-Dec-2010 Adam Powell <adamp@google.com> Merge "Fix bug 3257463 - Yes, we SHOULD put the child in the recycler."
22e92e55576e2c723c320824de08d78326379aeb 10-Dec-2010 Adam Powell <adamp@google.com> Fix bug 3257463 - Yes, we SHOULD put the child in the recycler.

This caused an issue where a LinearLayout measuring for the baseline
could cause the fake view for position 0 to be associated with a
different position in the recycler. It gets used later with the wrong
data; bad times.

Change-Id: If273894d46185a550f4efd9f11ef83e0113f0a3c
pinner.java
07a11f4967911cb5fc332b6a73304f20ebf94566 10-Dec-2010 Gilles Debunne <debunne@google.com> Selecting text from a punctuation sign selects previous word.

Cherry picked from a revert in https://android-git.corp.google.com/g/#change,82252

Change-Id: I141bbff2a0f9a8ab40f10c59fc1280b94b38e4b6
extView.java
12d91ce8e3e9b96329860e9fecdf3573ef17b0a1 10-Dec-2010 Gilles Debunne <debunne@google.com> Added visual feedback to text correction.

Change-Id: Id2b85b7b649a59a2666157c7ff540858b1ad403c
extView.java
cf9cf2f40efc4ccf3f73e6fdb07725d9c00c4f91 09-Dec-2010 Gilles Debunne <debunne@google.com> New API in InputConnection to signal IME's text correction.

Scafolding so that the IME team can start working on this feature.

The animation part in the TextView is missing.

Change-Id: I8225538564370fba1500e3539742a8ab79bdd199
extView.java
16bb80af66012cee1625dd4e926c1fbdf87b8670 10-Dec-2010 Adam Powell <adamp@google.com> Fix typo

Change-Id: I59e7009d054e376e4b48bcabb4a7343d0cab4bd1
bsListView.java
20232d0f7ce2220df72dd78bed052f6b4a643f10 09-Dec-2010 Adam Powell <adamp@google.com> Holo scrollbars and related tweaks.

Added setting for placing vertical scrollbars on left or right.

Added setting for showing fast scroll persistently.

Fixed a bug where inset padding was miscalculated for horizontal scroll bars.

Fixed a bug where padded ListViews would draw fading edges incorrectly

Change-Id: I1f8499895272d42598b4b3fd3375301115def461
bsListView.java
astScroller.java
596913ba04baa2c9f77fd6805f8d62728045b69b 09-Dec-2010 Mindy Pereira <mindyp@google.com> Merge "Make sure bottom overscroll feedback takes scrollY into account."
e1be66cdbce9f1bb6aa00bcfc32c1fe6a60e7574 09-Dec-2010 Mindy Pereira <mindyp@google.com> Make sure bottom overscroll feedback takes scrollY into account.

This fixes an issue where the overscroll feedback was rendering
several pixels above the bottom of the list on a flick.

Change-Id: I66160d1b72c04f0273f063910eff995e2b2569f0
bsListView.java
97684ed8dd9ae050288d066ee2b9750822e7d802 09-Dec-2010 Romain Guy <romainguy@google.com> Merge "bug_3259956 and bug_2166704"
f7ae52585538b50617a9057d7579403d49a463a1 09-Dec-2010 Gilles Debunne <debunne@google.com> SelectAllOnFocus text fields do not display the insertion handle when focused.

Change-Id: Ieb0dfe37498a339a781098134f4a0dd7f40193ec
extView.java
a911d4a2b1be7e9ea909a579167826e4a5bac1a3 09-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> bug_3259956 and bug_2166704

Change-Id: I71b4cc3c1111e7a4e78fb276d54a291c22fb2752
atePicker.java
ayPicker.java
umberPicker.java
1c3e3c78def867eedeb06b71e9dbfbaa9ab3c967 09-Dec-2010 Joe Onorato <joeo@google.com> Merge "Make setDrawable work after initialization has occurred."
aa072634630c9515e44890dc302307fa969bbb85 09-Dec-2010 Joe Onorato <joeo@google.com> Make setDrawable work after initialization has occurred.

Change-Id: Id040f69f2fc3402013229114fc3c1b0730eef579
rogressBar.java
882754e8cc5833e19696271d612b4b9eabcc5bb3 09-Dec-2010 Winson Chung <winsonc@google.com> Merge "Modified GridView to report when to small"
edd9508aba83a0e6ed49cce3840783c1c72d1430 08-Dec-2010 Adam Lesinski <adamlesinski@google.com> Modified GridView to report when to small

-With views being able to set MEASURED_STATE_TOO_SMALL
the GridView should do so when the determining its
column widths/stretch modes

Change-Id: Ib8433ffa9e489467ffe7ed8169d4e23d69658c6c
ridView.java
4bfd794475e6fb34c9dfa83d4302e9db365a3709 08-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> Updated the NumberPicker for exposing it into the SDK

Change-Id: I3bd48d0210da8a202b6ff60deecb5d7776f1b73b
atePicker.java
umberPicker.java
imePicker.java
1a94f3b582a75466bb8e73fbff477d837fb88850 08-Dec-2010 Mindy Pereira <mindyp@google.com> Merge "Make horizotnalscrollview and scrollview edgeglows match the new algorithm."
b1297f76351795822c64236c4ce27b97d18e5bca 08-Dec-2010 Mindy Pereira <mindyp@google.com> Make horizotnalscrollview and scrollview edgeglows match the new algorithm.

Instead of going past the left and right sides, the glow now
stretches just to the width of the edge and stops.
For horizontalscrollview, instead of going past the top and bottom,
now stretches just to the height and stops.
Change-Id: I0cc9bdef3ab263b16dd32e088c6b64ff5a8809c8
orizontalScrollView.java
crollView.java
3119fd426d0e975541b1b8207ff13e2cce443c73 08-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> Fixing the build breakage

Change-Id: I8589e5fcdeec127c84d2b419f6ef44d7011a5a6b
atePicker.java
umberPicker.java
imePicker.java
6da7e935f9a36ae2246a5e4ad713e495880b3dea 07-Dec-2010 Gilles Debunne <debunne@google.com> No NPE in Browser when pasting in WebTextView.

Bug 3258790

Change-Id: I25d67ee85babb1bb3e4d05ea7b4e4d3756c60411
extView.java
50f34d14f6dd3411fdbdb6a7b8b285c2b8fdbf5c 04-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> Adding DatePciker widget based on the Calednar team code. Updated DatePciker and DatePickerDialog as the second part of the Time/Date pciker refresh feature.

Change-Id: Id32c614bcd799463ca33bf08fb7d5cf44f8326a6
atePicker.java
ayPicker.java
umberPicker.java
imePicker.java
f48e83b328d47ab8ae8a0bd9bc1a87b127bfb865 07-Dec-2010 Gilles Debunne <debunne@google.com> Fix for Blink in TextView.

The callback is removed when the window is detached. Prevents weak references to
the TextView from being kept.

No longer created for non editable texts (!).

Hiding the cursor handle when cursor is hidden.

Change-Id: Ic92f6cfc5b6ef6460f1edc6b9a564e4153d9c40f
extView.java
5e0ae6765619724f58f4da631e5f40b24b69c089 07-Dec-2010 Adam Powell <adamp@google.com> Fix bug 3259292 - Make FrameLayout respect margins without a gravity setting

Change-Id: I94ebf4064e64daaa547263adbdce86bfb836d55d
rameLayout.java
475593e249c53a8dc43f9cd43f528867c6a4074b 07-Dec-2010 Amith Yamasani <yamasani@google.com> Merge "Prevent SearchView dropdown from showing up when SearchView is hidden."
cf0357639e952a87f0d535c82691919af81f058b 06-Dec-2010 Adam Powell <adamp@google.com> Clean up button bar styles

Change-Id: I65b6600f72b92db024f83b63d3ea91abc1cbb96c
uttonGroup.java
acd8d2d2e7b36c9fb34c2981623d19247fa63860 07-Dec-2010 Amith Yamasani <yamasani@google.com> Prevent SearchView dropdown from showing up when SearchView is hidden.

Bug: 3257833
earchView.java
f0ef665299d795df7905897e1c337e37891dafef 06-Dec-2010 Jean-Baptiste Queru <jbq@google.com> Merge from gingerbread-plus-aosp

Change-Id: I154071687cdd51c28bb377ea3f1e818e96909b56
1cafde04c5003fb58585afa212a103fb96757783 03-Dec-2010 Gilles Debunne <debunne@google.com> Moved Paste popup window up in TextView

Bug 3228601

A tap on the insertion handle displays the paste popup immediately.
Tapping again hides the popup.
Bug 3248651

Change-Id: I5a501b3ebe36e23cbbf0f1b3d588884c6ecd1d56
extView.java
005dd44b756ccd5812ac55f07f93e3e16ce2be0b 06-Dec-2010 Jean-Baptiste Queru <jbq@google.com> am 864b1e00: Merge "NumberPicker: Set formatter local value to US."

* commit '864b1e007dc741ec10c23cabc0271f97a5b8c598':
NumberPicker: Set formatter local value to US.
cb60e2acf6982d40855488cfcc8a64897f0459f7 06-Dec-2010 Gilles Debunne <debunne@google.com> Merge "Made TextView use the new localState API for drag info"
f04f7ae73b0a97eb90797ead07553303d0b383f9 06-Dec-2010 Chen Libao <libao.chen@sonyericsson.com> NumberPicker: Set formatter local value to US.

As the Arabic language formatter would make number "1,2,3" to Arabic
language word means one,two,three, NumberPicker won't like to show
any thing other than numbers, add local settings to US, make the
number 1,2,3

Change-Id: If2d161ac4133f6c9c6e1ec284d6d2fbf01855fa0
umberPicker.java
3f7f7ac30af6ea572aca44df91363cff7fcd9fef 06-Dec-2010 Adam Powell <adamp@google.com> Add dividers to action bar navigation. Lighter dividers for holo themes.

Change-Id: I879dbd815a891fe5db20678b674a9cee63a5e1ae
inearLayout.java
da13dbae6fe0619101433ac861da460b8be63a36 05-Dec-2010 Adam Powell <adamp@google.com> Fix bug 3214215 - ListView should stay scrolled to the bottom in transcript mode after a resize

Change-Id: Iaccc61d9b38e7add44216f3e39b196623773af91
bsListView.java
26e30bb7fe373ad4bb569a5de2577e0c857e7c27 04-Dec-2010 Adam Cohen <adamcohen@google.com> Preventing StackView auto-advance during / near interaction

Change-Id: Ieea5492933b87f1eb30703a23c90f53869f92c20
tackView.java
aaa8479a97742c71a1be0c003b725becda68f76b 03-Dec-2010 Gilles Debunne <debunne@google.com> Made TextView use the new localState API for drag info

Change-Id: I5448bd45d20fab5a541382e101556f5c9d8ea1e4
extView.java
483854820945ae8b4e4512b696cce7da92deed20 03-Dec-2010 Amith Yamasani <yamasani@google.com> Added to SearchView : getQuery() and setOnSearchClickListener()

Bug: 3083393
Bug: 3172295
earchView.java
968ec938399033d280b1648123104ac567f2a093 02-Dec-2010 Amith Yamasani <yamasani@google.com> Use SearchView in SearchDialog for legacy apps using the old model.

Bug: 3140925

Removed all the code from SearchDialog that is already in SearchView
and moved more stuff into SearchView.

SearchDialog layout changed to be more like a Holo.Light themed action mode.
Search field is right justified and limited to 500dip.

Zero query dropdown added to SearchView (causing some problems with Gmail,
but that may be an existing issue that's only now showing up due to this change)

Holo.Light search views assets still need to be updated, as the contrast is too low.
earchView.java
189ee18d6c6483ad63cc864267328259e2e00b95 03-Dec-2010 Dianne Hackborn <hackbod@google.com> Implement smarter sizing of WRAP_CONTENT windows.

This extends the view hierarchy's measure pass to allow view to
propagate up to their parent additional information besides just
their measured size. They can now report that their measured width
and/or height should be larger than the size their parent is
limiting them to (even though by definition they need to contrain
their reported measurements to the limits imposed by the parent).

ViewRoot uses this information to determine if it should remeasure
the window with a larger size limit to try to make it fit.

Change-Id: I90af3b7a8ec45d0a5c003fb009857025209d83eb
bsSeekBar.java
bsSpinner.java
bsoluteLayout.java
dapterViewAnimator.java
nalogClock.java
uttonGroup.java
rameLayout.java
allery.java
ridView.java
mageView.java
inearLayout.java
istView.java
rogressBar.java
atingBar.java
pinner.java
tackView.java
witch.java
2e585f7e22efef11dc6af36acfbf1c3040d6a511 02-Dec-2010 Joe Onorato <joeo@google.com> Make AbsSeekBar support having setThumb called after initialization is done.

Change-Id: Ic7c2e1a4ec067f50a95aaff924bbd7bc453a575f
bsSeekBar.java
f4dceb19465dd708bc87e82cd071d56d370acdeb 02-Dec-2010 Gilles Debunne <debunne@google.com> Customized text selection action mode.

Refactored to use a custom Callback instance instead.

This instance can be shared by different TextView, which no longer have to
be overloaded.

Change-Id: I4749905d8e2057dab2b3ded62bd7c388d13d4e57
extView.java
eeb55e673feca137bd0106ca31f9b68509a4ae36 02-Dec-2010 Romain Guy <romainguy@google.com> Don't reset ListView when changing the divider drawable.
Bug #3245172

Change-Id: I36e20bc63e503ffff9c2354e7cc48e5574bb0c4a
istView.java
fcca00accb923d3cbda4e0d6f5540b10e8279cd2 01-Dec-2010 Adam Powell <adamp@google.com> Update themes; dialogs, metrics

Add divider attributes to LinearLayout, plus styles for borderless
buttons. Update text field assets.

Change-Id: I673acab1692cc028a0327e8c154069253a4d52e8
inearLayout.java
407b4e91fe7627545b8110e683953353236b4543 01-Dec-2010 Christopher Tate <ctate@google.com> API CHANGE: drags can now carry an originator-only object payload

When calling startDrag(), the app can now supply an Object to be passed
along in every DragEvent that the app winds up receiving itself. This
object is *not* passed to any other applications; it's strictly app-
local. The purpose is to allow state tracking/management to be done
directly through the drag mechanism rather than requiring out-of-band
code.

An example of the utility here might be TextEdit widgets. A drag that
starts in one TextEdit but ends in a different one should be treated as
a copy/paste operation, where the originating TextEdit is not altered.
However, a drag that starts and ends in the *same* TextEdit is a 'move'
operation within that TextEdit; the text is removed from its original
position and inserted at the drop point. To support this easily, the
drag/drop code in TextEdit can now pass a pointer to the originating
view as the local state object. Then, the drop recipient could tell
whether the drag started within the same TextEdit without needing to
implement any other out-of-band state tracking.

This CL (and its accompanying CLs in a few other packages where the
startDrag() API is being used) adds the new local-state parameter to
the API, but does not actually change the behavior of any existing
clients.

Change-Id: Icba73b2ab4a650b7a94485a19633065b0ef9058c
extView.java
2825366c5653659939db1e98aaf8e130cdfd9d96 01-Dec-2010 Gilles Debunne <debunne@google.com> A double tap starts selection when done on text only.

Change-Id: Id758645d1ebf482a09e35b158e8665d1153db498
extView.java
2226a19f7001d5fc807bfd2284cc7eb7715605ce 01-Dec-2010 Gilles Debunne <debunne@google.com> Refactor onDrop in TextView

Change-Id: Ied80565852a452c15c7b7a66cbb05965bead04cd
extView.java
fff4ab09b6c69e437537f322aaca7829f009ff1d 24-Nov-2010 Gilles Debunne <debunne@google.com> Refactored OverScroller

Restored the interpolator and a constructor with 4 parameters.

New spline coefficients, spline computation moved to MagneticOverScroller, which has been
renamed SplineOverScroller.

Change-Id: If1ab2653bb998600e9c5d6f46dfd6cd30fa44efc
verScroller.java
0eb704ca7a0844186e0755e86bc4afc23297797d 30-Nov-2010 Gilles Debunne <debunne@google.com> Tap inside text selection dismisses selection.

Change-Id: I8ccc952940d3f1b3a52d506f750019a892380f40
extView.java
8e06a63099ffe55f49c5a81aa13113c5c24f78cf 30-Nov-2010 Gilles Debunne <debunne@google.com> Selection in URL, email, phone, date, numbers selects all

Change-Id: Ide3603404f356564e294b7698b52c2d55e314db9
extView.java
d803cdef9a3d41d26fbc39aceec94f15199f56e6 30-Nov-2010 Gilles Debunne <debunne@google.com> Selection handles no longer fade out.

This fade out was mainly introduced for forms with selectAllOnFocus fields, where
is hide some content. These no longer trigger selection mode and hence do not display
the handles.

Handles will be visible as long as selection mode goes on.

Change-Id: Ib8c2cc97308a91722f69aa0bb0caccb21d94c2c4
extView.java
d1dc72a08193f3e74b21473541379b74124d68a8 30-Nov-2010 Gilles Debunne <debunne@google.com> Long press in empty space stops text selection

Bug 3240058

Change-Id: I888ee691a0fdc89895db43f9ed01acebf7a0b6d3
extView.java
458f4633b84c0a2303a1dc764dca8dcee803e838 30-Nov-2010 Gilles Debunne <debunne@google.com> Merge "Dragging inside the same TextView is a move instead of a copy."
12190b36a9da88f8db7dbd9ce16d127d76a904b7 29-Nov-2010 Adam Powell <adamp@google.com> Add the Switch widget

Switch is hidden currently; it will be used in SystemUI and preferences.

Change-Id: I2cd8458783f938f00f5ee5e7a67fb5a90404797d
witch.java
4ae0f29d26825b468ad9d38ef12a121572410646 29-Nov-2010 Gilles Debunne <debunne@google.com> Dragging inside the same TextView is a move instead of a copy.

Change-Id: I0edbe601455a951354e8671b8bd4d7e6afd6f439
extView.java
6d95662f98f4d61e31df8a01ac2e84870a21439e 29-Nov-2010 Romain Guy <romainguy@google.com> Put @ViewDebug.ExportedProperty back on TextView.mText

Change-Id: I68d36ebad07b4ad828c245e1d57ebe0effcc4239
extView.java
206316a61f904ea0a6b106137dd7715a2c246d4c 19-Nov-2010 Svetoslav Ganov <svetoslavganov@google.com> New Number picker widget

Change-Id: I834e725b58682e7a48cc3f3302c93c57b35d4e27
umberPicker.java
umberPickerButton.java
imePicker.java
8df09a0906f2b5307864eee6294eabbae11c7804 29-Nov-2010 Gilles Debunne <debunne@google.com> SelectAllOnFocus switches to highlighted mode, not text selection mode

Change-Id: Ia0adf561f207e0a82d9588471823da7f5b2f1799
extView.java
f076eebd0537561e3d7888c92edaa8b98d82b11c 29-Nov-2010 Gilles Debunne <debunne@google.com> Restore isTextEditable() method meaning.

Change-Id: I52a4e71026396b27ed804d94e8373487a2645212
extView.java
0a2aa4036382c1fc42f7cde5fd10049c9f247b21 25-Nov-2010 Gilles Debunne <debunne@google.com> Paste popup shows up after a delay on tap. Immediately if there is a recent copy/cut.

Change-Id: Ib13f7731eb9b25c39c1b962763b3d16310fe2923
extView.java
2a7f346ff110bf2588c27036fd1c86db8e4ea9a8 25-Nov-2010 Gilles Debunne <debunne@google.com> Handle hiding timer reset on every move.

updatePosition is the centralized place where this should happen.

Change-Id: If4aab404ab0f3988af96b8d2cb1b41f39f4afa50
extView.java
c4440f039e82d44628146a9f39be7c1fb2d7b792 24-Nov-2010 Gilles Debunne <debunne@google.com> Lazy creation of selection and insertion handles.

Change-Id: I960f6988e8f4c6f933a40fca7dc860e58a6b67d3
extView.java
4e30d89ceda832300f80bf73f4f58cd2b51bf112 25-Nov-2010 Mindy Pereira <mindyp@google.com> Per designers, update the algorithm for when effect is clipped or stretched.

New algo is:
1) if view width < MIN_WIDTH (currently 300px), clip glow and edge to fit
2) else stretch glow and edge to fill width
3) make alpha and height of edge and glow 30% "more intense"

Change-Id: I8f121bb165a8fb835bc33950dbedd1bc80c5df65
bsListView.java
dgeGlow.java
orizontalScrollView.java
crollView.java
2880294cc6c7dad418b553f856b85aef112c6432 24-Nov-2010 Gilles Debunne <debunne@google.com> Lazily create the paste popup window.

Change-Id: I271a790bd652cdcdc221896ede9f99858a24cc7a
extView.java
9948ad7b374a152e9794e6800e55872a8f69708b 24-Nov-2010 Gilles Debunne <debunne@google.com> Long press in empty space moves cursor and shows Paste affordance.

Change-Id: I487e9028201a90da76dff5390a64d2d57e7723ea
extView.java
e587d838e9c7163ffd0a36f242f73c11e991e924 24-Nov-2010 Gilles Debunne <debunne@google.com> Comments on lazy controllers initialization.

Also a couple of bug fixes where the field value was used instead of the
get method().

Change-Id: Ia2c63158febc136065a6e12755c88e6d23ce6cc1
extView.java
af150b5bbd38209b0a822bc633dc937ce771711e 24-Nov-2010 Gilles Debunne <debunne@google.com> Merge "Long press starts a new selection if one is already started."
710a910e73c2b62d55296be53f4576d53ed2ff97 24-Nov-2010 Gilles Debunne <debunne@google.com> Long press starts a new selection if one is already started.

Change-Id: Ide525ff0021cf145bb5d2b8db2d09b7b7909289b
extView.java
ce81f3a955a0e77e44e1f76c976905ec2a52c1d0 22-Nov-2010 Brad Fitzpatrick <bradfitz@android.com> StrictMode.Span annotations for ScrollView.

Between the animation system, ListView, and this, we can now account
for the large majority of animations in-flight at any point and annotate
StrictMode violations accordingly.

Note that StrictMode.Span goes out of its way to not allocate memory
and is very light-weight, especially on user builds where it's a
no-op.

I've tested this with the LOG_V debugging in StrictMode and I think
I've gotten all the entry/exit cases of ScrollView's animations. At
least, I'm not able to get it out-of-sync at least, even with
orientation changes during scroll/fling, etc. It's possible I missed
a path, but that should show up as excessive false positives during
dropbox uploads if so.

Change-Id: I3b0545111a775d9fa8e171f2a190031f1b56c4c0
crollView.java
a5531d784b9b79fe3bf9b30d99e9c99ea3947c6d 23-Nov-2010 Mindy Pereira <mindyp@google.com> Update edge and glow rendering to match new specs.

Change-Id: Id2ad0ff4fa78617cb79475952e9ce561ee8fec10
bsListView.java
dgeGlow.java
637d337b58d8eec6de19230a5dd5ca5581c0478d 25-Aug-2010 Adam Powell <adamp@google.com> Merge overscrolling from gingerbread.

Change-Id: I3eb4413261b38ddd8c609d6153bdfd4ae46c6a0f
bsListView.java
dgeGlow.java
ridView.java
orizontalScrollView.java
istView.java
verScroller.java
crollView.java
croller.java
1ca562635117e10fae0888689909e6c39d66b0a4 18-Nov-2010 Leon Scroggins <scroggo@google.com> Alter the Layout of WebTextView to match webkit.

Bug:3085564

In order to treat the selection handles properly, the text in
WebTextView needs to line up with the text in webkit. Use the
line spacing style, or the paint if none provided, to determine
the spacing for WebTextView's Layout. When no line spacing is
provided, use the floating point values of ascent and descent,
rather than the rounded result, to determine spacing.

Requires a change in external/webkit:
https://android-git.corp.google.com/g/#change,80641

Change-Id: I51081835e128a0e938028c7c7aeb5111aa5f072c
extView.java
b43d6a30ad1e7bf0e64192a1f144b3fe1bcf7f95 20-Nov-2010 Erik <epastern@google.com> b/3215774 Fix scrollMode notifications

When transitioning from a fling to a touch the mode was being set
to idle instead of ending up in scroll. This corrects the
notifications to get sent in the correct order.

Change-Id: Ideed6e4064b2be62788307f4232015fa88e101b4
bsListView.java
77b25a34a2ada61ec796fd1dc2ae3b75e0c039bb 19-Nov-2010 Gilles Debunne <debunne@google.com> Keyboard is not displayed when selecting read-only text.

Change-Id: Id8d1fb7ebd85a36a1e587b4e2bbbabf82aa1bdd7
extView.java
5e9d94505bd7d4e294bfe309db25e293164e2d29 19-Nov-2010 Brad Fitzpatrick <bradfitz@android.com> Fix AbsListView StrictMode.Span end point on flings.

Noticed after logs showed a ton of false positives, I went back and
looked at the history. During the review of the previous CL, I
accidentally moved the finish() of the fling animation tracking inside
the PROFILE_FLINGING block, which is normally off.

Re-tested this CL with StrictMode debugging enabled and it now always
propertly resets to 0 animations in flight when no animations are
running.

Change-Id: Ie9746df36e2ec3f82679b20e91e3d93c05b863d4
bsListView.java
9c950b41c5531e6735f3d13f5b46ae89d59b3b8c 19-Nov-2010 Kenny Root <kroot@google.com> Merge "Use different version of CLDR data in DatePicker"
9c295482dd739e80dd49ea0dd3102ad6be6742dd 19-Nov-2010 Adam Cohen <adamcohen@google.com> Fixing issue #3200503

-StackView was using the wrong view to draw the click feedback

Change-Id: Ibb0a24af2d740fd1e3f6a6345518d730b66673f4
tackView.java
6b53e8daa69cba1a2a5a7c95a01e37ce9c53226c 11-Nov-2010 Jeff Brown <jeffbrown@google.com> Added support for full PC-style keyboards.

BREAKING CHANGE: Redesigned the key character map format to
accomodate full keyboards with more comprehensive suite of modifiers.
Old key character maps will not work anymore and must be updated.
The new format is plain text only and it not compiled to a binary
file (so the "kcm" tool will be removed in a subsequent check-in).

Added FULL keyboard type to support full PC-style keyboards.

Added SPECIAL_FUNCTION keyboard type to support special function
keypads that do not have any printable keys suitable for typing
and only have keys like HOME and POWER

Added a special VIRTUAL_KEYBOARD device id convention that maps
to a virtual keyboard with a fixed known layout. This is designed
to work around issues injecting input events on devices whose
built-in keyboard does not have a useful key character map (ie.
when the built-in keyboard is a special function keyboard only.)

Modified several places where events were being synthesized
to use the virtual keyboard.

Removed support for the "qwerty" default layout.
The new default layout is "Generic". For the most part "qwerty"
was being used as a backstop in case the built-in keyboard did
not have a key character map (probably because it was a special
function keypad) and the framework needed to be able to inject
key events anyways. The latter issue is resolved by using the
special VIRTUAL_KEYBOARD device instead of BUILT_IN_KEYBOARD.

Added the concept of a key modifier behavior so that
MetaKeyKeyListener can distinguish between keyboards that use
chorded vs. toggled modifiers.

Wrote more robust key layout and key character map parsers
to enable support for new keyboard features and user installable
key maps.

Fixed a bug in InputReader generating key ups when keys
are released out of sequence.

Updated tons of documentation.

Currently QwertyKeyListener is being used for full keyboards
with autotext and capitalization disabled. This mostly works
but causes some problems with character pickers, etc.
These issues will be resolved in subsequent changes.

Change-Id: Ica48f6097a551141c215bc0d2c6f7b3fb634d354
ialerFilter.java
extView.java
04cdb78c6a2ac66505d0b29033353cfd7e2c3d78 15-Nov-2010 Gilles Debunne <debunne@google.com> New spline physics for list fling motion.

Change-Id: I72216acb29f1cd475682141701e1f2e56f52d527
croller.java
8c3e0fc84f69e9fe704dc20dd6c2bab1ce43fe93 18-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3207067 - adjust AbsListView content pop-in when clipToPadding=false

Known issue: Dividers are not drawn on top. This should be handled
once overscroll is merged in.

Change-Id: I778703601183f919e7c4345cfc4af6036b4ada4e
bsListView.java
ridView.java
istView.java
d348bb4feff72d047a1037537be2d334a00c380c 15-Nov-2010 Gilles Debunne <debunne@google.com> Changes to scrolling physics

Spline curve for Scroller fling motion (debunne)

Flywheel motion for AbsListView

Change-Id: Ic1f226878745ff4c302dc6bd0752868fa182dd7b
bsListView.java
croller.java
4a0d0b34b244b5b730e861d875e7ae289cbb3311 17-Nov-2010 Gilles Debunne <debunne@google.com> Fix for disappearing background in buttons.

Change-Id: I7c7058ee8a292e73c25ba8c3e8d46899b7296c1e
extView.java
aaf12770b8a856a32739bd3ae76fd3eb870e0132 17-Nov-2010 Brad Fitzpatrick <bradfitz@android.com> Merge "Annotate ListView with StrictMode.Span"
1cc13b6d1cc7203ad126b0708f0bf697e111264f 17-Nov-2010 Brad Fitzpatrick <bradfitz@android.com> Annotate ListView with StrictMode.Span

Change-Id: Ibee1bfa73c85dac2e8103eb5900f0609cbb30ee7
bsListView.java
eb4e475d94565149fd782c2f6141854b5e8cffe9 17-Nov-2010 Patrick Dubroy <dubroy@google.com> Merge "Reduce amount of garbage created when flipping StackViews"
1d1e1105ad2497ba51930b75eea0a5e819044b43 17-Nov-2010 Svetoslav Ganov <svetoslavganov@google.com> 3049240 TalkBack on Accessibility Options reads out passwords entered in during Lock screen

Change-Id: I70b29611d798df1da10e0e950154ef5f49aba7c5
extView.java
e80202d5c3c2a45cc34976e09958883e5366f1bb 17-Nov-2010 Patrick Dubroy <dubroy@google.com> Reduce amount of garbage created when flipping StackViews
tackView.java
c50f1505aa17a27d9063218335db55d71ba42e09 16-Nov-2010 Gilles Debunne <debunne@google.com> Merge "Multiline EditText have top and bottom brackets to differentiate from single line."
0046bd8ea6f56b632fd7b9c4c33e22f57232bcbc 16-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3192412 - ListView doesn't reportScrollStateChange properly
for programmatic scrolls

Allow for onScrollStateChanged implementations that end up changing
scroll state again.

Change-Id: I53105f5be708bacc0d3ec8e76ba1cc22f4131467
bsListView.java
fe4d5defd07962d622182bcc9a4eb8027ba23e8d 01-Nov-2010 Gilles Debunne <debunne@google.com> Multiline EditText have top and bottom brackets to differentiate from single line.

Change-Id: Iab6da75e7a823018221399c0b03dd47f7f768f21
extView.java
9947b3218504a22e5575ab0e97a98d13c6ced468 16-Nov-2010 Gilles Debunne <debunne@google.com> Merge "Cherry-pick Ib76a95d9e7669016cf11b8b0add8843b438068ea from gingerbread"
965b9699f1f21b5e6236b194f4601134106e6b53 22-Oct-2010 Adam Powell <adamp@google.com> Cherry-pick Ib76a95d9e7669016cf11b8b0add8843b438068ea from gingerbread

DO NOT MERGE Fix bug 3121030 - Text handles erroneously appear over
extract mode IME window

Make the SelectionModifierCursorController track its show/hide state
more accurately in the presence of an extract mode IME.

Lazily initialize CursorControllers so that we don't end up creating
them for various TextViews where they are not needed.

Change-Id: I3dce7535db3a1bd25ed9899406de47b00058e665
extView.java
dddda8d188408ff18935b1b0e15a00fe012a03da 15-Nov-2010 Kenny Root <kroot@google.com> Use different version of CLDR data in DatePicker

The ICU CLDR data doesn't use the month abbreviations that are
appropriate for the DatePicker, so use the framework copy of the CLDR
data.

Bug: 2641810
Change-Id: Ic0f7b461b43c76dfa3f8b73a9479b79df230d7bd
atePicker.java
64f1163084433952766eed31dbd26df420ba6cfb 15-Nov-2010 Joe Onorato <joeo@google.com> Merge "The beginnings of the new status bar."
fd52b18d9bf3cd62c7a07058536e9f97db65beea 11-Nov-2010 Joe Onorato <joeo@google.com> The beginnings of the new status bar.

There is a lot of rough stuff still, but most of the functionality is here again.

Change-Id: I4b1241e61270f1434e798481afa83634233ee670
mageView.java
ee4a7d86823605e98711d46adb9b7ed302f82346 15-Nov-2010 Adam Cohen <adamcohen@google.com> Merge "Fix for Issue: 3196583"
490127df193ecaa4dacf241a1a6b72ed6e5b0a0f 15-Nov-2010 Adam Cohen <adamcohen@google.com> Fix for Issue: 3196583

Change-Id: I7878cf41274d4f5885d6179f3072a3be05386075
emoteViewsAdapter.java
c86b5a6af931fb0b7fae0a5a471b6dc6ad7ef42a 15-Nov-2010 Adam Cohen <adamcohen@google.com> Merge "Adding click feedback to StackView"
6af97e1c20df4d7010fafd7059c95d9b4113e4a6 12-Nov-2010 Adam Powell <adamp@google.com> Revised assets for progress bars and indeterminate progress spinners.

Add support in ActionBar for activity-wide progress APIs.

Add ability for progress bars to set a target framerate rather than
the 5fps previously used.

Clean up some more dialog layouts using hardcoded styles rather than
theme attributes.

Change-Id: I8e88c7595e27c0b6f7829b598f2b084ac8501ae3
rogressBar.java
8baf5df0fa5b3453a7f17e95746c5d8cadc00163 12-Nov-2010 Adam Cohen <adamcohen@google.com> Adding click feedback to StackView

Change-Id: If163d144c96607c53299877e5d99747530c281fe
tackView.java
46e75294d540fe807d78aec2582ae02cc38c7d42 11-Nov-2010 Jeff Brown <jeffbrown@google.com> Enable touch splitting for all windows by default.

New default only applies to applications with targetSdkVersion >=
HONEYCOMB. Old applications default to no touch splitting for
their windows.

In addition, enabled split touch for various system windows.

Bug: 3049580
Change-Id: Idc8da9baa2cd8e1e4e76af8967d7b6a5ccb94427
ediaController.java
opupWindow.java
e7b73d297499bd71bc556aeaf5129f565b90599c 12-Nov-2010 Gilles Debunne <debunne@google.com> Merge "Added a flag for TextView that allows for text selection in read-only TextViews."
176116aa60d57bce10fa1eaa491c3cc654c5c4c2 12-Nov-2010 Adam Cohen <adamcohen@google.com> Merge "-Prevent StackView from advancing while interacting with it -Fixed null pointer exception Change-Id: I294a0d055de51573d79219ef469c8df6ab04a297"
86b9c78e3e4ecf56cd999faaf3f67d66137b2f05 11-Nov-2010 Gilles Debunne <debunne@google.com> Added a flag for TextView that allows for text selection in read-only TextViews.

Bug 3101642

Change-Id: I5538e507043c89b02c07f3e1c1abc74a93467427
extView.java
0ac116b688380489c3690f6f65b282990c221f17 11-Nov-2010 Adam Cohen <adamcohen@google.com> -Prevent StackView from advancing while interacting with it
-Fixed null pointer exception
Change-Id: I294a0d055de51573d79219ef469c8df6ab04a297
dapterViewAnimator.java
tackView.java
d7483bfffcbbd4715a9e3cc2c704fb702ec529bf 10-Nov-2010 Gilles Debunne <debunne@google.com> Lock screen should not display password.

Bug 3179062

Problem was introduced in CL 78854: changing the keyListener should not
change the transformation method.

mInputType changes are brittle. It is often reset to TYPE_CLASS_TEXT or to
mInput.getInputType(). The TYPE_TEXT_FLAG_MULTI_LINE and TYPE_TEXT_VARIATION_PASSWORD
variation are then added back based on the previous state. But this is not consistent,
and sometimes, only one of those is set.

This should be refactored if a bug is found in what seems to work correclty at the moment.

Change-Id: Ie251ec7db0ce0af4a07564b0dbb53465e6f361c6
extView.java
f170a345b3effa57a545938f4624d9c7142694f5 11-Nov-2010 Gilles Debunne <debunne@google.com> Added drag and drop functionality in TextViews

Basic implementation. The finger is currently hiding the insertion position.
An offset has to be added in DragThumbnailBuilder to prevent this.

Change-Id: I4207c337a2a31162063fba191a5eb5d5856b24cf
extView.java
f0504eb47001d691850866088449fc6352c7ef8d 11-Nov-2010 Adam Cohen <adamcohen@google.com> Merge "Adding widget auto-advance capability"
a02fdf1ba03fad71cc80a89dfc74b17456d5b4a5 03-Nov-2010 Adam Cohen <adamcohen@google.com> Adding widget auto-advance capability

Change-Id: I058573f40a48fd7b5c2efa5f1041a1199919a51a
dapterViewAnimator.java
dapterViewFlipper.java
dvanceable.java
tackView.java
0785279dad89d90564f42beb2c4620bf387a966e 11-Nov-2010 Adam Powell <adamp@google.com> Refine AbsListView transcript mode behavior.

Make transcript mode only scroll to the bottom if the last item is
already scrolled fully to the bottom when the change occurs Before
this, transcript mode would cause a list to scroll to the bottom as
long as the last item in the adapter was visible at all. Long items
would make this behave unexpectedly.

Change-Id: Ia6a52c969ea6d50653cf2b8cd4dc30ba517cf803
bsListView.java
5ee0c8832fdfc7a059f52ad4e8b6d2a78f694f3e 10-Nov-2010 Owen Lin <owenlin@google.com> am 8ffb135d: am 45ca778d: Merge "Make sure the controller will get repositioned after size changing." into gingerbread

* commit '8ffb135dc892c09f1781231f783b0890515b3d60':
Make sure the controller will get repositioned after size changing.
8ffb135dc892c09f1781231f783b0890515b3d60 10-Nov-2010 Owen Lin <owenlin@google.com> am 45ca778d: Merge "Make sure the controller will get repositioned after size changing." into gingerbread

* commit '45ca778d8ed90aff3f72fc85f806cedbd4121cc1':
Make sure the controller will get repositioned after size changing.
45ca778d8ed90aff3f72fc85f806cedbd4121cc1 10-Nov-2010 Owen Lin <owenlin@google.com> Merge "Make sure the controller will get repositioned after size changing." into gingerbread
2d2f10fa3412adc07a08c25ba5d2df600fb654bf 09-Nov-2010 Jesse Wilson <jessewilson@google.com> am 28c74257: Add @Deprecated to match @deprecated where it\'s missing.

* commit '28c742573ccaeb55c16bc02fb25fdd86b8d1f76a':
Add @Deprecated to match @deprecated where it's missing.
28c742573ccaeb55c16bc02fb25fdd86b8d1f76a 04-Nov-2010 Jesse Wilson <jessewilson@google.com> Add @Deprecated to match @deprecated where it's missing.

Change-Id: Ice95022671968386a601f32df7850f9baa1d2dd0
istView.java
a8381dfc5ee60dcf99dfd16a840f746cd7cb42ab 09-Nov-2010 Owen Lin <owenlin@google.com> Make sure the controller will get repositioned after size changing.

Bug: 3177061
Change-Id: I8f9606d4e05146ba568e8fe370cfe115dadedab9
ideoView.java
dd11387e580343cf053df03a955e042f4ee445d7 09-Nov-2010 Adam Powell <adamp@google.com> Fix typo in manual merge

Change-Id: Idaf98e368e032cfbd7fbe3aa2d965b04eea3f43e
extView.java
3c09ba3f798c8dafed4846c6782bc489b841cdbb 09-Nov-2010 Adam Powell <adamp@google.com> resolved conflicts for merge of 06fd1dc5 to gingerbread-plus-aosp

Change-Id: Iae11cabdc3c6b6b59dfdcc3b4944088dded91a52
91a08cfc4f8111ed66e51f9471e956d201cc8b60 09-Nov-2010 Gilles Debunne <debunne@google.com> Rationalized singleLine in TextView, take 2.

Same as CL 77435, but without the default singleLine value change.

Change-Id: I04794ed72716bbe5a285d2bbbb3f536308e5972f
extView.java
36ffc5c960cdb3de7269898d2142a361acdec74a 22-Oct-2010 Adam Powell <adamp@google.com> DO NOT MERGE Fix bug 3121030 - Text handles erroneously appear over
extract mode IME window

Make the SelectionModifierCursorController track its show/hide state
more accurately in the presence of an extract mode IME.

Lazily initialize CursorControllers so that we don't end up creating
them for various TextViews where they are not needed.

Change-Id: Ib76a95d9e7669016cf11b8b0add8843b438068ea
extView.java
ab36acb39941ce981dddda9f9cf4d2d23a56fd26 05-Nov-2010 Dianne Hackborn <hackbod@google.com> Fixe some stuff.

Addresses these bugs:

3061847 - With no headers, PreferenceActivity crashes
2888426 - minor typo in DevicePolicyManagerService.ActiveAdmin.writeToXml()
3159155 - IllegalStateException:"Can not perform this action after
onSaveInstanceState" while dismissing a DialogFragment
3155995 - PopupWindow.showAtLocation does not respect LayoutParams

Also tweak the new fragment APIs to use abstract classes instead of
interfaces as base classes.

Change-Id: I9c0b4337fe0e304b737b5f7c2762762372bb3020
opupWindow.java
56c2d337e02a275397fc9d0460dca90977f199ac 06-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3067895 - Popup menus clip to container windows

ListPopupWindows will now move to fit within the screen, but will not
be constrained by their parent windows.

Change-Id: I2a19ef474926f328466db32874db4191beebf626
istPopupWindow.java
opupWindow.java
f95449dc383f617d597db5a8b23682ff18ffcac0 05-Nov-2010 Gilles Debunne <debunne@google.com> Revert "Rationalized the single/multiple line initialization in TextViews."

This reverts commit 10644106b819acad4f88c3882d5688638951728c.

Conflicts:

core/java/android/widget/TextView.java

Change-Id: I597314363f6ee06dbc475583ffe5dcc7eb543f88
extView.java
fe4782393ec34dfbf37c78a7bc59a04e056fe7c1 05-Nov-2010 Adam Powell <adamp@google.com> Merge "Fix bug 3167945 - list selection mode should persist across rotations"
816034520586659b8bd3ad68e854c2b506fa510f 05-Nov-2010 Romain Guy <romainguy@google.com> Merge "Fix documentation HTML."
a0eeeac82010e03ce8949bf7efed909afdbaf41c 05-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3167945 - list selection mode should persist across rotations

Modal multi-choice mode action modes will now be restarted when
restoring instance state provided that the application has set a
multi-choice mode callback before instance state is restored. This
matches other list state restoration behavior with adapters.

Change-Id: I8e96e079faa3a086d3d4480d65b8c53a60f4c0ea
bsListView.java
f989944c90028e1bcfda645a39a31300acd0a01b 05-Nov-2010 Romain Guy <romainguy@google.com> Fix documentation HTML.

Change-Id: Ic5380867a4d77d0b4724ca3bde091ddea89fb20d
dapters.java
2614c6c1f9fb19af21b901c16c443335bbc9d50b 05-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3167099 and bug 3009490 - GridView choice modes and
getCheckedItemCount after orientation change

Remove the restriction on choice modes for GridView - this is handled
by common code in AbsListView. Persist the checked item count in saved
instance state.

Change-Id: Iebb964bb3c43779c082a458ea3f2754ab694b69d
bsListView.java
ridView.java
e213677037f836529efcc0ac201fc61dd95481c5 04-Nov-2010 Dianne Hackborn <hackbod@google.com> Push the jumpDrawablesToCurrentState() thing off everywhere it should be.

Also add a new interface that items in AbsListView can implement to
adjust the bounds of the selection shown for them. This will allow
contacts to use list view's regular selection facility rather than
implementing something special in their item views.

Change-Id: I29cbdbc7122111ee97e47fe7d6ec55ff07be79cc
bsListView.java
bsSeekBar.java
ompoundButton.java
rameLayout.java
mageView.java
rogressBar.java
extView.java
b5ce0e05327b4b76da49d2bd3944e66c38c8cb69 01-Nov-2010 Leon Scroggins <scroggo@google.com> Use the new web email and password variations.

Bug:2460543
Bug:3094312
Bug:2692655
Bug:2710595

Use the NEXT flag when there is a following
textfield.

In TextView, treat the new variations like email and password
variations.

Requires a change in LatinIME so that these fields work propely:
https://android-git.corp.google.com/g/#change,77721

Change-Id: Id6517a016db7d50b77570ff77f2635027796da4a
extView.java
10644106b819acad4f88c3882d5688638951728c 01-Nov-2010 Gilles Debunne <debunne@google.com> Rationalized the single/multiple line initialization in TextViews.

The TYPE_TEXT_FLAG_MULTI_LINE was set directly, instead of calling
setSingleLine, which has some side effects, like correctly updating
the mSingleLine field.

Generalized the use of setSingleLine everywhere. This may change some
behavior, but is probably fixing more state inconsistencies.

Change-Id: I6b4da2e140a8dc75481cff9e44473daa6b3a83c4
extView.java
4e331a784d377b79a23065e0fa06e41dc1998ec0 04-Nov-2010 Gilles Debunne <debunne@google.com> Merge "Tapping on paste popup with an empty clipboard does not crash in TextView."
e1c14e6a9444b1a90aefec801a3aaf4e8bb43543 04-Nov-2010 Gilles Debunne <debunne@google.com> Tapping on paste popup with an empty clipboard does not crash in TextView.

Change-Id: I5730ec46582862c6233a9e3a2d4bf695cd2c3e69
extView.java
079e23575024e103358c982152afb7a720ae1a8a 19-Oct-2010 Dianne Hackborn <hackbod@google.com> Add new fade in/out feature for drawable containers.

This is used to allow list view's pressed and activated indicators
to fade in an out, though of course it can be used elsewhere as well.

There is a lot of complexity in supporting this in list view. The
two main things that are being dealt with:

- When recycling views, we need to make sure that the view's drawable
state doesn't get animated from an old row's state. The recycler
now keeps track of which position a view was last in, and if it is
reused at a new position there is a new View/Drawable API to tell
it to jump to its current state instead of animating.

- For the pressed indicator to fade out, we need to keep displaying it
after it is hidden. There are new variables and code to keep track
of this state, and tweaks in various places to be able to remember
the last selected position and continue updating the drawable bounds
as needed.

Change-Id: Ic96aa1a3c05e519665abf3098892ff2cc4f0ef2f
bsListView.java
dapterView.java
ridView.java
istView.java
3c5e94335af44d862c6c936fb1f5f41141571038 03-Nov-2010 Gilles Debunne <debunne@google.com> Tapping in a empty textEdit shows the handle.

So that the user can paste in that field, by tapping on the handle.

Change-Id: Ib43291fb78ded7c9b41c52cf3030fe0144d085c3
extView.java
b0418da0e7594a8c2164a46985c5f1993632e010 01-Nov-2010 Jeff Brown <jeffbrown@google.com> Add plumbing for volume mute key.

Full support for the volume mute key will be implemented in a
later change.

Bug: 2912307
Change-Id: I98c27d6360f159c8b7447e04b45f442eff87b38a
ediaController.java
ideoView.java
a32edd4b4c894f4fb3d9fd7e9d5b80321df79e20 26-Oct-2010 Adam Cohen <adamcohen@google.com> Adding click feedback to widget collections

Change-Id: I97fceb6c68ca6eb1b703eafacf201e1aed7c38e7
bsListView.java
dapterViewAnimator.java
emoteViews.java
emoteViewsAdapter.java
tackView.java
03476ddba607a4b1fbb7e7ad08f40f8142b20580 01-Nov-2010 Leon Scroggins <scroggo@google.com> Merge "Merge commit '55381217' into manualmerge"
c826a69355623ed0e812faa1947259464a4364dd 01-Nov-2010 Leon Scroggins <scroggo@google.com> Merge commit '55381217' into manualmerge

Conflicts:
core/java/android/webkit/WebView.java

Change-Id: I1e93881a55c1d81c1142db03498c68196649b69c
4d396052deb54399cbadbeb8abd873df6f3af342 30-Oct-2010 Jeff Brown <jeffbrown@google.com> Fix policy issues when screen is off.

Rewrote interceptKeyBeforeQueueing to make the handling more systematic.
Behavior should be identical except:
- We never pass keys to applications when the screen is off and the keyguard
is not showing (the proximity sensor turned off the screen).
Previously we passed all non-wake keys through in this case which
caused a bug on Crespo where the screen would come back on if a soft key
was held at the time of power off because the resulting key up event
would sneak in just before the keyguard was shown. It would then be
passed through to the dispatcher which would poke user activity and
wake up the screen.
- We propagate the key flags when broadcasting media keys which
ensures that recipients can tell when the key is canceled.
- We ignore endcall or power if canceled (shouldn't happen anyways).

Changed the input dispatcher to not poke user activity for canceled
events since they are synthetic and should not wake the device.

Changed the lock screen so that it does not poke the wake lock when the
grab handle is released. This fixes a bug where the screen would come
back on immediately if the power went off while the user was holding
one of the grab handles because the sliding tab would receive an up
event after screen turned off and release the grab handles.

Fixed a couple of issues where media keys were being handled inconsistently
or not at all, particularly in the case of the new PAUSE, PLAY
and RECORD keys.

Bug: 3144874
Change-Id: Ie630f5fb6f128cfdf94845f9428067045f42892c
ediaController.java
ideoView.java
553812178ad3dccc467a6a96ff0a7e246da52e8e 01-Nov-2010 Leon Scroggins <scroggo@google.com> am 3073646f: Merge "Update insertion handler for WebTextView." into gingerbread

* commit '3073646f61dcbbfe5c9e65b8e3a1d9266c3f7276':
Update insertion handler for WebTextView.
ae615981315d9318edb1d8bf2a0f607f90cc77ac 01-Nov-2010 Winson Chung <winsonc@google.com> Adding more exception handling to RemoteViews calls to startIntentSender

Change-Id: I03d7b48813aaf7f94785389c2838d68b0ba913d3
emoteViews.java
63f366978e10ed243e7d63d24fddcc1b0017eb68 01-Nov-2010 Jean-Baptiste Queru <jbq@google.com> am 41c73884: am 5b4d0e84: Merge "TabWidget orientation"

* commit '41c738849c1fdf29357048ec9f5e48143dbb026a':
TabWidget orientation
41c738849c1fdf29357048ec9f5e48143dbb026a 01-Nov-2010 Jean-Baptiste Queru <jbq@google.com> am 5b4d0e84: Merge "TabWidget orientation"

* commit '5b4d0e84d314bd58efb9dcf4e7f23f0d0e3fc630':
TabWidget orientation
5b4d0e84d314bd58efb9dcf4e7f23f0d0e3fc630 01-Nov-2010 Jean-Baptiste Queru <jbq@google.com> Merge "TabWidget orientation"
5642625cfb065de38440408c1e2e8a8c6f8fa32d 01-Nov-2010 Leon Scroggins <scroggo@google.com> Update insertion handler for WebTextView.

Bug:3152629
Change-Id: If2a33eb5456493fb9b3b2c54fcc4f5348fe129e1
extView.java
9c3a80b236b389f9e7640298beee3bb6f89c9c4e 31-Oct-2010 Joe Onorato <joeo@google.com> Merge "Allow RemoteViews to silently fail when a view can't be found."
2b69ce469d544f4b2cb6423feaf4da8df7cf7a64 31-Oct-2010 Joe Onorato <joeo@google.com> Allow RemoteViews to silently fail when a view can't be found.

Generally, I'm not a huge fan of allowing bugs like this, but this
will allow people to write apps with better compatibility across
configurations. They can just add a bunch of actions, and have
only some of them apply based on which views are in the layout
resource.

Bug: 3107945
Change-Id: Iecb118ce5f56421ac53a7b95ea470de9f726ee82
emoteViews.java
8f860ef4b686ebb606c391c9c6e9cef0f8369ec4 31-Oct-2010 Romain Guy <romainguy@android.com> am f101a85b: am cee8d1d3: Merge "fix typo"

* commit 'f101a85bc3210b3c0ae9c916dd8fbdf88282caad':
fix typo
f101a85bc3210b3c0ae9c916dd8fbdf88282caad 31-Oct-2010 Romain Guy <romainguy@android.com> am cee8d1d3: Merge "fix typo"

* commit 'cee8d1d3450fb2b7490fbe41bf8b3f974c015f6f':
fix typo
fc8daba45e6302b349aa7a5eb04e80532d04c184 31-Oct-2010 Uwe Voelker <uwe@uwevoelker.de> fix typo

Change-Id: Ib36aabc68128d1b2b8c41b965a10be2ab2f4cd93
bsoluteLayout.java
aaffa8b4d4d3530e02cd6a0619b0c1485c133e55 30-Oct-2010 Winson Chung <winsonc@google.com> Adding NPE check when calculating remote views memory usage.

Change-Id: I9fd4b980e45cadb980ba20d5ef1ddf150639853a
emoteViewsAdapter.java
dea3ef7967228f0ddcc03f2455a4f1254758e584 28-Oct-2010 Dianne Hackborn <hackbod@google.com> Add new resize mode to not resize, new web input types.

Change-Id: Ib098c03793d08532c3c099b59d0cc6b567e54900
extView.java
69b8d69aadbf0e795f1a1e1adc82c78cf0b9959f 29-Oct-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 0d5694ba2d399dd0869532a4d6256448185a1be0
Author: Andreas Huber <andih@google.com>
Date: Fri Oct 29 11:59:23 2010 -0700

suspend() and resume() methods on VideoView are back but don't do anything.

They need to be back because they were public before.

Change-Id: Iddfd1021ffcf341f26e8d55ba761fd33701e2425

commit 16192891ed7d349ee97e47d1729d20a2d0d247b8
Author: Andreas Huber <andih@google.com>
Date: Fri Oct 29 11:47:05 2010 -0700

Revert "New API on VideoView widget to suspend/resume a session. Do not release the MediaPlayer client for video suspending/resuming."

This reverts commit 2e1818a4d16c3309660f27286c77d8d1eee95a25.

Conflicts:

api/current.xml

Change-Id: I68dd1d05871044faf3f832d0838aa40bc7f890e5

commit 8f934dc1a3ae4e60f0790fcf97671e063fa20fad
Author: Andreas Huber <andih@google.com>
Date: Fri Oct 29 11:44:16 2010 -0700

Revert "Release mediaplayer if the current state is not suspending. Fix for bug 2480093."

This reverts commit efb882cf75eef39ecaf9f8920ed302a019fa629f.

commit f2ed03550887986f39d36b5dabcd9e919949c7cf
Author: Andreas Huber <andih@google.com>
Date: Fri Oct 29 11:44:08 2010 -0700

Revert "Release MediaPlayer if suspend() returns false."

This reverts commit 047212fd4ea360675e94d3ce83c7f5544f65b268.

commit 441ecce678bd24e9660a72c8627b5bd94433ff8b
Author: Andreas Huber <andih@google.com>
Date: Fri Oct 29 11:40:46 2010 -0700

manually.

Change-Id: I4fdd43c9f7c8b3eedddb31a196da4984e1c58e87

Change-Id: I60d4b10e7a9e4ed8d9a796f1711618f557eb6e89
ideoView.java
7b9652b66b76b90fd95952c42a4f82965ed80d72 27-Oct-2010 Gilles Debunne <debunne@google.com> New Paste view on top of insertion point in TextViews.

Tapping on the insertion handle displays a new pop-up dialog that allows to paste.

Select all icon removed.

Change-Id: I6b8c088dd5930c3f67b38928fd43cdd5c9da0904
extView.java
5347c588465b66ee7cc6169c87928d22d347bae3 27-Oct-2010 Gilles Debunne <debunne@google.com> Text selection can be started with a double tap in TextView

Cherry picked from CL 73484 in GB.

Change-Id: Ieb6ee5b4bf85226a8c488f78f5ff00a57fc031b8
extView.java
e1838c773d45296dc4da6c325fea2d636b0fd0b4 27-Oct-2010 Adam Cohen <adamcohen@google.com> Merge "- Made showNext() and showPrevious() on StackView remotable - Made StackView show the transition when showNext() or showPrevious() is called"
3352b6807f9b728b91cceb3ea5f2a065ace95da3 26-Oct-2010 Adam Cohen <adamcohen@google.com> - Made showNext() and showPrevious() on StackView remotable
- Made StackView show the transition when showNext() or
showPrevious() is called

Change-Id: Id6e3e6d9ff374c037323f77d247f1a1e4398009e
tackView.java
2d38cc80afface3fcc5371e358e1d9a98c8b7aca 26-Oct-2010 Romain Guy <romainguy@google.com> Merge "Enable display lists."
0d9275e565551eed57297627188aa39f3897a50b 26-Oct-2010 Romain Guy <romainguy@google.com> Enable display lists.

Change-Id: Id0d9b987251da5b7ecbb5497a55dbb5937430316
lidingDrawer.java
44c1473c03a0021224fa94af9b1e3579ec244b12 19-Oct-2010 Gilles Debunne <debunne@google.com> New Holo style for Tabs.

Holo theme with new assets and style for TabWidgets.

Legacy Themes still use GB style.

Assets added in a previous bluk update were removed.

Change-Id: Ia4a612678561fa5047bbd2a72488086c0f3d61a1
abHost.java
abWidget.java
extView.java
a7e77546ca9e408373b7718aaf807bbbb5097cbe 26-Oct-2010 Roger Olsson <roger.olsson@sonyericsson.com> TabWidget orientation

TabWidget orientation specified in tab_content.xml instead of TabWidget.java.
Generally, the orientation of the TabWidget should be set in xml-files
and not in TabWidget.java. A sub class of TabActivity may call setContentView()
using a custom layout where the TabWidget orientation is vertical.
This is the case in the UI Enablers Bottom Tab feature, for landscape
display orientation.

Change-Id: Ia677441a0af96a8d2ab47ef3298eb440c34924f6
abWidget.java
a9238c89a43500ed0bcdeaee182be08ff991c627 25-Oct-2010 Adam Cohen <adamcohen@google.com> -> Fixing a bug where AdapterViewAnimator doesn't refresh correctly
-> Reduced swipe threshold for StackView
Change-Id: I0f04f45dade57f29581fe03fb195a6db5f12adb1
dapterViewAnimator.java
tackView.java
67bb6741965c0b9f3bf6b4caf2647efc564e287e 25-Oct-2010 Adam Powell <adamp@google.com> am 17efcde1: Merge "DO NOT MERGE Fix bug 3124899 - timeout in CTS test ExpandableListViewBasicTest" into gingerbread

Merge commit '17efcde161cbcbc0d98bf809036c5e640497f001' into gingerbread-plus-aosp

* commit '17efcde161cbcbc0d98bf809036c5e640497f001':
DO NOT MERGE Fix bug 3124899 - timeout in CTS test
b9b8f7b99b25eb9520e5d33e5a84d202d96e81af 25-Oct-2010 Adam Powell <adamp@google.com> DO NOT MERGE Fix bug 3124899 - timeout in CTS test
ExpandableListViewBasicTest

A certain sequence of events could cause AbsListView to enter an
infinite event loop. Only report reaching a scroll boundary to the
overscroll code path if the Scroller wants to move further, not if
we're done moving.

Change-Id: Ifdaf72d60ca25584e4a37d3d8f17365e0fcbfa40
bsListView.java
6a0d09944b550b15dce6ead35917e80205cbf09b 25-Oct-2010 Adam Powell <adamp@google.com> Fix bug 2964954 - Lists blow up if their adapter changes while detached.

If a list adapter's content changes while the ListView is detached
from a window, the data change is not registered and the next
layoutChildren call causes the ListView to detect a bad change that
the adapter did not notify ListView about. Any time a ListView becomes
attached to a window, has a valid adapter, and no attached data set
observer, treat it as a data set changed event.

Change-Id: Ic00c05a1a0d063399dc78d5d877e3d5f9b1bee16
bsListView.java
aa6110d84024776674131eb3b7a609499cf48810 25-Oct-2010 Adam Powell <adamp@google.com> Merge "Fix bug 3005359 - onListItemClick and ActionMode conflict"
bf5f2b3ffebcf4201f228b73137f32486638775f 25-Oct-2010 Adam Powell <adamp@google.com> Fix bug 3005359 - onListItemClick and ActionMode conflict

CHOICE_MODE_MULTIPLE_MODAL should not dispatch item click events
when in selection mode.

Change-Id: I664fdd01e5c5691ea6ad071bc36a9497fd97ce4d
bsListView.java
96d8d56302da81b24333b204e6d7f15064538036 24-Oct-2010 Adam Cohen <adamcohen@google.com> Fixing the case of less than or equal to 5 items in StackView

Change-Id: I9226fe8343902e06e2f4b04837e232f1744786a8
dapterViewAnimator.java
tackView.java
c17942f7b3f8fbdd5c7137f2c7a26cf174be6d15 22-Oct-2010 Gilles Debunne <debunne@google.com> Merge "Fix for 3124993. Crash in Browser on long press."
77f18b0b83cfdb49c5b115b1c8285f975065366b 22-Oct-2010 Gilles Debunne <debunne@google.com> Fix for 3124993. Crash in Browser on long press.

Change-Id: I88c50e3abd3e3a25f92bcc51163b1ef9e62d2afb
extView.java
5c1cf3593db18784f36349d9fd9c25b8e623d354 22-Oct-2010 Dmitri Plotnikov <dplotnikov@google.com> Merge "Moving cursor to the end of the search query when set explicitly."
87c5025fb8a21348ead7cd7e6fa08aa5dc0f501e 22-Oct-2010 Dmitri Plotnikov <dplotnikov@google.com> Moving cursor to the end of the search query when set explicitly.

This situation is encountered in Contacts when the activity
intercepts unsolicited input from the keyboard, takes that
character entered by the user and switches the whole app
to "search mode". At this time it puts the character
entered by the user in the search field. The user should be
able to continue typing.

Change-Id: Ief40f12bb8f31bced6114d61a0fd95472f21b1be
earchView.java
5c167f9191bd008494fffce5b5742d635305e525 22-Oct-2010 Marc Blank <mblank@google.com> Merge "Don't stop FlingRunnable when deltaY is rounded to zero"
276bb3a32794097918671780ea9d39aea522aa41 21-Oct-2010 Jean-Baptiste Queru <jbq@google.com> am 843ff92b: resolved conflicts for merge of 5d919b43 to gingerbread-plus-aosp

Merge commit '843ff92bb0f2ff259145fd90333b0a50d8bbf342'

* commit '843ff92bb0f2ff259145fd90333b0a50d8bbf342':
Make disabled TextViews uneditable
97a0aa987a5e3fa01fee4d47dd5aeb57c62ddbeb 21-Oct-2010 Jean-Baptiste Queru <jbq@google.com> am eceace47: am 81925e66: Merge "Fix FastScroller overlay position bug after setFastScrollEnabled(false)-->setFastScrollEnabled(true) the overlay shows up at the top-left instead of center"

Merge commit 'eceace47c575d15a3d4b7cd511c20f86850bf301'

* commit 'eceace47c575d15a3d4b7cd511c20f86850bf301':
Fix FastScroller overlay position bug
c2238d006237ebf1296074d80fb4f4a2741ef880 21-Oct-2010 Daniel Lehmann <lehmannd@google.com> Fix default style in constructor with only one parameter

Bug:3011901
Change-Id: I6c1b8663ccdfae36d2bb5e63fdc852b6391f3585
istPopupWindow.java
299acb581205b6574bfa91824b1b887e265c4c40 21-Oct-2010 Marc Blank <mblank@google.com> Don't stop FlingRunnable when deltaY is rounded to zero

Change-Id: I6558d1b2e392c741108ca13da83351eadbce0824
bsListView.java
97dfd3492f81525fb3560a74abaee9f965f138a9 21-Oct-2010 Gilles Debunne <debunne@google.com> Fix to display first tab as selected on tab widget creation.

Change-Id: Icc6ec78d2392a300b43b522b3dc18d0ab1223116
abWidget.java
843ff92bb0f2ff259145fd90333b0a50d8bbf342 21-Oct-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 5d919b43 to gingerbread-plus-aosp

Change-Id: I8b8a8dfdd99052f3d43a0feb47168876b41e336d
5d919b4387488d2420cb14b4f9ba3fd158efa3cc 21-Oct-2010 Jean-Baptiste Queru <jbq@google.com> Merge "Make disabled TextViews uneditable"
eceace47c575d15a3d4b7cd511c20f86850bf301 21-Oct-2010 Jean-Baptiste Queru <jbq@google.com> am 81925e66: Merge "Fix FastScroller overlay position bug after setFastScrollEnabled(false)-->setFastScrollEnabled(true) the overlay shows up at the top-left instead of center"

Merge commit '81925e665c1e25d04cbc10e7333e793416bdc98f' into gingerbread-plus-aosp

* commit '81925e665c1e25d04cbc10e7333e793416bdc98f':
Fix FastScroller overlay position bug
b1818e83f4a81bc4e4e30b99bb48830415be731b 20-Oct-2010 Amith Yamasani <yamasani@google.com> Update dropdown colors and list readability for SearchView.

Dismiss IME on launching suggestion.
istPopupWindow.java
earchView.java
62ad0db62393073a8cda9b21e4ae1506954c10a5 20-Oct-2010 Mindy Pereira <mindyp@google.com> am 6fbc5d9c: DO NOT MERGE. Make sure to invalidate after pulling on an edgeglow.

Merge commit '6fbc5d9c19388e8f1c9a1833bc0e15fcf6b499f1' into gingerbread-plus-aosp

* commit '6fbc5d9c19388e8f1c9a1833bc0e15fcf6b499f1':
DO NOT MERGE. Make sure to invalidate after pulling on an edgeglow.
6fbc5d9c19388e8f1c9a1833bc0e15fcf6b499f1 20-Oct-2010 Mindy Pereira <mindyp@google.com> DO NOT MERGE. Make sure to invalidate after pulling on an edgeglow.

Fixes b/3111778 overscroll glitch in news & weather

Change-Id: Ic255da1f7c4301ea3980acc4fa033c9f17a60dac
orizontalScrollView.java
crollView.java
5931b1f415fdb30f429fb39238c63f7533335998 19-Oct-2010 Amith Yamasani <yamasani@google.com> Fix layout issues, add a maxWidth attribute to SearchView.

Bug: 3067611
Bug: 3067595
earchView.java
35f21fe0ffe0c6374fe253777020cf0ffdd1a4bd 19-Oct-2010 Adam Powell <adamp@google.com> Fix bug 3109812 - NPE in ButtonGroup.dispatchDraw

Change-Id: Ie8d9b2c0862cc901ed9534e81465fe41ade1f9a0
uttonGroup.java
8e5992ad66c601b5d528c4d0259bee881d7a35a8 19-Oct-2010 Adam Powell <adamp@google.com> Merge "New dialog assets. Cancelable AlertDialogs may now be canceled by tapping outside."
fc94ddef2f8f56beebd848a73f434673d56631cb 19-Oct-2010 Adam Powell <adamp@google.com> New dialog assets. Cancelable AlertDialogs may now be canceled by tapping outside.

Change-Id: I061f09bd79a5f2b627fb0f01aba36f37449b849d
uttonGroup.java
187f1a951b17596e0e4179e5035565b418e2825f 19-Oct-2010 Adam Cohen <adamcohen@google.com> Merge "Cleaned up the way StackView draws outside of its bounds"
d51bbb5b56446519db88f49f2682da782b0069ac 18-Oct-2010 Adam Cohen <adamcohen@google.com> Cleaned up the way StackView draws outside of its bounds

Change-Id: I2a0e8d970434fbaf13b2f82c5d3b3dcbdc2488b5
tackView.java
b82213d54bec0b11625e96d105763562ad78c258 19-Oct-2010 Gilles Debunne <debunne@google.com> resolved conflicts for merge of 6775754a to master

Change-Id: Ib03417aa3f13839b7fdf24f7d66b2d449589d41e
d7d3ad477cce27bf968b5f07691b958bfea22c34 18-Oct-2010 Gilles Debunne <debunne@google.com> Fix for text selection at end of line.

Bug 3106935

Change-Id: Ieee7f50385baae359db45472ffc800a01956cb40
extView.java
0cd8122f7538a4c50c9f3270eff44604828f560a 18-Oct-2010 Adam Powell <adamp@google.com> Hide ButtonGroup - not ready for public consumption.

Change-Id: I9afeac135c1d7a6115789ed2a2f43ad9aa9d4fcf
uttonGroup.java
6775754ae3b765e50466048ab02a8d43d0ea6c61 18-Oct-2010 Gilles Debunne <debunne@google.com> am 3d01cb93: Merge "Removed "Select word" option on password fields." into gingerbread

Merge commit '3d01cb934ba2c5161689834d49f520313e554571' into gingerbread-plus-aosp

* commit '3d01cb934ba2c5161689834d49f520313e554571':
Removed "Select word" option on password fields.
9b38c6097e8d866fad1a12c1aba1a9c36e1725d7 12-Oct-2010 NoraBora <noranbora@gmail.com> Fix FastScroller overlay position bug
after setFastScrollEnabled(false)-->setFastScrollEnabled(true)
the overlay shows up at the top-left instead of center

Change-Id: Idd5d4640398def8391f99962bd1838a3bde98157
astScroller.java
042856c1de6cdce854641aaecd68a689c5ba64f3 15-Oct-2010 Janos Levai <digistyl3@gmail.com> Make disabled TextViews uneditable

Fixes Issue 2771
From now on:
disabling a TextView closes the associated on-screen keyboard
selecting a disabled TextView does not open the on-screen keyboard
can't edit contents if the disabled TextView focus is gained by the directional keys

Change-Id: I44e3c0aff2a0ce1e6426818bfe16c1d19c7c18ac
extView.java
84321b2bed38753665adfda0ac14a508173362e0 15-Oct-2010 Adam Powell <adamp@google.com> Change AlertDialogs to use button groups.

Ditch dumb prototype implementation of ButtonGroup.

Change-Id: I803ef51b0bf4059936ddeb9145ca37ee53cd24b9
uttonGroup.java
0dcad2bd017227b5cc186e657b5b24b52a00a1c8 16-Oct-2010 Gilles Debunne <debunne@google.com> Removed "Select word" option on password fields.

It would return an arbitrary selection around current position.
Rely on select all instead.

Bug: 3100750
Change-Id: I73d995e6481d7c230cc9f334c72fbfb7e9828007
extView.java
65f604100627eae6d71df41e427fe74f7994e00e 16-Oct-2010 Gilles Debunne <debunne@google.com> Fix for broken build with stopTextSelectionMode

Change-Id: I1a235db0a0373fed16b62a85df3a0f1411e412be
extView.java
672a2531ae69f3a9bc14bd534ad33e540a38672a 15-Oct-2010 Gilles Debunne <debunne@google.com> am 4fa7f4f4: am 53ea7f58: Merge "Really leave text selection mode when using the trackball." into gingerbread

Merge commit '4fa7f4f4963568258a6b4179176de8386cb5d3db'

* commit '4fa7f4f4963568258a6b4179176de8386cb5d3db':
Really leave text selection mode when using the trackball.
c1d71003fc63e2a7bf511480c510b6026d3af2ce 15-Oct-2010 Ben Komalo <benkomalo@google.com> Merge "Fix Spinners that don't have a hard pixel width set. getDimensionPixelSize -> getLayoutDimension"
10aca41e51934822dc492cb69b69cef37f42ad42 15-Oct-2010 Romain Guy <romainguy@google.com> Merge "Fix clipping issue in StackView."
e5ebcb0107a939395e03592fd44c746cd09e311d 15-Oct-2010 Romain Guy <romainguy@google.com> Fix clipping issue in StackView.

Change-Id: I7ec28f25c3993a2bd7ef6399ba1923839d239905
mageView.java
tackView.java
bdaa34c6709917e228867c12007c35192c107578 15-Oct-2010 Ben Komalo <benkomalo@google.com> Fix Spinners that don't have a hard pixel width set.
getDimensionPixelSize -> getLayoutDimension

Change-Id: Ic126955ad7c7cee3aea423c43fc16da02ec9664e
pinner.java
72536f7240288485cda81b86985ae26b8bef415f 15-Oct-2010 Ben Komalo <benkomalo@google.com> Apply values set in "dropDownWidth" attribute of Spinner styles.

Bug: 3099224
Change-Id: I904f2ef39a65a62076ff82319128a31767a2394b
pinner.java
c61c98fdba0f705e29d6d1e9fc81e33d4cb07ff9 15-Oct-2010 Daniel Lehmann <lehmannd@google.com> am d16f7588: Merge "DO NOT MERGE: Private API to pass the selected tab through QuickContacts" into gingerbread

Merge commit 'd16f7588a88ba98c6c466ee31bb96bc1f9562a98' into gingerbread-plus-aosp

* commit 'd16f7588a88ba98c6c466ee31bb96bc1f9562a98':
DO NOT MERGE: Private API to pass the selected tab through QuickContacts
d16f7588a88ba98c6c466ee31bb96bc1f9562a98 15-Oct-2010 Daniel Lehmann <lehmannd@google.com> Merge "DO NOT MERGE: Private API to pass the selected tab through QuickContacts" into gingerbread
6f279627cfa3286e6901a8dc2ed8361576ce226d 14-Oct-2010 Adam Cohen <adamcohen@google.com> Fixing null pointer exception

Change-Id: I902dfc9baa1be7fb07110ccde7a3c0e0049e4417
dapterViewAnimator.java
2794eb3b02e2404d453d3ad22a8a85a138130a07 13-Oct-2010 Chet Haase <chet@google.com> Remove generics from Animator APIs

Change the manner of constructing Animator-related objects from constructors
via generics to factory methods with type-specific method names. Should
improve the proliferation of warnings due to generics issues and make the
code more readable (less irrelevant angle brackets Floating around).

Change-Id: Ib59a7dd72a95d438022e409ddeac48853082b943
dapterViewAnimator.java
tackView.java
4fa7f4f4963568258a6b4179176de8386cb5d3db 14-Oct-2010 Gilles Debunne <debunne@google.com> am 53ea7f58: Merge "Really leave text selection mode when using the trackball." into gingerbread

Merge commit '53ea7f58c071563b7c5dd0061df39d3b4bf38a63' into gingerbread-plus-aosp

* commit '53ea7f58c071563b7c5dd0061df39d3b4bf38a63':
Really leave text selection mode when using the trackball.
2f14c621256e9eac1f958b1a19e41b2a47b7011e 14-Oct-2010 Daniel Lehmann <lehmannd@google.com> DO NOT MERGE: Private API to pass the selected tab through QuickContacts

Bug:3082932

Change-Id: I28dbb21a30fbe22e6e58a8dda534fc9110621c85
uickContactBadge.java
83d6e8213230fb0805aa019d266842253baeb114 14-Oct-2010 Romain Guy <romainguy@google.com> Revert "Remove generics from Animator APIs"

This reverts commit 41f041d9986f8a5d45b6cb0b86e881c81a412168.
dapterViewAnimator.java
tackView.java
41f041d9986f8a5d45b6cb0b86e881c81a412168 13-Oct-2010 Chet Haase <chet@google.com> Remove generics from Animator APIs

Change the manner of constructing Animator-related objects from constructors
via generics to factory methods with type-specific method names. Should
improve the proliferation of warnings due to generics issues and make the
code more readable (less irrelevant angle brackets Floating around).

Change-Id: I7c1776b15f3c9f245c09fb7de6dc005fdba58fe2
dapterViewAnimator.java
tackView.java
a8b6dad8e5c23f6ade3ccc6010a8915a41d6fbf9 14-Oct-2010 Adam Powell <adamp@google.com> am 4af1de39: am fb6431c0: Merge "Fix bug 3064135 - do not allow text handles on TextViews in sub windows." into gingerbread

Merge commit '4af1de39ab36cbff08075e654db516526ff9038d'

* commit '4af1de39ab36cbff08075e654db516526ff9038d':
Fix bug 3064135 - do not allow text handles on TextViews in sub windows.
d97b7f20b84d3e2f9131329a2deb417ccd5f3004 14-Oct-2010 Gilles Debunne <debunne@google.com> Really leave text selection mode when using the trackball.

Bug 3086617

Change-Id: I04c7f5b59d41ed294ac10c20588d2ea476f9d7f6
extView.java
909cbaf8f92d69f507bbdba9e5aa960d1e6c7a1f 14-Oct-2010 Romain Guy <romainguy@google.com> Don't draw TextView's alpha layers when not needed.

Change-Id: Iedf42cbc62d727f18500c78fcccf2d081a761fec
extView.java
7d73b7066867368ebb30dd67a1649ae9db04b93e 14-Oct-2010 Mindy Pereira <mindyp@google.com> am 868322ce: Merge "Reduce the time it takes to decay the glow after a pull." into gingerbread

Merge commit '868322ced806ec58750edd8ce964f4e17507ddad' into gingerbread-plus-aosp

* commit '868322ced806ec58750edd8ce964f4e17507ddad':
Reduce the time it takes to decay the glow after a pull.
bcfcd8ecd49cca125c5eb24fa76cd20ecb766a92 14-Oct-2010 Mindy Pereira <mindyp@google.com> Reduce the time it takes to decay the glow after a pull.

The decay is now in line for the decay for absorb glows.
Fixes b/3094064 Overscroll fade timeout is too long

Change-Id: Ida987c8f6193fcb15f743d72c590a5c1daef056d
dgeGlow.java
322171b333a1c796fcc1428a96ea1d854a3881fa 14-Oct-2010 Erik <roboerik@android.com> Adds a way to scroll to a position in a given duration

Adds a method to AbsListView to allow for a smooth scroll to an
offset position with an app defined duration.

Change-Id: I8cd690597cda078b25bce9aeba683be030d6b155
bsListView.java
d8404b23739b135060ab9a04317a9f8b990cf8ca 13-Oct-2010 Adam Powell <adamp@google.com> Allow icon+text action buttons

Change-Id: I96d1f3958de3ac13cadbab108b87d6bae96e9473
extView.java
3f703de0fbc4a626eacc2973926a99bb8e4fe8e2 13-Oct-2010 Amith Yamasani <yamasani@google.com> Merge "Add voice button and a bunch of minor fixes for focus and visibility of ime, submit button and drop down."
ebcf5a3a50b84320528af5c2a57db99f76c08af5 13-Oct-2010 Amith Yamasani <yamasani@google.com> Add voice button and a bunch of minor fixes for focus and visibility of ime, submit button and drop down.

Bug: 3077768 suggestion drawer not dismissed
Bug: 3067611 submit button incorrectly displayed in some cases
earchView.java
78996c9376ec8568e2bf9fbdee07f618936a7667 13-Oct-2010 Gilles Debunne <debunne@google.com> Changed Cut/Copy/Paste assets.

New assets, in dark/light version.

Made public attributes of the Theme, so that they can be customized.

Select_all was not included in that change. It is supposed to be represented
as text instead of an icon. Waiting for a CL that enables this feature.

Change-Id: Icc912b2eb582295c60c0a409760d2c3d65989fc6
extView.java
a0a312225ad56b858f37c2a428e9b8a7140907c4 13-Oct-2010 Winson Chung <winsonc@google.com> Merge "Extracting default loading view definition into XML resource."
4af1de39ab36cbff08075e654db516526ff9038d 13-Oct-2010 Adam Powell <adamp@google.com> am fb6431c0: Merge "Fix bug 3064135 - do not allow text handles on TextViews in sub windows." into gingerbread

Merge commit 'fb6431c0298747d240fcdc025575e5f46db95132' into gingerbread-plus-aosp

* commit 'fb6431c0298747d240fcdc025575e5f46db95132':
Fix bug 3064135 - do not allow text handles on TextViews in sub windows.
8c8293bc4dc1930d5b6a74e3abfe955a433af725 12-Oct-2010 Adam Powell <adamp@google.com> Fix bug 3064135 - do not allow text handles on TextViews in sub windows.

Change-Id: I35db64d0a5c92c8ad184b36d243e45c91d4ac46e
extView.java
21317d1ddaa7c7204dfea9b38f87c6991f4a41af 12-Oct-2010 Romain Guy <romainguy@google.com> Report scroll state change after cancelling the fling runnable.

Bug #3089972

This change also adds the ability to control the ListView's fling
velocity by introducing a new scale factor.

Change-Id: I4030d3fe3688f72b2b8250ac85bbf000e9adc883
bsListView.java
f16888f1e849b0bc0b9c17e5f833c4e2cd54c382 12-Oct-2010 Adam Powell <adamp@google.com> Holo fixes

* Fix up ButtonGroup to behave better.
* Fix bad states with holo list selectors.
* Clean up action mode UI components.
* Change action mode UI to use a text button instead of 'X' to dismiss.
* Fixed spinner dropdowns for Holo.Light

Change-Id: Ifc092bd549ffb539d6a3b2ddd95ebd4b114a441f
uttonGroup.java
a655c635820425a4c98314c3ba02eb382229b45d 12-Oct-2010 Romain Guy <romainguy@google.com> Actually store the newly computed deceleration.

Change-Id: Ib62470187ec7709340f04842748b9d8cb88ee0c2
croller.java
4bede9e425875542976a422222510fa4056a8339 12-Oct-2010 Romain Guy <romainguy@google.com> Add an API to control AbsListView's friction.

Change-Id: Iafb08cd28703d282c369c472a5d85a22cc5dacb7
bsListView.java
croller.java
8245acaab6d38e9b0f3eb6f36a1778284748606d 12-Oct-2010 Gilles Debunne <debunne@google.com> am 1457bb0e: am 6b8bdaa9: New AppsPermission and market style

Merge commit '1457bb0ef622b7ae8970fcb42d40a0c45713f683'

* commit '1457bb0ef622b7ae8970fcb42d40a0c45713f683':
New AppsPermission and market style
20b4cf8cc7e59d84aaf9ff9b3bd42161cb1d4752 12-Oct-2010 Romain Guy <romainguy@google.com> Merge changes I9a5e01bc,If1caee31

* changes:
Optimize GLSL shaders.
Improve performance of linear gradients.
707b2f78ccaa09965d7e030fda3a883ce9b75ea8 12-Oct-2010 Romain Guy <romainguy@google.com> Optimize GLSL shaders.

Change-Id: I9a5e01bced63d8da0c61330a543a2b805388a59d
istView.java
fe14293f58c47a69a0f0427163e27e8f748f03b7 11-Oct-2010 Gilles Debunne <debunne@google.com> resolved conflicts for merge of 2da9338c to master

Change-Id: I0a5d667b578e23c064ebe7bacc898125fbf40cc2
5a8c34565441a2d60289af7c93396814979a7c8a 11-Oct-2010 Amith Yamasani <yamasani@google.com> Merge "2763342 Toasts do not fire accessibility events"
8399985007fc21da5166108091c27429e89b0ec3 11-Oct-2010 Amith Yamasani <yamasani@google.com> Merge "2853037 AccessibilityEvent should describe Tab controls"
be4d68e7b238b8ee879de0481e39c40d3f1683b6 09-Oct-2010 Adam Powell <adamp@google.com> Updated styles and metrics.

* Added preliminary ButtonGroup support for buttons that display as a unit.
* Fixed a bug with MenuBuilder that caused old-style icon menus to fail.
* Added support for explicitly setting line height in text.

Change-Id: I1ba65f09dd9e1bc833d247ebe72052a21e3f99f0
uttonGroup.java
pinner.java
extView.java
569a4bbae11789dd00412355f238b0a32d75a8df 11-Oct-2010 Gilles Debunne <debunne@google.com> resolved conflicts for merge of 42dd7ec9 to master

Change-Id: Id388745d7ec22c48b34b744d5a4c07097cf2650b
a20e87347605a625d557c4b9c721fb2e560573ee 11-Oct-2010 Gilles Debunne <debunne@google.com> resolved conflicts for merge of d7d47941 to master

Change-Id: I4ec47b9461c5ba350adfc257bc1820ee079b751e
1457bb0ef622b7ae8970fcb42d40a0c45713f683 11-Oct-2010 Gilles Debunne <debunne@google.com> am 6b8bdaa9: New AppsPermission and market style

Merge commit '6b8bdaa9c802746eabc4e96686739dbce34c2fbc' into gingerbread-plus-aosp

* commit '6b8bdaa9c802746eabc4e96686739dbce34c2fbc':
New AppsPermission and market style
6b8bdaa9c802746eabc4e96686739dbce34c2fbc 10-Oct-2010 Gilles Debunne <debunne@google.com> New AppsPermission and market style

Bug 3067333

Change-Id: Ibbf444cfd9b1e2d7b51f4194d57c6dee30ac18ee
ppSecurityPermissions.java
7499a1ca68ba115efcf53f6a06520c579c44364d 11-Oct-2010 Gilles Debunne <debunne@google.com> resolved conflicts for merge of 5d146549 to master

Change-Id: I96c720b9afd4a28d27ed00020551f791e8aefa2b
0acb0d7a4b9cb684bff6e70b4c41002fb45adc04 10-Oct-2010 Gilles Debunne <debunne@google.com> am b72a335a: Merge "Voice input replaces selected text." into gingerbread

Merge commit 'b72a335a7f11176838d2d12e7295344c092c62ac' into gingerbread-plus-aosp

* commit 'b72a335a7f11176838d2d12e7295344c092c62ac':
Voice input replaces selected text.
b72a335a7f11176838d2d12e7295344c092c62ac 10-Oct-2010 Gilles Debunne <debunne@google.com> Merge "Voice input replaces selected text." into gingerbread
a89af70cdcc3ace1d1d641fa302c6162f4132339 10-Oct-2010 Gilles Debunne <debunne@google.com> resolved conflicts for merge of bd38710b to master

Change-Id: I3489b6909ce2a215318d45f809b82579503fd733
e507a9e4af9cd8a7333e2951649ac106829f7a45 10-Oct-2010 Gilles Debunne <debunne@google.com> Voice input replaces selected text.

Bug 3068128

Hiding controllers no longer stops text selection.

Change-Id: Ie00c99948b3a14ce8a4a2a93c064c0635cadc993
extView.java
390aceaf530b40702e0b30bd51b5eef793c0ac5a 10-Oct-2010 Mindy Pereira <mindyp@google.com> am 7a64e3a6: DO NOT MERGE Set the cap at alpha to 80% of the total available.

Merge commit '7a64e3a6f3e9f4de9cb097f604187d06268c23be' into gingerbread-plus-aosp

* commit '7a64e3a6f3e9f4de9cb097f604187d06268c23be':
DO NOT MERGE Set the cap at alpha to 80% of the total available.
7a64e3a6f3e9f4de9cb097f604187d06268c23be 10-Oct-2010 Mindy Pereira <mindyp@google.com> DO NOT MERGE Set the cap at alpha to 80% of the total available.

No matter how much the user drags, the alpha like the height
should not get greater than a max and that max is 80% of what
is available in the image.

Change-Id: I57d181d6ea685461a44ed3ee29f83a675bc07fbc
dgeGlow.java
707fb0e0e56997a33ae59ffc001344602f3b7b14 10-Oct-2010 Adam Powell <adamp@google.com> am b3616395: am f15dfbec: Merge "Fix bug 3071869 - text anchors are now treated as application sub-panels." into gingerbread

Merge commit 'b3616395660498ecfd2099b5ffcb9ff74e5aeaee'

* commit 'b3616395660498ecfd2099b5ffcb9ff74e5aeaee':
Fix bug 3071869 - text anchors are now treated as application sub-panels.
d856b1ce92b0d14b4e5b87d02f746e0d6ae7dc87 09-Oct-2010 Adam Powell <adamp@google.com> resolved conflicts for merge of 86b50028 to master

Change-Id: I3468e67ac17f861c5491717337c27cd49bd5287e
42dd7ec9f03f169d373c3753d52eb5632ab5b142 09-Oct-2010 Gilles Debunne <debunne@google.com> am a827d7bc: Merge "Other improvements to text cursor movement." into gingerbread

Merge commit 'a827d7bc347ce6f1a0074dd9fe515919a35a38a9' into gingerbread-plus-aosp

* commit 'a827d7bc347ce6f1a0074dd9fe515919a35a38a9':
Other improvements to text cursor movement.
37c8ad779fb171470af2757b5750c1b5f2d1f368 09-Oct-2010 Mindy Pereira <mindyp@google.com> am 13a81aad: Merge "DO NOT MERGE Limit the height of the pull glow." into gingerbread

Merge commit '13a81aad3dcc2f0410ffe624e3666a15ee9c82dd' into gingerbread-plus-aosp

* commit '13a81aad3dcc2f0410ffe624e3666a15ee9c82dd':
DO NOT MERGE Limit the height of the pull glow.
a827d7bc347ce6f1a0074dd9fe515919a35a38a9 09-Oct-2010 Gilles Debunne <debunne@google.com> Merge "Other improvements to text cursor movement." into gingerbread
f6859c3da7813399240a3bd75a16c251e15735f8 09-Oct-2010 Mindy Pereira <mindyp@google.com> DO NOT MERGE Limit the height of the pull glow.

Event when the user keeps pulling, should NEVER get bigger than
the max height (~2list items tall).
Fixes b/3074337 Overscroll glow can be stretched indefinitely

Change-Id: Ifc30d4c907d432faf9ee10ddc20bcc8f50b21f81
dgeGlow.java
380b604a033268992017a248d1c74058e8ba9541 09-Oct-2010 Gilles Debunne <debunne@google.com> Other improvements to text cursor movement.

Paste happened on pressed position instead of current cursor location
when triggered by a long touch.

Change-Id: I86900f2bbb93390d3efa756aeebb424c4ae7e19b
extView.java
0594476ffa39481063cf7f1546ccfce509f02c65 08-Oct-2010 Amith Yamasani <yamasani@google.com> SearchView: Add some more listeners, IME dismiss improvements and focus control.

Addresses following bugs:
3067611 : Submit button incorrectly displayed
3064371 : Callback to report suggestion click
3008580 : Setting initial focus

The SearchView will take initial focus now, reverting an earlier change. If
you don't want it to take initial focus, then you must requestFocus on a
different view on launching the activity, since the initial focus is desirable
in other cases. This is normal behavior for all EditText widgets and SearchView
shouldn't have a different behavior.
earchView.java
d7d47941a92137fa5c1ba04ba67ad87911347b6b 08-Oct-2010 Gilles Debunne <debunne@google.com> am 50662f5f: Merge "TextView cursor and selection improvements." into gingerbread

Merge commit '50662f5f04d69b9ec0335f17cfbf6c035bd86577' into gingerbread-plus-aosp

* commit '50662f5f04d69b9ec0335f17cfbf6c035bd86577':
TextView cursor and selection improvements.
528c64887e01dd6a9d802d657838499b9fac0cb2 08-Oct-2010 Gilles Debunne <debunne@google.com> TextView cursor and selection improvements.

Insertion cursor handle no longer appears on empty text views (Bug 3075988).

Tapping on an unfocused TextView moves the insertion point at tapped position.

Bug fixes for trackball initiated text selection.

Change-Id: Ief246fd9a9f1eb745dcf9f0605e2ce53b5563f01
extView.java
ab70a98b0ec450379fa953a9fe911109329b9c37 08-Oct-2010 Mindy Pereira <mindyp@google.com> am 612d570a: DO NOT MERGE Adjust amount pull effects the glow and edge decay.

Merge commit '612d570a6fc1e5a0e2e56250f597d1e96d698273' into gingerbread-plus-aosp

* commit '612d570a6fc1e5a0e2e56250f597d1e96d698273':
DO NOT MERGE Adjust amount pull effects the glow and edge decay.
612d570a6fc1e5a0e2e56250f597d1e96d698273 08-Oct-2010 Mindy Pereira <mindyp@google.com> DO NOT MERGE Adjust amount pull effects the glow and edge decay.

Edge decay is now based on the remaining height of the glow so that
as the glow reduces, the edge will reduce and not disappear entirely
before the glow is gone.

Change-Id: I03376ee3807e21ce6ac74c0cfad713b7fd5e4520
dgeGlow.java
5d1465490c1b2c18b5425cfc14b405f45b61e281 08-Oct-2010 Gilles Debunne <debunne@google.com> am 56e9b8eb: Merge "Long press with trackball selects word under cursor." into gingerbread

Merge commit '56e9b8ebb20a992a80696f933a2225544670ef8b' into gingerbread-plus-aosp

* commit '56e9b8ebb20a992a80696f933a2225544670ef8b':
Long press with trackball selects word under cursor.
c8731128108ece45cb8e1b359b8badea3a750346 08-Oct-2010 Gilles Debunne <debunne@google.com> Long press with trackball selects word under cursor.

Bug 3068305

Change-Id: Ib37fc98a61efdf3fbfccbb2174e2dbdbcb1a240e
extView.java
cf1e925aa1691fc1daa94e763be7cd8804ea7481 08-Oct-2010 Gilles Debunne <debunne@google.com> resolved conflicts for merge of ba04dbc6 to master

Change-Id: I175aa21ef01b98b0c3c46aea0b754d14984128b9
bd38710bdef93d9a1b48a1f608b6e6184f43bb51 08-Oct-2010 Gilles Debunne <debunne@google.com> am 3ecceb5b: Merge "TextView refactoring to ease future merges in HC." into gingerbread

Merge commit '3ecceb5b94233320ed88825759d6118fed7add2c' into gingerbread-plus-aosp

* commit '3ecceb5b94233320ed88825759d6118fed7add2c':
TextView refactoring to ease future merges in HC.
cbfbb524af3271d987a2c8dd8c3a1087ac134466 08-Oct-2010 Gilles Debunne <debunne@google.com> TextView refactoring to ease future merges in HC.

Change-Id: I979324b28fa4ca787e5836271c9014bca590c595
extView.java
6c4609ada4526eea2fca4eef043d27dd07026e0a 08-Oct-2010 Mindy Pereira <mindyp@google.com> am dfe0870e: Merge "DO NOT MERGE Only show edge glow effect on 1 side at a time." into gingerbread

Merge commit 'dfe0870e72574eaffc9a165f01a021149529d9c2' into gingerbread-plus-aosp

* commit 'dfe0870e72574eaffc9a165f01a021149529d9c2':
DO NOT MERGE Only show edge glow effect on 1 side at a time.
4f2c8cc86ad1b4c65806d7547407c60ea36b8abe 08-Oct-2010 Mindy Pereira <mindyp@google.com> am 36a18287: Merge "DO NOT MERGE Only show edge glow effect on 1 side at a time." into gingerbread

Merge commit '36a182870527f1d71f482e9a280bc818a4609cb6' into gingerbread-plus-aosp

* commit '36a182870527f1d71f482e9a280bc818a4609cb6':
DO NOT MERGE Only show edge glow effect on 1 side at a time.
4de94de9c5ad18e1162fa30dd1149211485297c0 07-Oct-2010 Mindy Pereira <mindyp@google.com> DO NOT MERGE Only show edge glow effect on 1 side at a time.

Pulling on a side should force the opposite side into "decay".
Fixes b/3061753 new list "bounce" shouldn't show on both ends
This fixes scroller and horizontalscroller.

Change-Id: I4d9820c7178378b793ed9a29b119943eb1f46587
orizontalScrollView.java
crollView.java
ca6eb210e6eb0afe84bdf0558085f555a9a32655 07-Oct-2010 Mindy Pereira <mindyp@google.com> DO NOT MERGE Only show edge glow effect on 1 side at a time.

Pulling on a side should force the opposite side into "decay".
Fixes b/3061753 new list "bounce" shouldn't show on both ends

Change-Id: I4742e8c212f8e13da29ed887ebdd712903b533f7
bsListView.java
b3616395660498ecfd2099b5ffcb9ff74e5aeaee 07-Oct-2010 Adam Powell <adamp@google.com> am f15dfbec: Merge "Fix bug 3071869 - text anchors are now treated as application sub-panels." into gingerbread

Merge commit 'f15dfbec5df911f4cedd3e302864496d77ce295b' into gingerbread-plus-aosp

* commit 'f15dfbec5df911f4cedd3e302864496d77ce295b':
Fix bug 3071869 - text anchors are now treated as application sub-panels.
574b37ecc20a5358cb6147dae6d633385467ab55 07-Oct-2010 Adam Powell <adamp@google.com> Fix bug 3071869 - text anchors are now treated as application sub-panels.

This places text anchors on a layer above normal application panels,
ensuring that they stay above things like the browser autocompletion
list.

Change-Id: I4ee0aea7416a2dafd7e48a7a39acf949af5db3e9
opupWindow.java
extView.java
86b500289bffd8ce51e57e17d42741a202dd9ffd 07-Oct-2010 Adam Powell <adamp@google.com> am fbb3b476: Fix bug 3066313 - integrate new text anchor assets.

Merge commit 'fbb3b4768e858f004fe9a87e83b066244c829d87' into gingerbread-plus-aosp

* commit 'fbb3b4768e858f004fe9a87e83b066244c829d87':
Fix bug 3066313 - integrate new text anchor assets.
fbb3b4768e858f004fe9a87e83b066244c829d87 07-Oct-2010 Adam Powell <adamp@google.com> Fix bug 3066313 - integrate new text anchor assets.

This adds the differentiated left/right anchors for hdpi and further
tweaks the behavior of text anchors.

Highlights:
* New assets are translucent - increased visibility for whatever is
beneath.
* Start and end anchors may not cross one another.
* Minimum selection size is now 1.
* Touch targeting tweaked.

Change-Id: I601361323916ee19149562a23dc3242d908da45c
extView.java
6ed895a4fa729f6673e11336a1d3bf8db51b2502 07-Oct-2010 Adam Powell <adamp@google.com> am 41170a1a: am abcbb1a1: Fix bug 3061544 and some clipping errors.

Merge commit '41170a1a05830e6c9ec631d73043ccf1878dc0f9'

* commit '41170a1a05830e6c9ec631d73043ccf1878dc0f9':
Fix bug 3061544 and some clipping errors.
3042944c6ec68210ba1746540b53789e70d15ef4 06-Oct-2010 Adam Cohen <adamcohen@google.com> Fixing AdapterViewAnimator crash when associated adapter is empty

Change-Id: I3186452eb93f1141b06531507b13d87804e684d4
dapterViewAnimator.java
tackView.java
ba04dbc6cd9ea2f504b76657c85e476a795e9b5b 06-Oct-2010 Gilles Debunne <debunne@google.com> am 671b2a57: Merge "Fix for IndexOutOfBounds in text pasting." into gingerbread

Merge commit '671b2a57bb5a2a8669d1dabe65b4080804ee350a' into gingerbread-plus-aosp

* commit '671b2a57bb5a2a8669d1dabe65b4080804ee350a':
Fix for IndexOutOfBounds in text pasting.
671b2a57bb5a2a8669d1dabe65b4080804ee350a 06-Oct-2010 Gilles Debunne <debunne@google.com> Merge "Fix for IndexOutOfBounds in text pasting." into gingerbread
330e263c4af03c6f6413e0199a2e78125ffbc185 05-Oct-2010 Gilles Debunne <debunne@google.com> Fix for IndexOutOfBounds in text pasting.

Made paste safe even in case of replace problems due to filters.

Bug 3042016

Change-Id: I9be34fa41fa6117502bbd959f91c562f28fb4237
extView.java
ee7e0efcc1314b994ba70d91f6e8fa951044c916 06-Oct-2010 Adam Powell <adamp@google.com> am 59c4cb9e: Merge "DO NOT MERGE Fix bug 3001751 and bug 3001584 - Gingerbread API review for over-scroll" into gingerbread

Merge commit '59c4cb9e8fee03f770aa0fa1a2f0ec84ffb945b8' into gingerbread-plus-aosp

* commit '59c4cb9e8fee03f770aa0fa1a2f0ec84ffb945b8':
DO NOT MERGE Fix bug 3001751 and bug 3001584 - Gingerbread API review for over-scroll
5ac413a1d40b04f12d80d65b7c0168b5b225b3e7 06-Oct-2010 Svetoslav Ganov <svetoslavganov@google.com> 2853037 AccessibilityEvent should describe Tab controls

Change-Id: I7121719135ba996000064a7468faeee62df98e14
abHost.java
abWidget.java
cd2613ab7b0f4f967c1d0388e1267ad01db787a8 06-Oct-2010 Svetoslav Ganov <svetoslavganov@google.com> 2763342 Toasts do not fire accessibility events

Change-Id: I11f2ca9a0875d3d00eb78fd53b882f8ac5c21a4d
oast.java
737e8fe2c7ce167bc68ad779160488007a5e0b1d 05-Oct-2010 Adam Powell <adamp@google.com> DO NOT MERGE Fix bug 3001751 and bug 3001584 - Gingerbread API review for over-scroll

Change-Id: If34c8ea4e15697420adad0bc404f3c278efd7c1b
bsListView.java
orizontalScrollView.java
istView.java
verScroller.java
crollView.java
ef52176f1244a5bb98d82a0c8c7f4351edec17a1 04-Oct-2010 Adam Cohen <adamcohen@google.com> Changing AdapterViewAnimator to use the new animation APIs

Change-Id: Ifefb83c391914ac623d75e0faca723b95786861d
dapterViewAnimator.java
dapterViewFlipper.java
41170a1a05830e6c9ec631d73043ccf1878dc0f9 05-Oct-2010 Adam Powell <adamp@google.com> am abcbb1a1: Fix bug 3061544 and some clipping errors.

Merge commit 'abcbb1a1989e8c6adec607b3964dc187f5526e66' into gingerbread-plus-aosp

* commit 'abcbb1a1989e8c6adec607b3964dc187f5526e66':
Fix bug 3061544 and some clipping errors.
abcbb1a1989e8c6adec607b3964dc187f5526e66 05-Oct-2010 Adam Powell <adamp@google.com> Fix bug 3061544 and some clipping errors.

Change-Id: I124d0bcae080c27e2978be7eecfbb131f101a35f
extView.java
8556efe5a34d8fc6ed99f1fdae60fa41b7647920 05-Oct-2010 Gilles Debunne <debunne@google.com> am a29643a6: Merge "DO NOT MERGE. Select word no longer selects spaces between words." into gingerbread

Merge commit 'a29643a6455df7d3d615cdc45e11c437fe4b6cee' into gingerbread-plus-aosp

* commit 'a29643a6455df7d3d615cdc45e11c437fe4b6cee':
DO NOT MERGE. Select word no longer selects spaces between words.
8c03723da745f44a05b2bc234d4651474071345d 05-Oct-2010 Gilles Debunne <debunne@google.com> DO NOT MERGE. Select word no longer selects spaces between words.

Bug 3000870

This feature was useful to paste between two words. To do this, all you
have to do now in to first position the cursor between the words, and then
long pressing anywhere to get the pop-up menu with paste.

Not merged into HC since the paste story in HC still has to be determined.

Change-Id: Iea8d87e09b7ad43658ec5526110e609b9735c27a
extView.java
b8d3bc5c3c65bbf71a6aa3f8345db024a4ba0669 05-Oct-2010 Adam Powell <adamp@google.com> am 103f59ba: Merge "Fix bug 3052686 - ScrollView padding treated incorrectly" into gingerbread

Merge commit '103f59baa7f7d03cfe22a4b07690cc809185dfe9' into gingerbread-plus-aosp

* commit '103f59baa7f7d03cfe22a4b07690cc809185dfe9':
Fix bug 3052686 - ScrollView padding treated incorrectly
5e25c2c14593caee5638603120553ae1ec530f85 16-Sep-2010 Chet Haase <chet@google.com> Add ability to automate animated transitions on View show/hide

Change-Id: Id6ff92c8fd06c3f5fb30c41b020b4de4f567154f
dapter.java
dapterView.java
62a744e17d32fed0208ad874392e68adc71b601e 03-Oct-2010 Adam Powell <adamp@google.com> Fix bug 3052686 - ScrollView padding treated incorrectly

Also allow grabbing scrollviews for dragging outside of content
bounds, which makes a difference for overscroll effects.

Change-Id: I344db4490ad59f393bb6de338009e251a76e6282
orizontalScrollView.java
crollView.java
a143e83e1e179ee587540150989cdfd220923f96 04-Oct-2010 Adam Powell <adamp@google.com> am 7de900f3: am d29e6861: Merge "Fix bug 3058324" into gingerbread

Merge commit '7de900f3629e53e1a05b8d5854cf0164446346ae'

* commit '7de900f3629e53e1a05b8d5854cf0164446346ae':
Fix bug 3058324
152c7c4091bf7c545b6a5a037cc02f55c4f126e9 04-Oct-2010 Gilles Debunne <debunne@google.com> resolved conflicts for merge of 115b9dc3 to master

Change-Id: I37ee3a50fcafbaa7de510b3af8e133a89bd9e339
95930e13faac8c17dabfaa1478089baa772f091b 04-Oct-2010 Romain Guy <romainguy@google.com> Apply all Canvas transformations to ColorDrawable.

Change-Id: I29252c58224b236d0770ec005da9842990ef2c06
xpandableListView.java
istView.java
7de900f3629e53e1a05b8d5854cf0164446346ae 04-Oct-2010 Adam Powell <adamp@google.com> am d29e6861: Merge "Fix bug 3058324" into gingerbread

Merge commit 'd29e6861717a4e762050eb5a30169729e205d651' into gingerbread-plus-aosp

* commit 'd29e6861717a4e762050eb5a30169729e205d651':
Fix bug 3058324
d29e6861717a4e762050eb5a30169729e205d651 04-Oct-2010 Adam Powell <adamp@google.com> Merge "Fix bug 3058324" into gingerbread
115b9dc3972ce52cd774856093f8c49a53a962c2 04-Oct-2010 Gilles Debunne <debunne@google.com> am 4d3baaf5: Merge "Bug fixes in Text selection." into gingerbread

Merge commit '4d3baaf5308ddee43c1cd742497a38806cec6320' into gingerbread-plus-aosp

* commit '4d3baaf5308ddee43c1cd742497a38806cec6320':
Bug fixes in Text selection.
4d3baaf5308ddee43c1cd742497a38806cec6320 04-Oct-2010 Gilles Debunne <debunne@google.com> Merge "Bug fixes in Text selection." into gingerbread
c3808b5dc7d5873d04e8a0a247b179b2757764ba 04-Oct-2010 Adam Powell <adamp@google.com> Fix bug 3058324

PopupWindow now responds to the style attribute popupAnimationStyle
instead of windowAnimationStyle. The latter was being overridden with
undesired values. Animation.PopupWindow style added as a special
default sentinel value, which switches animation styles based on
whether the window is showing above or below an anchor.

Change-Id: Id7cc81f089b6053f2d3a495b1046002548ecf125
opupWindow.java
baaace59f68eb7baf6d6526b6678de6cb6de6543 02-Oct-2010 Gilles Debunne <debunne@google.com> Bug fixes in Text selection.

"Select word" is displayed only when the text field is not empty.

Paste is always displayed in first menu.
Bug #3001438

Cut/copy works
Bug #3052005 fixed in 3047653

Change-Id: I573f04818683f9b1c78ecb4613570b738d30ba09
extView.java
53fb09b42f8862650f959c30c1ab104142fa873a 04-Oct-2010 Mindy Pereira <mindyp@google.com> am 106950f2: Merge "DO NOT MERGE. Fix logic for switching between overscroll and scroll modes." into gingerbread

Merge commit '106950f20bd352ed72ddf4490b2e19d305e36a74' into gingerbread-plus-aosp

* commit '106950f20bd352ed72ddf4490b2e19d305e36a74':
DO NOT MERGE. Fix logic for switching between overscroll and scroll modes.
106950f20bd352ed72ddf4490b2e19d305e36a74 04-Oct-2010 Mindy Pereira <mindyp@google.com> Merge "DO NOT MERGE. Fix logic for switching between overscroll and scroll modes." into gingerbread
e6c4747276cd4e7f0243bcd8ea50ad3e66609fef 02-Oct-2010 Mindy Pereira <mindyp@google.com> DO NOT MERGE. Fix logic for switching between overscroll and scroll modes.

The issue here was originally that webview was showing twice
as intense of an effect for edge glow as lists. The root cause
was that abslistview was calling onPull half as often as webview. This
occurred because every time an action_move came into the touch handler
for abslistview when it was in overscroll, the mode was ALWAYS changed
back to scroll mode. Therefore, half the action_move events were
essentially being eating by the abslistview state machine.
After fixing that issue, needed to decrease the intensity of the effect
for webview and abslistview by halving the PULL_DISTANCE_GLOW_FACTOR.

Change-Id: I5dbdf4f1219f3bb157a71d4fccf8fa42e2abe047
bsListView.java
dgeGlow.java
937a6f635715f24c4e586d87d093faf86208838d 03-Oct-2010 Adam Powell <adamp@google.com> am 7e53f3d7: am 624380a1: Fix bug 3047653 - Text select handles stick around when they shouldn\'t

Merge commit '7e53f3d70994cfef255953e1df1881d057477d06'

* commit '7e53f3d70994cfef255953e1df1881d057477d06':
Fix bug 3047653 - Text select handles stick around when they shouldn't
7e53f3d70994cfef255953e1df1881d057477d06 03-Oct-2010 Adam Powell <adamp@google.com> am 624380a1: Fix bug 3047653 - Text select handles stick around when they shouldn\'t

Merge commit '624380a14def6c2acdb473e09c36139acbcefbf9' into gingerbread-plus-aosp

* commit '624380a14def6c2acdb473e09c36139acbcefbf9':
Fix bug 3047653 - Text select handles stick around when they shouldn't
624380a14def6c2acdb473e09c36139acbcefbf9 03-Oct-2010 Adam Powell <adamp@google.com> Fix bug 3047653 - Text select handles stick around when they shouldn't

Text select handles will now fade out on their own after a few seconds
since many apps expect a selection to be persistent while a text field
stays focused in touch mode. The user may tap within the selection to
bring the anchors back.

Text select handles will also disappear upon leaving touch mode.

Fix a bug that impaired cut/paste from the context menu.

Change-Id: I8f431e2d261aec02581150125d11324a3ee11656
extView.java
d4b8cad13b94657ed374e6c5228eb6b093dcd533 03-Oct-2010 Adam Powell <adamp@google.com> am 077c79cb: am 03876c90: Fix text anchor fade-out positioning

Merge commit '077c79cb43c3b6059a92ba1eb51af94972adadef'

* commit '077c79cb43c3b6059a92ba1eb51af94972adadef':
Fix text anchor fade-out positioning
077c79cb43c3b6059a92ba1eb51af94972adadef 03-Oct-2010 Adam Powell <adamp@google.com> am 03876c90: Fix text anchor fade-out positioning

Merge commit '03876c905f3874f3ac8deb5a23ee0f77d4c04bab' into gingerbread-plus-aosp

* commit '03876c905f3874f3ac8deb5a23ee0f77d4c04bab':
Fix text anchor fade-out positioning
03876c905f3874f3ac8deb5a23ee0f77d4c04bab 03-Oct-2010 Adam Powell <adamp@google.com> Fix text anchor fade-out positioning

Change-Id: I5660481fb883c28c88e384be2f26e67aa854ec8e
extView.java
ef29bb5bc97490dda76c43c8984cbad3b388c1e4 03-Oct-2010 Adam Powell <adamp@google.com> am 0d843dc4: am ea32f94e: Fix bug 3058082 - text anchor positioning within moving dialogs

Merge commit '0d843dc47929ff6e3dbaa4cc1d07de7fbdba8506'

* commit '0d843dc47929ff6e3dbaa4cc1d07de7fbdba8506':
Fix bug 3058082 - text anchor positioning within moving dialogs
0d843dc47929ff6e3dbaa4cc1d07de7fbdba8506 03-Oct-2010 Adam Powell <adamp@google.com> am ea32f94e: Fix bug 3058082 - text anchor positioning within moving dialogs

Merge commit 'ea32f94ec4c14fe21b536139762c5332d1b5484c' into gingerbread-plus-aosp

* commit 'ea32f94ec4c14fe21b536139762c5332d1b5484c':
Fix bug 3058082 - text anchor positioning within moving dialogs
ea32f94ec4c14fe21b536139762c5332d1b5484c 03-Oct-2010 Adam Powell <adamp@google.com> Fix bug 3058082 - text anchor positioning within moving dialogs

Change-Id: I8f0b515c73d2b3055b4072425418f837eb021d4f
extView.java
1ff349020c76b36629a4f5329677b73cf77dee7e 02-Oct-2010 Adam Powell <adamp@google.com> am 53303da0: am 8bcbebd4: Fix bug 3024080 - Date picker month field uses numeric text field

Merge commit '53303da0a78da2042ec60226ee290d2c903e6023'

* commit '53303da0a78da2042ec60226ee290d2c903e6023':
Fix bug 3024080 - Date picker month field uses numeric text field
53303da0a78da2042ec60226ee290d2c903e6023 02-Oct-2010 Adam Powell <adamp@google.com> am 8bcbebd4: Fix bug 3024080 - Date picker month field uses numeric text field

Merge commit '8bcbebd4178b2e9aca9ee3bd9e1e12c42e74c8db' into gingerbread-plus-aosp

* commit '8bcbebd4178b2e9aca9ee3bd9e1e12c42e74c8db':
Fix bug 3024080 - Date picker month field uses numeric text field
8bcbebd4178b2e9aca9ee3bd9e1e12c42e74c8db 02-Oct-2010 Adam Powell <adamp@google.com> Fix bug 3024080 - Date picker month field uses numeric text field

NumberPicker now uses text entry when displayed value strings are
provided.

Change-Id: I555a7d6b64ad6a5af131b3e1d8c638dcdb00d02c
atePicker.java
umberPicker.java
1b065cd1401253f999caa5d0ac12909407cef00e 28-Sep-2010 Adam Cohen <adamcohen@google.com> Added looping parameter to AdapterViewAnimator / StackView

Change-Id: Iad36f7c0e657ffbae6dd17d0c9464ddf12de8b7b
dapterViewAnimator.java
dapterViewFlipper.java
tackView.java
a5f6f802c6e472503efd5b598dc3bab57150c1c9 29-Sep-2010 Winson Chung <winsonc@google.com> Extracting default loading view definition into XML resource.

Change-Id: Ie5ba936d014f82a2b4df0d803b7553bfc8c25ae7
emoteViewsAdapter.java
e2dc5260d9fc28b6169054aaf99e8006dd1b9803 30-Sep-2010 Leon Scroggins III <scroggo@google.com> Create dummy assets for text selection actions.

The new assets are just copies of old assets. However, now
the code is set up properly, and when we do get final
assets no new code needs to be written, and both TextView
and the select action mode for the browser will be updated.

Change-Id: I9a1461bf447f6bbc2782d8f948d873cbeeccbcb0
extView.java
64e2b7189389118bb5309de3060c856377c0d6de 30-Sep-2010 Adam Powell <adamp@google.com> resolved conflicts for merge of 6e9a021e to master

Change-Id: I5ea823b752e78cb9d2ef7ccec68addbaa9ca66e9
6e9a021e961b3c317e92d354e99b963c85fd8952 30-Sep-2010 Adam Powell <adamp@google.com> am bc87ada1: Merge "Fix text anchors" into gingerbread

Merge commit 'bc87ada10de34c2d7b1301af86d94ed7c4801120' into gingerbread-plus-aosp

* commit 'bc87ada10de34c2d7b1301af86d94ed7c4801120':
Fix text anchors
ba0a2c383ffe4be1fe33a5aa57bc3148c4fd0b7c 29-Sep-2010 Adam Powell <adamp@google.com> Fix text anchors

Change-Id: Iddd5434a1dbeb1adc2143db73ed27df6b575319e
opupWindow.java
extView.java
6364f2bbe5254b4274f3feffc48f4259eacc205e 29-Sep-2010 Winson Chung <winsonc@google.com> Fixing issue where notifyDataSetChanged was not properly being called while not loading items.

Change-Id: I46bb30a5a95576891f11873b214f5c760f5d1757
dapterViewAnimator.java
emoteViewsAdapter.java
tackView.java
5553044c193415a21f33b953aec7f53b1ef0d1aa 29-Sep-2010 Winson Chung <winsonc@google.com> Merge "Making the calls to the RemoteViewsFactory synchronized to prevent threading issues."
f58a96152cecb480decf8c0352b01322663e5cbc 29-Sep-2010 Winson Chung <winsonc@google.com> Making the calls to the RemoteViewsFactory synchronized to prevent threading issues.

Change-Id: I6efcfb070a9a6cb0467a87a801dfe46c358710f7
emoteViewsService.java
3a5dd9c83e9eaa21ab7838e3cb3325f4d979eb1e 29-Sep-2010 Winson Chung <winsonc@google.com> Merge "Being more judicious in resetting meta data for the RemoteAdapter."
556547dde9508ff88fe56a52c69e7ffb0e949f55 28-Sep-2010 repo sync <mxw@google.com> Merge "focus issues"
6a81b8271d2edc1a87a3f50e8146f095be998629 28-Sep-2010 repo sync <mxw@google.com> focus issues

1. Don't bring up the keyboard if we're iconified by default
2. Also override onRequestFocusInDescendants to return false. This makes it so that we don't focus on the search edit text which is in the actionbar.

Change-Id: I345e9cd77f686f13762a20454a76ff1f7c4a5556
earchView.java
61ac7e3b3602d9d20b8876b4bf8d2e536af04a47 28-Sep-2010 Winson Chung <winsonc@google.com> Being more judicious in resetting meta data for the RemoteAdapter.

- Also adding more error checking when we go to apply the RemoteViews

Change-Id: Id7b13f390cc8ff08fdf8d96cf6bdc5668bf4f2f0
emoteViewsAdapter.java
a2a57aa02b6be61ce7cbdae9ef0cd964d46ad069 28-Sep-2010 Romain Guy <romainguy@google.com> Merge "Display the correct expected name when loading the wrong adapter."
5a86c4c3857ed3924848318cb06b6a4bc40b1f10 28-Sep-2010 Romain Guy <romainguy@google.com> Display the correct expected name when loading the wrong adapter.

Bug #3042860

Change-Id: I5533c6b99a6aa69e05b6acf8f140b64ee5ea02f0
dapters.java
464fb74e28b6d76d5e741abcdbb714eea2d9b4d1 27-Sep-2010 Jeff Brown <jeffbrown@google.com> am 9785bf0f: am 14a288da: Merge "Add suuport for splitting touch events across windows." into gingerbread

Merge commit '9785bf0f2b6b8758aed7ded3b996a2ef0be89919'

* commit '9785bf0f2b6b8758aed7ded3b996a2ef0be89919':
Add suuport for splitting touch events across windows.
9785bf0f2b6b8758aed7ded3b996a2ef0be89919 27-Sep-2010 Jeff Brown <jeffbrown@google.com> am 14a288da: Merge "Add suuport for splitting touch events across windows." into gingerbread

Merge commit '14a288da6a372230d9af41da12241fe500eec837' into gingerbread-plus-aosp

* commit '14a288da6a372230d9af41da12241fe500eec837':
Add suuport for splitting touch events across windows.
01ce2e9eee41cc0c24b0d16465710a28ea337d5d 27-Sep-2010 Jeff Brown <jeffbrown@google.com> Add suuport for splitting touch events across windows.

This feature is currently used to enable dragging the start and end
selection handles of a TextView at the same time. Could be used for
other things later.

Deleted some dead code in ArrowKeyMovementMethod and CursorControllers.

Change-Id: I930accd97ca1ca1917aab8a807db2c950fc7b409
opupWindow.java
extView.java
3ec9a45c36d3ca5ffbc6e85bbeb497b065e14155 24-Sep-2010 Winson Chung <winsonc@google.com> Re-architecting RemoteViewsAdapter internals due to new constraints.

- Respecting the AdapterView/Adapter contract using FrameLayout notification to update individual items
- Initial changes to allow for keeping (currently bitmap only) memory in check when loading numerous RemoteViews
- Fixing issue with leaking activities due to extra service connection references
- Fixing issue with multiple RemoteViewsAdapters being set on the same AdapterView
- Fixing small issue with StackView sometimes requesting indices out of bounds
- Removing background loading, reverting to previous message-queuing method (seems to be performant now)

Change-Id: I42313767aa791dfe35c247c97ae5d64389e6bb4c
bsListView.java
dapterViewAnimator.java
emoteViews.java
emoteViewsAdapter.java
35a840c8b18b79442cba7266aa8063c6f0d96bf0 23-Sep-2010 Scott Main <smain@google.com> am a2427797: am 2dc43f3d: am 5b7328f2: Merge "docs: add more info about state list drawable and onclick attribute to Button bug:1062898" into froyo

Merge commit 'a24277977d597b88d3ccfed266e1803d3f7b20a2'

* commit 'a24277977d597b88d3ccfed266e1803d3f7b20a2':
docs: add more info about state list drawable and onclick attribute to Button
a24277977d597b88d3ccfed266e1803d3f7b20a2 23-Sep-2010 Scott Main <smain@google.com> am 2dc43f3d: am 5b7328f2: Merge "docs: add more info about state list drawable and onclick attribute to Button bug:1062898" into froyo

Merge commit '2dc43f3d4c721acf331d699e24d9aac4d4cc2f95' into gingerbread-plus-aosp

* commit '2dc43f3d4c721acf331d699e24d9aac4d4cc2f95':
docs: add more info about state list drawable and onclick attribute to Button
2dc43f3d4c721acf331d699e24d9aac4d4cc2f95 23-Sep-2010 Scott Main <smain@google.com> am 5b7328f2: Merge "docs: add more info about state list drawable and onclick attribute to Button bug:1062898" into froyo

Merge commit '5b7328f257a76ff6b7b60872d6a106002ff1f679' into gingerbread

* commit '5b7328f257a76ff6b7b60872d6a106002ff1f679':
docs: add more info about state list drawable and onclick attribute to Button
6ec3d4f0dcc30879076fd3dd859de5005c045a43 23-Sep-2010 Scott Main <smain@google.com> docs: add more info about state list drawable and onclick attribute to Button
bug:1062898

Change-Id: I633c38fc20a2ebf894237f86648cc0fdc9488b1a
utton.java
625ac271f80777668f832a344486a6fcdc06d0ae 18-Sep-2010 Dianne Hackborn <hackbod@google.com> Work on fragments in layouts.

- Change semantics if IDs associated with these fragments, to
work correctly when placed in a container. If the container
has an ID or you have supplied a tag, the fragment's ID is
optional.

- To do this, there is a new LayoutInflater API that allows code
creating views to access the parent container that view will
be in.

- Fix issues with state management around these fragments. Now
correctly retains state when switching to a layout that doesn't
include the fragment.

Also:

- Add new simple list layouts for items that want to show an
activated state.
- Add new Activity.dump() that can be invoked with adb shell
dumpsys; the default implementation dumps fragment state.

Change-Id: I192f35e3ea8c53fbd26cf909095f2a994abfc1b6
extView.java
879fb6b5d66bec90d3420fad12a2a9b2fe9592f3 20-Sep-2010 Adam Powell <adamp@google.com> Text selection anchors changed to use windows

Manually cherry-picked

Change-Id: Id080dfad0e2f324fef3a5175abc78f76c8bad4c8
opupWindow.java
extView.java
770a681b2f5b00e699920317bff04a24676ae143 22-Sep-2010 Adam Powell <adamp@google.com> am 9aed3002: Text selection anchors changed to use windows

Merge commit '9aed300279db6953356aed5ef24a42291f5829cb' into gingerbread-plus-aosp

* commit '9aed300279db6953356aed5ef24a42291f5829cb':
Text selection anchors changed to use windows
9aed300279db6953356aed5ef24a42291f5829cb 20-Sep-2010 Adam Powell <adamp@google.com> Text selection anchors changed to use windows

Change-Id: I14f138039f5e3175a8c07f21985715b8447708e5
opupWindow.java
extView.java
447c677e97e90344881371ecef1ec8aca1b3acc0 21-Sep-2010 Mindy Pereira <mindyp@google.com> am 1139b326: Merge "DO NOT MERGE Tweaked EdgeGlow to better match user expectations." into gingerbread

Merge commit '1139b326d2cf95e2917ed23d79f795d64379d188' into gingerbread-plus-aosp

* commit '1139b326d2cf95e2917ed23d79f795d64379d188':
DO NOT MERGE Tweaked EdgeGlow to better match user expectations.
40d35794ca73a93d6f6fa590e34cb8ce7d70b587 20-Sep-2010 Mindy Pereira <mindyp@google.com> DO NOT MERGE Tweaked EdgeGlow to better match user expectations.

Change-Id: I7864dd4d3e15a9dc11429d5d3268f9b078f3eaad
Constants updated to match user testing.
Recede no longer flashes out but degrades all the way to zero.
Growth of the absorb flash is now quadratic as this better
matches the "physics" of the user flicking the list.
Size of the pull and absorb graphics changed to give the user
a more dramatic indication of what has happened.
dgeGlow.java
35ae9ca5bf4b99bc341afe43d501a2d166f5df43 21-Sep-2010 Adam Cohen <adamcohen@google.com> Modifying PendingIntent APIs for collection widgets

Change-Id: Ib8e3b46542389afe93e74358a9138b1935634e90
emoteViews.java
5d8f9dd3572c9d3b3d57985c31427dc9ca2a7f4a 18-Sep-2010 Adam Powell <adamp@google.com> am 99f0f367: am 4258bfb7: Merge "Fix some drawing artifacts/bugs around overlays/text anchors" into gingerbread

Merge commit '99f0f3676f50640dbb22bd12960f771fc414862e'

* commit '99f0f3676f50640dbb22bd12960f771fc414862e':
Fix some drawing artifacts/bugs around overlays/text anchors
99f0f3676f50640dbb22bd12960f771fc414862e 18-Sep-2010 Adam Powell <adamp@google.com> am 4258bfb7: Merge "Fix some drawing artifacts/bugs around overlays/text anchors" into gingerbread

Merge commit '4258bfb7a9fb18907fbfbe79ec0a937b4e7382b1' into gingerbread-plus-aosp

* commit '4258bfb7a9fb18907fbfbe79ec0a937b4e7382b1':
Fix some drawing artifacts/bugs around overlays/text anchors
23bd5f50759c54224a2620cbed4614e434437265 18-Sep-2010 Adam Powell <adamp@google.com> Fix some drawing artifacts/bugs around overlays/text anchors

Change-Id: I28170d4e120506c09a1cfea721244fbcd3c2576a
extView.java
f37df070ea84c353ff8bed4b2591932126d7e2ca 18-Sep-2010 Adam Powell <adamp@google.com> resolved conflicts for merge of b39470b5 to master

Change-Id: If441c8684c576b6cbc485a37088d6869ad3fb23f
4a4a53ae07bb8f760d1e3c588262f56b3a72a7f4 18-Sep-2010 Adam Powell <adamp@google.com> am 25945ca2: Merge "Fix silly touch bug in TextView. Oops." into gingerbread

Merge commit '25945ca2e67c0e46ff2ad46590cd71ca5b4b4266' into gingerbread-plus-aosp

* commit '25945ca2e67c0e46ff2ad46590cd71ca5b4b4266':
Fix silly touch bug in TextView. Oops.
4d4d62b23aa84e740c2abc543a4198863e103476 18-Sep-2010 Adam Powell <adamp@google.com> Fix silly touch bug in TextView. Oops.

Change-Id: Ib256154124c05944c7f2125edfd38ee6799412be
extView.java
b39470b57d2e4e0bf5abb43729ef9e43eb0ad5f2 17-Sep-2010 Adam Powell <adamp@google.com> am b08013c3: Added overlay support for drawing/responding to text anchors.

Merge commit 'b08013c312e3d849029a2f4c11889274c00f438d' into gingerbread-plus-aosp

* commit 'b08013c312e3d849029a2f4c11889274c00f438d':
Added overlay support for drawing/responding to text anchors.
b08013c312e3d849029a2f4c11889274c00f438d 17-Sep-2010 Adam Powell <adamp@google.com> Added overlay support for drawing/responding to text anchors.

Overlays let views draw and respond to touch events outside of their
bounds. This allows selection anchors to be friendlier and easier to
grab. This is currently private API, pending further evaluation.

Added themes/styles for text selection anchors.

Added assets for text selection anchors as provided by UX. The
left/right anchors are currently not suitable for use. They are here
for bookkeeping and replacement later. The theme currently uses the
'middle' anchor asset for all three. This will be changed once assets
are ready.

Change-Id: I01b21e5ae90cab201f86f38f2f5eeaf2bd7f6bcd
extView.java
ca6fd847945464c2ddddcd165021082c048f05fb 04-Sep-2010 Adam Cohen <adamcohen@google.com> Modifying API for setting on-click intents for items
in widget collections.

Change-Id: I0ad1f1241b7a40f0790ecd9fd3228f204d2c8499
emoteViews.java
emoteViewsService.java
15e914547799950cf16f433e0b899799c46f12fa 17-Sep-2010 Adam Cohen <adamcohen@google.com> Merge "Fixing StackView rendering bug exposed by recent Launcher change"
9b3a2cf2a0a482ce8212eb2775176dd4c23e8e9a 16-Sep-2010 Winson Chung <winsonc@google.com> Prevent multiple RemoteViewAdapters from being set for the same intent.

Fixing issue where we were comparing and storing intents incorrectly in the RemoteViewsService reference counting scheme.

Change-Id: Iedf5997ed3a3ee7f8729cf8689121913196571f8
bsListView.java
dapterViewAnimator.java
emoteViewsAdapter.java
emoteViewsService.java
b7f4d030a2ed9301bf47c41fefc1b338f4347ffe 17-Sep-2010 Adam Cohen <adamcohen@google.com> Fixing StackView rendering bug exposed by recent Launcher change

Change-Id: Ic8aad699afb75842d63be39e6586a6b23997aef8
tackView.java
e678f46ec45076203f6260f8a26f56d838c6b6ff 16-Sep-2010 Amith Yamasani <yamasani@google.com> Query refinement feature in SearchView.

New method : setQueryRefinementEnabled() which will either enable all suggestions
to have the little query refinement icon in the right or just the ones that have
a bit set in the new SUGGEST_FLAGS column of the suggestion provider cursor.
earchView.java
uggestionsAdapter.java
406f0522e54ab42f49e810e1f52b4b25bc4b6a96 16-Sep-2010 Michael Jurka <mikejurka@google.com> fixing bug where changing alpha on one textview
changed alpha on all other textviews with the
same drawable

Change-Id: I19c808c59654da9ed907d1356bbefe3d9926add0
extView.java
0b2d306e7000f4c0c6ad4e00d494bb401d8a9fc2 15-Sep-2010 Adam Powell <adamp@google.com> Style new popup widgets.

Change-Id: I208ed292afd9919071778baa9ea61d7ca9e7743c
istPopupWindow.java
d0fa371f276fde32d81c037006941bc93da0bb03 15-Sep-2010 Dianne Hackborn <hackbod@google.com> Add a new "activated" state to View.

Use this in ListView and GridView if the top view is not checkable.

This allows PreferenceActivity to now highlight the current heading
that is being shown.

Change-Id: I0d28aded9a61a42962b4aece420ae4058712d963
ridView.java
istView.java
6fe4e3fd36057c89b81fb3fb9df0980ed6cbe654 15-Sep-2010 Adam Powell <adamp@google.com> Merge "Improve ListView smooth scrolling timing"
234a5715309ea74757780aff6123e3144efb5b69 14-Sep-2010 Adam Powell <adamp@google.com> Improve ListView smooth scrolling timing

Change-Id: Icbd727efd5bafa1a80d65003aead1697f6103fda
bsListView.java
9322775014432ed6c87c864e98fe482f879ff233 14-Sep-2010 Amith Yamasani <yamasani@google.com> Add a missing setOnCloseListener and a new setIconfied method.

Keep track of the currently iconified state as well, if the app
wants to know.
earchView.java
2bffd268f135df8308c9e67af110525a5c463424 13-Sep-2010 Romain Guy <romainguy@google.com> Fix text rendering issue with text scaling.

Change-Id: I1f3ae40025697e8f8ca0616ee6550fe215cadcc8
extView.java
28d8fda9d8d276e628ba25755c88703098fc8bfa 11-Sep-2010 Winson Chung <winsonc@google.com> Merge "-> Fixing some layout issues in StackView -> Made the highlight width depend on the screen density"
f0257c5973b3d76b00743c745fe59b93e69bd9e8 11-Sep-2010 Jean-Baptiste Queru <jbq@google.com> am b387571c: am ca6de93a: Merge "Fix number counter will keep going after window losed focus."

Merge commit 'b387571c42aa08b5b9aa9833edb94c16a623e535'

* commit 'b387571c42aa08b5b9aa9833edb94c16a623e535':
Fix number counter will keep going after window losed focus.
b387571c42aa08b5b9aa9833edb94c16a623e535 11-Sep-2010 Jean-Baptiste Queru <jbq@google.com> am ca6de93a: Merge "Fix number counter will keep going after window losed focus."

Merge commit 'ca6de93a9d2f11a18187d9fcd54303813c06094a' into gingerbread-plus-aosp

* commit 'ca6de93a9d2f11a18187d9fcd54303813c06094a':
Fix number counter will keep going after window losed focus.
dfcdddd7c408dddb22fb0867e4799d4c29d2f55f 10-Sep-2010 Adam Cohen <adamcohen@google.com> -> Fixing some layout issues in StackView
-> Made the highlight width depend on the screen density

Change-Id: I6b3ae68de5fb90728938a7e0869cf97e816aa6af
dapterViewAnimator.java
tackView.java
733cbd58cbc3cf438a7ac0a2902b8aeab941a6b9 03-Sep-2010 Amith Yamasani <yamasani@google.com> SearchView API

Implements the basic requirements for in-app search. More work to be done.
earchView.java
uggestionsAdapter.java
1a28bbb99da5035cb95744a5430d88b0d7ff4ff6 10-Sep-2010 Adam Cohen <adamcohen@google.com> Merge "Fixing a bug where StackView wasn't always laid out correctly upon loading"
f04e22571f17bf850ef89adddf2b12171e536619 10-Sep-2010 Adam Cohen <adamcohen@google.com> Fixing a bug where StackView wasn't always laid out
correctly upon loading

Change-Id: Iab80262be05dae949998a6193856fb7bbe297117
tackView.java
2f803bea32b85419eca0101c25190853a548376c 10-Sep-2010 Winson Chung <winsonc@google.com> Merge "Adding some error handling to RemoteViewsAdapter, removing artificial loading delay."
fbc3590f40436e372df198c2d6b27877ae8952f1 10-Sep-2010 Winson Chung <winsonc@google.com> Adding some error handling to RemoteViewsAdapter, removing artificial loading delay.

Change-Id: I9cff6045086f0959ace65c2210fa3b9341f5aa5e
emoteViewsAdapter.java
0706f5058cacbbe5f7572ad530d666a038352d82 09-Sep-2010 Gilles Debunne <debunne@google.com> am 2b88c5c7: am 47fa8e80: Fix for an IndentOutOfBounds in TextField.

Merge commit '2b88c5c70d3a70afb02c9ef32c8cd902a12e9434'

* commit '2b88c5c70d3a70afb02c9ef32c8cd902a12e9434':
Fix for an IndentOutOfBounds in TextField.
a3dac8b1dc8c5e02c2177b417f6c1d84fd2ae3dd 09-Sep-2010 Gilles Debunne <debunne@google.com> am ca1b2615: am 87e215fd: Merge "Made context menu appear when tapping inside selection." into gingerbread

Merge commit 'ca1b26150943829a296bf38e55ff9c55dbd98182'

* commit 'ca1b26150943829a296bf38e55ff9c55dbd98182':
Made context menu appear when tapping inside selection.
6eea4cd1872bcc205b1f44a6ccaf410c23eb0aee 09-Sep-2010 Gilles Debunne <debunne@google.com> resolved conflicts for merge of ff545380 to master

Change-Id: Ida3b6cec13b03d734bb1ba4e31554eb5226da749
2b88c5c70d3a70afb02c9ef32c8cd902a12e9434 09-Sep-2010 Gilles Debunne <debunne@google.com> am 47fa8e80: Fix for an IndentOutOfBounds in TextField.

Merge commit '47fa8e800ca3ce56733f7b3a54bace86ad37a1f4' into gingerbread-plus-aosp

* commit '47fa8e800ca3ce56733f7b3a54bace86ad37a1f4':
Fix for an IndentOutOfBounds in TextField.
47fa8e800ca3ce56733f7b3a54bace86ad37a1f4 08-Sep-2010 Gilles Debunne <debunne@google.com> Fix for an IndentOutOfBounds in TextField.

Bug http://b/issue?id=2971995

Change-Id: Id6a40e81b26e14c1e5f06ed1bd70ee419c501c69
extView.java
ca1b26150943829a296bf38e55ff9c55dbd98182 09-Sep-2010 Gilles Debunne <debunne@google.com> am 87e215fd: Merge "Made context menu appear when tapping inside selection." into gingerbread

Merge commit '87e215fd54559935649fb07264ece600bbabbdf9' into gingerbread-plus-aosp

* commit '87e215fd54559935649fb07264ece600bbabbdf9':
Made context menu appear when tapping inside selection.
b18924973500e0169784a21db5b296ab3be4eaef 09-Sep-2010 Gilles Debunne <debunne@google.com> Made context menu appear when tapping inside selection.

Change-Id: I7ca274b007f4daea7d37a3d6b10b9504874b3c49
extView.java
ff5453809692a86093d65b8943186ac12890d123 09-Sep-2010 Gilles Debunne <debunne@google.com> am ab86b782: Merge "Fix for text selection in horizontally scrolled TextViews." into gingerbread

Merge commit 'ab86b782fd2c8c7b1e6b50d30482aa2b8f890e80' into gingerbread-plus-aosp

* commit 'ab86b782fd2c8c7b1e6b50d30482aa2b8f890e80':
Fix for text selection in horizontally scrolled TextViews.
03789e8d598f24519b8eeb7415a96715f2d6cc01 08-Sep-2010 Gilles Debunne <debunne@google.com> Smart word detection in text selection. Manual merge in HC of 63569.

Selecting between words selects the spaces instead of the closest word, facilitating
paste insertion vs word replacement.

Pasting adds/removes space before and after if needed so that pasted text is not appended to
existing text.

Change-Id: Iffa0fb573d3535af72b639d05c5dc0721e80bda5
extView.java
44c1e4c72dea2d7ce077cc6fdc46e01bd863a642 09-Sep-2010 Gilles Debunne <debunne@google.com> Fix for text selection in horizontally scrolled TextViews.

A left padding and scroll was not taken into account in cursor position.

Bug http://b/issue?id=2970142

Change-Id: Ie76e8d97f3dd5fe3a750aa82cd4b97c98892cb48
extView.java
bd0136a2fde1d81a835f94efe3193569b10d99ff 08-Sep-2010 Adam Cohen <adamcohen@google.com> AdapterViewAnimator now properly handles notifyDataSetChanged

Change-Id: Icc22671b76d49c4229f118f77a5c269253a07b84
dapterViewAnimator.java
d4fd86d19a070a355255b51742075fbf8e69fa4a 08-Sep-2010 Gilles Debunne <debunne@google.com> am 468394fc: Text Selection: smart word detection. DO NOT MERGE.

Merge commit '468394fc6d1cb0c9078c2f98aa056860f7e0d743' into gingerbread-plus-aosp

* commit '468394fc6d1cb0c9078c2f98aa056860f7e0d743':
Text Selection: smart word detection. DO NOT MERGE.
e6fac0df113b04db68a065242bdcee1faee917b4 08-Sep-2010 Chet Haase <chet@google.com> Merge "Rename several animation classes"
468394fc6d1cb0c9078c2f98aa056860f7e0d743 27-Aug-2010 Gilles Debunne <debunne@google.com> Text Selection: smart word detection. DO NOT MERGE.

Selecting between words selects the spaces instead of the closest word, facilitating
paste insertion vs word replacement.

Pasting adds/removes space before and after if needed so that pasted text is not appended to
existing text.

Cut and copy not available when selection is empty.

Change-Id: I331413bdef341a4eceffe76fa2957f388d540b6e
extView.java
a18a86b43e40e3c15dcca0ae0148d641be9b25fe 07-Sep-2010 Chet Haase <chet@google.com> Rename several animation classes

Change-Id: I6a4544875090db485163c8d56de8718f56d267c7
dapterViewAnimator.java
tackView.java
64e54a6e1fcb4a9603b3b86e1fb883ce49eadc92 08-Sep-2010 Gilles Debunne <debunne@google.com> Made text selection work in ExtractEditText. Manual merge of Gingerbread 64947.

Change-Id: I2bbd4cd7abbc77212fb4df256c345f95232de127
extView.java
2ae3718b448cdc5e94b4686795301a01f54640e4 08-Sep-2010 Gilles Debunne <debunne@google.com> am dbd25cdb: Made text selection work in ExtractEditText. DO NOT MERGE

Merge commit 'dbd25cdbc3dcad573aaeaf493bc186006bce3d8e' into gingerbread-plus-aosp

* commit 'dbd25cdbc3dcad573aaeaf493bc186006bce3d8e':
Made text selection work in ExtractEditText. DO NOT MERGE
dbd25cdbc3dcad573aaeaf493bc186006bce3d8e 08-Sep-2010 Gilles Debunne <debunne@google.com> Made text selection work in ExtractEditText. DO NOT MERGE

Change insertion point on tap is no longer handled by the CommitSelectionReceiver
(as it is not called by ExtractEditText).

Fixed a bug to handle drawing positions when the internal TextView scroller is used.

Change-Id: I87398c7109c5527d21dee6abbdb925848244d594
extView.java
1006c842f1dfddf3c55291239961299f176ae08f 08-Sep-2010 Makoto Onuki <omakoto@google.com> am 3f6e4d56: am 1cc86da6: Merge "Don\'t fall through from TOKEN_EMAIL_LOOKUP" into gingerbread

Merge commit '3f6e4d56bba393ac556a672202e00bc417784ce8'

* commit '3f6e4d56bba393ac556a672202e00bc417784ce8':
Don't fall through from TOKEN_EMAIL_LOOKUP
3f6e4d56bba393ac556a672202e00bc417784ce8 07-Sep-2010 Makoto Onuki <omakoto@google.com> am 1cc86da6: Merge "Don\'t fall through from TOKEN_EMAIL_LOOKUP" into gingerbread

Merge commit '1cc86da61a361c84ef81e893440c500e33fae312' into gingerbread-plus-aosp

* commit '1cc86da61a361c84ef81e893440c500e33fae312':
Don't fall through from TOKEN_EMAIL_LOOKUP
a362e1d79492cf3a60724a259fcd6d786574d5d6 07-Sep-2010 Makoto Onuki <omakoto@google.com> Don't fall through from TOKEN_EMAIL_LOOKUP

Change-Id: Ifc08f26ba93496cfa53cd83c7df0e986ea4ece4b
uickContactBadge.java
839f4a54e5a6fe602dbc5998b01412d809eba722 27-Aug-2010 Adam Cohen <adamcohen@google.com> -> Implemented new visualization for StackView
-> Cleaning up the method for creating the blue outline
-> Reimplmented onMeasure for StackView and AdapterViewAnimator

Change-Id: I59ce063661d59412de05d1a471644674f83bb7d1
dapterViewAnimator.java
tackView.java
f9a1ff4173fd366fb263f0d3cae71014404c4612 03-Sep-2010 Adam Powell <adamp@google.com> am e7c02ef4: Merge "Fix bug 2973252 - Make overscroll glow respect ifContentScrolls" into gingerbread

Merge commit 'e7c02ef40a10c599b13684a6f99a91eabd0f258f' into gingerbread-plus-aosp

* commit 'e7c02ef40a10c599b13684a6f99a91eabd0f258f':
Fix bug 2973252 - Make overscroll glow respect ifContentScrolls
e6ffce9f65a1a8f498eb51a993a8cbf5f13a109e 03-Sep-2010 Adam Powell <adamp@google.com> Fix bug 2973252 - Make overscroll glow respect ifContentScrolls

Change-Id: I0e4bf09c0cbc660c9b8d26a3526b09568c05e93d
bsListView.java
orizontalScrollView.java
crollView.java
3d456a4fc08af036ce94a5f0aa6bc71ee4b5228a 02-Sep-2010 Tony Wu <Tony_Wu@acer.com.tw> Fix number counter will keep going after window losed focus.

Use Time pick in AlarmClock, long press on + or -, make an
incoming call or press power key to suspend the device,
after resumed, the counter will keep going without press.

Change-Id: I5e69d5e17d3be9aa78648e6f8e28665ec305b36f
umberPickerButton.java
cdee446075811e871fc2af295377bd99c100d16d 03-Sep-2010 Adam Powell <adamp@google.com> Fix bug 2963261

Change-Id: I31952474cf9d31fff78436461aeb7d0ad34d9068
istPopupWindow.java
fef364f75b00e238d28a81e1168bbfc945ce8d23 03-Sep-2010 Adam Powell <adamp@google.com> Fix bug 2957414 - Add Spinner constructor for selecting dialog/dropdown mode

Change-Id: I7ea2bbf7d387bdd3e0cb59a1b9b24406560680b7
pinner.java
0358def77633b6548da06985cb22955a7e85abac 02-Sep-2010 Adam Powell <adamp@google.com> am 79492a0d: Merge "DO NOT MERGE Overscroll continues; asset and behavior tweaks." into gingerbread

Merge commit '79492a0d75b0b02f11f35500f79dd3fcbc6e2211' into gingerbread-plus-aosp

* commit '79492a0d75b0b02f11f35500f79dd3fcbc6e2211':
DO NOT MERGE Overscroll continues; asset and behavior tweaks.
5916882c3f13429d29f95b89dd94bd2d5733da85 02-Sep-2010 Adam Powell <adamp@google.com> DO NOT MERGE Overscroll continues; asset and behavior tweaks.

Change-Id: I367643877a397e7b4fa9bd8c40639ff69436e7f0
bsListView.java
dgeGlow.java
orizontalScrollView.java
crollView.java
6fb81376b6e062d9b0ce4d91e23c2a88572b8186 01-Sep-2010 Adam Powell <adamp@google.com> am e34fe69e: Merge "DO NOT MERGE Integrate edge effects into WebView." into gingerbread

Merge commit 'e34fe69e66d8c9bc76453347ba84261b060300f3' into gingerbread-plus-aosp

* commit 'e34fe69e66d8c9bc76453347ba84261b060300f3':
DO NOT MERGE Integrate edge effects into WebView.
f90132b3fe340d062a686c68b69e22a4cc99ed57 01-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Merge "Clarify the behavior of ListView#setColorHint()."
5be37c81a72c2085db87ae9e6f235de358e4b4cb 01-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Clarify the behavior of ListView#setColorHint().

Bug: 2965521
Change-Id: Iacd139b0e9eec4bfdd007eb1391cc45c1d889b00
bsListView.java
230269d43bccccefdcb219c74c96a63ae04f4af9 31-Aug-2010 Adam Powell <adamp@google.com> DO NOT MERGE Integrate edge effects into WebView.

TODO Effect for scaling gestures; asset/polish tweaks.

Change-Id: Ifbc201cb64e0610dbc92a7c57ba0d3a4ee686c43
dgeGlow.java
verScroller.java
9e0a9d84e688f4103dd73018076e47c713823bbd 01-Sep-2010 Gilles Debunne <debunne@google.com> am ff46a5c9: am d2fbabad: Merge "Fixed single line state on TextView." into gingerbread

Merge commit 'ff46a5c9bd55c492925ffcb608510a0a3dd8a969'

* commit 'ff46a5c9bd55c492925ffcb608510a0a3dd8a969':
Fixed single line state on TextView.
ff46a5c9bd55c492925ffcb608510a0a3dd8a969 01-Sep-2010 Gilles Debunne <debunne@google.com> am d2fbabad: Merge "Fixed single line state on TextView." into gingerbread

Merge commit 'd2fbabad1e1fa8de1f0809ec5a2653f8af25dbb3' into gingerbread-plus-aosp

* commit 'd2fbabad1e1fa8de1f0809ec5a2653f8af25dbb3':
Fixed single line state on TextView.
e67b58a347109b444070a34e86e81ce119f266b3 01-Sep-2010 Gilles Debunne <debunne@google.com> Fixed single line state on TextView.

singleLine flag is set to false by default. However, when no singleLine or input
type is provided, the inputType of the TextView is not set to
EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE for edit texts.

Change-Id: Id747d3319afcddb3ab6ae0463947e8b3e470ef73
extView.java
a9c43aaa4482819ca14bb5f036b328dd4e5f2211 31-Aug-2010 Adam Powell <adamp@google.com> am 0a77ce27: New edge effects for scrolling widgets (overscroll)

Merge commit '0a77ce277c6ed2aa25bbea5f8cd5687c0720cb68' into gingerbread-plus-aosp

* commit '0a77ce277c6ed2aa25bbea5f8cd5687c0720cb68':
New edge effects for scrolling widgets (overscroll)
0a77ce277c6ed2aa25bbea5f8cd5687c0720cb68 25-Aug-2010 Adam Powell <adamp@google.com> New edge effects for scrolling widgets (overscroll)

TODO: Currently disabled for WebView. Assets used for the glow effect
need to be themable/styleable. Overscroll effect should take place
even when the user did not grab the widget within actual content.

Change-Id: I68277d14d37dc5bcdb9254eaddf6e4998b3f2bf4
bsListView.java
dgeGlow.java
ridView.java
orizontalScrollView.java
istView.java
verScroller.java
crollView.java
croller.java
e30e1ff8bce5bc74555d34fc13d00c548c1ca24e 31-Aug-2010 Adam Powell <adamp@google.com> am 7d04f2bc: am 4c72ad75: Merge "Fix bug 2918587 Infinite loop and memory leak in AdapterView" into gingerbread

Merge commit '7d04f2bc4e38d5d7d2b37d6dec76fb3793311341'

* commit '7d04f2bc4e38d5d7d2b37d6dec76fb3793311341':
Fix bug 2918587 Infinite loop and memory leak in AdapterView
7d04f2bc4e38d5d7d2b37d6dec76fb3793311341 31-Aug-2010 Adam Powell <adamp@google.com> am 4c72ad75: Merge "Fix bug 2918587 Infinite loop and memory leak in AdapterView" into gingerbread

Merge commit '4c72ad75cfb413f54cb59d413a232e77c7260ef2' into gingerbread-plus-aosp

* commit '4c72ad75cfb413f54cb59d413a232e77c7260ef2':
Fix bug 2918587 Infinite loop and memory leak in AdapterView
9c17a4c11005877b65d841f4fbd810df89c7c206 31-Aug-2010 Adam Powell <adamp@google.com> Fix bug 2918587 Infinite loop and memory leak in AdapterView

Change-Id: Icb63b186c56c2d731003dc38a8ff7a93a69a94e7
dapterView.java
3f10b1c8f841113b93d2dfecdd84a1dfb1008faf 29-Aug-2010 Daisuke Miyakawa <dmiyakawa@google.com> Fix NPE when Spinner is reused.

Bug: 2958228
Change-Id: I2c5e322b92fd4896361d02a307d0ba0ef3d33029
pinner.java
fff98cd16b4f8d4ba7d7cd8e38d6a8e2f6a3fafa 28-Aug-2010 Daniel Lehmann <lehmannd@google.com> Merge "Perform a float division for screenTravelCount"
4ef1da3c04aed2fc7af7796a731f5cf00712ae02 28-Aug-2010 Daniel Lehmann <lehmannd@google.com> Perform a float division for screenTravelCount

Change-Id: Ie0f23344a26c7ecf1a641e60d649ad0fc54fecbf
bsListView.java
a222510af8e4da1548747d4367985298efe5198f 28-Aug-2010 Brad Fitzpatrick <bradfitz@android.com> am 2479097e: am b94493fe: Merge "Document blocking behavior of ImageView setImageURI and setImageResource" into gingerbread

Merge commit '2479097ecb899f1e193063e3ce126c721e13c455'

* commit '2479097ecb899f1e193063e3ce126c721e13c455':
Document blocking behavior of ImageView setImageURI and setImageResource
aeaf2830f5ab81e6f95062514239081af65a914f 27-Aug-2010 Gilles Debunne <debunne@google.com> am e69b2860: Merge "DO NOT MERGE Removed "Stop selecting text" option." into gingerbread

Merge commit 'e69b286005b0b543e274f523d894e069811215a6' into gingerbread-plus-aosp

* commit 'e69b286005b0b543e274f523d894e069811215a6':
DO NOT MERGE Removed "Stop selecting text" option.
2479097ecb899f1e193063e3ce126c721e13c455 27-Aug-2010 Brad Fitzpatrick <bradfitz@android.com> am b94493fe: Merge "Document blocking behavior of ImageView setImageURI and setImageResource" into gingerbread

Merge commit 'b94493feaf8b7a620a25c23c1f131a999ed61293' into gingerbread-plus-aosp

* commit 'b94493feaf8b7a620a25c23c1f131a999ed61293':
Document blocking behavior of ImageView setImageURI and setImageResource
e69b286005b0b543e274f523d894e069811215a6 27-Aug-2010 Gilles Debunne <debunne@google.com> Merge "DO NOT MERGE Removed "Stop selecting text" option." into gingerbread
b94493feaf8b7a620a25c23c1f131a999ed61293 27-Aug-2010 Brad Fitzpatrick <bradfitz@android.com> Merge "Document blocking behavior of ImageView setImageURI and setImageResource" into gingerbread
c6b0b7755c7932136c3bcdadfb56657f1f611465 27-Aug-2010 Brad Fitzpatrick <bradfitz@android.com> Document blocking behavior of ImageView setImageURI and setImageResource

Change-Id: I3b0633321229cad80ebf32e052c0db170a56de21
mageView.java
1040dc465cbf5ca8f834a87c949e476abefa3f76 27-Aug-2010 Dianne Hackborn <hackbod@google.com> Improve clipboard API.

- Rename ClippedData to ClipData.
- Introudce ClipDescription subclass.
- Add convenience APIs for creating a ClipData.
- Add ClipboardManager API to get just the ClipDescription.
- Define MIME types associated with a clip.

Change-Id: If97ef91aa99a4dd0ec74ccaea504345c9ef12b5c
extView.java
d2420248faa261d596028ffe1593cdc8afd81e45 27-Aug-2010 Gilles Debunne <debunne@google.com> DO NOT MERGE Removed "Stop selecting text" option.

Change-Id: Ic553d099664d1703a39139e7440d583cfec20d76
extView.java
dfad42760f3c9c3b8439ff4b365256474471abe4 27-Aug-2010 Gilles Debunne <debunne@google.com> am 225ad9cb: Merge "DO NOT MERGE Text selection: tapping on selection opens context menu" into gingerbread

Merge commit '225ad9cb184c94e29e4e0fb89d5e7d043e399ca4' into gingerbread-plus-aosp

* commit '225ad9cb184c94e29e4e0fb89d5e7d043e399ca4':
DO NOT MERGE Text selection: tapping on selection opens context menu
45b2d699e10474f0167691774c0cfb93cfe2dae9 27-Aug-2010 Gilles Debunne <debunne@google.com> DO NOT MERGE Text selection: tapping on selection opens context menu

Back key exit selection mode. No more "Stop selecting text" in second context menu.

A tap on one of the handles also triggers the second context menu.

Paste is only available on long press in first menu for empty text fields.

Change-Id: Ic4fa00458d4f617a81885436b53d4fc923347609
extView.java
511d444be07905b0e45b51a43cc9eed499285c81 27-Aug-2010 Gilles Debunne <debunne@google.com> am b318ef79: am 62dbd82a: Fix for IndexOutOfBounds in TextView getWordLimitsAt.

Merge commit 'b318ef79d5018fdf492ba254438e2d9f1c0fff4c'

* commit 'b318ef79d5018fdf492ba254438e2d9f1c0fff4c':
Fix for IndexOutOfBounds in TextView getWordLimitsAt.
4252a5a4b49f55c93664bd20da31d6af92fc0a29 27-Aug-2010 Adam Cohen <adamcohen@google.com> Merge "-> Added the ability to specify an AdapterView's empty view through RemoteViews. An empty view is the view that appears in lieu of the collection when the collection is empty. -> Made StackViews start at their last item"
1480fddea874a42adb43b4bcdac6704e4c3e110b 26-Aug-2010 Adam Cohen <adamcohen@google.com> -> Added the ability to specify an AdapterView's empty view
through RemoteViews. An empty view is the view that appears
in lieu of the collection when the collection is empty.
-> Made StackViews start at their last item

Change-Id: Ica44e5e8f8f2a2e5589a6c74414ec4d08303887f
dapterView.java
dapterViewAnimator.java
emoteViews.java
tackView.java
e3f55d45cf91177cf610f95da67435c3719d1877 27-Aug-2010 Ben Dodson <bjdodson@google.com> Merge "Updated documentation for upcoming fix for @code tags"
fc2563ba4e9c93ed803f3ce540f92f199f848036 26-Aug-2010 Gilles Debunne <debunne@google.com> resolved conflicts for merge of f309c7a8 to master

Change-Id: I80dfe8a0b142fa95fa83d46f3b60223c2991fce3
4e8620f868e2490782ebb960404140ea9482c91d 25-Aug-2010 Ben Dodson <bjdodson@google.com> Updated documentation for upcoming fix for @code tags

Change-Id: Id7b163179132b9cf180afecb4e9e10ee39bcd415
mageButton.java
b318ef79d5018fdf492ba254438e2d9f1c0fff4c 26-Aug-2010 Gilles Debunne <debunne@google.com> am 62dbd82a: Fix for IndexOutOfBounds in TextView getWordLimitsAt.

Merge commit '62dbd82aad0f84c88212566321e3fb370affaf7c' into gingerbread-plus-aosp

* commit '62dbd82aad0f84c88212566321e3fb370affaf7c':
Fix for IndexOutOfBounds in TextView getWordLimitsAt.
62dbd82aad0f84c88212566321e3fb370affaf7c 26-Aug-2010 Gilles Debunne <debunne@google.com> Fix for IndexOutOfBounds in TextView getWordLimitsAt.

Bug http://b/issue?id=2948904

Change-Id: I10008374da92d5a98ec567cc76732383e66c4c5b
extView.java
f309c7a869b968465619077c78922cf3f95a629d 26-Aug-2010 Gilles Debunne <debunne@google.com> am 1b400c77: Merge "Fix for NPE in TextView." into gingerbread

Merge commit '1b400c7763e63505bafd496953764c3e97c2be5b' into gingerbread-plus-aosp

* commit '1b400c7763e63505bafd496953764c3e97c2be5b':
Fix for NPE in TextView.
df4ee43062281ee9cf908a7c45b269738bd017d3 26-Aug-2010 Gilles Debunne <debunne@google.com> Fix for NPE in TextView.

Bug http://b/issue?id=2941549

Change-Id: Id5cbf0a3b2b68f450a9271333b96d41b01aa9f5c
extView.java
9b073948cfb84c0dd04f8a94ee1f7f263f027c83 20-Aug-2010 Adam Cohen <adamcohen@google.com> Cleanup and bug fixes in StackView
-> pushed functionality from AdapterViewAnimator to StackView
-> only modifying clipping flags as far up the view
hierarchy as needed
-> still need framework level solution for drawing outside bounds

ViewGroup touch dispatch temp fix
-> Touch event was being modified and not reset in some
code paths.

Change-Id: I8135b62e2d73f239b9df407b0fa93bc434796989
dapterViewAnimator.java
tackView.java
925f2f909649dd0cbf93674201430879c2e03f99 25-Aug-2010 Gilles Debunne <debunne@google.com> resolved conflicts for merge of 9765b2a0 to master

Change-Id: Ic37a443fff0425e9d7c8395f71665d56c38d7e53
b32d0f23a82452d6f7fa8c513e179f1287621905 24-Aug-2010 Gilles Debunne <debunne@google.com> am e2978c8d: Merge "Fix for an NPE in TextView." into gingerbread

Merge commit 'e2978c8dcafdf20c2b49999ec423cb5f76d4a583' into gingerbread-plus-aosp

* commit 'e2978c8dcafdf20c2b49999ec423cb5f76d4a583':
Fix for an NPE in TextView.
4e765e002f135e2c4c30aff9e94d40e296a74d60 24-Aug-2010 Gilles Debunne <debunne@google.com> Fix for an NPE in TextView.

Change-Id: I0fca8f839cd444d9b70174078063efff5be499a3
extView.java
8db59adccf3e07b9597a69858e8e4de4f7f233e7 24-Aug-2010 Kenny Root <kroot@google.com> resolved conflicts for merge of b037da40 to master

Change-Id: I591f80f613870a4b1557f17d1c8574f661ed8121
15a4a2cb8e598d7dd8ff0647de505ac1bc917fe7 24-Aug-2010 Steve Howard <showard@google.com> am 6d895fdb: am d2e5f95e: Merge "Make ProgressBar.setVisibility() remotable." into gingerbread

Merge commit '6d895fdbc023743f3870042e73a5614764e4165b'

* commit '6d895fdbc023743f3870042e73a5614764e4165b':
Make ProgressBar.setVisibility() remotable.
9765b2a01d32ea6f2f955170ef7d0185e2252b0a 24-Aug-2010 Gilles Debunne <debunne@google.com> am 2703a42d: When an EditText gains focus by tapping, move the insertion point where tapped.

Merge commit '2703a42d16af0e62da1bba02b6c935d98debf936' into gingerbread-plus-aosp

* commit '2703a42d16af0e62da1bba02b6c935d98debf936':
When an EditText gains focus by tapping, move the insertion point where tapped.
2703a42d16af0e62da1bba02b6c935d98debf936 24-Aug-2010 Gilles Debunne <debunne@google.com> When an EditText gains focus by tapping, move the insertion point where tapped.

The previous behavior was to move cursor at the end of the first line,
which feels weird.

Change-Id: I5a72f9871ed79ee2c521698ea642ba126537f4f9
extView.java
b037da401ad76843c32e7d732d43d452e0e6f978 24-Aug-2010 Gilles Debunne <debunne@google.com> am 3e05a0be: Hysteresis effect in Text selection.

Merge commit '3e05a0beb2fad0b21558019d2adf6805da70e10e' into gingerbread-plus-aosp

* commit '3e05a0beb2fad0b21558019d2adf6805da70e10e':
Hysteresis effect in Text selection.
3e05a0beb2fad0b21558019d2adf6805da70e10e 23-Aug-2010 Gilles Debunne <debunne@google.com> Hysteresis effect in Text selection.

Vertical movement requires going over a given threshold to change line.
Makes it easier to move down without changing line, so that one can see the
cursor better. Also simplifies long line selection.

Change-Id: I791da500232c6e510af64c637ed994c5da9a4fea
extView.java
27113f86461fb19005900b8d6cebf264ecf77409 23-Aug-2010 Gilles Debunne <debunne@google.com> Merge conflict due to wrong import paths.

Change-Id: I3bba20b26036de53b29bb0b30885fe33832ba3e3
extView.java
5989f4edc5ba74d59412a1966a8e977cfebe79df 23-Aug-2010 Gilles Debunne <debunne@google.com> Merge "resolved conflicts for merge of a842d143 to master"
6c6f575423d6718c3ff322224c1520901ce881e1 21-Aug-2010 Adam Powell <adamp@google.com> More ActionBar/config change tweaks. Preserve open overflow menus

Change-Id: Ic8ad2b1e3909fbf84ff4d852ae046a9f9508477c
istPopupWindow.java
252b36379fedd0c91125679170a56d080d05ae9f 21-Aug-2010 Gilles Debunne <debunne@google.com> resolved conflicts for merge of a842d143 to master

Change-Id: I60bba17630d4a4aff5cb8ac9c8b81a2a1fddcd3b
385a655b8e8bf85024e4f24f1d7f6c2d7d7e900d 21-Aug-2010 Scott Main <smain@google.com> am bb8d314b: am 70c9ffbc: am 11a72482: Merge "docs: add links from widget classes to tutorials" into froyo

Merge commit 'bb8d314b6c5ff9b51af29daa687d66dfd996914f'

* commit 'bb8d314b6c5ff9b51af29daa687d66dfd996914f':
docs: add links from widget classes to tutorials
6d895fdbc023743f3870042e73a5614764e4165b 21-Aug-2010 Steve Howard <showard@google.com> am d2e5f95e: Merge "Make ProgressBar.setVisibility() remotable." into gingerbread

Merge commit 'd2e5f95e0eeaff3422fde29cf6e0a91ceecfefaf' into gingerbread-plus-aosp

* commit 'd2e5f95e0eeaff3422fde29cf6e0a91ceecfefaf':
Make ProgressBar.setVisibility() remotable.
d2e5f95e0eeaff3422fde29cf6e0a91ceecfefaf 21-Aug-2010 Steve Howard <showard@google.com> Merge "Make ProgressBar.setVisibility() remotable." into gingerbread
b25ffffc3157c4c471c326147be750f4ebec456a 21-Aug-2010 Steve Howard <showard@google.com> Make ProgressBar.setVisibility() remotable.

ProgressBar overrides setVisibilty(), causing it to lose the
RemotableViewMethod annotation and making it impossible to hide a
ProgressBar in a RemoteViews. This change adds the annotation.

Change-Id: Ic1212b99fd52f8c36bef4805bfef5e170b28f0a6
rogressBar.java
64d50a67f44f6f8627b6d5203f0e3b26dc4f71e5 20-Aug-2010 Romain Guy <romainguy@google.com> GridView's pageScroll() would be offset by one item.

External issue #10580

Change-Id: Ie1b3ea8e1f7890b480d6ba8ff423024a5c4cd047
ridView.java
a842d143d2dcad07906830a30deaf0ffce86f5d9 20-Aug-2010 Gilles Debunne <debunne@google.com> am d018a0ce: Merge "Text selection without trackball." into gingerbread

Merge commit 'd018a0ce72124f668d859b19fe3e73f5637d3c7c' into gingerbread-plus-aosp

* commit 'd018a0ce72124f668d859b19fe3e73f5637d3c7c':
Text selection without trackball.
d018a0ce72124f668d859b19fe3e73f5637d3c7c 20-Aug-2010 Gilles Debunne <debunne@google.com> Merge "Text selection without trackball." into gingerbread
bb8d314b6c5ff9b51af29daa687d66dfd996914f 20-Aug-2010 Scott Main <smain@google.com> am 70c9ffbc: am 11a72482: Merge "docs: add links from widget classes to tutorials" into froyo

Merge commit '70c9ffbc838271f0ea27a4780eb146287de53ef6' into gingerbread-plus-aosp

* commit '70c9ffbc838271f0ea27a4780eb146287de53ef6':
docs: add links from widget classes to tutorials
70c9ffbc838271f0ea27a4780eb146287de53ef6 20-Aug-2010 Scott Main <smain@google.com> am 11a72482: Merge "docs: add links from widget classes to tutorials" into froyo

Merge commit '11a72482a0cdc45ceaf4ca83957e682381455aee' into gingerbread

* commit '11a72482a0cdc45ceaf4ca83957e682381455aee':
docs: add links from widget classes to tutorials
41ec65355bd6ded652769725b276d47c54a0d913 20-Aug-2010 Scott Main <smain@google.com> docs: add links from widget classes to tutorials

Change-Id: I817e885524951853182b0458df4a32dea1614243
utoCompleteTextView.java
utton.java
heckBox.java
atePicker.java
ditText.java
allery.java
ridView.java
mageButton.java
inearLayout.java
istView.java
adioButton.java
atingBar.java
elativeLayout.java
pinner.java
abHost.java
abWidget.java
ableLayout.java
imePicker.java
oggleButton.java
b0d6ba1ec4f71b96cab7d1ff62b846d5cf162c4f 18-Aug-2010 Gilles Debunne <debunne@google.com> Text selection without trackball.

Backported from HC.

Squashed commit of the following:

commit af214a595c7a9fdd11a2dc384f7d4665abf751c0
Fixes in TextView's selection.

commit eb9fd59ebe6500a66c2003d46b5802299970ae8d
TextView with Selection Contextual Mode

commit 4c4c338ef355b369ce4b57d6c6fba7ee8f9dddf4
Cosmetic changes around TextView.

commit d4b4b054e87480d984ad18766f5e76553e3080d8
Double and one and a half tap removed from TextView.

commit 897c2847ba1fca8ef01eadadd1bc3de007af3ee5
Selection handlers in TextView

commit 832be74a5394649e28927484d9a86c6d53b430e7
New cursor controller in TextViews.

Change-Id: I01cc64736e2abea605317ee53907a1713617fc17
extView.java
d970a1af6342d500ab066f28465158b74242e511 20-Aug-2010 Romain Guy <romainguy@google.com> Merge "Update FrameLayout documentation."
ed279f8f19098aef31aba43663ab7b3fa43f1999 19-Aug-2010 Gilles Debunne <debunne@google.com> Fix for a bug that prevents text selection on initially empty text edits.

Change-Id: I0346b632e7de32b082c0ed7e605873946e3eb554
extView.java
20b73ce9d14607fecc22cfeaa648737175c14d6a 19-Aug-2010 Adam Cohen <adamcohen@google.com> Merge "-> Added edge behaviour for StackView (what to do at the beginning and end of the stack) -> Wrapping children of AdapterViewAnimator in a FrameLayout to uphold the Adapter contract (ie. don't modify the Adapter's views.) -> Fixed clipping problem in StackViews with padding"
3d07af03421f4727ef7e97c5c19e6ade50b19060 19-Aug-2010 Adam Cohen <adamcohen@google.com> -> Added edge behaviour for StackView (what to do at
the beginning and end of the stack)
-> Wrapping children of AdapterViewAnimator in a
FrameLayout to uphold the Adapter contract (ie.
don't modify the Adapter's views.)
-> Fixed clipping problem in StackViews with padding

Change-Id: I83b02b5fdfd687838346e0bcb5dc30c033cd0cb8
dapterViewAnimator.java
tackView.java
c4d8eb6fb7c88c5c4da38b0b113c24cc4b78c0b7 19-Aug-2010 Romain Guy <romainguy@google.com> Speedup TextView fades (no more layers required.)

Also fixes a crash in the drop shadows cache and improves
drop shadows caching.

Change-Id: I9c0208a49467f9201d786ae0c129194b8d423923
extView.java
8b55f377655d13a445b08a0a8ed09b6e95c752b0 19-Aug-2010 Romain Guy <romainguy@google.com> Fix drawing issues with layers.

Prior to this change layers would clip their content incorrectly. They would
also not apply alpha properly.

Change-Id: Id7b3aaa7dbdc51de68fe050e64458f68e40503fd
extView.java
2b6a68580b699c4d9285d20bcfa942384cf81678 18-Aug-2010 Adam Powell <adamp@google.com> Merge "Fix bug 2927837 - PopupWindows don't account for xlarge status bar height"
a7287f4d199b5d86e01d1de9d9a9db7e3221b02d 18-Aug-2010 Adam Powell <adamp@google.com> Fix bug 2927837 - PopupWindows don't account for xlarge status bar height

Add framework dimension resource screen_margin_bottom. This describes
the bottom margin formed by permanent screen decorations. In xlarge
configs this is equal to the height of the permanent system bar.

PopupWindows now size and position themselves with respect to
screen_margin_bottom.

Change-Id: I8960059adcf09605abf26c228bf877f5632fd11e
opupWindow.java
4ae784f126e15ff3363bb8d3587ea60bf642d509 18-Aug-2010 Romain Guy <romainguy@google.com> Merge "Fix save()/restore() issues in the OpenGL renderer."
8fb954263dd2f918ad339045cc6d82e346515599 18-Aug-2010 Romain Guy <romainguy@google.com> Fix save()/restore() issues in the OpenGL renderer.

The save stack now behaves exactly like in Skia.

Change-Id: If7e642f41f2c8f693f6e8c26cba81507d466562e
crollBarDrawable.java
cdff2f242425874a4a9758e9ce2fb0e4f3f1afa4 18-Aug-2010 Winson Chung <winsonc@google.com> Merge "Fixing link in RemoteViewsFactory comment."
6eceb00db916e2435a1625af631623bf95ae0e7f 18-Aug-2010 Winson Chung <winsonc@google.com> Fixing link in RemoteViewsFactory comment.

Change-Id: Ibfb61eedbceb5721e3894074cc4b5597b12691f7
emoteViewsService.java
b04f7ad90b7d5d5e0998e3b56960004cf56e6e8f 15-Aug-2010 Adam Cohen <adamcohen@google.com> -> Added 3D rotation to the StackView transition
-> Fixed a bug with multiple animations occuring at the same time
-> Added looping paramater to AdapterViewAnimator
-> Added restoration of state to AdapterViewAnimator
-> Fixed a flicker in the default AdapterViewAnimator transition
(could be seen in AdapterViewFlipper)
-> Fixed a bug where touch events of StackView weren't be
propagated to the proper child

Change-Id: I270280cabc42ad77d28e3e7d7d80aa4c17548cab
dapterViewAnimator.java
dapterViewFlipper.java
tackView.java
6394c0e52cf641d93f678fd052499aa952e3595d 16-Aug-2010 Winson Chung <winsonc@google.com> Adding callback and fix to RemoteViewsFactory on notifyDataSetChanged.
Also removing extra parameter in AppWidgetManager.notifyDataSetChanged.

Change-Id: Ic771fe045ae793a6dacf09f1230e7c1c4b59a13e
emoteViewsAdapter.java
emoteViewsService.java
606e8cca6ac0e9a65a1a92003511b7c66d9ea439 17-Aug-2010 Romain Guy <romainguy@google.com> Update FrameLayout documentation.

Bug #2924495

Change-Id: Idc06a1a4177f116a4796cd2fc83388a1a9a9cdbf
rameLayout.java
a6d7ee19cc1f72f279b338bddcee3a1648c6c84c 13-Aug-2010 Gilles Debunne <debunne@google.com> Fixes in TextView's selection.

Handles are now centered on selection corners.
Touch regions tuned, especially for the one line / last line case.
Selection mode is stopped when text is entered or modified.
New temporary assets.
New selection background color.
Using references to theme for some hard-coded colors.

Change-Id: I820ec39bb6d5a3c6598c7c34b9c8f90b848da9f3
extView.java
2dd2197805edb4d9547b143deef2226413218f4c 16-Aug-2010 Adam Cohen <adamcohen@google.com> -> Enabled partial updates to app widgets through AppWidgetManager.
Partial updates are not cached by the AppWidgetService.
-> Added the ability to insert commands with no parameters into
RemoteViews objects.
-> Added showNext() and showPrevious() methods to RemoteViews.
-> Made showNext() / showPrevious() of AdapterViewFlipper remotable.

Change-Id: Ic5491bb374424a54728c4ca92b94b1f00dfb87ff
dapterViewFlipper.java
emoteViews.java
5b53f9186e7812c93bc578d18e92cb123481fcbc 17-Aug-2010 Romain Guy <romainguy@google.com> Fix possible ClassCastException in StackView.

Also do some cleanup (unused arguments, unnecessary casts, etc.)

Change-Id: If1f8cc173ca6fee33c54f4437bc5dcdbc75e5947
dapterViewAnimator.java
tackView.java
93af2e48a7af71cee18781b64150abed7b057e2a 16-Aug-2010 Adam Powell <adamp@google.com> Merge "Add selection mode support to GridView."
f343e1ba7e796120eefa917dbf78348feea98e11 14-Aug-2010 Adam Powell <adamp@google.com> Add selection mode support to GridView.

Changed 9.xml to make update-api behave with the API change involved.
Several fields and methods moved from ListView to AbsListView. This
should not break source or binary compatibility.

Change-Id: Icad6e238522b8b7cc5bbc935ad89ac3e015572c1
bsListView.java
ridView.java
istView.java
fdbf484be1eca388553d97a13a9500b98b18b474 16-Aug-2010 Romain Guy <romainguy@google.com> Add documentation for fillViewport.

Change-Id: I34f5418ca33933dc5cf65f4e417d918bce83ab96
orizontalScrollView.java
crollView.java
32a42f1587db77b958d62c3de4f2734eb0a3b965 12-Aug-2010 Adam Cohen <adamcohen@google.com> -> Refactored and cleaned up dragging / animations
-> Added methods to generate blue glow outline
-> Added "res-out" effect
-> Added some influence for dragging left / right

Change-Id: I4bdbe4c3bd843ed5616b1ea359a3b0af1c151814
dapterViewAnimator.java
tackView.java
65d79fbe55c017edd9419ddb71939c8916471390 12-Aug-2010 Adam Powell <adamp@google.com> Fix bug 2911396 - documentation fix

Change-Id: Ia2bbb25dfd6b165f044f5ef1cf291debfe79b1ca
istPopupWindow.java
ecb1d5ded9afee63735dc91cfb08ada2c639d237 11-Aug-2010 Konstantin Lopyrev <klopyrev@google.com> resolved conflicts for merge of f00ee0f7 to master

Change-Id: I13b968bde37fad8fffdaa9bb94a0f1da9b2e6e0c
f00ee0f76260a660cd9648d3bda9863e133cb401 11-Aug-2010 Konstantin Lopyrev <klopyrev@google.com> am f39d5987: Merge "Categorizing exported view properties." into gingerbread

Merge commit 'f39d5987b977fdff8c34a2ddabaec31d1e909db3' into gingerbread-plus-aosp

* commit 'f39d5987b977fdff8c34a2ddabaec31d1e909db3':
Categorizing exported view properties.
bea95162ca25bd00b0479d93739b6283795c3986 11-Aug-2010 Konstantin Lopyrev <klopyrev@google.com> Categorizing exported view properties.

Change-Id: I79c42019836973d80662c21d195d088ae01537a0
bsListView.java
dapterView.java
rameLayout.java
inearLayout.java
istView.java
rogressBar.java
elativeLayout.java
ableRow.java
extView.java
eeca7df89241017dd95ba38c6454cd09ea0ffc26 11-Aug-2010 Adam Cohen <adamcohen@google.com> Merge "Fixing StackView crash associated with DataSetObserver"
8322834a2544a673a35c5d4ad0d5909b3ca37600 11-Aug-2010 Adam Cohen <adamcohen@google.com> Fixing StackView crash associated with DataSetObserver

Change-Id: Idbc8ed09ee8a58757b7383d6331a4c0357a6fb1f
dapterViewAnimator.java
7c312bbd53e08da2553043250905b25841a2f04c 11-Aug-2010 Adam Powell <adamp@google.com> Merge "Fix bug 2888333"
749b0eb2c9a52bb188fd8900859b3725889e0ec0 11-Aug-2010 Adam Powell <adamp@google.com> Fix bug 2888333

Change-Id: I2e9053e9c68cef447f47d181bfe0ddacc5f7167a
opupWindow.java
44729e3d1c01265858eec566c7b7c676c46a7916 23-Jul-2010 Adam Cohen <adamcohen@google.com> Preliminary implementation of StackView, which extends AdapterViewAnimator.

Change-Id: I3e9d1203fc8848835f28d6bc1c9dc0a3fcf7f242
dapterViewAnimator.java
emoteViewsAdapter.java
tackView.java
b721b47811c065d41b1aec23035e8b46c245c86e 10-Aug-2010 Jeff Hamilton <jham@android.com> Add a constructor from CursorAdapter to ResourceCursorAdapter.

Change-Id: I423bab1907c24a718a8575d5cbe0cee0e5e4968e
esourceCursorAdapter.java
23fdaf6fb62a9b5154b2508916a21c678462c5d0 06-Aug-2010 Dianne Hackborn <hackbod@google.com> Add new ContentProvider for doing conversions to data streams.

This introduces basic infrastructure that should allow content
providers holding complex data to perform on-demand conversion
of their data to streams of various types. It is achieved through
two new content provider APIs, one to interrogate the possible
stream MIME types the provider can return, and the other to
request a stream of data in a particular MIME type.

Because implementations of this will often need to do on-demand
data conversion, there is also a utility intoduced in ContentProvider
for subclasses to easily run a function to write data into a
pipe that is read by the client.

This feature is mostly intended for cut and paste and drag and
drop, as the complex data interchange allowing the source and
destination to negotiate data types and copy (possible large)
data between them. However because it is fundamental facility
of ContentProvider, it can be used in other places, such as for
more advanced GET_CONTENT data exchanges.

An example implementation of this would be in ContactsProvider,
which can now provider a data stream when a client opens certain
pieces of it data, to return data as flat text, a vcard, or other
format.

Change-Id: I58627ea4ed359aa7cf2c66274adb18306c209cb2
extView.java
a55191fe8f967cd74c5669447fb9b861c72bbd00 24-Jul-2010 Adam Powell <adamp@google.com> DO NOT MERGE Fix a bug that could cause flings to last too long using a Scroller

Change-Id: Ia176cdb029201dbad193d2d213d3cf6e16fbee63
croller.java
4be0d52125b88dc992a4c500edbe95bf55484e0b 04-Aug-2010 Adam Powell <adamp@google.com> Added android.widget.PopupMenu

Change-Id: Id507cf93ebd0484f141a0a44266b883c01aa10db
opupMenu.java
b1ad5977bc8178b6d350ebe9099daded4c1ef603 03-Aug-2010 Dianne Hackborn <hackbod@google.com> New two-pane mode for PreferenceActivity.

This introduces a whole new way to use PreferenceActivity, as
a container for PreferenceFragments that the user can switch
between from a list of headers.

Change-Id: I1c79b7c78b86790dc460a1414a999aba5de80628
rrayAdapter.java
8350f7dbc3a62211b2891f35911e4073d24c4cc5 28-Jul-2010 Adam Powell <adamp@google.com> Added CHOICE_MODE_MULTIPLE_MODAL to ListView.

Based on ActionModes, CHOICE_MODE_MULTIPLE_MODAL supports the new
Honeycomb-style selection mode.

Change-Id: I293ea22487db8e081c95e5236f1e053f7dd4ada6
bsListView.java
istView.java
56329b46ad7e1423118a640717b5904be0b48c77 30-Jul-2010 Gilles Debunne <debunne@google.com> am 628be513: am 83884db9: Merge "Fixed doc typos in HeterogeneousExpandableList.java." into froyo

Merge commit '628be513e67ce6c61884b1baaf0379abfc56100b' into gingerbread-plus-aosp

* commit '628be513e67ce6c61884b1baaf0379abfc56100b':
Fixed doc typos in HeterogeneousExpandableList.java.
628be513e67ce6c61884b1baaf0379abfc56100b 30-Jul-2010 Gilles Debunne <debunne@google.com> am 83884db9: Merge "Fixed doc typos in HeterogeneousExpandableList.java." into froyo

Merge commit '83884db9dc0fbddb6ece566284259f6b941beb33' into gingerbread

* commit '83884db9dc0fbddb6ece566284259f6b941beb33':
Fixed doc typos in HeterogeneousExpandableList.java.
5d658d048e820f1b0e07fe45b947f197e7f2f346 28-Jul-2010 Gilles Debunne <debunne@google.com> Fixed doc typos in HeterogeneousExpandableList.java.

Bad links.

Cherry-pick from master for a documentation update.
https://android-git.corp.google.com/g/#change,59176

Change-Id: Ib69b05c09fc80434cb9cd79d61fae4035adc1970
aseExpandableListAdapter.java
eterogeneousExpandableList.java
589f15556badf0c7c6a046ce433025ab86236c7b 29-Jul-2010 Adam Powell <adamp@google.com> am c6d83caf: am a0ae8bc5: Merge "Fix a bug that could cause flings to last too long using a Scroller" into gingerbread

Merge commit 'c6d83cafed6e60223c28da328f845998e27bfae0'

* commit 'c6d83cafed6e60223c28da328f845998e27bfae0':
Fix a bug that could cause flings to last too long using a Scroller
c6d83cafed6e60223c28da328f845998e27bfae0 29-Jul-2010 Adam Powell <adamp@google.com> am a0ae8bc5: Merge "Fix a bug that could cause flings to last too long using a Scroller" into gingerbread

Merge commit 'a0ae8bc5c62b12269f20cbebdb0d8614e4e8eb1a' into gingerbread-plus-aosp

* commit 'a0ae8bc5c62b12269f20cbebdb0d8614e4e8eb1a':
Fix a bug that could cause flings to last too long using a Scroller
1b088be8bb304e4ab7a1896d3ec3b9df9d9cf68e 24-Jul-2010 Adam Powell <adamp@google.com> Fix a bug that could cause flings to last too long using a Scroller

Bug 2866552

Change-Id: I6979b3da54ca2aeaf4583629e28ee81fa5bd70da
croller.java
fc8ae40da05519ed71988e78547fb3c95ee951dc 29-Jul-2010 Gilles Debunne <debunne@google.com> Merge "Fixed doc typos in HeterogeneousExpandableList.java."
8e364ed01afd8b64e4e5464e46ba6fde301ac724 28-Jul-2010 Gilles Debunne <debunne@google.com> Fixed doc typos in HeterogeneousExpandableList.java.

Bad links.

Change-Id: I9a596a05494c4d8621e2914357e4052a5cec889a
aseExpandableListAdapter.java
eterogeneousExpandableList.java
f788a9fccd9cdb662527aa375af24b8868069108 22-Jul-2010 Gilles Debunne <debunne@google.com> TextView with Selection Contextual Mode

Context menu entries have been moved to a contextual mode in the action bar.

Change Input Method has been removed and *should be added to the system bar instead*.

Add word to dictionnary has also been removed and should now be done using the suggestioni
bar "tap on word to add" feature.

Change-Id: I767373f53515b2d6a06500321b4b12ed0b05a9b6
extView.java
3ad4a1b13f789757a46dc0aea98c97b9fdc5ef6c 23-Jul-2010 Adam Cohen <adamcohen@google.com> Fixing a bug in RemoteViewsAdapter

Change-Id: If39a05b65ee9f8f3a2ac6b7ebb06a76122c4ada7
emoteViewsAdapter.java
c6d6d4a4e73fcb63eaa13d66fcbf26d847799838 22-Jul-2010 Winson Chung <winsonc@google.com> Fixing indexing issue causing certain items not to load. Performance improvements + testing temporary loading scheme.

Change-Id: I65bfb60237f397ff546b77fbef1b4a7d1c8cba07
emoteViewsAdapter.java
3db40678d33c2b5f90c380966d36b3e10ed11f05 20-Jul-2010 Adam Cohen <adamcohen@google.com> Added AdapterViewAnimator and AdapterViewFlipper which are versions of ViewAnimator and ViewFlipper
whos views are defined by adapters.

Change-Id: I6ca1681b4820e6a1b6b69fc6d92c11c9f969bb88
dapterViewAnimator.java
dapterViewFlipper.java
emoteViewsAdapter.java
95362595ed4a42aec87b4d166092b30c8139d220 20-Jul-2010 Winson Chung <winsonc@google.com> Fixing build breakage due to misnamed javadoc variable.

Change-Id: I883a53107d2c0fcd4544c85811aeaad3fc4f13c2
emoteViews.java
499cb9f516062b654952d282f211bee44c31a3c2 16-Jul-2010 Winson Chung <winsonc@google.com> Initial changes to allow collections in widgets.

Change-Id: I3cfa899bae88cd252912cecebc12e93c27a3b7c9
bsListView.java
ridView.java
istView.java
emoteViews.java
emoteViewsAdapter.java
emoteViewsService.java
266e05179cc8f5fe6324510aa54bb8c1779d2f6c 14-Jul-2010 Romain Guy <romainguy@google.com> Prevent crash in ListView when changing cache hint.
bsListView.java
4267534d1c42af847ed0cefd1c88c99f66b36571 10-Jul-2010 Adam Powell <adamp@google.com> Action Bar now supports submenus as popups.

Change-Id: I1691c16081b3474ed6d6e406f91f5f74a2dc8fcb
istPopupWindow.java
2d0e87b64402459d89adfd004083a748f81a0391 13-Jul-2010 Gilles Debunne <debunne@google.com> Cosmetic changes around TextView.

Fixed some warnings in the code.

Change-Id: Id19395031a1ab41edcc47e3dc8cd9479c6e19f83
extView.java
05336274dd8e7ababfe5b253069653abbba20c3c 10-Jul-2010 Gilles Debunne <debunne@google.com> Selection handlers in TextView

Long press on text view triggers selection mode. Two handles can be used to
adjust selection.

Change-Id: I45bb5fd62cae910570cff34920e45c4383160179
extView.java
cc3ec6cdb2b892eb29513e72d8b205acbe997b25 23-Jun-2010 Gilles Debunne <debunne@google.com> New cursor controller in TextViews.

Editable TextView now display a cursor controller under the insertion
point so that it can be precisely moved.

Change-Id: Ia2e6ddc57d249647ff6683e10e4226db3df27223
extView.java
179de8a37cb886e61264d2b7efd5bd4f29a5b381 09-Jul-2010 Romain Guy <romainguy@google.com> Avoid unnecessary tests when drawing ListView dividers.

Change-Id: I5f2797ee92f5e3ed01eab0cf7f2acfe436b0c595
istView.java
6f10db885f82e6037bdcc4357026a0cb70da742c 09-Jul-2010 Adam Powell <adamp@google.com> Merge "Fix some issues with smooth scrolling ListViews"
371133174b84a72ba61d5dc53b34216bbf0ecf1c 09-Jul-2010 Adam Powell <adamp@google.com> Fix some issues with smooth scrolling ListViews

Change-Id: I8b0f3d318eb0508ed12b92584c368e6f0edeb0be
bsListView.java
dac5f9f3caea71e9e0002582ee90ffddadb70d8f 08-Jul-2010 Romain Guy <romainguy@google.com> Do not draw the fade areas when it's not necessary.

Prior to this change, every singleLine TextView would create, draw
and compose a layer on every draw dispatch. This was unnecessary and
expensive.

Change-Id: Ia4f79d7fc8f485784fe6b795f0f196d38d579838
extView.java
49ff1e6c6c857e1a596fa0b75faaaf17cae08621 08-Jul-2010 Jason Parks <jparks@google.com> am b29e3b9c: Merge "Change CursorTreeAdapter to close the cursors rather than deactivating them. Fix SimpleCursorTreeAdapter to allow a null cursor as an argument." into gingerbread

Merge commit 'b29e3b9cd00ced686a74121d3ca9c7380754793f' into gingerbread-plus-aosp

* commit 'b29e3b9cd00ced686a74121d3ca9c7380754793f':
Change CursorTreeAdapter to close the cursors rather than deactivating them. Fix SimpleCursorTreeAdapter to allow a null cursor as an argument.
bca909c0a592051e9acfc41737bc341910f0c7d1 01-Jul-2010 Jason Parks <jparks@google.com> Change CursorTreeAdapter to close the cursors rather than deactivating them. Fix SimpleCursorTreeAdapter to allow a null cursor as an argument.

Not closing the cursors was a bit of a bug since the documenation explicitly says that it would close the cursors. This will get rid of all the warnings that are printed out in the finalizer about the cursor not being closed.
ursorTreeAdapter.java
impleCursorTreeAdapter.java
85e39f64e8ccfc31d5290e91fe2fa5ff5df273f6 01-Jul-2010 Adam Powell <adamp@google.com> Merge "Add AbsListView#smoothScrollToPositionFromTop"
e44afae7ff91edb80142fc62ce2bc2cb9d133d09 01-Jul-2010 Adam Powell <adamp@google.com> Add AbsListView#smoothScrollToPositionFromTop

Change-Id: I4dec9cdcf63b1075264c772faf1303c7281d0efe
bsListView.java
4b08d3e4372d994ac5c5a97d8da528e5d682e732 01-Jul-2010 Jason Parks <jparks@google.com> Change CursorTreeAdapter to close the cursors rather than deactivating them. Fix SimpleCursorTreeAdapter to allow a null cursor as an argument.

Not closing the cursors was a bit of a bug since the documenation explicitly says that it would close the cursors. This will get rid of all the warnings that are printed out in the finalizer about the cursor not being closed.

Change-Id: I8dcedbdf7378cea7407502445269b5b0bded1a3d
ursorTreeAdapter.java
impleCursorTreeAdapter.java
b6ca72314211e5f23cb2a4b3f17acc54ab6e8b87 24-Jun-2010 Gilles Debunne <debunne@google.com> Fixed bug 2795971 IME doesn't appear on touching a text field

Refactoring in CL 55138 added an extra condition to display the IME.

Change-Id: I2a4cc83bb39bd2c87ad3bd75ef234cdbdfdad74f
extView.java
c047b956360a2476793b38d9d3e996fed941af8b 23-Jun-2010 Adam Powell <adamp@google.com> am bc337d2f: am 73ccafb5: Merge "Fix a bug where requestDisallowInterceptTouchEvent does not get called when scrolling is resumed after stopping a fling." into gingerbread

Merge commit 'bc337d2f675e8417be5534439e1b4ed1bc45a9c7'

* commit 'bc337d2f675e8417be5534439e1b4ed1bc45a9c7':
Fix a bug where requestDisallowInterceptTouchEvent does not get called
03f0292744094ec107ffce71301c394503a31ded 09-Jun-2010 Gilles Debunne <debunne@google.com> New XmlDocumentProvider class.

Minor changes in the Adapters.java helper class.

Extracts data out of a XML document using an XPath-like syntax.

Change-Id: I0617b0783f11c86118b42cd8485d54440810c805
dapters.java
bc337d2f675e8417be5534439e1b4ed1bc45a9c7 23-Jun-2010 Adam Powell <adamp@google.com> am 73ccafb5: Merge "Fix a bug where requestDisallowInterceptTouchEvent does not get called when scrolling is resumed after stopping a fling." into gingerbread

Merge commit '73ccafb5b843cdcf9c8f761fc72a69b4b7942aaf' into gingerbread-plus-aosp

* commit '73ccafb5b843cdcf9c8f761fc72a69b4b7942aaf':
Fix a bug where requestDisallowInterceptTouchEvent does not get called
110486f932510fb49bfeff978b0b0e0237ee0656 23-Jun-2010 Adam Powell <adamp@google.com> Fix a bug where requestDisallowInterceptTouchEvent does not get called
when scrolling is resumed after stopping a fling.

Change-Id: I6796c5082cb81b3116de5baf1f27fe3addb40d00
bsListView.java
57f4e5bcf56752053815a755fee4867e722ce2b8 22-Jun-2010 Gilles Debunne <debunne@google.com> Fixed scrolling issue when moving cursor in long TextViews.

Previous CL https://android-git.corp.google.com/g/55138 was submitted
before the suggested change was uploaded.

setSelection() was called twice by onTouchEvent, once to the previous
position, and then to the new position (unless the IME got displayed,
so that in that case the cursor is not moved).

The second call was actually triggering a call for a scroll of 0 since
the view is already displaying the cursor. This scroll is filtered out by a
shortcut in ScrollView. The first setSelection's scroll does not have
the same issue (since the previous cursor's position is out of screen
and requires a scroll) and it is then applied, effectively moving the cursor
to a new position but scrolling to the previous position.

The fix is to call setSelection only once, after the IME has been asked
to display. The cursor is moved to the old/new position depending on the
resultCode in onReceiveResult in CommitSelectionReceiver.

Bug: http://b/issue?id=2778954
Change-Id: I157d7ae451574e8a6fffb894eb1d6880acfe01d1
extView.java
bbb5d6e256675199c21f0bb621e6233acc3418a6 22-Jun-2010 Gilles Debunne <debunne@google.com> Fixed scrolling issue when moving cursor in long TextViews.

setSelection() was called twice by onTouchEvent, once to the previous
position, and then to the new position (unless the IME got displayed,
so that in that case the cursor is not moved).

The second call was actually triggering a call for a scroll of 0 since
view is already displaying the cursor. This scroll is filtered out by a
shortcut in ScrollView. The first setSelection's scroll does not have
the same issue (since the previous cursor's position is out of screen
and requires a scroll) and it then applied, effectively moving the cursor
to a new position but the scrolling to the previous position.

The fix is to call setSelection only once, after the IME has been asked
to display. The cursor is moved to the old/new position depending on the
resultCode in onReceiveResult in CommitSelectionReceiver.

Bug: http://b/issue?id=2778954
Change-Id: I0983fdf18993e63b230e093e703f95efe6e2d7a8
extView.java
e6ac8b9aade9443ab8456c8f7a47cdfba3b70266 17-Jun-2010 Gilles Debunne <debunne@google.com> Removed API changes from CL 54712.

onLoadClass(Class ) was replaced by onLoadClass(Class<?> ) in CL 54712.
This changes the API and may introduce errors in users' implementations.

Change reverted.

Change-Id: Ie578a444168423959b44857f22e13f004e108965
emoteViews.java
3030193dc179b3010f2dd3bffe9c1dec54da38fc 17-Jun-2010 Gilles Debunne <debunne@google.com> Removed warnings in LayoutInflater.

These changes are similar to those of CL 49296. They do not include the
generic fixes done on GenericInflater.java, which had issues and broke the build.

Added a asSubClass method in LayoutInflater which will (correctly) throw a
ClassCastException when the inflated class is not a View subclass.

Performance testing on these changes showed a 10% performance improvement,
which is still to be explained.

Change-Id: Id4d3b45f0945baccdbbda15fcce095e855b23c9a
emoteViews.java
bc442294c26bddd80648104b7b359d474095ee91 17-Jun-2010 Gilles Debunne <debunne@google.com> Merge "Suppressed warnings in TextView."
e15b35891f5d767f82d407960fbeb5c9f0a5c340 17-Jun-2010 Gilles Debunne <debunne@google.com> Suppressed warnings in TextView.

Change-Id: Icaa4b6d28649559b8acee970e483d50e4c00e25d
extView.java
f70036bc91e93cf6834c835beb832861c0dbd9db 15-Jun-2010 Mason Tang <masontang@google.com> Modified first animation and visibility change behavior for ViewFlipper

- Where previously ViewAnimator only exposed inAnimation and outAnimation as
XML attributes, modified to also include the animateFirstView flag so that
widgets can optionally choose to omit the animation for the first child
view.

- Changed the behavior of ViewFlipper so that simple visibility changes do not
trigger extraneous and distracting animations.

Change-Id: I34b3abad33102978a94f0aed5aaab9af30ba49c7
iewAnimator.java
iewFlipper.java
99969da3772d9a0f5079672847ca4f2ad819c1bb 16-Jun-2010 Adam Powell <adamp@google.com> Fix bug 2771204

Change-Id: If34cf07b0901c985f8260bcd20c1375ae76a0fa0
istPopupWindow.java
9295ada0ec89fa7a666be4a2f1006a4b722adf4f 15-Jun-2010 Romain Guy <romainguy@google.com> Allow the use of styles with LinearLayout, make "useLargestChild" attr public.

Change-Id: I044f3f5bd9b90c684ded7a37ff85e3aa8d15af96
inearLayout.java
e377032899fd7a9f88ad1313847e77c098b9f248 14-Jun-2010 The Android Open Source Project <initial-contribution@android.com> am 864c68ea: merge from froyo-plus-aosp

Merge commit '864c68ea452baa0f4f298faf2155af45a9b6d60c'

* commit '864c68ea452baa0f4f298faf2155af45a9b6d60c':
Added an addAll to the ArrayAdapter
WLAN: Reset power save mode to startup value after DHCP response.
Add PageUp and PageDown hot keys
Should accept "application/vnd.wap.multipart.alternative" message.
replaced deprecated getIntent with parseURI
864c68ea452baa0f4f298faf2155af45a9b6d60c 14-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from froyo-plus-aosp

Change-Id: I9cede57e10df9d6ba411b2960a77d7b9b60a1489
51a9839ec69aab2800718c069bb76b480ac3c133 14-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I7a9f23192372fc6973d9f3eb399f895f4765f6b2
8c582ef859fcbbb97623d22024c3ecb32b65c5ef 11-Jun-2010 Christian Mehlmauer <FireFart@gmail.com> Added an addAll to the ArrayAdapter

It behaves the same as ArrayList.addAll, since
the Object containing the Objects in the Adapter
is a List. Now you can add multiple Objects
at once, instead of looping over a Collection
and add all items one by one.
Unittests will be submitted to the cts project

Change-Id: I16f3286a8ca4cda7eb9f1a99c2aab1cc45b2550f
rrayAdapter.java
0c702b88c5d0d4380930b920f5be6e66dd95a0d8 14-May-2010 Doug Felt <dougfelt@google.com> Move shaping to native.

Add internal API (getTextRunAdvances) to Paint, use when measuring.
Add internal API (getTextRunCursor) to Paint, use when determining
valid cursor positions.

Remove java-level shaping code. Remove 'prep' code in TextLine
(except for replacement text) since shaping now is done on the fly as
needed in native.

Provide explicit shaping context bounds to internal text measuring,
cursor movement, and rendering APIs.

Update for to changes in external API in ushape.h.

Change-Id: I146958b624802ce8553125e5c3c6c03031bc9608
extView.java
e4031a3780ad3560d540e87e543a316b0b50a945 10-Jun-2010 Jean-Baptiste Queru <jbq@google.com> am 030b0ebe: merge from froyo-plus-aosp
030b0ebebf74510684189ac0f077b02be48f90f2 10-Jun-2010 Jean-Baptiste Queru <jbq@google.com> merge from froyo-plus-aosp

Change-Id: Iad8617b45d406e7f737bf68ed723755363d27e9b
3c259d3247d4798f2328c4064d6970f07e0763aa 09-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Iaf90d2aaa3cb3a435336c2ccd08b587d9fc3690b
964be41e9eacb7011c80cf348ef6de52a5d0a18a 17-Feb-2010 Viktor Yakovel <viktor.yakovel@sonyericsson.com> Fix incorrect calculation of start and end indices of changed text

- The problem is taht the calculation of indices does not take the
difference in original and modified text lengths into account.
- If reportExtractedText() is called from the onDraw() function,
mInputMethodState is not reset.

The error can occur when the user is editing formatted text using a full screen editor.
One example of formatted text is phone numbers (e.g. dashes are added to North American
numbers by the PhoneNumberFormattingTextWatcher class).
If the two first digits are removed from the number 555-666-777, the new number becomes 566--777.
This is due incorrect calculation of start and end indices of the changed text. The error is in
the TextView class and the problem is that the calculation does not take the difference in original
and modified text lengths into account.

Change-Id: If12d0f571873a6f1874102377432affb64ee21e8
extView.java
a408291e22def5755559f42cde913706a6d628c0 05-Jun-2010 Adam Powell <adamp@google.com> Dropdown mode for ActionBar; style and API updates
pinner.java
1f60aaf5c55fc539c4afa2d49ac62bf0005d0237 08-Jun-2010 Adam Powell <adamp@google.com> Merge "Fix bug 2747634 - Crash on selecting wifi"
68464a95991d81872a99eefff86a98dd2bd4c8ed 07-Jun-2010 Adam Powell <adamp@google.com> Fix bug 2747634 - Crash on selecting wifi

Allow Spinner to call setAdapter during superclass construction.

Change-Id: Ia57d231249b28de3809d7ee09a77277eac1553ca
pinner.java
e4fb6264d023946a2063362e6eae5660972b03da 07-Jun-2010 Evan Charlton <evanc@google.com> Merge "Invalidate the ProgressBar when changing animation states"
08e1473ca30ef1756c6694cc1ed0aff27f11807d 07-Jun-2010 Evan Charlton <evanc@google.com> Invalidate the ProgressBar when changing animation states

When changing a ProgressBar from indeterminate to determinate, the display was
not being invalidated correctly and would freeze the progress bar.

Bug: 1296117
Change-Id: I2e0a9b76da919b5388f1dbc1c8f4b030355eb8ce
rogressBar.java
a984b38df5cfe6db0ba792bf2a6221f6b6072448 04-Jun-2010 Adam Powell <adamp@google.com> Fix doc build

Change-Id: Ia0425bc956540bbd5f16138ad182ae365bf1c85a
istPopupWindow.java
c3fa6304c997ccecf8ed15a4cbb7bd245128f3c3 18-May-2010 Adam Powell <adamp@google.com> Added ListPopupWindow. Refactored AutoCompleteTextView and Spinner
(optionally) to use it. Added associated styles.

ListPopupWindow allows apps to present a popup window of options to
the user that will correctly dodge the IME if needed.

Change-Id: I509c6c45036856daab686a6edeb7a9de1e72eb0a
utoCompleteTextView.java
istPopupWindow.java
opupWindow.java
pinner.java
c4a1a927a8aafc70ef0c2d5f11cdd413fad3a0e4 04-Jun-2010 Kenny Root <kroot@google.com> Merge "Fix alignment issues with RTL paragraphs."
c982f60e982c1d2df9f115ed9a5c3ef3643d0892 25-May-2010 Doug Felt <dougfelt@google.com> Fix alignment issues with RTL paragraphs.

Also remove unused debugging code that depends on junit.
Remove trailing whitespace in changed code.

Change-Id: Ie02d1b8220c599a672ee6e91af0fba634e0f620c
extView.java
fb1bd96ffb0ecd9a4356356e6c2e05bdaa4bd77a 03-Jun-2010 Joe Onorato <joeo@android.com> am ef5ce59a: am 18e69dfc: Checkpoint. Data structures for Notifications in place.
18e69dfc7235f8a4bfe257f9d1c43539049a22ce 18-May-2010 Joe Onorato <joeo@android.com> Checkpoint. Data structures for Notifications in place.

Change-Id: I146fb9bc1d349112541368e2c99a667821dfdf6e
emoteViews.java
76b704982a59320432e9287cd37e295bd8de13b5 02-Jun-2010 The Android Open Source Project <initial-contribution@android.com> am 8f1259be: am b705eea7: am 1bd7597b: merge from open-source master
1bd7597b8cdaf39d1183077c463cb30596eb31b0 02-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I8333e295ba6b6ed8e7658ecf3fbf1ebea3537aeb
ef367529f9c7a538d74599b37b49ac309d0a8d8c 31-May-2010 Christian Mehlmauer <FireFart@gmail.com> Replaced raw string arguments for Context.getSystemService() with final Context variables

Change-Id: If5139a1526101292e5da557bfad3f4db80fb64a8
ediaController.java
e46c1e817c4e801b309af9644b9c20a188147303 25-May-2010 Adam Powell <adamp@google.com> am 49551ca4: am 9a559970: am f67c874c: am 7e5e3745: Fix bug 2710825 - Prevent ExpandableListView from scrolling too far when expanding children.
f67c874c07d2e0ff888cc88679f884a833f89870 25-May-2010 Adam Powell <adamp@google.com> am 7e5e3745: Fix bug 2710825 - Prevent ExpandableListView from scrolling too far when expanding children.

Merge commit '7e5e3745cf0103219a13071fbd488c3c01da85d9' into froyo-plus-aosp

* commit '7e5e3745cf0103219a13071fbd488c3c01da85d9':
Fix bug 2710825 - Prevent ExpandableListView from scrolling too far when expanding children.
7e5e3745cf0103219a13071fbd488c3c01da85d9 25-May-2010 Adam Powell <adamp@google.com> Fix bug 2710825 - Prevent ExpandableListView from scrolling too far when expanding children.

Change-Id: I21b37647c5ad16e4f57fdda433e3b3ee2c7c83ad
bsListView.java
df36b0579e1e550de3d66a20362717e49b23235c 20-May-2010 Romain Guy <romainguy@android.com> Prevent crash when changing adapter.
Bug #2697842

Change-Id: I3f94c7907c8881145638b9e9307458f1431d7e57
ridView.java
istView.java
75095f693acccada3712375e7bba3b0f29d02683 19-May-2010 The Android Open Source Project <initial-contribution@android.com> am 34b1c116: am b39b0f32: am faf9a783: merge from open-source master
faf9a78363b0c773b95c9b43263d788aee313054 19-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I970684d917ea2024871b45abe532c52bb45673c6
39ccc0811fad542fdce8e8226d90c219dec7e451 19-May-2010 The Android Open Source Project <initial-contribution@android.com> am 56d4bcd8: am 627356ce: am d6c0bb0f: merge from open-source master
d6c0bb0f0f3827f1c336db20ac9dc0eb90cd46fa 19-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I0598edad283a177a5ddcc30e20d2284503e6038e
7a029da6d607e0a96ac93e81edefb1d0d86039bf 19-May-2010 Romain Guy <romainguy@android.com> Merge "Text disappears when selecting text in text editor."
7f6cf96cbf842e6995353763e422e3435a8532a0 17-May-2010 Jean-Baptiste Queru <jbq@google.com> am 5942ccf0: am 9eb7a722: resolved conflicts for merge of f7fb5331 to kraken
746a95ab7145a1c7583d1f2d6004a508cd7a31dc 17-May-2010 Christian Mehlmauer <FireFart@gmail.com> Removed Calls to deprecated APIs

Change-Id: I3f9b6a8d3c8a050156a6cc7ea0eb9de33b82f79a
allery.java
f7fb5331e5635ee5b16ba77170229eb7e59ca5ea 17-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ia0201ec7be4c112569b8775429d1c9674eb3b661
c4fee6330158d1f5e76098feb65eb53b53a3a9b6 15-May-2010 Romain Guy <romainguy@android.com> Merge "Fixing indeterminate progress bar animation state."
52a35433cfdd2c177e3c642ae8a35998f1ace1e9 15-May-2010 David Sobreira Marques <dpsmarques@gmail.com> Fixing indeterminate progress bar animation state.

When showing a progress bar instance more than once
it will not animate after the first time.

Change-Id: I5104c551d561755005e533f2ab5257454567bf71
Signed-off-by: David Sobreira Marques <dpsmarques@gmail.com>
rogressBar.java
8d9db8e4c774bb75bc8c08cc5309a7c0712ce017 14-May-2010 Andrew Sapperstein <asapperstein@google.com> Added getNumColumns function to GridView.java.

Change-Id: I1cec19c77d0ee47278d93c6b0a112edae777e4e9
ridView.java
743e25c914b26dc329c8f2c03306b488f320dbe7 13-May-2010 Romain Guy <romainguy@google.com> Merge "Prevent possible leak in AbsListViews."
82afc7b32b5a22fe5a0f1a98e8fd0873a4b7f9a1 13-May-2010 Romain Guy <romainguy@google.com> Prevent possible leak in AbsListViews.

This change unregisters a list's data observer from the adapter when the list
is detached from the window. The default data observer impl. is a non-static
inner class with a synthesized pointer to the list. Thus if an app keeps
the adapter around the list is also kept around. This can be a problem with
dialogs in particular.

Change-Id: Ia95a995d3f54b9caf1bbcd2c7239a0318511b08c
bsListView.java
istView.java
f47d7405bbcb25d7cdf89ebb059f41520fe9ab87 22-Apr-2010 Doug Felt <dougfelt@google.com> Modify Canvas drawText to run bidi and shape.

Adds drawTextRun as internal API on Canvas and GraphicsOperations.
Adds implementation to implementors of GraphicsOperations.

Adds state and API on Paint to control the bidi algorithm when used
by Canvas. This API is currently hidden.

The drawText changes are incomplete since shaping is not yet available
in the native code.

Change-Id: I4368048aef9545df0953a349381771603e04b619
extView.java
108817f3d85f80ddeb8db0ced75502520449a550 06-May-2010 The Android Open Source Project <initial-contribution@android.com> am 8b270a7a: am 579e08e6: am f7896449: merge from open-source master
f78964490d8098387d51444c87bf520ad3f674e2 06-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ia9e1f4e049f5870386ea29ddb6e3ef028ea918da
0ba2d4782c62df6538399f80a91abe3867c449df 03-May-2010 Nicholas Killewald <captainspam@gmail.com> Fixed deserialization problem in DatePicker.

During onRestoreInstanceState for DatePicker, the internal
state of the widget is restored properly (thus setting the
internal year, month, and day), but the spinners aren't
visually updated to that state immediately. That is to say,
the internal state of the widget doesn't match the spinners
in that case, which can cause confusion.

Change-Id: I96d1a299d0ee159d41450470acb30a3bf6006d44
atePicker.java
8c2d5cf82654c351959f31351967424982b08839 29-Apr-2010 Adam Powell <adamp@google.com> am 6bbb65e6: am 6483f6d5: am b40c42f1: Fix bug 2639949 - Don\'t stop a Scroller early
b40c42f1ffa124cfbd5152007491c1d0b065592d 29-Apr-2010 Adam Powell <adamp@google.com> Fix bug 2639949 - Don't stop a Scroller early

Change-Id: Ia827199a27d03289b6fa573dd6f2b13517943400
croller.java
69e87f9b43b82b9a0f8a0fbc1c41251bbea212f9 22-Apr-2010 Jeff Hamilton <jham@android.com> Fix a bug I introduced in CursorAdapter.

It will now properly register the content
observer when used with the auto requery
constructor and auto requery set to false.

Change-Id: I0f3995a2d5f1e27aaeab8c5f2f951fefc8a072e5
ursorAdapter.java
970a138c9730b3763171d7dc297a6372388b569f 12-Feb-2010 Viktor Yakovel <viktor.yakovel@sonyericsson.com> Text disappears when selecting text in text editor.

The problem appears when the user selects, copies and paste text
and then selects text again. The second time text is selected,
the copied text becomes visible in the text field.

Change-Id: Iae19d1659f58ad2e1c6f1a98bdef8bbedabd447f
extView.java
9a20aa74ca83fe53546b6f4cfb9d805d0cfd3a9c 13-Apr-2010 Evan Millar <emillar@google.com> Clean up the fallback state of QuickContact

-Show the generic avatar by default, until otherwise set
-Add padding to the nobadge asset so that it will be square
-Remove states from the nobadge asset since it is not actionable

Change-Id: Ide7da78782a0db9047de52af6f9c1f654fc6a1b5
uickContactBadge.java
1b2d7ec487b09bf930d32e12e5004c161c083187 14-Apr-2010 Romain Guy <romainguy@android.com> Merge "Ensure Gallery does not unselect the selected item after a layout. Bug #2573921"
6691fcfbc806ecfd884ab2e5ff75994d7ee3ddd5 14-Apr-2010 Romain Guy <romainguy@android.com> Ensure Gallery does not unselect the selected item after a layout.
Bug #2573921

Change-Id: I5c39881f541835fe5515b35a9f12761a8a2c1b8b
allery.java
16bd9372ee724b78d96fbddd551aa3e42a8451a6 12-Apr-2010 Steve Howard <showard@google.com> Hide zoom buttons when a view gets hidden, i.e. by a TabHost

When a View uses a ZoomButtonsController, it needs to explicitly hide
the zoom controls when it gets hidden itself, such as when it's within
a TabHost. Add a note to the javadoc to do this via
onVisibilityChanged(), and update WebView to follow the instructions.

Thanks to Ross Levinsky for discovering and tracking this one down.

Bug: 2582718
Change-Id: Ia0c9ea4efcb29eb1f321be54f3d8ae1e056df6b7
CC: rosslevinsky@google.com
oomButtonsController.java
3e089c6c65624c3ce3d95a4d74c5c19f6e038c05 10-Apr-2010 Romain Guy <romainguy@google.com> am aa03df8a: am 50e0d9ae: am 376722fc: am 4525c981: Merge "Fix regression introduced when fixing focus issue with ScrollView. Bug #2581646" into froyo
2d4cff64b4c864aa5f6859b73ffa65e31ee915ac 10-Apr-2010 Romain Guy <romainguy@google.com> Fix regression introduced when fixing focus issue with ScrollView.
Bug #2581646

The correct fix is to make ScrollView ignore the BACK key instead of consuming it.

Change-Id: I5c029a5c60ae8e7791391f63672c44b5c96fec71
crollView.java
c9c82b566943245cdaa62347b72f3613988ce5a0 09-Apr-2010 Romain Guy <romainguy@android.com> Don't supply a null child to the click listener.
External bug #http://code.google.com/p/android/issues/detail?id=7644

Change-Id: Iea2c0d7fa02d355fd68750d6dccf8e6c6773ab6b
utoCompleteTextView.java
57f65e04fdcdbca606a998e3d294cb06a454585d 07-Apr-2010 Adam Powell <adamp@google.com> am 203cd5e0: am 85a650fe: am c696b0df: am eb3d47e4: Merge "Fix bug 2574860 - fix AbsListView.trackMotionScroll edge detection" into froyo
91f234fe4d070121d65095e98c9b2e958cf22548 07-Apr-2010 Adam Powell <adamp@google.com> Fix bug 2574860 - fix AbsListView.trackMotionScroll edge detection

Change-Id: I0fc6d2b8547ab56937eeb5ef3438003a06b966ec
bsListView.java
702d985b5d4c28b04b948fd2d07bdb26a3bbe167 02-Apr-2010 Adam Powell <adamp@google.com> am 942d070c: am 1f29b4cd: am 21990922: Merge "Fix AbsListView scrolling behavior at edges." into froyo
b7795432a5512080fae2a0aa123c02b222f7bca6 02-Apr-2010 Adam Powell <adamp@google.com> Fix AbsListView scrolling behavior at edges.

Allow the user to start scrolling back into content immediately
after dragging past the end of content.

Remove some dead code.

Change-Id: Ife8f60499ac58179ba1e2500ca8745916392a4bc
bsListView.java
451513baa7b3fdd04b253b25e441a20a609de2ed 01-Apr-2010 Jeff Hamilton <jham@android.com> Add an option to not register the ContentObserver when creating a CursorAdapter.

Change-Id: Ic18f0307f5ba0d54f7270d8d1e032feff537360b
ursorAdapter.java
f4d67ca61d4591c4c2c5d5b781e1c241848e74d6 01-Apr-2010 Romain Guy <romainguy@android.com> Merge "Don't ignore the parameters passed to the load methods."
43d390085dc9b0374e17f2808674f33e12bd80ee 01-Apr-2010 Romain Guy <romainguy@android.com> Don't ignore the parameters passed to the load methods.

Change-Id: Id2090a2a0a39dc19b821ee6a01dd206de366397e
dapters.java
ffd8e0fe94b7571599710c7f03410062f9a966be 01-Apr-2010 Adam Powell <adamp@google.com> am fff52b6a: am 5af7ef60: am 40cd1cf6: Merge "Fix bug 2562240 and clean up scrollbar behavior" into froyo
feb4fb9682a16defa0a0e7a999096bc891cd1c62 01-Apr-2010 Romain Guy <romainguy@android.com> Fix the build, really

Change-Id: Id5e00cf7eb822dabb0b2b95b541855871ff0fe07
dapters.java
ec1ca4200c8df6b62f9289b8cccc82022d8877c9 01-Apr-2010 Romain Guy <romainguy@android.com> Fix the build

Change-Id: Ia55ab3e19e6cf81d719759eac48e00849bc0b73b
dapters.java
a0d645cb6980113a624e6e70a7fa9ae5e91bbac8 01-Apr-2010 Adam Powell <adamp@google.com> Fix bug 2562240 and clean up scrollbar behavior

Change-Id: I551803a1c997c9d10e1d004ce14472af6090f432
bsListView.java
orizontalScrollView.java
crollView.java
30346c4399af45b46996f504004796177b975349 25-Mar-2010 Romain Guy <romainguy@android.com> Add support for XML-defined adapters.
This is preliminary work for new types of Launcher widgets.

See javadoc in android.widget.Adapters for more details.

Change-Id: I413b8d5f97673e255d84dc07ad112c333c0ce9dc
bsListView.java
dapters.java
impleCursorAdapter.java
005c0a445e32dfbf18bf93d209da857604925a58 31-Mar-2010 Adam Powell <adamp@google.com> Fix bug 2523622 - ListView invokes onItemClick for disabled adapter items

AbsListView was relying on TOUCH_MODE_DOWN to signal that the item was
enabled, but onInterceptTouchEvent uses it for other purposes. Check
before dispatching the event.

Change-Id: I6babd3872cb51ebdba8e97a3b349e0cc08cd1279
bsListView.java
9d32d24dbd8a015c9d5c44ed4901d5a666eb8e7f 30-Mar-2010 Adam Powell <adamp@google.com> Remove overscrolling

Change-Id: I7e9db8d8a9b8ef67f0c0c82bf57c9155b7ebabea
bsListView.java
ridView.java
orizontalScrollView.java
istView.java
verScroller.java
crollView.java
croller.java
6b1e6969828f05a2f5f55825fdf16b19c9dce2dd 29-Mar-2010 Romain Guy <romainguy@google.com> Rename tab widget attributes, remove scroll barrier constant.
Bug #2553515 #2553595

Change-Id: Id36280a57f00a1ee59251be6be1aae8df2189c09
abWidget.java
0e1229260d66b308a0ad271c20970e3decd6f55c 29-Mar-2010 Romain Guy <romainguy@google.com> Merge "Rename private fields to break bad code examples" into froyo
65fe2c08fa5332f5e2aaa805a029855e876e485e 29-Mar-2010 Romain Guy <romainguy@google.com> Rename private fields to break bad code examples

Change-Id: I4a3e8df5de159c703db244212f78824e4105ba90
abWidget.java
91c8613679959a5fde4f72fe6dd80023d9a1a9e7 27-Mar-2010 Romain Guy <romainguy@google.com> Don't assume there's a selected position in touch mode.
Bug #2520743

Bad GridView, bad!

Change-Id: Ideed32dc70a69c85df5afbf949e78b481e147b7f
ridView.java
aeb30e6d22e5dc92e0a82653cea3b36b392cfa4d 26-Mar-2010 Adam Powell <adamp@google.com> Fix bug 2544916 - Fun with AbsListView touch mode

Change-Id: I79de051891d535f44c0910295976d1f3634aca4c
bsListView.java
6579b0b4ac0e781efab044aaaf3f66447cf5e067 25-Mar-2010 Adam Powell <adamp@google.com> API refactoring for OverScroller.

OverScroller is no longer a child class of Scroller and several
Scroller methods that do not make sense for OverScroller and could
cause misbehaving edge cases have been removed or hidden and
deprecated.

Change-Id: Ie055b607bd3b36c47ab9798d5c9518aef686b474
bsListView.java
orizontalScrollView.java
verScroller.java
crollView.java
croller.java
478a745e8421497bad9ea0cbd75bc4d4d419ef60 24-Mar-2010 Gilles Debunne <debunne@google.com> null header and footer allowed in HeaderViewListAdapter.

The view infos should never be null since they are created by ListView, which is
the natural and only use of this class.
However, some tests in CTS pass null pointers. Replace null by a static empty list.

http://b/issue?id=2527753

Change-Id: I9b92fa018c89007f12be899285f75130b2c8ac40
eaderViewListAdapter.java
26295d20e3e41f33757043615487f82eab8e14a6 24-Mar-2010 Adam Powell <adamp@google.com> Merge "Fix some bugs/edge cases in ScrollView/HorizontalScrollView"
34783aac261f55ba1fbc2ccb60fd0bdb12fdf52a 24-Mar-2010 Gilles Debunne <debunne@google.com> Fixes for HeaderViewListAdapter.

Null header and footer, as used by CTS tests, were no longer supported.
Added a static empty list to avoid repetitive null tests in that case.
Fixed getItem/getItemId/getView to handle corner cases.
Changed ListAdapter isEnabled documentation for invalid positions.

http://b/issue?id=2527753
Change-Id: I55e5bf21cb0673d906caa7c669987a6ae869d90f
eaderViewListAdapter.java
istAdapter.java
352b978fa8332808ce38c6f52edd04c8dcb9e7e3 24-Mar-2010 Adam Powell <adamp@google.com> Fix some bugs/edge cases in ScrollView/HorizontalScrollView

Handle ACTION_CANCEL, fix edge cases related to grabbing content and
beginning a new scroll during overfling/springback. Will prevent
some cases where a view could get stuck overscrolled.

Change-Id: I7e89d9de9b7dc685d2ea278e6b2bd2c794364204
orizontalScrollView.java
crollView.java
9d0335b1e3a2c70506db2413ac8d8a0f88ba6bec 24-Mar-2010 Adam Powell <adamp@google.com> Fix for bug 2502886 - stupid monkeys.

Plugged a possible edge case with ScrollView/HorizontalScrollView that
could cause this error.

Change-Id: I509004189b9f5e536d6213c9fdfff598d9f958ca
orizontalScrollView.java
crollView.java
f3311c940aee73afb0eeeedde4799e45f544dbc3 24-Mar-2010 Adam Powell <adamp@google.com> Fix bug 2531732 - DateTimeView explodes on bad system date format.

Fall back to a default date format instead of throwing an exception.

Change-Id: I827a81d9610ea7f9243c1c33579e7a5d3b423692
ateTimeView.java
3daa6a557a5d45d926da2e0664804d4d229bf084 23-Mar-2010 Adam Powell <adamp@google.com> Merge "Fix bug 2537626."
886df67b3d31cf5eef36ad956b9588f9a96d8737 23-Mar-2010 Adam Powell <adamp@google.com> Merge "Fix bug 2495033."
83d570cb3f1cc59d5a72e608b04d8f666db327a7 23-Mar-2010 Adam Powell <adamp@google.com> Fix bug 2537626.

Awaken scroll bars in onOverscrolled instead of based on the timing
reported by the Scroller's animation.

Change-Id: I8510b92b9fdf471fc8d6f8f089681eb23d10f190
crollView.java
387d8f8a62d6ea0932ebb498d2b1dda00a1256be 23-Mar-2010 Adam Powell <adamp@google.com> Fix bug 2495033.

AutoCompleteTextView now uses different logic to expand the dropdown
list of completion choices to cover the IME if present. Previously
this would happen whenever a touch down event occurred. Resizing the
dropdown could cause the parent view to animate a scroll and thereby
move the completion list up the screen. When this happened with a
finger down it would initiate a touch scroll on the completion
list. Prior to froyo this wasn't a problem since a list positioned at
the top could not scroll up, but with the addition of overscroll this
caused undesired behavior.

The completion list now will not expand to cover the IME on initial
touch down. Instead it will only expand if the user leaves a finger in
place for the duration of a timeout (currently 250ms) or if the user
explicitly begins a touch scroll on the completion list. This also has
a nice side effect where tapping a completion choice in the initial,
smaller list does not cause a split-second list expansion before the
list is dismissed.

Change-Id: If0994c68a91b3bfc3dcef660c67fde667a9727f9
utoCompleteTextView.java
a961dc5ae27fec0d552ef38dc107fd2dc81cdbdc 23-Mar-2010 Romain Guy <romainguy@android.com> Merge "Correctly bind spinner data to TextView. Bug http://code.google.com/p/android/issues/detail?id=7251"
b187a847a5b1ad7b03c1fff95366e8cf6bc96be2 23-Mar-2010 Romain Guy <romainguy@android.com> Correctly bind spinner data to TextView.
Bug http://code.google.com/p/android/issues/detail?id=7251

Previously, a spinner using checkable list items would try to bind data as booleans
instead of text. This change takes this use case into account.

Change-Id: Ie4ced01e3c0235138e1dd68426d6a748c2843a9c
impleAdapter.java
0ee0a2ea57197cb2f03905454098d9a7a309f77b 23-Mar-2010 Gilles Debunne <debunne@google.com> New edge effect when OverScrolled.

The constant force that was applied has been replaced by a spring force
when the OverScroller goes beyond valid position values.

Bounce coefficient can be set for each directions.

Change-Id: If7d506d3f35b3451f590c54d6c04a1deb8d9ca95
bsListView.java
verScroller.java
croller.java
38390b4592cfdceb6ed21e49e0f22af400acac26 22-Mar-2010 Romain Guy <romainguy@android.com> Merge "Fix possible NPE in AdapterView's OnItemClickListener clients. Bug #2533718"
45b3dcd07ef58164484e3648ec0ddc8fdba8e5d1 22-Mar-2010 Romain Guy <romainguy@android.com> Fix possible NPE in AdapterView's OnItemClickListener clients.
Bug #2533718

Change-Id: I32e72e29a7b4bb8331f2492f5c5b5507d1b3993a
bsListView.java
db54ea0fb61b77920137bd5ad31cb4451e87fa95 22-Mar-2010 Marco Nelissen <marcone@google.com> Fix Tabwidget copy/paste bug.

Change-Id: I8e75ec65353748ec794862cfb0e76653ba4fc428
abWidget.java
189f65c12ff673087fda20e33ebcfb603143c0d3 22-Mar-2010 Marco Nelissen <marcone@google.com> Fix javadoc copy/paste error.

Change-Id: I6a504176e96b8dc54356305cc00acfe3d1e5b1ed
abWidget.java
52964243dc95f74ac2ab9a96d031a36931a11931 24-Feb-2010 Gilles Debunne <debunne@google.com> New OverScroller with edge bouncing effect.

OverScroller has been made a Scroller child class. Both use a physical constant deceleration
force to compute the animation. OverScroller also includes a rubber edge bounce effect.

Approved by Jim Palmer.

Change-Id: I3f43a03694b8cb6bfa0784c2663b37c9c39322cc
bsListView.java
verScroller.java
crollView.java
croller.java
415b46c32ba17ce80bb133e9f0e24a8e08371dc4 19-Mar-2010 Kenny Root <kroot@google.com> Merge "Ensure adapter is not null in AutoCompleteTextView"
8340afe0f66663f032dd999e2d377564df0bb6d5 12-Mar-2010 Gilles Debunne <debunne@google.com> New HeterogeneousExpandableList interface.

This interface can be used in conjunction with ExpandableListAdapter to
declare more types of child and/or group views.

None of the ExpandableListAdapter implementations is heterogeneous in the
framework. BaseExpandableListAdapter was decalred to use this interface so that users
see the methods and can overload. DateSortedExpandableListAdapter was left unchanged.

This feature is related to http://b/issue?id=1459940

Change-Id: Ifc589b697913778b16abfdcaaa9f8f81e564add7
aseExpandableListAdapter.java
xpandableListAdapter.java
xpandableListConnector.java
eterogeneousExpandableList.java
7254afd4c275dec243d4825f8f68c815ced1342c 19-Mar-2010 Kenny Root <kroot@google.com> Ensure adapter is not null in AutoCompleteTextView

A runnable is posted for AutoCompleteTextView's PopupDataSetObserver, but
there's a possibility that mAdapter would be set to null between when
the runnable is run and the time it is posted.

This fixes a monkey crash seen in build 29176.

Change-Id: Ie7be51db580d6e9775533890e5f6902409bec84d
MonkeyCrashID: 2071507494::1632:123:521
utoCompleteTextView.java
b127bf2e9cd68c4d54fdcce2326293e3013c19af 18-Mar-2010 Gloria Wang <gwang@google.com> Merge "Release MediaPlayer if suspend() returns false."
047212fd4ea360675e94d3ce83c7f5544f65b268 18-Mar-2010 Gloria Wang <gwang@google.com> Release MediaPlayer if suspend() returns false.

Change-Id: Ic6467a19bac453b72b56294487c9b835b20affd7
ideoView.java
8a836a8b98557263152a476f614b6e05e19ffc5a 18-Mar-2010 Adam Powell <adamp@google.com> Eliminate haptic feedback when hitting an overscroll barrier due to a fling.

Change-Id: I434ec3edd95a19677ad9dbd1ac5ca3f3f5d091cb
bsListView.java
orizontalScrollView.java
crollView.java
f43eab142df7d3096f299d34c9e5713200332392 18-Mar-2010 Adam Powell <adamp@google.com> Merge "Make AbsListViews remeasure children after rotation"
f3c2edaa213e6d8c779ab819ff630b4ce389007c 17-Mar-2010 Adam Powell <adamp@google.com> Make AbsListViews remeasure children after rotation

Fixes issues in Settings and other places where TextView separators
aren't resized properly after a rotation

Change-Id: Id5c53d4c5e6621e79e723ec2c300c8a43f12e379
bsListView.java
a15f4a46adcd31e0b20532ad6b13b76a9dd7090d 17-Mar-2010 Romain Guy <romainguy@android.com> Merge "Prevent crash when dismissing a PopupWindow that didn't have time to show up. Bug #2520981"
92be82e6a85bfe6f86400eb46d7c5e8ec5787b3c 17-Mar-2010 Romain Guy <romainguy@android.com> Prevent crash when dismissing a PopupWindow that didn't have time to show up.
Bug #2520981

This is very similar to recent crashes we fixed in Dialogs.

Change-Id: Ifd85f05ddc3843ef727ca92808568a5520c83107
opupWindow.java
8dd9b6053c801362d8f0be68e77e6a0392ebc486 17-Mar-2010 Romain Guy <romainguy@android.com> Merge "Fix centering in FrameLayout when margins are specified."
b954a54350a0acd3c24257da1a224f3da941602a 17-Mar-2010 Romain Guy <romainguy@android.com> Fix centering in FrameLayout when margins are specified.

Change-Id: I022f458c73967eacc9487bf8d8119999395efda9
rameLayout.java
11d5bfde8488505e15aa83275772d84579de04ca 17-Mar-2010 Romain Guy <romainguy@android.com> Fix NPE in AutoCompleteTextView to tame the monkeys.
Bug #2522599

Change-Id: I85654898399e5329585fb6aa5f3890ca4c22e2bf
utoCompleteTextView.java
4f43ae09d2cb0cce2b9e794f1b80f7198333c94b 17-Mar-2010 Romain Guy <romainguy@android.com> Stupid AutoCompleteTextView.
Bug #2522538

Fixes problems that occur in the Email application. If the adapter is initially empty,
the code in the data set observer to update the popup would not show the popup. This
change makes sure the popup will be shown if the adapter was initially empty and the
user has typed enough characters in the input field.

Change-Id: I44a0e4fab18a642763816a974b8c1886d8e52869
utoCompleteTextView.java
6a67810228d02e75446d55c4c353275c87e9e769 16-Mar-2010 Romain Guy <romainguy@android.com> Resize AutoCompleteTextView's dropdown when the list content changes.
Bug #2517711

Change-Id: Ibd4a9458d517063483712a60fb6d6b63311bbd0c
utoCompleteTextView.java
82ce6f1c8efd78f988a9a9c8e1017707fe2a6470 16-Mar-2010 Romain Guy <romainguy@android.com> Merge "Round up ImageView translations to avoid nasty surprises. Bug #2499812"
b4938201bad1050a5e3821d60ea43e71861cc733 16-Mar-2010 Romain Guy <romainguy@android.com> Round up ImageView translations to avoid nasty surprises.
Bug #2499812

Change-Id: If90acb7e13aa30e5a0a4e73782d033a5bb4e3264
mageView.java
88f183eb4bba20cab3078b1588bd2cc619654420 16-Mar-2010 Romain Guy <romainguy@android.com> Merge "Correctly handle disabled list items in AutoCompleteTextView. Bug #2516659"
2beee4d11084f7b96dda6e335da0ebc08214dfb7 16-Mar-2010 Romain Guy <romainguy@android.com> Correctly handle disabled list items in AutoCompleteTextView.
Bug #2516659

Change-Id: If51dfbfff27777476e799030e2326e964ee74f42
utoCompleteTextView.java
c5014294a07b33e537b76f62d053cdcfcc7a9a04 16-Mar-2010 Adam Powell <adamp@google.com> Fix bug 2516434

AbsListView shouldn't update mLastTouchMode in onTouchModeChanged;
it's only used in onWindowFocusChanged and since onTouchModeChanged
gets called first, the current and last modes will never be different
to trigger the right code path.

Change-Id: Ic9bc454c87826622df54417801fd8f13213c480e
bsListView.java
51a6bee6719820d09595f474264fcb833eff470a 15-Mar-2010 Adam Powell <adamp@google.com> Fix bugs when transitioning out of touch mode

Change-Id: I56cbac17fba500871af839a87d746ea8e1fd5d0f
bsListView.java
e1748c67143f3bd2187cdafa8788790c8e33dbe5 12-Mar-2010 Amith Yamasani <yamasani@google.com> Merge "Fix for 2175289 : Can't get keyboard in search dialog after switching to landscape"
2a20ddd90bb9eeab56ffaa916ed062dfd5cf7fa6 12-Mar-2010 Adam Powell <adamp@google.com> Tame some monkeys

Change-Id: I1bdcd466d6bacb0cebdd6bb0b5339477c2c284b0
bsListView.java
d25eb35b6b80b6f8065ab39b1cf1abb1fd801234 11-Mar-2010 Amith Yamasani <yamasani@google.com> Fix for 2175289 : Can't get keyboard in search dialog after switching to landscape

The auto complete drop down was obscuring the keyboard. This fix checks if the
screen is in landscape mode and forces the keyboard in front when necessary.
utoCompleteTextView.java
84222e04252720cf681032e865db526ce4a612a4 11-Mar-2010 Adam Powell <adamp@google.com> Fix overscroll distance calculation for stack-from-bottom ListViews

Change-Id: Ic8278763586d03c152f7b30b7fdd0b37b0dfc9cb
bsListView.java
istView.java
bfb5d4b93bb739a012ecec604473838c1343c88a 11-Mar-2010 Adam Powell <adamp@google.com> Added overscroll headers and footers to ListView.

These let developers set a drawable for the list header and footer
to be drawn above and below list content.

Change-Id: Ideddec854cb0bc11f83efb3c000c217844be82c7
istView.java
be75659485d809b5f52e32d2bd81acffd4baeb67 10-Mar-2010 Svetoslav Ganov <svetoslavganov@google.com> Fixing bug 2502522 - Accessibility events contain text of invisible views

Change-Id: I0eccc82ad9f3139e46942cb61212bb83f992c173
extView.java
97566043afdb714fd4eea6bb22898964e95f16bc 10-Mar-2010 Adam Powell <adamp@google.com> Fix ListView filter popups when window focus changes

Change-Id: I8c468900d5dd4d8d82308e2bed3bf992b6c803c7
bsListView.java
fee20911e3ec97af64e4ac2c519d75b5f75e2a27 09-Mar-2010 Adam Powell <adamp@google.com> Fix bug with AbsListView position scrolling

Change-Id: I91338f0533178417c874325f5f126d1b5fbb5f92
bsListView.java
637c0dce32c4966f4a7a035ae9858f3ef063019d 09-Mar-2010 Adam Powell <adamp@google.com> Merge "Restore old/buggy behavior of ListView.getCheckItemIds() for adapters without stable IDs to support legacy code."
463ceff8a44ec2bf67b0394be7f7e70613a55478 09-Mar-2010 Adam Powell <adamp@google.com> Restore old/buggy behavior of ListView.getCheckItemIds() for adapters without stable IDs to support legacy code.

Change-Id: I4c6a15e5a224bc5e84949ceb4df17154a2874d20
istView.java
2869e952c65548555a9fc197c1f8ceb5b7470462 09-Mar-2010 Andreas Huber <andih@google.com> Fix a typo in VideoView.java that disabled the seek-back button by default.

Change-Id: I23a9423b20646529b652e23349266a3291981484
related-to-bug: 2498317
ideoView.java
eb6a592a283012fa3a93aad4a137b93ab9aa07ee 09-Mar-2010 Adam Powell <adamp@google.com> Merge "Fix issues with ListView.smoothScrollBy"
029cfbd6f28e1664e8ef77ea928560f20ac3fb8e 09-Mar-2010 Adam Powell <adamp@google.com> Fix issues with ListView.smoothScrollBy

Change-Id: I4a2752c56a1d2ad3227644f764d6be7a02c9eb8d
bsListView.java
56ec3c888a19b16ef056c157ed63d94adef7f201 09-Mar-2010 Romain Guy <romainguy@android.com> Merge "Fix scrolling bug in AutoCompleteTextView. Bug #2495033"
3e141685003939a9addce21ba2492ea3a8aebee6 09-Mar-2010 Romain Guy <romainguy@android.com> Fix scrolling bug in AutoCompleteTextView.
Bug #2495033

This fixes various issues. ACTV would sometimes not update its popup to match
its size/location.

Change-Id: Ic662bddf40e49b09482b15ff91666be3709da1d5
utoCompleteTextView.java
opupWindow.java
9161e202d18ff31946fcd320641bc53abdc61afe 09-Mar-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I66d3db4c9ed3f54ce17a8d64ca0c6cce6941cdaa
8e618e54ef0f009cac15972af9d9a72d6f6b6f94 08-Mar-2010 Romain Guy <romainguy@android.com> Report scroll events from ScrollView and HorizontalScrollView.
Bug #2342763

Also fix typos in TextView.

Change-Id: I58ab906b9bebe562c1a913977e2d6970bfcf3788
orizontalScrollView.java
crollView.java
extView.java
e3491b6b5f1d3fb871074766597b275d9f682faa 05-Mar-2010 Kenneth Andersson <kenneth.andersson@sonyericsson.com> Title in DatePickerDialog used in Settings application not updated correctly

The DatePickerDialog in the Settings application is not updated correctly if you follow
the following step-by-step:
1. Enter Date option in settings application
2. Modify the values of the date, then cancel the changes
3. Once again enter the date option

and you can see that the title in the dialog has not been updated correctly. This is
due to a missing call to onDateChanged callback in the DatePicker class. Solution was
to add the notify call when updateTime has been called.
atePicker.java
cb704cd1e05ecd9bbd9bebd16f3b816dcb0c5309 06-Mar-2010 Adam Powell <adamp@google.com> Fixed a regression setting ListView selection mode without an adapter
istView.java
8f1bfe1a7cef702fd74e5405443e9fdb7c5e7556 06-Mar-2010 Adam Powell <adamp@google.com> ListView#getCheckItemIds() deprecated for ListView#getCheckedItemIds().
ListView#getCheckedItemIds() now works more reliably.
istView.java
aa516beb79693ceffbd81a7c9d14c940e412cccb 06-Mar-2010 Romain Guy <romainguy@android.com> Correctly validate numbers when pasted in NumberPicker.
Bug #2258525
umberPicker.java
3b7991efec59c681b2128b6f46796ba242068592 05-Mar-2010 Gloria Wang <gwang@google.com> Merge "Release mediaplayer if the current state is not suspending. Fix for bug 2480093."
efb882cf75eef39ecaf9f8920ed302a019fa629f 05-Mar-2010 Gloria Wang <gwang@google.com> Release mediaplayer if the current state is not suspending. Fix for bug 2480093.
ideoView.java
090e0f08b9d8ea6328cd5210f1a27953fb0e4e67 05-Mar-2010 Romain Guy <romainguy@android.com> Do not select any item when the user clicks outside of the list content.
Bug #2485544
bsListView.java
ca8faae6b930abb2f1622c50ddee0b205b943ade 04-Mar-2010 Adam Powell <adamp@google.com> Awaken ListView scroll bars for overscroll
bsListView.java
e58aa0d964f91597cf3eecf16ff72988e6c5f5a3 04-Mar-2010 Gilles Debunne <debunne@google.com> Merge "More ExpandableListView fixes to take headers into account."
272f3a9474a70817f8089259da4c2696732dfecb 04-Mar-2010 Gilles Debunne <debunne@google.com> More ExpandableListView fixes to take headers into account.

All direct calls to mConnector in ExpandableListView should convert group/child flat positions
to/from absolute flat positions (that take header count into account).
Two conversion methods were added to do that.
xpandableListConnector.java
xpandableListView.java
d93b998c92ce192ea4b99cdf0cecd74df742fbef 03-Mar-2010 Adam Powell <adamp@google.com> Fix a bug in OverScroller.setFinalX/Y
verScroller.java
9d5b488abeb6acbf5135340d016994af97baeff9 03-Mar-2010 Adam Powell <adamp@google.com> Added Scroller compatibility methods to OverScroller
verScroller.java
0bf88594c43ced48d862d122e3e84967b3b63658 02-Mar-2010 Romain Guy <romainguy@android.com> Make sure all list items know they are in a window.
Bug #2476671

If you had a ListView with a layout_height equals to WRAP_CONTENT, you would
get list children with a parent but not attached to the window. This was caused
by the onMeasure() code: that code was obtaining views from the adapter to
measure them and putting them in the recyler for later reuse. Unfortunately
the recycler assumes that views have been attached to the window but detached
from the parent, thus causing much grief. The fix simply forces measured views
to be added to the window the first time they come out of the recycler.

ListView, bow before me for I am your master!
bsListView.java
ridView.java
istView.java
c4fc2cc47f45934cde2a8fb117d1812b4ff575eb 02-Mar-2010 Gilles Debunne <debunne@google.com> Merge "Null pointer tests removed from HeaderViewListAdapter."
176f9fc215194411cf0461a178d77fa57486112b 02-Mar-2010 Gilles Debunne <debunne@google.com> Null pointer tests removed from HeaderViewListAdapter.

The mHeaderViewInfos and mFooterViewInfos lists were sometimes tested for nullity
and sometimes not. Should these values be null, some conditionnal code was actually
flawed in getView() and getItem() because of too strong 'and' conditionnals.

These lists are created upon declaration in ListView and are then shared and hence
cannot be null. Null tests were hence removed. getView() and getItem() get simpler
and work as before.

Change-Id: I279e482730ce6148a559d15a9863afc8f6b67780
eaderViewListAdapter.java
istView.java
42c79880b0c19dfbcd8589d89d35fcedb1a7c9da 02-Mar-2010 Romain Guy <romainguy@android.com> Apply alpha animations on ImageView instances.
Bug #2479570
mageView.java
abWidget.java
7883c975dd0db021fa3a01226d6cb09c28764c98 02-Mar-2010 Romain Guy <romainguy@android.com> Prevent crash in Dialog.
Bug #2249637
abWidget.java
61c9d4b4509aeaab1fcad24fb5a63c874d2fd941 01-Mar-2010 Romain Guy <romainguy@android.com> Let apps change the bottom strip in TabWidget.
Bug #2478088

Also expose a few useful APIs.
abHost.java
abWidget.java
52b65d39aaa378c5bec389a1e8a977ec3ec6a522 01-Mar-2010 Gilles Debunne <debunne@google.com> Take headers into account when expanding a ExpListView group.

The possible scroll that happen after expanding a group did not take the possible
existing headers into account.

Change-Id: I5dc381baa7c54580e992e26a1ed55102afcb16b0
xpandableListView.java
7628fbe0311f02be443411b4682e929d1ae7c850 27-Feb-2010 Gilles Debunne <debunne@google.com> Merge "Fixes for ExpandableListView with headers/footers"
ccea766217872a528687cb931c7ebc37a7b535c7 27-Feb-2010 Adam Powell <adamp@google.com> Merge "ListView now tries to keep the position containing focused child views on-screen."
9bf3c128509de5bd66222943a00acfcd1000cd62 26-Feb-2010 Adam Powell <adamp@google.com> ListView now tries to keep the position containing focused child views on-screen.
bsListView.java
istView.java
d43bd48fe311fa6320e46ca9b9ce25241c476ac6 27-Feb-2010 Adam Powell <adamp@google.com> FastScroller now reports scroll state changes for its associated AbsListView
astScroller.java
47ccdf3760635a695b7c417a0df02f7e86ce6262 26-Feb-2010 Gilles Debunne <debunne@google.com> Fixes for ExpandableListView with headers/footers

Patches in ExpandableListView to correctly handle header/footer shifter flat positions.
Make tests added in https://android-git.corp.google.com/g/#change,42312 pass.

Change-Id: I0d7823f5ae290e855bfdfb8d33c18bd34661077c
xpandableListView.java
9b1bb81fe256e3b342a7375be39da7e752eaf3d4 26-Feb-2010 Romain Guy <romainguy@android.com> Do not detach headers and footers from the list view.
bsListView.java
9c3184cc162ee8c10eabd3f996629a9397a1f551 26-Feb-2010 Romain Guy <romainguy@android.com> Do not recyle headers and footers when measuring the ListView.
Bug #2461893

This was causing headers and footers to be in a wrong state after the first
recycling pass, which would cause them to be detached from the window. This
was in turn preventing invalidate operations from performing successfully.
bsListView.java
istView.java
4bb79db462a65381e85715da582bdd7fe278fd52 26-Feb-2010 Adam Powell <adamp@google.com> Merge "HorizontalScrollView multitouch scroll and only grip on content AbsListView multitouch scroll and only grip on content"
4cd47702f00a2fd6d6bc16c5398edb884d98bdca 25-Feb-2010 Adam Powell <adamp@google.com> HorizontalScrollView multitouch scroll and only grip on content
AbsListView multitouch scroll and only grip on content
bsListView.java
ridView.java
orizontalScrollView.java
istView.java
crollView.java
2a4f254d53c065da16114a84bcfe95f57ccb2587 26-Feb-2010 Kenny Root <kroot@google.com> Remove misleading method comment on TextView#setHint

Comment incorrectly specified that the setHint(...) methods were
deprecated and suggested instead using different methods that did not
exist.

Change-Id: I5e7a1570beb8f1cd807853c6d9de8072afa5123e
extView.java
ac68d81ce1339e4853a798e4a36e7ffd84750000 25-Feb-2010 Romain Guy <romainguy@google.com> Merge "Prevent ProgressBar from updating itself when hidden. Bug #2470737"
a05e8a5869ad2117485938cd52d4b891672a1873 25-Feb-2010 Romain Guy <romainguy@android.com> Prevent ProgressBar from updating itself when hidden.
Bug #2470737
rogressBar.java
aa635db5c65351a43ce17ceaed5909018383d88d 25-Feb-2010 Gilles Debunne <debunne@google.com> Merge "New test on ContextMenuInfo packed positions."
192ab903887bbb8e7c7b6da5c581573850e30f46 25-Feb-2010 Gilles Debunne <debunne@google.com> New test on ContextMenuInfo packed positions.

With and without headers.
Non regression test for bug
http://b/issue?id=1778239

Change-Id: I0235528ac6f8394292bac35f2350f3d5be1e4df7
xpandableListConnector.java
c352090c49b50a70aaddeb428bd5e27f7419884f 25-Feb-2010 Romain Guy <romainguy@android.com> Correctly handle negative margins in horizontal linear layouts.

When LinearLayout is measured in EXACTLY mode, we handle the negative margins
a bit differently. This is to support the use case of the current tab design.
inearLayout.java
8cebbfd5fb757a3ace64d227b9955d26ae08cba3 25-Feb-2010 Romain Guy <romainguy@google.com> Merge "Fix tabs."
6c5664ac58463fefb580acd0d9b5550b25511f85 25-Feb-2010 Romain Guy <romainguy@android.com> Fix tabs.
inearLayout.java
9d6e45ad9213b3cf85e3a4ad037b4e9b182a4cc7 25-Feb-2010 Adam Powell <adamp@google.com> Merge "ScrollView multiple pointer support. Fixed a bug where ScrollView wouldn't scroll if the initially tapped child ignores the down event."
bc4e7533b9c6a6e45e3cf4a889bcb913b8feefc5 23-Feb-2010 Adam Powell <adamp@google.com> ScrollView multiple pointer support. Fixed a bug where ScrollView
wouldn't scroll if the initially tapped child ignores the down event.
crollView.java
dcc490f20103a4bbd879ea040ce67779d211c2d7 25-Feb-2010 Romain Guy <romainguy@android.com> Fix the build.
extView.java
a440b002aa59e1455bdfa2c5a1ca51c74bbc19ac 25-Feb-2010 Romain Guy <romainguy@android.com> Prevents ListView items children to modify properties of other children.
Bug #2464502

This fix introduce a new dispatch mechanism to tell views when they are temporary
detached/reattached from/to a ListView. This is very important to remove pending
callbacks or cleanup temporary states.

This change also modifies TextView which was relying on that callback in a very
particular case: a focused EditText in a ListView. The modified code acts only
when in that case, not if onStart/FinishTemporaryDetach() is called via
dispatch*() (== recycled views in ListView.)
bsListView.java
istView.java
extView.java
618c8f1ede12d81fc4fee3d6fb239940f7e2023d 25-Feb-2010 Joe Onorato <joeo@google.com> Merge "Make ScrollView only do overscroll if you're grabbing the child view."
9f0e8eeab2c9fdce182ad16fb28ad8fa3033eb75 24-Feb-2010 Joe Onorato <joeo@android.com> Make ScrollView only do overscroll if you're grabbing the child view.
crollView.java
2a399f066d4f3870385002cdcda8082a0eeeb770 24-Feb-2010 The Android Open Source Project <initial-contribution@android.com> am 563d3a62: merge from open-source master

Merge commit '563d3a62f3762b312a4c0a9d9af15a2333beaede'

* commit '563d3a62f3762b312a4c0a9d9af15a2333beaede':
These changes add access to some status values in widgets listed below:
9a352305f86db9782e474dc09bcf3d09511abf56 24-Feb-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master
2e1818a4d16c3309660f27286c77d8d1eee95a25 22-Feb-2010 Gloria Wang <gwang@google.com> New API on VideoView widget to suspend/resume a session. Do not release the MediaPlayer client for video suspending/resuming.
ideoView.java
7a36788f4a69b3ddaf8fb8e250e1a13bee7238fa 24-Feb-2010 Steve Zeigler <sfzeigler@gmail.com> These changes add access to some status values in widgets listed below:

widget/CheckedTextView.java: report if the item is checked or not.

widget/CompoundButton.java: report if the item is checked or not.

widget/ProgressBar.java: isIndeterminate(), getProgress(), getSecondaryProgress(), and getMax() report what
sliders and progress bars are showing

widget/TextView.java: report the current selection: getSelectionStart() and getSelectionEnd()
heckedTextView.java
ompoundButton.java
rogressBar.java
extView.java
afc0155718ceb6b14d78dffc5590bd359511be8b 23-Feb-2010 Romain Guy <romainguy@android.com> Prevent crash in AbsSpinner when the selection is out of sync.
Bug #196253

Also do a little bit of syntax cleanup, remove unused code, etc.
bsSpinner.java
ab3e1052823620a91a1330b31da6aaf530ed8c3b 18-Feb-2010 Adam Powell <adamp@google.com> Don't switch layout modes in AbsListView#onTouchModeChanged()
Don't stomp mResurrectToPosition for LAYOUT_SPECIFIC in AbsListView#hideSelector()
bsListView.java
1f09c8314701c1d09be8e350344c58241905677b 19-Feb-2010 Adam Powell <adamp@google.com> Spinner now allows disabled adapter items
pinner.java
d7507834e73f32b4c82839036dc3897a1587e668 19-Feb-2010 Adam Powell <adamp@google.com> Don't cache mFirstPosition before a layoutChildren in ListView.onFocusChanged
istView.java
d651629478ea4615e3a493aa63ae455d6fefb38f 18-Feb-2010 Gilles Debunne <debunne@google.com> Merge "List.GetCheckItemIds no longer includes unchecked items."
fd3ddfa6f0559eb29eea179690144a7357c34b3d 18-Feb-2010 Gilles Debunne <debunne@google.com> List.GetCheckItemIds no longer includes unchecked items.

Unchecked items remain in the mCheckStates with an associated false value.
Now filtered out.

Added a unit test to ensure non regression.

Change-Id: If0b1a38aa06881055c87a97b3afb2c7fb48656f1
http://b/issue?id=2440815
istView.java
c6a0a9cb67930f7259f3f019e8fba22b07a906bf 18-Feb-2010 Adam Powell <adamp@google.com> Merge "Don't move the fast scroll thumb with a list on overscroll."
2b95c2413838c2e2b127ebab8fb4fead7d52e460 09-Feb-2010 Jeff Sharkey <jsharkey@android.com> Added more @RemotableViewMethod methods, mutate ImageView.

Catch some View methods missed during the first pass of
marking with @RemotableViewMethod annotation. Also adds new
ImageView.setColorFilter(int) to match the android:tint XML
attribute.

When ImageView touches ColorFilter or alpha, mutate the
underlying Drawable. Fix NPE in StateListDrawable.mutate().
mageView.java
iewFlipper.java
7fd28847f11f718033737976d85969869e0dc66d 17-Feb-2010 Adam Powell <adamp@google.com> Don't move the fast scroll thumb with a list on overscroll.
bsListView.java
c9fbaabc1bbf847b6e8bf2595068cbd990f3da55 17-Feb-2010 Adam Powell <adamp@google.com> XML attribute for overscrolling behavior
bsListView.java
a2f91016840bf4f7274577d40f3610e38b77f2ad 16-Feb-2010 Adam Powell <adamp@google.com> Fix for [Horizontal]ScrollView scroll range reporting
orizontalScrollView.java
crollView.java
70bc217703a60e9353a31392971fede299ca3fc3 16-Feb-2010 Adam Powell <adamp@google.com> Merge "Added proper overscrolling scroll bar behavior to GridView"
f5c6eff63d19a9f7a970a4f90619edac873c006d 10-Feb-2010 Gilles Debunne <debunne@google.com> Force layout on TableRows when column widths are shrinked or streched.

Also features some comment typos and import re-ordering.

Change-Id: I32cb14419d7d349064032718469daf62a0a72e3a
ditText.java
inearLayout.java
ableLayout.java
ableRow.java
f2a204e792df5593cfe54efc95d04b7e764795c1 13-Feb-2010 Adam Powell <adamp@google.com> Added proper overscrolling scroll bar behavior to GridView
ridView.java
a10b48d5a584253cdea4ceea7d5307a3f240dc4a 13-Feb-2010 Gilles Debunne <debunne@google.com> Merge "Closed tabs removed from layout."
0b8bb4282a7d1afb24f8c4d5beb2ca4ecc731116 08-Feb-2010 Adam Powell <adamp@google.com> Overscrolling modifications. Overscroll will not allow the user to
scroll content out of view. Scrolling will slow down halfway to the
barrier point. API added in View. AbsListView, ScrollView,
HorizontalScrollView all use this API. Overscrolling uses haptic
feedback. Added scroll barrier pattern to config.xml.
bsListView.java
orizontalScrollView.java
istView.java
crollView.java
ce2baf0d57ee3f1e8a7f07c030595f489407d1ce 11-Feb-2010 Gilles Debunne <debunne@google.com> Closed tabs removed from layout.

TabHost sets closed tabs visibility to GONE instead of INVISIBLE, so that they are no
longer considered by the layout.

Change-Id: I74efea13d43e3c7ce21476c7bbcb3bb1cca8bf29
abHost.java
5fe1e6221ea3bab3120f5b9c0ceacaf59d116c05 10-Feb-2010 Eric Fischer <enf@google.com> Make the Date Picker fields more consistent in locales with numeric months.

In locales that use month numbers instead of names, use *just* the number
instead of also the word for month to be consistent with the other fields,
which also show just a number instead of a number plus the word for day
or year.

Bug 2289276
atePicker.java
498b2960d541fe271cc920eb92d60060fe219b35 08-Feb-2010 Romain Guy <romainguy@android.com> Always remember the last touch mode state when touch mode changes.

Do not just rely on getting an onWindowFocusChanged() event. There are cases
where we might not get it (view removed from the window for instance.)
bsListView.java
458034799861fef47e00d85d528b4dac5e00bd51 26-Jan-2010 Adam Powell <adamp@google.com> ListView updates. Fixed several overscrolling bugs. Added programmatic
scrolling to ListView. Added auto-scrolling to show expanded content
for ExpandableListView. Fixed an AbsListView recycler bug where
offscreen views would stick around in the view hierarchy.

Addresses bugs 1161597 and 1119429.
bsListView.java
xpandableListView.java
8186ae5a9687f66389f2bf7927b54ba3fc836f76 06-Feb-2010 Romain Guy <romainguy@google.com> Merge "Do not let negative margins reduce the size of the LinearLayout."
053b48051abab0abd85995a23fcbc172e8c4c57f 06-Feb-2010 Romain Guy <romainguy@android.com> Do not let negative margins reduce the size of the LinearLayout.
inearLayout.java
7722abe2591026e7db8910afa0431602723fc1e0 04-Feb-2010 Paul Westbrook <pwestbro@google.com> Bug 2420366

Rehide NumberPicker widget
umberPicker.java
eb6b1fa7b86e529ed7de1c77fbc77ccef65bf6a9 03-Feb-2010 Adam Powell <adamp@google.com> Fixed an overscrolling bug in AbsListView with a root in OverScroller.
bsListView.java
verScroller.java
cd3e4ad4fb526c5f36f64f1d1a39a0b3c5e4c462 03-Feb-2010 Marco Nelissen <marcone@google.com> Fix fastscroll thumb
astScroller.java
d43fe07852a23c78da3b51b45469687c20be919a 03-Feb-2010 Marco Nelissen <marcone@google.com> Make the fastscroll thumb tell the parent to not intercept touch events,
to keep the list from moving sideways in a "workspace" environment.
Fixes one of the issues listed in bug 2374212
astScroller.java
1f9a3cc338afda718ca02824b4f242e266c74320 02-Feb-2010 Joe Onorato <joeo@google.com> Merge "Fix bug 2389454 - DateTimeView can NPE if "date_format" isn't set in Settings."
7747210426f0169b7f10f47a66d15a754b36d64c 02-Feb-2010 Joe Onorato <joeo@android.com> Fix bug 2389454 - DateTimeView can NPE if "date_format" isn't set in Settings.
ateTimeView.java
24562487126b48c8ff39a42b76f3705f238da6c8 01-Feb-2010 Romain Guy <romainguy@android.com> Do not reshow the filter popup after hiding it.

This was causing the popup to show after moving a list out of the screen in
the new music app.
bsListView.java
79ac3395b58de5b99f0bb43d8950f6b95348326d 29-Jan-2010 Adam Powell <adamp@google.com> Overscrolling in AbsListView; visibility cleanup for FlingRunnable
bsListView.java
verScroller.java
f54460576e88d7531b171575d37264dfe0a34f33 29-Jan-2010 Adam Powell <adamp@google.com> Don't bounce programmatic scrolls of ScrollView and HorizontalScrollView.
orizontalScrollView.java
crollView.java
4d3cef348b4350abd9d50230376ff8b1d2ac4654 28-Jan-2010 Adam Powell <adamp@google.com> Merge "ScrollView and HorizontalScrollView now will spring back if smoothScrollBy scrolls out of bounds. Tweaked bounce physics for OverScroller."
3fc3737ceb0f5c3b086472fb2cf7ebfb089e1bc8 28-Jan-2010 Adam Powell <adamp@google.com> ScrollView and HorizontalScrollView now will spring back if smoothScrollBy scrolls out of bounds. Tweaked bounce physics for OverScroller.
orizontalScrollView.java
verScroller.java
crollView.java
256430093679e1d62b54fb0c852126e54d162f6f 28-Jan-2010 Andreas Huber <andih@google.com> API Extension: Support for optionally specifying a map of extra request headers when specifying the uri of media data to be played.

related-to-bug: 2393577

Original change by Andrei Popescu <andreip@google.com>
ideoView.java
7543f9e293467333165dd6d88570f19b537fbca1 28-Jan-2010 Romain Guy <romainguy@google.com> Merge "Added OverScroller and overscroll effects for ScrollView and HorizontalScrollView."
17dfce15d5c3e7eae7a3c129019f48e7c5f65063 26-Jan-2010 Adam Powell <adamp@google.com> Added OverScroller and overscroll effects for ScrollView and HorizontalScrollView.
orizontalScrollView.java
verScroller.java
crollView.java
87ef4252eca2547761f3b92cecc584ef015d78b7 28-Jan-2010 Romain Guy <romainguy@android.com> resolved conflicts for merge of 176a88ff to master
43c9cdffb619f93d9d4525dffd05701dc9c8c4bf 27-Jan-2010 Romain Guy <romainguy@android.com> New View.dispatchDisplayHint() API.
Bug #2399147

This new API will be used by scrollable containers to tell children that they
are/are not displayed. This will allow lists to hide their filter popup window
for instance.
bsListView.java
utoCompleteTextView.java
8aa2e8939c61d788cbc192098465e79f584e173a 22-Jan-2010 Dianne Hackborn <hackbod@google.com> More device admin work: description, policy control.

There is now a description attribute associated with all components,
that can supply user-visible information about what the component does.
We use this to show such information about device admins, and wallpapers
are also updated to be able to show this in addition to the existing
description in their meta-data.

This also defines security control for admins, requiring that they
declare the policies they will touch, and enforcing that they do
so to be able to use various APIs.
ppSecurityPermissions.java
ff65c8c559941cac3f64ddaf350db318f3e993bb 23-Jan-2010 Romain Guy <romainguy@android.com> Make vertical LinearLayouts behave like horizontal LLs do.
A bug fix in the horizontal handling of "useLargestChild" was not fixed in the vertical code.
inearLayout.java
2e61d7ca64639ae842a16639975202fd4ad2f4be 22-Jan-2010 Romain Guy <romainguy@google.com> Merge "Bring back buttons in dialogs. Bug #2390537"
cf635ae7c65de34f62a41cd330f25f4ee9ddc95b 22-Jan-2010 Romain Guy <romainguy@android.com> Bring back buttons in dialogs.
Bug #2390537
inearLayout.java
bd6f964da1fc764d0681e7ce528ea6b1808623d2 22-Jan-2010 Amith Yamasani <yamasani@google.com> am 658dc0d4: am b35b8c13: Merge "Security fix in accessibility - don\'t read out password. # 2371557" into eclair

Merge commit '658dc0d4b03015eb4a692968b82b664e24aa605a'

* commit '658dc0d4b03015eb4a692968b82b664e24aa605a':
Security fix in accessibility - don't read out password. # 2371557
177b580f56e91bc5519b8772e696b14f8b5757e2 22-Jan-2010 Romain Guy <romainguy@google.com> Merge "Add a new attribute to LinearLayout: useLargestChild. Bug #2379138"
5b1b2417106f161e4bc66296888f4685f213eebd 22-Jan-2010 Romain Guy <romainguy@android.com> Add a new attribute to LinearLayout: useLargestChild.
Bug #2379138

This new attribute is to be used when the LinearLayout is wrap_content but you want
all the children inside to have the same dimension. Set useLargestChild to true and
give all the children a width/height of 0 and a weight of 1.0.
inearLayout.java
01752fe46bbf06c63de57c3a1d9444c292a64e38 22-Jan-2010 Grace Kloba <klobag@google.com> am 8d4baa78: am d79d1c72: Merge "If ZoomButttonsController detects more than one pointer, give up the control. This should enable the View behind it, like WebView, will always get the multi-pointer events even when ZoomButtonsController is up." into eclair

Merge commit '8d4baa789302b2c0f2657af9ba6dc98fcc926ee2'

* commit '8d4baa789302b2c0f2657af9ba6dc98fcc926ee2':
If ZoomButttonsController detects more than one pointer,
68f2f547f56f239b60d13b2b62a08a65874f6662 13-Jan-2010 Paul Westbrook <pwestbro@google.com> Bug 2330111

Make NumberPicker public

Made setCurrent() more robust, as the value needs to be within the range
specified earlier. setCurrent() will now throw an exception
if the specified doesn't fall in the range
atePicker.java
umberPicker.java
umberPickerButton.java
imePicker.java
176a88ff14821b07f3c1e67f61ca786c997b9230 21-Jan-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master
2d51bff2b6597804307d8883a071ff18adc2644a 20-Jan-2010 Romain Guy <romainguy@android.com> Dpad based scrolling in ListView was mishandling the recycler:
recyclable views were removed instead of detached and non-recyclables views
were detached instead of removed.
istView.java
5dbe0c753a3fd9003a8bb89179052340bbb4ad2c 20-Jan-2010 Romain Guy <romainguy@google.com> Merge "Measure AutoCompleteTextView's dropdown to have enough room for all items. Bug #2363514"
73beee234b4758318a4a795822e53ffb847fa10e 20-Jan-2010 Romain Guy <romainguy@android.com> Measure AutoCompleteTextView's dropdown to have enough room for all items.
Bug #2363514
utoCompleteTextView.java
fd24feaf796f51866c7354a02d4d8febe255b115 20-Jan-2010 Joe Onorato <joeo@google.com> Merge "Add DateTimeView, a widget that shows a time or the date depending on the current time. Use that for notifications instead of a TextView that doesn't ever update."
c83bb730ec0333e52990a40edf6d54bb66b1d5ba 20-Jan-2010 Joe Onorato <joeo@android.com> Add DateTimeView, a widget that shows a time or the date depending on the
current time. Use that for notifications instead of a TextView that
doesn't ever update.

BUG 1563917
ateTimeView.java
658dc0d4b03015eb4a692968b82b664e24aa605a 19-Jan-2010 Amith Yamasani <yamasani@google.com> am b35b8c13: Merge "Security fix in accessibility - don\'t read out password. # 2371557" into eclair

Merge commit 'b35b8c1334b8bb8c4fb8b679fdb0b9bcbd5b41fe' into eclair-plus-aosp

* commit 'b35b8c1334b8bb8c4fb8b679fdb0b9bcbd5b41fe':
Security fix in accessibility - don't read out password. # 2371557
b35b8c1334b8bb8c4fb8b679fdb0b9bcbd5b41fe 19-Jan-2010 Amith Yamasani <yamasani@google.com> Merge "Security fix in accessibility - don't read out password. # 2371557" into eclair
8d4baa789302b2c0f2657af9ba6dc98fcc926ee2 19-Jan-2010 Grace Kloba <klobag@google.com> am d79d1c72: Merge "If ZoomButttonsController detects more than one pointer, give up the control. This should enable the View behind it, like WebView, will always get the multi-pointer events even when ZoomButtonsController is up." into eclair

Merge commit 'd79d1c72991e587294432e80d091e3ae26a0c103' into eclair-plus-aosp

* commit 'd79d1c72991e587294432e80d091e3ae26a0c103':
If ZoomButttonsController detects more than one pointer,
d4d1d6eca0ad195c1ab64c0f4dd38ae328b2b042 18-Jan-2010 Grace Kloba <klobag@google.com> If ZoomButttonsController detects more than one pointer,
give up the control. This should enable the View behind
it, like WebView, will always get the multi-pointer
events even when ZoomButtonsController is up.
oomButtonsController.java
8ca2f47e0d8ec526d70c1133c9aba966543b11ff 18-Jan-2010 NoraBora <noranbora@gmail.com> ViewAnimator.setAnimateFirstView() doesn't work for out-animation.
iewAnimator.java
d68478467e3f837511196c80891d7245d0e163df 13-Jan-2010 Dianne Hackborn <hackbod@google.com> First pass at new device policy and administration APIs.

This adds new DevicAdmin, DevicePolicyManager, and DeviceAdminInfo classes.
See the java docs for each on documentation on them. Basically: a DeviceAdmin
is what you derive from to administer a device; DevicePolicyManager is what you
use to apply and check your policy requirements and perform other administration
tasks.
inearLayout.java
91ccdb5f10456d7e47e5307515766e875a521802 15-Jan-2010 Amith Yamasani <yamasani@google.com> Security fix in accessibility - don't read out password. # 2371557

Check for password type before send accessibility event.
[Submitting for Svet]
extView.java
52e2ef8cac0cd6d78c2c2f5783846e03c636a54c 14-Jan-2010 Romain Guy <romainguy@android.com> Update ListView's children when the drawing cache color hint changes.
Bug #2371777
bsListView.java
670dd819425b44ab4cb7565a322fd21ab6e811f5 14-Jan-2010 Mark Wagner <mxw@google.com> bugfix endfling case (bug 2300534)

When the menu comes up over the activity we call removeCallbacks(mFlingRunnable);
The effect of that is that our mTouchMode variable is left dangling in the fling
state. This change calls endFling() after removeCallbacks. In the specific bug
being addressed we depend on reportScrollStateChange() because we avoid doing
requeries while scrolling.
bsListView.java
5c7a5d08573d22877eb1138c7f2584ddb9f19bd5 12-Jan-2010 Romain Guy <romainguy@google.com> Merge "Fix how RelativeLayout handles alignParentBottom/Right when dimension is wrap_content. Bug: #2194109."
42460ac1bb5512a17a6891f7d99e2b45db0889d8 12-Jan-2010 Romain Guy <romainguy@android.com> Fix how RelativeLayout handles alignParentBottom/Right when dimension is wrap_content.
Bug: #2194109.
elativeLayout.java
333beab9d61b9c43766b5f321dad732456b715d7 11-Jan-2010 Scott Main <smain@google.com> am c9a26f29: am aa3b5961: javadoc change: fix the selector sample XML in the class description (was broken due to improper ordering)

Merge commit 'c9a26f291b8a845fcb5e3034c259d13d3297a98d'

* commit 'c9a26f291b8a845fcb5e3034c259d13d3297a98d':
javadoc change: fix the selector sample XML in the class
c9a26f291b8a845fcb5e3034c259d13d3297a98d 09-Jan-2010 Scott Main <smain@google.com> am aa3b5961: javadoc change: fix the selector sample XML in the class description (was broken due to improper ordering)

Merge commit 'aa3b5961c0142fe2fe87a5e4f67a12b3728f1bea' into eclair-plus-aosp

* commit 'aa3b5961c0142fe2fe87a5e4f67a12b3728f1bea':
javadoc change: fix the selector sample XML in the class
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 09-Jan-2010 Romain Guy <romainguy@android.com> Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
bsSpinner.java
bsoluteLayout.java
utoCompleteTextView.java
rameLayout.java
ridView.java
inearLayout.java
istView.java
ediaController.java
opupWindow.java
elativeLayout.java
lidingDrawer.java
abHost.java
abWidget.java
ableLayout.java
ableRow.java
extView.java
iewSwitcher.java
oomButtonsController.java
aa3b5961c0142fe2fe87a5e4f67a12b3728f1bea 08-Jan-2010 Scott Main <smain@google.com> javadoc change: fix the selector sample XML in the class
description (was broken due to improper ordering)
mageButton.java
1b4a031954baebd4491ad4db91de39d4f5ee74ad 07-Jan-2010 Bjorn Bringert <bringert@android.com> Merge "Get correct density info when using resource URIs in ImageView"
de057c1dd459e147f28b47e050496ffce9974d3b 07-Jan-2010 Romain Guy <romainguy@google.com> Merge "Fix two ListView bugs related to onAttachedToWindow/onDetachedFromWindow. Bug: #2359368."
21875052adddf2b52bc57fea62bf097b8aa04cbf 07-Jan-2010 Romain Guy <romainguy@android.com> Fix two ListView bugs related to onAttachedToWindow/onDetachedFromWindow.
Bug: #2359368.

onDetachedFromWindow() would never be called for views living in the scrap heap, but onAttachedToWindow() could be called several times for views recycled from the scrap heap.
bsListView.java
utoCompleteTextView.java
ridView.java
istView.java
9d8d9c22bb98e656cb2e42673c4ba801821c4e5d 06-Jan-2010 Bjorn Bringert <bringert@android.com> Get correct density info when using resource URIs in ImageView

Before, when an android.resource URI was passed to
ImageView.setImageURI(), it was loaded through an InputStream.
This didn't get the density information correctly.

Instead, we use Resources to load the Drawable, which fixes
the denisty problem.

Change-Id: Ie8427ea04da43f414b49014d012671fc0aa27a30
mageView.java
d755b06805dd3ed4dc6c08ff1750e28543901854 06-Jan-2010 Bjorn Bringert <bringert@android.com> Add RemoteViews.setBundle() method.

This is needed for setting the app search data for an upcoming search
source selection widget which is @RemoteView.

Change-Id: I2d04ff68d0ad7f12e88ed25ded75e174a8403bcc
emoteViews.java
c7426628dfcf5f667ef398235a70de37be3df01f 05-Jan-2010 Adam Powell <adamp@google.com> Don't perform ListView click events for INVALID_POSITION.
Addresses bug 2329294
bsListView.java
992cc4282e92c0b7c192247261c54933acab5ad0 05-Jan-2010 Romain Guy <romainguy@android.com> Ignore key events when the widget is disabled.
Bug: #2353635.
bsSeekBar.java
7d3cbfe2dba641a6138b97e4e96e931e6760c538 04-Jan-2010 Romain Guy <romainguy@google.com> Merge "Plug memory leak in Simple*Adapter, due to the misuse of a WeakHashMap. This removes an optimization but the benefit is not worth the memory leak. Bug: #2353474."
c8ca2a3a07300349e2733e05255f01a677647f24 04-Jan-2010 Romain Guy <romainguy@android.com> Plug memory leak in Simple*Adapter, due to the misuse of a WeakHashMap.
This removes an optimization but the benefit is not worth the memory leak.
Bug: #2353474.
impleAdapter.java
impleCursorAdapter.java
1c2d1d0296bb4b467863129d6ec235c7dd55de0b 04-Jan-2010 Romain Guy <romainguy@google.com> Merge "Do not start filtering if the first character is a space. Bug: #2347833."
cf6c5720a759709db69f253c36646d22ceb23f90 04-Jan-2010 Romain Guy <romainguy@android.com> Do not start filtering if the first character is a space.
Bug: #2347833.
bsListView.java
520c4204fb9d4f2a7a79dcb5d171e681b7bc6a07 04-Jan-2010 Romain Guy <romainguy@android.com> Fix obsolete advice in RelativeLayout's documentation.
elativeLayout.java
8d21bdb90573ec48491c44eca312c162e262298d 30-Dec-2009 Romain Guy <romainguy@android.com> Fix the build.
rogressBar.java
a7f7e2ac9270e58f8c45006a239a1c3c0cdc0309 26-Dec-2009 NoraBora <noranbora@gmail.com> guess default mMaxHeight but allow layout to override this.

without this code, progress bar height gets smaller when thumb gets bigger
in AbsSeekBar.java onSizeChanged().
rogressBar.java
51207b127bcd6a1eb48141f9f4b2ce86ee3154ae 22-Dec-2009 NoraBora <noranbora@gmail.com> setThumbOffset was missing in the previous merge.
bsSeekBar.java
5237f019b9f3fa1f4001dc1ad27d7781d3032985 22-Dec-2009 Jean-Baptiste Queru <jbq@google.com> am c4978805: merge from open-source master

Merge commit 'c4978805dc8837570701629a9b8098e80804ad34'

* commit 'c4978805dc8837570701629a9b8098e80804ad34':
ImageButton example doesn't work. Default state should be at the last.
Time.parse3339 range checking and proper 'sec-frac' skip
c4978805dc8837570701629a9b8098e80804ad34 22-Dec-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master
a503f6f7cf09c64bde708e3bcfb7103378ddfcff 09-Dec-2009 Jeff Sharkey <jsharkey@android.com> Adjust for compatibility mode before setSourceBounds().

When invoked from an anyDensity="false" or pre-Donut app,
View.getLocationOnScreen() returns values in compatibility
mode. This change fixes QuickContact and RemoteViews to
always adjust based on CompatibilityInfo.applicationScale.

Also deprecates an extra previously being used to pass
Rect for QuickContact windows.

Fixes http://b/2306495
emoteViews.java
c854f281a1c330931a2a03eef802ad7d4521998e 16-Dec-2009 Adam Powell <adamp@google.com> Force a re-layout of children if ListView is out of sync with the
adapter in onFocusChanged. Addresses bug 2157773
istView.java
41418ecfa756766643b064e71a1b0cc0383ededa 17-Dec-2009 NoraBora <noranbora@gmail.com> ImageButton example doesn't work. Default state should be at the last.
see res/res/drawable/button_inset.xml
mageButton.java
7b4787b73714013242cc18c51cf8bbd6c5e5ddbf 16-Dec-2009 Eric Fischer <enf@google.com> am 7bbb1999: am 72521860: Merge change I8f657a99 into eclair

Merge commit '7bbb199912bd4bc7b4827358bcdd90acc826e7fa'

* commit '7bbb199912bd4bc7b4827358bcdd90acc826e7fa':
Avoid a crash trying to get a substring whose start is after its end.
611cd3f4a921e2a170b670a536548e88e861f7de 15-Dec-2009 Romain Guy <romainguy@android.com> Fixes layout shifts in LinearLayout.

Bug: 2329142.
inearLayout.java
7bbb199912bd4bc7b4827358bcdd90acc826e7fa 15-Dec-2009 Eric Fischer <enf@google.com> am 72521860: Merge change I8f657a99 into eclair

Merge commit '725218602e8505cd6fe3075253fcb792727e2431' into eclair-plus-aosp

* commit '725218602e8505cd6fe3075253fcb792727e2431':
Avoid a crash trying to get a substring whose start is after its end.
32929413ffb54b9338a889e764e5cc0608cb2be6 15-Dec-2009 Eric Fischer <enf@google.com> Avoid a crash trying to get a substring whose start is after its end.

Constrain the start of the extracted text, not just the end, to the length
of the content.

Approver: ryanpc
Bug: 2323813
extView.java
7762d93621f508f4410fd37b5bbdfec0071b0420 11-Dec-2009 Paul Westbrook <pwestbro@google.com> Unbundling work

Moved AndroidHttpClient, Rfc822InputFilter, Rfc822Validator
NumberPicker, NumberPickerButton to android-common
---
atePicker.java
imePicker.java
acdef59d66094f11da4a6f57194747dc06f73da2 10-Dec-2009 Bjorn Bringert <bringert@android.com> Fix TabHost NPE when there are no tabs

Fixes http://b/issue?id=2318588

Change-Id: If90ee7e2b777e4c77fdd0ae768d1ececa792ee1b
abHost.java
abWidget.java
159f0015418955501d8cf2744b0393db2e73f394 10-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I98819b18 into eclair-mr2

* changes:
Allow resource and file URIs in ImageView.setImageURI()
ead0d4d8282b35a10bf8816cd99a62a8499d9031 09-Dec-2009 Romain Guy <romainguy@android.com> Fix the build when ViewDebug.TRACE_RECYCLER is set to true.
istView.java
4039545ed67c5a65cd0ccf2301bd8d8d9155c292 05-Dec-2009 Romain Guy <romainguy@android.com> Fire OnGroupClick events when collapsing a group in ExpandableListView.
xpandableListView.java
f3c7d4294dee6a271e417d81bdd74c87e57ce5b3 05-Dec-2009 Romain Guy <romainguy@android.com> Report SCROLL_STATE_IDLE after the user finishes a scroll (not a fling.)

When the user lifts her finger up, AbsListView computes the fling velocity
and report a SCROLL_STATE_FLING if the velocity is high enough. However,
when the fling is not initiated because the velocity is too low (case of
a normal scroll), the idle state was not set nor reported.
bsListView.java
5ed608d30522524240966f4ffa9ddd7c9820051a 03-Dec-2009 Joe Onorato <joeo@android.com> am 7597065d: Make RemoteViews also set the sourceBounds in the PendingIntent.

Merge commit '7597065d6b0877ffc460b443fdb1595965ccd7b2' into eclair-plus-aosp

* commit '7597065d6b0877ffc460b443fdb1595965ccd7b2':
Make RemoteViews also set the sourceBounds in the PendingIntent.
6c5401d8b780d324afb784d4c0fba69cee4a6a9a 03-Dec-2009 Joe Onorato <joeo@android.com> am 7597065d: Make RemoteViews also set the sourceBounds in the PendingIntent.

Merge commit '7597065d6b0877ffc460b443fdb1595965ccd7b2' into eclair-mr2

* commit '7597065d6b0877ffc460b443fdb1595965ccd7b2':
Make RemoteViews also set the sourceBounds in the PendingIntent.
7597065d6b0877ffc460b443fdb1595965ccd7b2 03-Dec-2009 Joe Onorato <joeo@android.com> Make RemoteViews also set the sourceBounds in the PendingIntent.
emoteViews.java
2d8b0c3f0fbc3c42063f4e790ca85b86c5d655f0 03-Dec-2009 Dianne Hackborn <hackbod@google.com> am 8693f82d: Merge change If1f0bf33 into eclair

Merge commit '8693f82d02fd9b3a805e076fa1eafacd1737446d' into eclair-mr2

* commit '8693f82d02fd9b3a805e076fa1eafacd1737446d':
Some work on issue #2286804: sometimes text field doesn't accept input
190a80ceb5e3102e578b0f0ea292f0c0e23ec594 03-Dec-2009 Dianne Hackborn <hackbod@google.com> am 8693f82d: Merge change If1f0bf33 into eclair

Merge commit '8693f82d02fd9b3a805e076fa1eafacd1737446d' into eclair-plus-aosp

* commit '8693f82d02fd9b3a805e076fa1eafacd1737446d':
Some work on issue #2286804: sometimes text field doesn't accept input
27d377221c7970a5205c83f8a9f62f755dc1fa5d 02-Dec-2009 Dianne Hackborn <hackbod@google.com> Some work on issue #2286804: sometimes text field doesn't accept input

This doesn't really fix the problem being brought up here, but fixes a
related issue I found while investigating it -- if you tap a text view
enough to cause it to try to scroll, this will cause the touch to become
a scroll instead of a click, even if there is nothing to scroll. So
often quick taps to bring up the IME would be canceled because they
became a non-scroll.

Unfortuntately after syncing the latest build, I was having a lot of
trouble reproducing the original problem. I think I need to punt it to
MR2 at this point.

Change-Id: If1f0bf33de1b4d71c9f677cdad07639b7a3fb772
extView.java
f7b4accbda1a4d98a5fadbf3984cb9666a4fe9e9 02-Dec-2009 Romain Guy <romainguy@android.com> Fix scroll jump in ScrollView.

If a touch event was targeted at a ScrollView child, the content would jump after
the user moved her finger by the required threshold. This is inconsistent with
ListView's behavior.

Fixes #2296622.
crollView.java
0f8555b72861b7b9a233ab65b14055c98b145c91 27-Nov-2009 Bjorn Bringert <bringert@android.com> Allow resource and file URIs in ImageView.setImageURI()

Before, if you passed an android.resource URI, e.g.
"android.resource://com.android.browser/2130837550"
to ImageView.setImageURI(), it failed with:

I/System.out( 1730): resolveUri failed on bad bitmap uri: android.resource://com.android.browser/2130837550

This change allows android.resource: and file: URIs in addition to the
existing support for content: URIs.

Fixes: http://b/issue?id=2289441

Change-Id: I98819b183c29eb60a70708d373d2199cdc0ea017
mageView.java
efb48aa1c861f9a9bd583ef68c1dd190f41e3085 24-Nov-2009 Trevor Johns <trevorjohns@google.com> am 99f7b56f: Merge change Iefdb6f97 into eclair

Merge commit '99f7b56fbea7e3e112fd0b570818b42a8ebd4ef5' into eclair-plus-aosp

* commit '99f7b56fbea7e3e112fd0b570818b42a8ebd4ef5':
Fixing minor doc typo in android.widget.SimpleCursorAdapter.
82d4b5ccaf5518ed9286d89e60ac9a595239ac35 24-Nov-2009 Trevor Johns <trevorjohns@google.com> am 99f7b56f: Merge change Iefdb6f97 into eclair

Merge commit '99f7b56fbea7e3e112fd0b570818b42a8ebd4ef5' into eclair-mr2

* commit '99f7b56fbea7e3e112fd0b570818b42a8ebd4ef5':
Fixing minor doc typo in android.widget.SimpleCursorAdapter.
99f7b56fbea7e3e112fd0b570818b42a8ebd4ef5 24-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Iefdb6f97 into eclair

* changes:
Fixing minor doc typo in android.widget.SimpleCursorAdapter.
8059bcbfa71c8233e616304843d9280f5f1615bb 16-Nov-2009 Jeff Sharkey <jsharkey@android.com> resolved conflicts for merge of 1162fd77 to eclair-mr2
05e0ef9fa443ea37d8cbf879f0f9d346c83f2521 16-Nov-2009 Jeff Sharkey <jsharkey@android.com> am 1162fd77: Let RemoteViews nest children, allow ViewFlipper.

Merge commit '1162fd77a8ff8467c96204c00bcaf941aef6aa85' into eclair-plus-aosp

* commit '1162fd77a8ff8467c96204c00bcaf941aef6aa85':
Let RemoteViews nest children, allow ViewFlipper.
1162fd77a8ff8467c96204c00bcaf941aef6aa85 05-Nov-2009 Jeff Sharkey <jsharkey@android.com> Let RemoteViews nest children, allow ViewFlipper.

This change allows applications to nest children RemoteViews
inside an existing set of RemoteViews. These nested views
are inflated and treated as addView() calls.

This change also allows ViewFlipper through RemoteViews, and
adds logic surpress flipping when the parent window is
detached or behind the lockscreen. Also fixes ViewAnimator
to observe the measureAllChildren flag when set.

Fixes http://b/2239905
emoteViews.java
iewAnimator.java
iewFlipper.java
478de466ce0504b9af639c3338b883893670a8e8 15-Nov-2009 Jean-Baptiste Queru <jbq@google.com> merge from eclair
efdb6f978c12b768b4cfe9855c8d11dac59dd081 11-Nov-2009 Trevor Johns <trevorjohns@google.com> Fixing minor doc typo in android.widget.SimpleCursorAdapter.

Changed "thelayout" to "the layout".
impleCursorAdapter.java
9db3d07b9620b4269ab33f78604a36327e536ce1 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
bsListView.java
bsSeekBar.java
dapterView.java
lphabetIndexer.java
ppSecurityPermissions.java
utoCompleteTextView.java
xpandableListView.java
astScroller.java
allery.java
ridView.java
orizontalScrollView.java
inearLayout.java
istView.java
ediaController.java
opupWindow.java
rogressBar.java
uickContactBadge.java
emoteViews.java
crollView.java
croller.java
impleCursorTreeAdapter.java
abHost.java
abWidget.java
extView.java
ideoView.java
oomButtonsController.java
280c753ae30502a7ffa3648a2152b2b784327277 11-Nov-2009 Evan Millar <emillar@google.com> Modify text validation behavior.

-Only perform validation when the view is *losing* focus.
-Don't perform validation when the window focus changes. This causes odd
behavior like validation being peformed when menu is pressed, or long
press dialogs pop-up.
utoCompleteTextView.java
fb745d27901a77d3215f32adf426e5f864a1aa01 12-Nov-2009 Romain Guy <romainguy@android.com> am 001e5242: Merge change Icccbd889 into eclair

Merge commit '001e5242c8a801664ea454a2ed6d4fddb600157a' into eclair-mr2

* commit '001e5242c8a801664ea454a2ed6d4fddb600157a':
Fix broken handling of the BACK key in PopupWindow. Needed by Launcher2.
242cdcc6cc5e72ff9430a6eb9ff58567044940d6 12-Nov-2009 Romain Guy <romainguy@android.com> am 001e5242: Merge change Icccbd889 into eclair

Merge commit '001e5242c8a801664ea454a2ed6d4fddb600157a' into eclair-plus-aosp

* commit '001e5242c8a801664ea454a2ed6d4fddb600157a':
Fix broken handling of the BACK key in PopupWindow. Needed by Launcher2.
9a583c1bfb551c78c125c91071000d1470c73b8a 12-Nov-2009 Romain Guy <romainguy@android.com> Fix broken handling of the BACK key in PopupWindow. Needed by Launcher2.

Change-Id: Icccbd8897186d0b9348a40b3dfc19ab7ac389efd
opupWindow.java
06dc03f2cf98862717ba1aa0e858897363abc369 05-Nov-2009 Jeff Sharkey <jsharkey@android.com> Let RemoteViews nest children, allow ViewFlipper.

This change allows applications to nest children RemoteViews
inside an existing set of RemoteViews. These nested views
are inflated and treated as addView() calls.

This change also allows ViewFlipper through RemoteViews, and
adds logic surpress flipping when the parent window is
detached or behind the lockscreen.

Fixes http://b/2239905
emoteViews.java
iewFlipper.java
ecdcd16b4b2185d0f824b36a8a85d7c5e1ebf4d7 07-Nov-2009 Romain Guy <romainguy@android.com> am 9d790678: Merge change I32ce8591 into eclair

Merge commit '9d790678bb83c829dddb9e4d0d6d6c4db7facc8b' into eclair-plus-aosp

* commit '9d790678bb83c829dddb9e4d0d6d6c4db7facc8b':
Stop scrolling ListView when tapping a clickable item.
83276b99987067938717b63d1b1763b168959ffe 07-Nov-2009 Romain Guy <romainguy@android.com> am 9d790678: Merge change I32ce8591 into eclair

Merge commit '9d790678bb83c829dddb9e4d0d6d6c4db7facc8b' into eclair-mr2

* commit '9d790678bb83c829dddb9e4d0d6d6c4db7facc8b':
Stop scrolling ListView when tapping a clickable item.
4b4f40f84e72579417604143e5f42115769649b8 07-Nov-2009 Romain Guy <romainguy@android.com> Stop scrolling ListView when tapping a clickable item.

Bug #2210279.

Approved by mcleron.

Change-Id: I32ce8591b00fada95072513f5de69674b45e4cf3
bsListView.java
5613fcb674716822de9981be959d36811382ff0e 04-Nov-2009 Romain Guy <romainguy@android.com> am e1e0dc8e: Make sure we relayout the TextView when the text changes and marquee is enabled.

Merge commit 'e1e0dc8e6eaec052ebb6b88f5b1223075ce5a356' into eclair-plus-aosp

* commit 'e1e0dc8e6eaec052ebb6b88f5b1223075ce5a356':
Make sure we relayout the TextView when the text changes and marquee is enabled.
1503f739f8a22822fa969c516564063ef46db52a 04-Nov-2009 Romain Guy <romainguy@android.com> am e1e0dc8e: Make sure we relayout the TextView when the text changes and marquee is enabled.

Merge commit 'e1e0dc8e6eaec052ebb6b88f5b1223075ce5a356' into eclair-mr2

* commit 'e1e0dc8e6eaec052ebb6b88f5b1223075ce5a356':
Make sure we relayout the TextView when the text changes and marquee is enabled.
e1e0dc8e6eaec052ebb6b88f5b1223075ce5a356 04-Nov-2009 Romain Guy <romainguy@android.com> Make sure we relayout the TextView when the text changes and marquee is enabled.

Bug #2192881.

Change-Id: Iffc2d15947a11974d9dc175740e3a5489cd43d21
extView.java
a8da17356f9a385e097e3eef205358462d214538 20-Oct-2009 Leon Scroggins <scroggo@google.com> Do not show radio/checkboxes for <optgroup> labels.

Fix for http://b/issue?id=2186188. Keep track of <optgroup> labels
separately from disabled <option> labels. Requires a change to
external/webkit.

In CheckedTextView, if the CheckMarkDrawable is set to null,
remove it.
heckedTextView.java
b7463eb0c739d3d28c96c644f98f7f685027b62e 14-Oct-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master
4a4323c08d4bde909659cecb08cee73e9803668b 12-Oct-2009 Christoffer Gurell <chgur@tat.se> Fixes scroll/measure bug in EditText

Bug and fix described in:
http://code.google.com/p/android/issues/detail?id=4184
extView.java
1d05c7cae5ee21e0a9dde4cebf0274a3be8fd943 12-Oct-2009 Christoffer Gurell <chgur@tat.se> Fixes scroll/measure bug in EditText

Bug and fix described in:
http://code.google.com/p/android/issues/detail?id=4184
extView.java
01fd4e1226394b3d9591a13bf5edfcb74ea14690 02-Oct-2009 Tadashi G. Takaoka <takaoka@google.com> QuickContactBadge: Make lookup key query asynchronous.

Internal Bug: http://b/2130588
uickContactBadge.java
19400067b2bca066255118315877125d1e623cad 07-Oct-2009 Bjorn Bringert <bringert@android.com> am 4625758d: Merge change I2c5f1e76 into eclair

Merge commit '4625758d0b909ccfc9f40b707666b1b21e9e8ffd' into eclair-mr2

* commit '4625758d0b909ccfc9f40b707666b1b21e9e8ffd':
Fix back button handling in ACTV
4625758d0b909ccfc9f40b707666b1b21e9e8ffd 07-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I2c5f1e76 into eclair

* changes:
Fix back button handling in ACTV
4eb3efc8b270d2569fd813546f85add92e7f0ab0 06-Oct-2009 Bjorn Bringert <bringert@android.com> Fix back button handling in ACTV

AutoCompleteTextView.onKeyPreIme() used
getKeyDispatcherState().startTracking(event, this) to start tracking
the back button, but didn't update the state of the event
before checking event.isTracking().

Fixes http://b/issue?id=2167168
"AutoCompleteTextView back button handling is broken"

Change-Id: I2c5f1e761872b9e02d85ff6f958fabd558d041a0
utoCompleteTextView.java
ef3c63ad20c4c45c0ae1748a67b5f33d26415938 06-Oct-2009 Suchi Amalapurapu <asuchitra@google.com> am 5163cd6d: Merge change I5be3d603 into eclair

Merge commit '5163cd6d1cb664977eb4473b98657c7e92ae430e' into eclair-mr2

* commit '5163cd6d1cb664977eb4473b98657c7e92ae430e':
Make sdk version and code names static finals in PackageParser.
8d5ae98549f68a1214a72e6d79456503eb7d96f5 06-Oct-2009 Suchi Amalapurapu <asuchitra@google.com> Make sdk version and code names static finals in PackageParser.
Remove api to set these values.
Remove an unused method in AppSecurityPermissions
ppSecurityPermissions.java
18d1255ebe83d73df34832f2197a1e51ea717b96 02-Oct-2009 Romain Guy <romainguy@android.com> Prevents memory leaks by correctly detaching views in AbsListView.

AbsListView can reject views from the recycler's scrap heap but when that
happens the rejected view is not detached from the parent. This can be pretty
bad in the case of TextView since it prevents them from unregistering their
OnPreDrawListeners.
bsListView.java
e3ec9977bbfbdd6659cf27c7341f4c1c826f2209 01-Oct-2009 Evan Millar <emillar@google.com> FastTrack->QuickContact

Change-Id: I98f2db38e6402bdbe47b941d82c8f33863d1863e
uickContactBadge.java
aa1c6311d6d900261bcd9f3b0986b6c0394af07a 30-Sep-2009 Romain Guy <romainguy@android.com> Fix possible crash in AutoCompleteTextView.

This change makes sure that ACTV will not take action when an event is
received in a popup that just got dismissed.

This change also makes public two XML attributes of ACTV whose corresponding
Java APIs are public.

This change also fixes a couple of typos.

Change-Id: I78f113bc522d199ff3db44fc4cc3a1882afe822e
utoCompleteTextView.java
1537a25520405f384b072c58fee935a29c4e14ea 30-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I46a6d39c into eclair

* changes:
Remove unused api in QuickContact.java and fix the build.
f5ac46d302c28d6b67535a6266e5b1cb4bf5e266 30-Sep-2009 Evan Millar <emillar@google.com> Remove unused api in QuickContact.java and fix the build.

Change-Id: I46a6d39c8176806c2b5570c75b59ff9631ee53f1
uickContactBadge.java
1935a3417e986d38b9a0d981c3dbd06acf75a9fc 30-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I9d12beeb into eclair

* changes:
Change FasttrackBadgeWidget->QuickContactBadge and make public.
c1a2a8296e811a2b9f8553346147be65e8a690b6 30-Sep-2009 Evan Millar <emillar@google.com> Change FasttrackBadgeWidget->QuickContactBadge and make public.

Change-Id: I9d12beeba16c2f64742b4a99d0da4ceb73525b5b
asttrackBadgeWidget.java
uickContactBadge.java
020d2e3453b98ae435c4c21b849a2fe0a8842be7 30-Sep-2009 Andrei Popescu <andreip@google.com> Invoke the OnErrorListener callback when MediaPlayer.setDataSource() throws.

Fixes http://b/issue?id=2156505
ideoView.java
8eb0f348931c9185ae6a8f49964c904c42b2bb57 30-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I67285c9a into eclair

* changes:
Prevent NPE when doing a fillSpecific layout.
8bcdc0764f2f569173863655f96cdec2aea2d0da 30-Sep-2009 Romain Guy <romainguy@android.com> Prevent NPE when doing a fillSpecific layout.

Change-Id: I67285c9a314400da11fdf158c413bf05fe6b982e
ridView.java
d35afcda674eaa0222f0adbf8d712bde3a388a39 29-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ib2c6429d into eclair

* changes:
border for the non-badge case
490d5222ae985f7e606cdf503d292062c80e7328 29-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I6cacaa0d into eclair

* changes:
Hack to fix issue #2125365: Sports Trivia compatability with Eclair
b2c6429d4dc95118237d8a10237b9b005b339fb6 29-Sep-2009 Mark Wagner <mxw@google.com> border for the non-badge case

If we don't have a uri/email/phone then we do not display the normal
fast track badge. But in that case we now have an alternate background/border
rather than no background/border.
asttrackBadgeWidget.java
afa78967b8553443aa32579d78970a076d7581f6 29-Sep-2009 Dianne Hackborn <hackbod@google.com> Hack to fix issue #2125365: Sports Trivia compatability with Eclair

Adds a mechanism to tell Paint the scaling factor its target
canvas will have, for it to compute font metrics based on the
correct font size. Only TextView uses this, but that is enough
for the large majority of apps.

Change-Id: I6cacaa0dd26d40ee3ad959bed0028678d6e9016e
extView.java
995d8561a6f6dee9f7b032bb2c3d78d885ba1e56 29-Sep-2009 Romain Guy <romainguy@android.com> Do not crash appwdiget host when a pending intent send fails.

Change-Id: Id29ec50dcb4d51589b9732ace6d505fcea9cc787
emoteViews.java
b4c547a56caebb5900c132ec9d5ce953f89de14f 28-Sep-2009 Romain Guy <romainguy@android.com> Fix possible NPE in AbsListView.positionSelector().

ListView was being reckless and calling the method with a null object in some
situations.

Change-Id: Ibb595a1ff6f916c699e4af55450966dd7fd8c156
ridView.java
istView.java
a8c0edb8fb10a2deb86eec619fd813e4caa766e4 28-Sep-2009 Amith Yamasani <yamasani@google.com> Fix 2143297: Fix transition from password -> visible password
extView.java
f116bf8884b5b58aae261d148003811aa4a7c6e9 28-Sep-2009 Mike Cleron <mcleron@google.com> Fading scrollbars return. But you have to opt in.
bsListView.java
ridView.java
orizontalScrollView.java
istView.java
crollView.java
extView.java
7609764295d1b3ec0b53d1ae536ee0280f5e0407 26-Sep-2009 Mike Cleron <mcleron@google.com> Fix 2146581: Make tabs work for donut apps
Use different tab assets with the original coloring scheme
for apps that are not Eclair-aware.
abHost.java
abWidget.java
63147705bc2893d6ad43270e04beb9ee01e2ad53 22-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26437 into eclair

* changes:
Don't show the badge background when we have no uri, email, or phone.
f5935a9836d1a49693bd59f7fce5c475291c8dae 22-Sep-2009 Mark Wagner <mxw@google.com> Don't show the badge background when we have no uri, email, or phone.

This will be used in talk and mms in the case of multiple recipients.
asttrackBadgeWidget.java
af1eb148377f1dafacda429580b7cfe01781eb4d 22-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25465 into eclair

* changes:
Reset typeface when changing from visible password inputType
7d4200d03fa55a13eda63f979dcf47792f0af31d 22-Sep-2009 Jack Veenstra <veenstra@android.com> Fix bug with ScrollView so that text entry fields are not hidden by virtual keyboard.
crollView.java
ea36747114cb8c06742994dddc6a3cff2b666e69 19-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Revert "ContactsContract: Adding joined columns to the Data class definition."

This reverts commit dd768a6a736bc202b62aa20f3282b3cfb285dc7f.
asttrackBadgeWidget.java
dd768a6a736bc202b62aa20f3282b3cfb285dc7f 18-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> ContactsContract: Adding joined columns to the Data class definition.

The rationale is this. Since all these joined columns are currently on
different classes, we routinely see code like this:

private static final String[] PROJECTION_PHONE = {
Data._ID, // 0
RawContacts.CONTACT_ID, // 1
Phone.TYPE, // 2
Phone.NUMBER, // 3
Phone.LABEL, // 4
Contacts.DISPLAY_NAME, // 5
};

The most noxious line is RawContacts.CONTACT_ID

After this change, the above declaration changes to:

private static final String[] PROJECTION_PHONE = {
Data._ID, // 0
Data.CONTACT_ID, // 1
Phone.TYPE, // 2
Phone.NUMBER, // 3
Phone.LABEL, // 4
Data.DISPLAY_NAME, // 5
};

Change-Id: I820e68efd6c1364241596f826c4da1b9c2defe11
asttrackBadgeWidget.java
ad8da91895afa7e8a97a9d681471d51924461cff 17-Sep-2009 Bjorn Bringert <bringert@android.com> Reset typeface when changing from visible password inputType

Before, when changing a TextView from TYPE_TEXT_VARIATION_VISIBLE_PASSWORD
to a non-password input type, the typeface remained monospaced.

Fixes http://b/issue?id=2126708
"TextView does not restore typeface when changing inputType
from password to text"

Change-Id: Iad704640f69beed10a4b3deec7c38f3eba7b91ee
extView.java
0050ee36398c3ab6e5f1ee0038609aff8cf4f0e9 18-Sep-2009 Jeff Sharkey <jsharkey@android.com> Adopt new FastTrack API for internal widget, fix bugs.

Change internal widget to use new FastTrack API instead of
using SHOW_OR_CREATE. Also reset the internal Uri when
reused in lists. Fixes http://b/2087222
asttrackBadgeWidget.java
fa82f22f1d8c4c828bdf9b670006be4f4fec772e 18-Sep-2009 Dianne Hackborn <hackbod@google.com> Fix issue #2093608: Calendar widget takes a few seconds to launch

Avert your eyes!

The key change here is that RemoteViews can now call a Context API to
start its pending intent, which inside of the activity manager we can
use to determine to cancel the timeout delay for external entities
to disrupt the home screen.

Change-Id: If097cf7478cbed7a3c04a304050bd7fd5703d197
emoteViews.java
fa0d253b77cf6e6d15c8195f206ae54e91296823 18-Sep-2009 Eric Fischer <enf@google.com> Make the EditText error popup correctly resize when the view resizes.

It was calling PopupWindow.update() with -1 arguments for the width
and height under the impression that that would cause it to use the
new values that had already been set with setWidth() and setHeight().
But in fact this caused it not to change at all.
extView.java
875fca2e18296ffd8bbe9ef4e1769d24a59f3584 17-Sep-2009 Bryan Mawhinney <bryanmawhinney@google.com> Make ACTV use all available space if height is FILL_PARENT.

This prevents the drop down from resizing when the keyboard is shown / hidden, and thus fixes the issue where the 4th item in the list could not be selected when in landscape mode.

Bug: 2096394
Change-Id: Id0e687c897a724379073dcfa82de7ce89ae12035
utoCompleteTextView.java
9767e41d92bd6f4cf16111b3f911cef78c8b01eb 16-Sep-2009 Dianne Hackborn <hackbod@google.com> Some improvements for wallpaper configuration.

This introduces a new activity that you can derive from to implement
a wall paper configuration activity. This is supposed to select
a theme based on whether it is being run to configure a real wallpaper
or a preview, but this is going to be more difficult to do than I
thought. :(

Also fix a problem in the white theme where the list view's background
was being set to white, so it wouldn't work on a transparent bg.

Change-Id: I26d5a8695a3c878a1664eb09900eded57eaff990
oomButtonsController.java
7bd660012ca5d946f4f4efb9d357a785e6a4d4eb 15-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25117 into eclair

* changes:
Preserve ListView's pressed state when the adapter changes its content while the user is pressing an item.
3616a412cbd620168fd87ce83978d83a9c0621c6 15-Sep-2009 Romain Guy <romainguy@android.com> Preserve ListView's pressed state when the adapter changes its content while the user is pressing an item.

Change-Id: Id5ac804a4053951430d16cf0d87fc7b64c816717
ridView.java
istView.java
e727f18cf2649d07a89aba19ecefed93c9d0b305 27-Aug-2009 Evan Millar <emillar@google.com> Add the FasttrackBadgeWidget.

This widget is an extension of ImageView that takes care of the standard
fasttrack badging and on-click behavior. It should be used in any
applications that display contact photos.

This view's name will have to be changed before release, and will be
kept private until the name change is made. At that point the view will
be made public api.

Change-Id: I4704e0e979466929ad7b2ef11911681a5028b4a7
asttrackBadgeWidget.java
678b4c20cb92ac2b86f13e52ea86d70301358680 15-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25013 into eclair

* changes:
Various fixed for back key handling.
8d37426c754e9822feaa8c6cc0b7c13e8523e217 15-Sep-2009 Dianne Hackborn <hackbod@google.com> Various fixed for back key handling.

My last change was far from perfect. Hopefully this gets us
a little closer.

Change-Id: I413e55b6af42400b565de3040859d25d668bc9d2
bsListView.java
utoCompleteTextView.java
opupWindow.java
oomButtonsController.java
bd443c01a0fadb2d536ffce1c45950f9037cbc56 15-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 24887 into eclair

* changes:
Fix http://b/issue?id=2098873 (drawing glitch in SeekBar).
83fe3f559249451706957b1a5f660b2b8272f114 13-Sep-2009 Dianne Hackborn <hackbod@google.com> Last big work on #1991910: Make swipes work with capacitive keys

This takes care of allowing us to cancel the back button. The
back button is a bear because it is strewn all over the place --
everywhere you can close something, there is some code looking
for the back button that now needs to deal with being canceled.

The main things changed are activity (of course), dialog,
input method, search dialog. There are some other misc places
in the framework (and some I missed here that I will get in a
second pass).

To facility all of this, the key dispatching APIs now provide
a lot more support for dealing with looking for cancelled keys,
and incidentally also provide an actual API for catching long
key presses. This also helped clean up the code in PhoneWindow
where it deals with all of the combinations of key pressed and
releases. (And also allows people to override
Activity.onKeyLongPress() to provide a different long press
action for a standard key like search.)

And while I was doing this, I reworked how we detect long
presses by having this be part of the key event delivered by
the window manager. This should greatly reduce (hopefully
outright eliminate) the problems with long presses being
mis-detected when an application is being slow.

Change-Id: Ia19066b8d588d573df3eee6d96e1c90fdc19f57d
bsListView.java
utoCompleteTextView.java
8c11e31143726c9457280c6c0ec83472763c0de9 15-Sep-2009 Romain Guy <romainguy@android.com> Fix a possible NPE in View.

Change-Id: Ieebd176e1f42c78e298aca973e9e5eed2dc3c6d9
allery.java
eb9fdc21b14368b2f8c71939eb063ddcee8c28a2 14-Sep-2009 Daniel Sandler <dsandler@google.com> Fix http://b/issue?id=2098873 (drawing glitch in SeekBar).

The underlying ProgressBar implementation doesn't know how
to correctly update the thumb graphic, so AbsSeekBar must
call invalidate() at key moments to ensure things look
correct. This bug is one such instance: when you pick your
finger up off the seekbar, the "value" of the progressbar
appears not to change, so ProgressBar feels no compunction
to repaint. AbsSeekBar now invalidate()s on ACTION_UP and
ACTION_CANCEL to ensure that the thumb is correctly drawn.
bsSeekBar.java
7ed6ee5692c808cf0ebb3ee208fc8ee1314622c2 11-Sep-2009 Dianne Hackborn <hackbod@google.com> Fix issue #1983406: Soft keyboard doesn't show up in an EditText with "digits" attribute set

Also pretend to fix #2054990 (com.android.frameworktest: java.lang.NullPointerException
at android.accessibilityservice.AccessibilityService$IEventListenerWrapper.executeMessage(
AccessibilityService.java:215))... simply by making the variable that apparently was
null final, to assure myself that there is no possible way in the world for it to be
null. :p

Change-Id: I73e337d65b8360721896a0296691257b3e47564b
extView.java
be8e36e32b9cb2bb37e28e4c0d414ee0e46c84a2 04-Sep-2009 Jean-Baptiste Queru <jbq@google.com> merge from donut
46c158234dee0d1d47f06b7661150c18512dc589 01-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 23105 into eclair

* changes:
Fix issue 2077333: The volume key will effect both ring and media vol at the same time.
4e059280b7f414e6d7dcf645941595d5dd7876d7 28-Aug-2009 Eric Laurent <elaurent@google.com> Fix issue 2077333: The volume key will effect both ring and media vol at the same time.

Make sure that the progress bar is refreshed when the max value is changed.
rogressBar.java
278ce05b52a47a09d2177435b533f4ecb1b9c4da 31-Aug-2009 Cary Clark <cary@android.com> accelerate consecutive flings

Use the fact that the scroller keeps track of the current velocity
to accelerate subsequent flings. The current velocity is added to
the new velocity if the flings are in the same general direction
and if the fling animation hasn't been aborted.

This makes it easier to move to the top or bottom of very large
pages (either in overview mode or reading mode) by taking
consecutive flings as a cue from the user that they want to
page faster. The user can stop the fling with any action as
before.

fixes http://b/issue?id=2066090
croller.java
6198ae8468668bf7374535c2eeeab8de7f8e7e99 01-Sep-2009 Romain Guy <romainguy@android.com> Prevent ListView from scrolling/flinging its content when the content fits on screen.

Change-Id: Id46313bca3ae53b0717cd74a4a6f889a01f9fcb1
bsListView.java
istView.java
72b1f379d5c97c8ff31d2201e78215af777d6bda 31-Aug-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
utoCompleteTextView.java
rogressBar.java
extView.java
oomButtonsController.java
3730bb1cd59bcfa9f5cad8361997b84113ed5923 21-Aug-2009 Evan Millar <emillar@google.com> New List and Tab assets.

New tab assets. We decided to do a straight swap and then assess the
damage.

New default dark background color.

New list divider assets.

Change-Id: Ia00a9bb0ee1bad4f955f1c3b5b67526f62572015
abHost.java
abWidget.java
688b0f1235aba0e82ff4eec4d935b494d9c4754d 22-Aug-2009 Eric Fischer <enf@google.com> am 36d5aaec: Merge change 22322 into donut

Merge commit '36d5aaec2ee1f11ea80639c8194e4aac2be3892d' into eclair

* commit '36d5aaec2ee1f11ea80639c8194e4aac2be3892d':
Add FLAG_ACTIVITY_NEW_TASK flag when adding a word to the dictionary.
cc5dfa9ed0142aa52e293da30ad3d31ee358970d 21-Aug-2009 Eric Fischer <enf@google.com> Add FLAG_ACTIVITY_NEW_TASK flag when adding a word to the dictionary.

Without this, the runtime would restart when you tried to add a word
from the search widget.

Bug 2069689
extView.java
4e297203ec2f44dcce58bbe4c3600a08f8a322ea 21-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 22154 into eclair

* changes:
Fix fastscroll overlay size on WVGA by using dip.
1ffaebc41bfd47472543d1ff86c8412c868fc4c9 21-Aug-2009 Amith Yamasani <yamasani@google.com> Fix fastscroll overlay size on WVGA by using dip.

Move constant dimensions to resources.
astScroller.java
01549b21c42e10dc83d00cf857130d10e665de2e 21-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 22008 into eclair

* changes:
When bringing up the media controller view, focus the play/pause button.
05b11cd7cce4c6a85438899da57210394d1f6ef8 20-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 22082 into eclair

* changes:
Address b/2064664 by setting mThumbOffset to half the width of the thumb by default.
8d28c3b3bdab63fab132b81e38d54bc4c132ea8a 20-Aug-2009 Daniel Sandler <dsandler@google.com> Address b/2064664 by setting mThumbOffset to half the width of the thumb by default.

mThumbOffset previously defaulted to 0, which caused drawing artifacts at
extrema of very long SeekBars.

The thumb offset can still be overridden by declaring android:thumbOffset in
layout or calling SeekBar.setThumbOffset(int).

Bug: 2064664
bsSeekBar.java
d44d33b01a2125cfa40153e8399dd39908005004 20-Aug-2009 Andreas Huber <andih@google.com> The MetaData API is optional and getMetadata may return null if unsupported.
ideoView.java
d701e020769b7cc6dd492eadcb09083578074ee0 20-Aug-2009 Marco Nelissen <marcone@google.com> When bringing up the media controller view, focus the play/pause button.
ediaController.java
c818b141ee97a7a26fe069456d4b662d06c9eaea 19-Aug-2009 Marco Nelissen <marcone@google.com> Do not enable the rew/pause/ffwd buttons when the media being played does not
support these functions.
This extends the MediaPlayerControl interface with some new methods, and uses
reflection to detect whether the old or new interface is used by an application.
ediaController.java
ideoView.java
7237c56faea76d43b304562828a443ca766c3c78 19-Aug-2009 Romain Guy <romainguy@android.com> Fix possible NPE on touch mode change in TabHost.
abHost.java
38710f4c0ef96590476f28176adadbd04b0cabc0 18-Aug-2009 Jack Palevich <jackpal@google.com> Make ZoomButtonsController public.
oomButtonsController.java
596191889f527952d31a5cfe7000120ad51bbef2 17-Aug-2009 Romain Guy <romainguy@android.com> am 76c830b2: Merge change 21540 into eclair

Merge commit '76c830b229fc21d5ea0ea28955084cc187e25fc6'

* commit '76c830b229fc21d5ea0ea28955084cc187e25fc6':
Fix listview clicks with the trackball.
df01607380c81e26c1c90129aa22b2e1118e2b71 17-Aug-2009 Romain Guy <romainguy@android.com> Fix listview clicks with the trackball.
bsListView.java
75229368c2721d580d6c8fb11ef25f1aaabba624 17-Aug-2009 Romain Guy <romainguy@android.com> am 54ba86f0: Merge change 21512 into eclair

Merge commit '54ba86f0e236a55fb4dc3aabbd81078f586321a5'

* commit '54ba86f0e236a55fb4dc3aabbd81078f586321a5':
Honor the clickable and enabled properties in ListView.
54ba86f0e236a55fb4dc3aabbd81078f586321a5 17-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 21512 into eclair

* changes:
Honor the clickable and enabled properties in ListView.
32b72f7a533fb63b85eca4ff28e3b801ccec9e33 17-Aug-2009 Jeff Sharkey <jsharkey@android.com> am fd0d6275: Fix ExpandableListView context menus when has header views.

Merge commit 'fd0d627569cb250f7060a83161cc845b9616e5a1'

* commit 'fd0d627569cb250f7060a83161cc845b9616e5a1':
Fix ExpandableListView context menus when has header views.
4a1035508fa8826b974b2954e46784a17e3bbdf2 17-Aug-2009 Amith Yamasani <yamasani@google.com> am 7d68dae9: Merge change 21494 into eclair

Merge commit '7d68dae99ff2bb3c3aa066efc5b4b1d5c0cd332e'

* commit '7d68dae99ff2bb3c3aa066efc5b4b1d5c0cd332e':
Allow animation styles to be applied to popup windows.
dd753ae6115fdcb389b5abd8320245228b2e1d2d 17-Aug-2009 Romain Guy <romainguy@android.com> Honor the clickable and enabled properties in ListView.
bsListView.java
fd0d627569cb250f7060a83161cc845b9616e5a1 17-Aug-2009 Jeff Sharkey <jsharkey@android.com> Fix ExpandableListView context menus when has header views.

createContextMenuInfo() should have been subtracting any
header views, similar to performItemClick(). Previously,
this caused getUnflattenedPos() to return invalid positions.

This fixes http://b/issue?id=1778239
xpandableListView.java
d034856ab901a8be1877174da33458630faeb382 17-Aug-2009 Amith Yamasani <yamasani@google.com> Allow animation styles to be applied to popup windows.

Window params were not carrying the package name required for loading
animation styles from outside of the android package.
opupWindow.java
d8a7fe45ecc9ef72f57f5f8661960de244d17edf 14-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 21073

* changes:
Log more information to help us debug which ListView has IllegalStateException in monkey tests. (bug 1995826)
3940f2df36fbe6a712c88655fc78244977ebd0ab 13-Aug-2009 Owen Lin <owenlin@google.com> Log more information to help us debug which ListView has
IllegalStateException in monkey tests. (bug 1995826)
istView.java
7c5ab2b06abef08c7fa8310a3fa591e823eefc6c 13-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 21032

* changes:
Default mBaselineAlignedChildIndex to -1 so it will still be valid when a LinearLayout is created programatically.
c1f9c40c23a756a11394a35f37053f796494b224 13-Aug-2009 Karl Rosaen <krosaen@android.com> Default mBaselineAlignedChildIndex to -1 so it will still be valid when a LinearLayout is created programatically.

Fixes bug 2038629, and thereby external issue 3484.
inearLayout.java
a9f1dd021f8f6ee777bc4d27913bd40c42e753af 13-Aug-2009 Eric Fischer <enf@google.com> Make <font size> and <font height> in string resources respect density.

This unfortunately requires API changes because the existing text markup
classes had no access to the screen density.

TextPaint gains a "density" field so that TextView can pass the density
along. AbsoluteSizeSpan gains a new flag to indicate that its argument
is in dip instead of in physical pixels. LineHeightSpan gains an inner
interface whose chooseHeight() method includes a TextPaint argument so
it can get at the density. And when StringBlock creates the markup
objects, it now uses the density-aware versions.

Bug 1976971, Bug 2031746
extView.java
256f9148fb6389391b13a9c396253aed682010cf 12-Aug-2009 Karl Rosaen <krosaen@google.com> am 4c85f133: Merge change 20869 into donut

Merge commit '4c85f133e10ceaeb2553adb397d4828a7091e7e6'

* commit '4c85f133e10ceaeb2553adb397d4828a7091e7e6':
If no interpolator is specified for a progress bar in the theme, default to a LinearInterpolator.
4ebc4fb528cc11d9d5f744a815fcef177fe1382a 12-Aug-2009 Karl Rosaen <krosaen@google.com> If no interpolator is specified for a progress bar in the theme, default to a LinearInterpolator.

Fixes bug 2031844.
rogressBar.java
332aaaf92fb0bae521006907db9559b8e14f1b96 07-Aug-2009 Karl Rosaen <krosaen@google.com> am a7a3b6ef: Dismiss both the soft keyboard and the search dialog on back if there is no text entered and no shortcuts are being obscured by the soft keyboard.

Merge commit 'a7a3b6ef0fdaf6b17993642b76baf90a03ae0077'

* commit 'a7a3b6ef0fdaf6b17993642b76baf90a03ae0077':
Dismiss both the soft keyboard and the search dialog on back if there is no text entered and no shortcuts are being obscured by the soft keyboard.
a7a3b6ef0fdaf6b17993642b76baf90a03ae0077 07-Aug-2009 Karl Rosaen <krosaen@google.com> Dismiss both the soft keyboard and the search dialog on back if there is no text entered and no shortcuts are being obscured by the soft keyboard.

Fixes bug 2039508. This makes backing out of the search dialog easier when dismissing the soft keyboard doesn't really
add any value.
utoCompleteTextView.java
c2a72ec5790c3cabe5479811e149b3b6e435c9e3 05-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 9597

* changes:
ListView.setItemChecked(p, false) always clears all items.
845df82084a0d3b14cdfb5baafea5c6b94967117 04-Aug-2009 Brett Chabot <brettchabot@google.com> ListView.setItemChecked(p, false) always clears all items.

This fixes the bug where, in SINGLE_CHOICE_MODE, calling
ListView.setItemChecked(x, false) would always uncheck all
items, even if another item, y, was currently checked.
istView.java
e832234a85ec560f3a8f1fe602324051d4e6e729 04-Aug-2009 Jack Palevich <jackpal@google.com> Make ZoomButtonsController public.
oomButtonsController.java
0391107e13e1e6388a3175399d15b246d726b88f 03-Aug-2009 Jean-Baptiste Queru <jbq@google.com> merge from donut
5c1207be90fdf296c1b83034b7c68915e1749284 01-Aug-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
bsListView.java
utoCompleteTextView.java
atePicker.java
mageView.java
elativeLayout.java
abWidget.java
bda9bac412dda821b165dd14cd6ab040545b84f6 31-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 3e584428: Merge change 9124 into donut

Merge commit '3e584428deb098484cc881192dd221c81f707764'

* commit '3e584428deb098484cc881192dd221c81f707764':
Fix a bug in ImageView: The drawing matrix is not updated when setImageMatrix is called.
c17ae711e9e265ab6dc85f18a7c35de957a43524 30-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 0067057c: Merge change 9035 into donut

Merge commit '0067057c31720f64926d6ee3d841b15dc197d2df'

* commit '0067057c31720f64926d6ee3d841b15dc197d2df':
Fix the TabWidget to display custom views for the tabs better when the tabs have different sizes.
f88872655e85570f3b9bfebe78647ed36916b3f4 30-Jul-2009 Chih-Chung Chang <chihchung@google.com> Fix a bug in ImageView: The drawing matrix is not updated when setImageMatrix is called.

The drawing matrix used in onDraw() is mDrawMatrix, but in setImageMatrix()
only mMatrix is updated. We need to call configureBounds() to update
mDrawMatrix if it was null. The is found in bug 2023281.
mageView.java
56cf7889d2d084ddc3960accb099913267f1db9b 30-Jul-2009 Eric Fischer <enf@google.com> Don't offer to add numbers to the dictionary.

Only show the "add to dictionary" context menu item if the current word
contains at least one letter.

Bug 1877803
extView.java
5d5cd178e3afe4a0069d392834cdebcc5c35cc08 29-Jul-2009 Jack Veenstra <veenstra@android.com> Fix the TabWidget to display custom views for the tabs better when the tabs have different sizes.
abWidget.java
61e4248f8f6ae8a8f40550cc0800e5190cd1dc09 29-Jul-2009 Jean-Baptiste Queru <jbq@google.com> merge from donut
a8675f67e33bc7337d148358783b0fd138b501ff 29-Jul-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
bsListView.java
ppSecurityPermissions.java
utoCompleteTextView.java
atePicker.java
astScroller.java
ilter.java
orizontalScrollView.java
opupWindow.java
elativeLayout.java
crollView.java
pinner.java
extView.java
oast.java
383cc38a203b11d68c525505ef51c26d4ff6de66 29-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 6b46dc86: Merge change 8840 into donut

Merge commit '6b46dc8616dff7a5049b9fbaa7bbf8b4c0840eb4'

* commit '6b46dc8616dff7a5049b9fbaa7bbf8b4c0840eb4':
Add padding to height of AutoCompleteTextView drop-down.
6b46dc8616dff7a5049b9fbaa7bbf8b4c0840eb4 28-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 8840 into donut

* changes:
Add padding to height of AutoCompleteTextView drop-down.
5420d01cef810c34d754cadfaa1e8cae13af06de 28-Jul-2009 Bjorn Bringert <bringert@android.com> Add padding to height of AutoCompleteTextView drop-down.

As described in http://b/issue?id=2017825
PopupWindow.getMaxAvailableHeight() does not include the padding in
the available height. To get the ACTV drop-down to actually fill
the screen, this change adds the padding to the value returned
by PopupWindow.getMaxAvailableHeight().

This is part of the fix for http://b/issue?id=2014450
utoCompleteTextView.java
5e7d68223a1061b296871cd157b4d9e81a1777ec 28-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 50f05b8f: Merge change 8825 into donut

Merge commit '50f05b8ffd2c4f4d877c4564b2339ca0ccca6ec1'

* commit '50f05b8ffd2c4f4d877c4564b2339ca0ccca6ec1':
Fixes 2017393. Correctly apply gravity in RelativeLayout.
48000fe23a339322429d6eb306bad0a30a49f62d 28-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am c6590d6f: Merge change 8759 into donut

Merge commit 'c6590d6f390fc69fe15a9a565327a8f8c97f107b'

* commit 'c6590d6f390fc69fe15a9a565327a8f8c97f107b':
Cancel search on BACK if IME is obscured.
50f05b8ffd2c4f4d877c4564b2339ca0ccca6ec1 28-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 8825 into donut

* changes:
Fixes 2017393. Correctly apply gravity in RelativeLayout.
d10a576791675628a014c0488c3d054371d4d63a 28-Jul-2009 Romain Guy <romainguy@android.com> Fixes 2017393. Correctly apply gravity in RelativeLayout.

RL was applying a horizontal offset to its children even when the gravity was only
specified for the vertical axis (and vice-versa.)

Also fix the ExpandableListView icons.
elativeLayout.java
003ad48380fe90556da408fedba7dfc1a37790b9 28-Jul-2009 Bjorn Bringert <bringert@android.com> Cancel search on BACK if IME is obscured.

This adds a hidden method AutoCompleteTextView.isImeHidden(),
and uses that in SearchDialog to cancel the search dialog
when BACK is pressed, if there is no previous search component
to return to.

mlebeau says:
If we fill the whole screen then it makes the issue of the back
button a little more important. Specifically, right now if you have
the list expanded and you press back, the keyboard hides but it's not
really showing any more anyway so it seems like pressing the button
does nothing. We rationalized this by saying "part of the keyboard
will be showing so it won't be completely non-obvious that it was
hidden". But since really the right UX is to fill the screen, as part
of this we should probably also add logic to the back button such
that if it is pressed when the list is obscuring the keyboard
(i.e. softInputMode on the PopupWindow is INPUT_METHOD_NOT_NEEDED)
then we should hide the dialog entirely rather than closing the
keyboard.

This is part of the fix for http://b/issue?id=2014450
utoCompleteTextView.java
2af1b3db3d4f687d008db74b150f149e956b4bc6 26-Jul-2009 Jean-Baptiste Queru <jbq@google.com> Merge korg/donut into korg/master
e2dba02441b42afbae725109ac779877a4b72aa0 25-Jul-2009 Dianne Hackborn <hackbod@google.com> am 11ea3347: Allow for screen density drawables in compatibility mode.

Merge commit '11ea33471e1a14a8594f0b2cd012d86340dd3bd8'

* commit '11ea33471e1a14a8594f0b2cd012d86340dd3bd8':
Allow for screen density drawables in compatibility mode.
41220f2c5b674e317a9edd526bcfca6c542c1a15 25-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 7c187de1: Merge change 8462 into donut

Merge commit '7c187de14f6b5ec6d90bc8e26265a2ca2824e39a'

* commit '7c187de14f6b5ec6d90bc8e26265a2ca2824e39a':
Make the DatePicker respect the date format setting if the date is numeric.
11ea33471e1a14a8594f0b2cd012d86340dd3bd8 23-Jul-2009 Dianne Hackborn <hackbod@google.com> Allow for screen density drawables in compatibility mode.

This change allows us to use drawables that match the current screen
density even when being loaded in compatibility mode. In this case,
the bitmap is loaded in the screen density, and the bitmap and
nine-patch drawables take care of accounting for the density difference.

This should be safe for existing applications, for the most part, since
they shouldn't really be pulling the bitmap out of the drawable. For
the small rare chance of them breaking, it worth getting the correct
graphics. Also this will only happen when there is actually a resource
of the matching density, and no existing apps should have resources for
anything besides the default density (though of course all of the
framework resources will be available in the native density).

As part of this, the bitmap density API has been changed to a single
integer provider the DPI unit density.
mageView.java
03a8017d0fe3b55b69c4328aa0d27bd96a2f1360 24-Jul-2009 Eric Fischer <enf@google.com> Make the DatePicker respect the date format setting if the date is numeric.

In some locales, there are no abbreviated month names; the abbreviated
date formats are essentially numeric. If the user is in such a locale,
have the DatePicker respect the date format setting so that the order
of the fields will match other numeric-only dates.

In locales that have abbreviated month names, continue to use the order
that is normal in spelled-out dates.

And update the order in updateDate() so that the new order is reflected
if you change the order setting and immediately go to change the date
without leaving and returning to the Date & Time settings in between.

At the same time, change DateFormat.getDateFormatOrder() back to working
the way it did in cupcake (prioritizing the date order preference over
the locale), even though the DatePicker no longer calls the method.

Bug 1805085
atePicker.java
e39900ca7aa73a7a484cc0cff79188940df64cdb 23-Jul-2009 Mike LeBeau <mlebeau@android.com> Merge commit '4182e684' into manualmerge

Conflicts:
core/java/android/widget/AutoCompleteTextView.java
d4760d77e7e8ab66af0307dcae39e0a8e9d90a14 23-Jul-2009 Mike LeBeau <mlebeau@android.com> Add new hidden API setForceIgnoreOutsideTouch to AutoCompleteTextView for
use by SearchDialog. SearchDialog wants to be able to say a dropdown should
not always be visible but still let it ignore outside touch when it does
show.

Fixes http://b/1997170
utoCompleteTextView.java
679b67ebfa4719def0ecbf82790ddca87e1b134a 22-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 26654274: Merge change 8216 into donut

Merge commit '26654274905961835a36dbcfe98dc745e8beefbf'

* commit '26654274905961835a36dbcfe98dc745e8beefbf':
Fixes #1994125. Ensures AbsListView's filter window is always dismissed.
e75cfdc7336aca420fd9f537f179b2526442b9fa 22-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am b551fb87: Merge change 8210 into donut

Merge commit 'b551fb872be9b758c7793f56398d25a74d4a404c'

* commit 'b551fb872be9b758c7793f56398d25a74d4a404c':
Always call ensureImeVisible when the text field is clicked. We want this
26654274905961835a36dbcfe98dc745e8beefbf 22-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 8216 into donut

* changes:
Fixes #1994125. Ensures AbsListView's filter window is always dismissed.
1f7f3c336a767802a0cada789f6b2055f45911dc 22-Jul-2009 Romain Guy <romainguy@android.com> Fixes #1994125. Ensures AbsListView's filter window is always dismissed.
bsListView.java
b551fb872be9b758c7793f56398d25a74d4a404c 22-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 8210 into donut

* changes:
Always call ensureImeVisible when the text field is clicked. We want this regardless of whether dropDownAlwaysVisible is true or not, as long as the popup is showing and is potentially obscuring the IME.
470c565b6adf4847db7e10611b18f67bf9111768 22-Jul-2009 Mike LeBeau <mlebeau@android.com> Always call ensureImeVisible when the text field is clicked. We want this
regardless of whether dropDownAlwaysVisible is true or not, as long as
the popup is showing and is potentially obscuring the IME.
utoCompleteTextView.java
55616f95af2263f879475885a30b37d397340c02 22-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 74cb705f: Merge change 8121 into donut

Merge commit '74cb705f0c1ee5ccb598b2b676aa50a36e6af7f9'

* commit '74cb705f0c1ee5ccb598b2b676aa50a36e6af7f9':
Fixes #1818201. Do not attempt to display the popup until after the first layout.
9bc9fa1538e3a5be0b80a8f6900d147f0ad3f9e5 22-Jul-2009 Romain Guy <romainguy@android.com> Fixes #1818201. Do not attempt to display the popup until after the first layout.
extView.java
cf4550c3198d6b3d92cdc52707fe70d7cc0caa9f 21-Jul-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
bsListView.java
dapterView.java
lphabetIndexer.java
ppSecurityPermissions.java
rrayAdapter.java
utoCompleteTextView.java
heckedTextView.java
ompoundButton.java
xpandableListView.java
astScroller.java
rameLayout.java
orizontalScrollView.java
mageButton.java
mageView.java
istView.java
ultiAutoCompleteTextView.java
opupWindow.java
rogressBar.java
elativeLayout.java
emoteViews.java
crollView.java
lidingDrawer.java
abHost.java
abWidget.java
extView.java
oast.java
ideoView.java
iewSwitcher.java
oomButtonsController.java
90ad64b2cb862f3ef6c61eee6a3833efb4337eaf 20-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 51cefb2e: Merge change 7889 into donut

Merge commit '51cefb2ef58e18acad800c9aa63c2a7eee4d9731'

* commit '51cefb2ef58e18acad800c9aa63c2a7eee4d9731':
Ignore unneeded soft keyboard in ACTV height calc
00a5b99229e41c173afd3071f15aaa725f531814 20-Jul-2009 Bjorn Bringert <bringert@android.com> Ignore unneeded soft keyboard in ACTV height calc

Before, if dropDownAlwaysVisible was false,
the soft keyboard height was always taken into
account when calculating the available vertical space for
the AutoCompleteTextView drop-down height.
This meant that the drop-down would never pop over the soft
keyboard when navigating in the drop-down list.

This change makes the drop-down pop over the soft keyboard
when the keyboard is not needed, regardless of the value of
dropDownAlwaysVisible.

Fixes http://b/issue?id=1978935
utoCompleteTextView.java
41944da6efb339b718bd2f518cfcd1732e8c2dcc 20-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 8b9baf2d: Merge change 7857 into donut

Merge commit '8b9baf2dfb4dd1bd6379d923a3aa61a082783368'

* commit '8b9baf2dfb4dd1bd6379d923a3aa61a082783368':
Remove exception throw when a view has a self dependency inside a
da3003e1d71d66a1c936489025f8db314a2a4588 20-Jul-2009 Romain Guy <romainguy@android.com> Remove exception throw when a view has a self dependency inside a
RelativeLayout.

There are unfortunately successful 3rd party apps declaring self dependencies.
There's no reason to crash the app so just ignore this issue.
elativeLayout.java
9ae8b097567da74c790a23019526f3674a3ed8df 17-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am f32f746b: Merge change 7645 into donut

Merge commit 'f32f746b83826303350417ff9937a6f9e5488f24'

* commit 'f32f746b83826303350417ff9937a6f9e5488f24':
Make the SearchDialog's AutoCompleteTextView dropdown respect the
fe5d9f5252b361f59360a59fb70018a0923b1126 17-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am a0eb87db: Merge change 7619 into donut

Merge commit 'a0eb87db12aed10bf578e06a35cf89d1779d7cf6'

* commit 'a0eb87db12aed10bf578e06a35cf89d1779d7cf6':
Fixes #1861763. Prevents IllegalArgumentException in AbsListView on focus
ffe3ecf2b1ee04288008758c0f60ae22238797c1 17-Jul-2009 Mike LeBeau <mlebeau@android.com> Make the SearchDialog's AutoCompleteTextView dropdown respect the
IME again when the user presses right or left from a query-jammed
suggestion to continue editing. Previously we required the user
to press on the text field again in order to get the IME to show.

We accomplish this by factoring out the code to 'ensureImeVisible'
into a separate method and calling that from SearchDialog.

Fixes http://b/1976338
utoCompleteTextView.java
b2536b0b5cbb263a0c48c6cf838b18d1f3563ab9 17-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 9ce081aa: Merge change 7551 into donut

Merge commit '9ce081aa2493dc163a42decfd4e1756b5c55a834'

* commit '9ce081aa2493dc163a42decfd4e1756b5c55a834':
Add ability to delay messages in Filter based on constraint. Use this to delay 500ms for delete keys in the search dialog.
a0eb87db12aed10bf578e06a35cf89d1779d7cf6 17-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 7619 into donut

* changes:
Fixes #1861763. Prevents IllegalArgumentException in AbsListView on focus search.
6bdbfcfa77177eb7c8905123f44f2fa5aa0f17b1 17-Jul-2009 Romain Guy <romainguy@android.com> Fixes #1861763. Prevents IllegalArgumentException in AbsListView on focus
search.

This change makes sure the focus search does not attempt to traverse views from
the recycler.
bsListView.java
8bf92e003d89be00c7cb9209b3ffba2658523734 16-Jul-2009 Karl Rosaen <krosaen@google.com> Add ability to delay messages in Filter based on constraint. Use this to delay 500ms for delete keys in the search dialog.

Holding down delete is nice and zippy in the browser now :)
ilter.java
384d63cd9cdc786060ea1d1c91fd7c9feb21da73 16-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 8a733e8f: Merge change 7473 into donut

Merge commit '8a733e8fa2b2e6c1404ca536da645e897405eb5f'

* commit '8a733e8fa2b2e6c1404ca536da645e897405eb5f':
Fixes #1844366. Prevents window leak in Spinner.
2d22760e380e983e0098c9728bf9b44febbed87e 16-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am c122824f: Merge change 7396 into donut

Merge commit 'c122824f48266c5df1b1b3a0a915619e5963ed7a'

* commit 'c122824f48266c5df1b1b3a0a915619e5963ed7a':
Run background threads associated with filtering at background priority.
8a733e8fa2b2e6c1404ca536da645e897405eb5f 16-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 7473 into donut

* changes:
Fixes #1844366. Prevents window leak in Spinner.
5275d69b04aee3f17f698a21d1395e4ba02ac47c 16-Jul-2009 Romain Guy <romainguy@android.com> Fixes #1844366. Prevents window leak in Spinner.
pinner.java
ab3ef104cd507c06eac34fc436b39340f6e9d680 15-Jul-2009 Karl Rosaen <krosaen@google.com> Run background threads associated with filtering at background priority.

This improves the typing responsiveness in the browser a lot, and should
help out in all the other cases in the UI where we use a filter thread.
ilter.java
4764605109a0dd993a805b368897f93ab29e8996 15-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am fa8904a6: Merge change 7012 into donut

Merge commit 'fa8904a683903524ed9749f296e80381e5820178'

* commit 'fa8904a683903524ed9749f296e80381e5820178':
Fix couple of issues in DatePicker
24b03ace12dab2c786d5ba33b92be3f5b162982b 15-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 00d3e361: Merge change 7153 into donut

Merge commit '00d3e361148133cea354d358757628b0acc01b75'

* commit '00d3e361148133cea354d358757628b0acc01b75':
Restore PopupWindow's original behavior and add an API to control the soft input
fa8904a683903524ed9749f296e80381e5820178 15-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 7012 into donut

* changes:
Fix couple of issues in DatePicker The NumberPicker's listener needs to be invoked only if the current value changes when validating input. This removes the some unwanted duplicate calls to onChanged. Adjust day for month and leap years. note that updateDaySpinner directly sets the value on day picker and doesn't invoke the listener twice
374aaaed32daa8482d98ec16988b2b51547f035d 15-Jul-2009 Romain Guy <romainguy@android.com> Restore PopupWindow's original behavior and add an API to control the soft input
mode.
utoCompleteTextView.java
opupWindow.java
2bf761c20253222a763bce9a63d14c48ab08a556 14-Jul-2009 Suchi Amalapurapu <asuchitra@google.com> Fix couple of issues in DatePicker
The NumberPicker's listener needs to be invoked only if
the current value changes when validating input.
This removes the some unwanted duplicate calls to onChanged.
Adjust day for month and leap years. note that updateDaySpinner
directly sets the value on day picker and doesn't invoke the
listener twice
atePicker.java
82b43b10a07fd34d415263c8e522cf88c3867a04 14-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am e8b88ac1: Merge change 7097 into donut

Merge commit 'e8b88ac15c5d93f7c28c31d62c534df4b9587712'

* commit 'e8b88ac15c5d93f7c28c31d62c534df4b9587712':
Fix to use DP instead of pixels for Thumb drawable size.
d651822b12a3a5036b23cdce767b1a98c42cd310 14-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 6817

* changes:
Fix a problem in VideoView that would cause it to not start playing after prepare.
e8b88ac15c5d93f7c28c31d62c534df4b9587712 14-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 7097 into donut

* changes:
Fix to use DP instead of pixels for Thumb drawable size.
a5e441525660765e0913140daff4d12a0d94e88c 14-Jul-2009 Mitsuru Oshima <oshima@google.com> Fix to use DP instead of pixels for Thumb drawable size.
astScroller.java
70da2b5be0ca5c6fbddde49e5312b9291fbec21f 14-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 3139297f: Merge change 7035 into donut

Merge commit '3139297f1eda3e34d17a2b182ae5d791da837542'

* commit '3139297f1eda3e34d17a2b182ae5d791da837542':
Fixes #1972593. Updates AppSecurityPermissions styles in Theme.Light
17606f88527eb6c90c51784ae4bc08feda9c77db 14-Jul-2009 Romain Guy <romainguy@android.com> Fixes #1972593. Updates AppSecurityPermissions styles in Theme.Light
ppSecurityPermissions.java
93153beb3de80a1b14787fbb9aea38f1fd925642 12-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am a11fe86d: Merge change 6813 into donut

Merge commit 'a11fe86d77e0fd57944e5615acb58b41a4fb4e93'

* commit 'a11fe86d77e0fd57944e5615acb58b41a4fb4e93':
Fixes #1972421. Prevents crash in ScrollView/HorizontalScrollView.
dddeee6f350673b691b1b9001545a27f9c3d19f0 10-Jul-2009 Marco Nelissen <marcone@google.com> Fix a problem in VideoView that would cause it to not start playing after prepare.
ideoView.java
ef0e9ae0ddbf70f5e30fbfbffe379e3026b9dc13 10-Jul-2009 Romain Guy <romainguy@android.com> Fixes #1972421. Prevents crash in ScrollView/HorizontalScrollView.

Add several checks to make sure there's at least one child.
orizontalScrollView.java
crollView.java
b5d9132d4eaeed13b236501e4af3f99416b4be78 09-Jul-2009 Daisuke Miyakawa <dmiyakawa@google.com> Fix ArrayAdapter, which was fixed in cupcake_dcm and kept fixed until donut, but is broken in eclair.

Original internal Change: 147459-p9
rrayAdapter.java
78afffeec7e2349d93c2838a29d98fd370c42fb3 08-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am bfc29f67: Merge change 6485 into donut

Merge commit 'bfc29f67db73ac1d21188d1ec942757dc95ecc92'

* commit 'bfc29f67db73ac1d21188d1ec942757dc95ecc92':
Cleanup Toast.java.
0420cc7fed645cfa30f8142d7cd1a53f6b0b33d3 08-Jul-2009 Romain Guy <romainguy@android.com> Cleanup Toast.java.
oast.java
0236141742e59ed2926700a4eaaa0a4cdcdf1e75 08-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 7bf9f930: Merge change 6415 into donut

Merge commit '7bf9f930d986335cd24dc15e2ee588b851f194d4'

* commit '7bf9f930d986335cd24dc15e2ee588b851f194d4':
Fixes #1748951. Calling setListSelection() explicitely should cancel the selection hidden flag.
fb7ed107356a66a55f003a43a7acc2fdbed1e9c2 08-Jul-2009 Romain Guy <romainguy@android.com> Fixes #1748951. Calling setListSelection() explicitely should cancel the selection hidden flag.
utoCompleteTextView.java
e855d130aea57018daf93d85ced2fcde7fbcb045 11-Jun-2009 Kenny Root <kenny@the-b.org> Fix spelling mistakes in Javadoc
extView.java
abca4e8384c71721670f860b0d6d544fde8559cc 09-Jun-2009 Kenny Root <kenny@the-b.org> Fix logic inversion in ListView Javadoc

The Javadoc for isItemChecked, getCheckedItemPosition, and
getCheckedItemPositions stated the return was valid if conditions
were the inverse of what the method checked for.

This was pointed out in Android issue 2366
istView.java
d663dab7dbefb49877efd2976994fb94cfa4fbd0 08-May-2009 djken <djken2009@gmail.com> The comment lack of symbol # and parameter data type. This will cause compilation failed.
croller.java
c312942b773449f5c6a8a887052aec847ec73b2c 05-May-2009 Cyril Mottier <cyrilmottier@gmail.com> Add of Javadoc comments on undocumented methods.
Use of a constant defined in SensorManager for computing deceleration.
croller.java
a2b5dab5b7796d3967c73df95154810ae38efd82 07-Jul-2009 Romain Guy <romainguy@android.com> am 870e09fc: Fixes #1963229. Introduces Context#isRestricted().

Merge commit '870e09fcd2dfdc12ac318962efd28b0420c562bb'

* commit '870e09fcd2dfdc12ac318962efd28b0420c562bb':
Fixes #1963229. Introduces Context#isRestricted().
870e09fcd2dfdc12ac318962efd28b0420c562bb 07-Jul-2009 Romain Guy <romainguy@android.com> Fixes #1963229. Introduces Context#isRestricted().

A restricted Context is a special type of Context that prevents specific features
from being used. For instance, android:onClick, used by View, can be dangerous when
used from within apps widgets. By using a restricted Context to inflate apps widgets,
widgets providers are prevented from using android:onClick.
emoteViews.java
5af08490c54b5d47ee5ffb0ac3234c720a6710a8 07-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 6256

* changes:
Refactoring of VideoView.java class
fdf3ac6cdc370d7dedca463dddd697a1bed79a9c 06-Jul-2009 James Dong <jdong@google.com> Refactoring of VideoView.java class
ideoView.java
005ae544f93494eb7d315b2e34aae0ac3c922728 06-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 79ec07b3: Merge change 6241 into donut

Merge commit '79ec07b333f8982ee83de8eeb0b1927a6cb112ed'

* commit '79ec07b333f8982ee83de8eeb0b1927a6cb112ed':
Fixes #1444844. Set a maximum fling velocity in scrollable views.
79ec07b333f8982ee83de8eeb0b1927a6cb112ed 06-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 6241 into donut

* changes:
Fixes #1444844. Set a maximum fling velocity in scrollable views.
1d6ec76f0808c082fbffbad21fecbb612eb5c76f 06-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 9479a516: Merge change 6154 into donut

Merge commit '9479a516cffd990ed3dfc209c5e768f4fb447812'

* commit '9479a516cffd990ed3dfc209c5e768f4fb447812':
Fix bug (#1947162)
4296fc4d326447875c26a925f12b3935632f13bb 06-Jul-2009 Romain Guy <romainguy@android.com> Fixes #1444844. Set a maximum fling velocity in scrollable views.
bsListView.java
orizontalScrollView.java
crollView.java
aa00e390c191f9b4eaee8ecade88c74571b2b3f3 03-Jul-2009 James Dong <jdong@google.com> Fix bug (#1947162)

The bug (1947162) is caused by the fact that sometimes, surfaceChanged() is called after onCompletion().
In surfaceChanged(), start() is called automatically. The fix is to use a flag is avoid calling start()
when onCompletion() has been called already.
ideoView.java
28dda652a2c776100f3ec94a3352564ac49149de 03-Jul-2009 Romain Guy <romainguy@android.com> am a5475596: Cleanup a bunch of warnings in app widgets code.

Merge commit 'a54755962ca7725d1e2b6cacbbaece6f1cbf5af4'

* commit 'a54755962ca7725d1e2b6cacbbaece6f1cbf5af4':
Cleanup a bunch of warnings in app widgets code.
9b7df7e628de5c44d2b04317da01b34f7d5e0edb 03-Jul-2009 Satish Sampath <satish@android.com> am 1b1a6e40: Fix build break by adding an @hide javadoc comment.

Merge commit '1b1a6e406c4233b309baee85e14f5a563ca63c48'

* commit '1b1a6e406c4233b309baee85e14f5a563ca63c48':
Fix build break by adding an @hide javadoc comment.
ed9f4c4c2fb764de14660432a9f04539b4373726 03-Jul-2009 Satish Sampath <satish@android.com> am fef8d3e4: Make search UI open up quicker to the user.

Merge commit 'fef8d3e4d8f6f46c098d04b3a57409c947ec1c75'

* commit 'fef8d3e4d8f6f46c098d04b3a57409c947ec1c75':
Make search UI open up quicker to the user.
a54755962ca7725d1e2b6cacbbaece6f1cbf5af4 02-Jul-2009 Romain Guy <romainguy@android.com> Cleanup a bunch of warnings in app widgets code.
emoteViews.java
0901c82336c79ca3e3d67b1df8a5cb7ee45ec13e 02-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 91c91b74: Merge change 5817 into donut

Merge commit '91c91b74df12e40c31a50ecb807ac60bed2ccb58'

* commit '91c91b74df12e40c31a50ecb807ac60bed2ccb58':
Replace indeterminate progress animated asset with new ones
1b1a6e406c4233b309baee85e14f5a563ca63c48 01-Jul-2009 Satish Sampath <satish@android.com> Fix build break by adding an @hide javadoc comment.
utoCompleteTextView.java
fef8d3e4d8f6f46c098d04b3a57409c947ec1c75 01-Jul-2009 Satish Sampath <satish@android.com> Make search UI open up quicker to the user.

On invoking the search UI, the drop down list box with past queries and shortcut items
appears after a few hundreds of milliseconds on screen. This was because we were
displaying the drop down within the onFilterCompleted callback after the list box filtered
the items based on the given query text. While that code path is necessary, for the first
invocation of the search dialog with an empty query we can show the list box before the
text stuff happens. This change does that, issuing an async request to show the drop
down after pending events have been processed.

Without this change, on an average it took 350ms for the code to show the drop down.
With this change, on an average it takes 150ms.
utoCompleteTextView.java
2c2949a2d9de73f7805634a112ca6df8f0692aa6 01-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 3a608f82: Merge change 5684 into donut

Merge commit '3a608f829b54a7653c9cc2b3bdbda0641cca37bb'

* commit '3a608f829b54a7653c9cc2b3bdbda0641cca37bb':
Fixes #1940605. MeasureSpec's mode and height were inverted in RelativeLayout.
b5537c452271634b6ff3981b0624fa65384abd5b 30-Jun-2009 Romain Guy <romainguy@android.com> Replace indeterminate progress animated asset with new ones
rogressBar.java
62ebe364cb6d9bd63d5603c0569ed842c4492c63 30-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 3a15fbd7: Merge change 5581 into donut

Merge commit '3a15fbd7df56e44060c78d7832fbea895ceb9bbf'

* commit '3a15fbd7df56e44060c78d7832fbea895ceb9bbf':
Add a null check in an AutoCompleteTextView callback to prevent a crash.
baac46339da03aed166e8a4240ad063caad019ad 29-Jun-2009 Romain Guy <romainguy@android.com> Fixes #1940605. MeasureSpec's mode and height were inverted in RelativeLayout.

Also bumps up the cache's number of Nodes.
elativeLayout.java
d072154bddbfda8eb99a65b724922785f896f8eb 27-Jun-2009 Eric Fischer <enf@google.com> Add a null check in an AutoCompleteTextView callback to prevent a crash.

It looks like the drop down list had already been taken down before the
callback fired so it caused a null pointer exception. In this case just
do nothing instead.

Bug 1927858
utoCompleteTextView.java
a2071618a0c45df145aab27084454b6f1fc6fbcc 26-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 6067d953: Merge change 5428 into donut

Merge commit '6067d953d7c6c0216a383fe520222fa6a23926fa'

* commit '6067d953d7c6c0216a383fe520222fa6a23926fa':
Improve handling of FILL_PARENT in RelativeLayout.
f782e60efc09f210643432f31b4c18026d7716d6 26-Jun-2009 Romain Guy <romainguy@android.com> Improve handling of FILL_PARENT in RelativeLayout.

This was causing trouble with VideoView, in Gallery in particular.
elativeLayout.java
5afeaff164955b498192c84817cc943b7ecbb42c 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am c4e0ff75: Merge change 5417 into donut

Merge commit 'c4e0ff750e98dfec61aff76f22743d819189f802'

* commit 'c4e0ff750e98dfec61aff76f22743d819189f802':
Fixes #1943309. RelativeLayout was confused by gravities.
f7dabb088a474f821d1b07af9a51d063b4782537 25-Jun-2009 Romain Guy <romainguy@android.com> Fixes #1943309. RelativeLayout was confused by gravities.

RelativeLayout, when measured with AT_MOST, was applying the gravity on its
children way too early. This caused the RL to set its measured size to
a value that was larger than necessary. This fixes the issue by deferring
the positioning of the gravity-dependent children until the dimensions
of the layout are known.
elativeLayout.java
a645143c160059e0b47984fa0de6b4379600a19a 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am eb3ec64a: Merge change 5397 into donut

Merge commit 'eb3ec64a6a962aa48a46753c6e69ce24f889a4cc'

* commit 'eb3ec64a6a962aa48a46753c6e69ce24f889a4cc':
Fixes #1943915. Prevents circular dependency exception when using several NO_ID
1ab621e316828fa65e8941954e2a3c7f1d68f77a 25-Jun-2009 Romain Guy <romainguy@android.com> Fixes #1943915. Prevents circular dependency exception when using several NO_ID
views.
elativeLayout.java
94e942107bf10fcf459b886b9e492f09c7c0a9c1 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am a1fb3950: Merge change 5394 into donut

Merge commit 'a1fb3950cf46f61800d2ca41d2020037d6b2307e'

* commit 'a1fb3950cf46f61800d2ca41d2020037d6b2307e':
Fixes #1940605. RelativeLayout was swapping horizontal and vertical
e24ef6032f52cb754bfeb9ab32aae0a5cfa61f8a 25-Jun-2009 Romain Guy <romainguy@android.com> Fixes #1940605. RelativeLayout was swapping horizontal and vertical
dependencies.
elativeLayout.java
68000508765174c6129b65e72cf28cb1e8d871c0 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 0bcfc537: Merge change 5386 into donut

Merge commit '0bcfc537e81b959a7d674deea4a5aee7f5c6eb2d'

* commit '0bcfc537e81b959a7d674deea4a5aee7f5c6eb2d':
Fixes #1940839. Prevents NPE in RelativeLayout when a non-existing View is
0bcfc537e81b959a7d674deea4a5aee7f5c6eb2d 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 5386 into donut

* changes:
Fixes #1940839. Prevents NPE in RelativeLayout when a non-existing View is targeted.
b8f8de85160b0a072158b45320e9fc2adba545f5 25-Jun-2009 Romain Guy <romainguy@android.com> Fixes #1940839. Prevents NPE in RelativeLayout when a non-existing View is
targeted.
elativeLayout.java
ecf2b68d834d334de218dc427615b4ca05c0293a 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 7941e903: Merge change 5091 into donut

Merge commit '7941e903c973af66075bbd4fa4bcadf021a61ccc'

* commit '7941e903c973af66075bbd4fa4bcadf021a61ccc':
* new screen resolution support impl.
7941e903c973af66075bbd4fa4bcadf021a61ccc 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 5091 into donut

* changes:
* new screen resolution support impl. * use full window for activities, and shift & clip the content * refactored the compatibility code, and introdcued Translator class to handle cooridnate translations. * removed a workaround to handle an activity with configChagne=rotation in old implementation. * I'll fix background issue on rotation in next CL.
d2341b38923a5aab0ad3f0f782de426891aee18f 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 69e1f472: Merge change 5289 into donut

Merge commit '69e1f472c33e241f729c470285a5680866ede75c'

* commit '69e1f472c33e241f729c470285a5680866ede75c':
Fix TextView's fading edge when compound drawables are setup.
076dc9fa57d58261d8edf26b1905019a1f8464d3 25-Jun-2009 Romain Guy <romainguy@android.com> Fix TextView's fading edge when compound drawables are setup.

TextView was not correctly taking into account the extra space taken
by compound drawable when drawing the fading edge of a marquee'd
text.
extView.java
372cecd692a39bc72a3d508755b5fb7a0d29618e 25-Jun-2009 Romain Guy <romainguy@android.com> am 95607038: Reverse the order in which RelativeLayout measures and positions children.

Merge commit '956070383945db5f842ec05e507fd0233705738c'

* commit '956070383945db5f842ec05e507fd0233705738c':
Reverse the order in which RelativeLayout measures and positions children.
6b21d362939f303832fca28191493836ee9ed653 25-Jun-2009 Romain Guy <romainguy@android.com> am a0fd1d74: Fix NPE in RelativeLayout.

Merge commit 'a0fd1d742d8edaf6c7e79bdd16a9b0c44fda4503'

* commit 'a0fd1d742d8edaf6c7e79bdd16a9b0c44fda4503':
Fix NPE in RelativeLayout.
bed64a2c4227b47a5282825f2f6827ad4a0f369c 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 83f6b130: Merge change 5237 into donut

Merge commit '83f6b130181982eb653621c2c4028feae36f1ffb'

* commit '83f6b130181982eb653621c2c4028feae36f1ffb':
Calling setItemChecked(p, true) twice would toggle the selection in ListView.
217b208ebd4a84b970bf8360408feaa95d5d58f1 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am a4335ee8: Merge change 5236 into donut

Merge commit 'a4335ee8a7ce9e45b1d3b7a0eb7aefa16b7024b1'

* commit 'a4335ee8a7ce9e45b1d3b7a0eb7aefa16b7024b1':
RelativeLayout was ignoring some dependencies.
956070383945db5f842ec05e507fd0233705738c 24-Jun-2009 Romain Guy <romainguy@android.com> Reverse the order in which RelativeLayout measures and positions children.

This fixes RelativeLayouts with height=wrap_content.
elativeLayout.java
a0fd1d742d8edaf6c7e79bdd16a9b0c44fda4503 24-Jun-2009 Romain Guy <romainguy@android.com> Fix NPE in RelativeLayout.
elativeLayout.java
2ac3412001f7dceb0d3a7641359e3718179b2613 24-Jun-2009 Romain Guy <romainguy@android.com> resolved conflicts for merge of 5a42b083 to master
83f6b130181982eb653621c2c4028feae36f1ffb 24-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 5237 into donut

* changes:
Calling setItemChecked(p, true) twice would toggle the selection in ListView.
8842f0bd5c97cb39f6912392f34ba7435c275a42 24-Jun-2009 Romain Guy <romainguy@android.com> Calling setItemChecked(p, true) twice would toggle the selection in ListView.

This fixes a bug in ListView#setItemChecked(int, boolean). Calling the method
twice would cause the checked state to be toggled instead of remaining the
same.
istView.java
9fffa1eb40f5121866cb8e547b8bbd7eafee5281 24-Jun-2009 Romain Guy <romainguy@android.com> RelativeLayout was ignoring some dependencies.

This change also improves the speed of RelativeLayout by eliminating calls to
findViewById() whenever possible.
elativeLayout.java
64f59342d41849bd365cb43fad7505d5e3daa417 21-Jun-2009 Mitsuru Oshima <oshima@google.com> * new screen resolution support impl.
* use full window for activities, and shift & clip the content
* refactored the compatibility code, and introdcued Translator class to handle cooridnate translations.
* removed a workaround to handle an activity with configChagne=rotation in old implementation.
* I'll fix background issue on rotation in next CL.

* removed unnecessary scaling code in SurfaceView, which I forgot to remove when I changed SurfaceView
not to scale the content.
opupWindow.java
6b3ade68e0a2541600dc8bcc803c7b3d061b2153 24-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 4133751d: Merge change 5129 into donut

Merge commit '4133751d51a04172aa65e24658b4207ef764de91'

* commit '4133751d51a04172aa65e24658b4207ef764de91':
Improve RelativeLayout by allowing dependencies to be declared in a random
e29f064383cbc745c8605c707000ab4e16ee0aac 24-Jun-2009 Romain Guy <romainguy@android.com> Fixes #1905761. Updates the height of ACTV's drop down whenever the IME changes.
utoCompleteTextView.java
opupWindow.java
725015a9cda8f5bfcf05dff7d2b0ebbd799bb577 23-Jun-2009 Romain Guy <romainguy@android.com> Improve RelativeLayout by allowing dependencies to be declared in a random
order.

The new implementation uses a dually topologically sorted graph of the child
views. The graph of dependencies is sorted once for the rules that impact the
horizontal axis (toLeftOf, alignRight, etc.) and once for the rules that impact
the vertical axis (above, below, etc.)

Doing so gives the ability to declare dependencies in any order, allows for
partial cycles in the graph (given view1 and view2, view1 can be toRightOf=view2
and view2 can be above=view1) and probably gets rid of most surprising behaviors
of RelativeLayout.
elativeLayout.java
cb85ef6a8b58f9fe04a1b0f397119353c82f3146 22-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am e146d824: Merge change 4965 into donut

Merge commit 'e146d824785078fed578f88b11ff47a7390d27c5'

* commit 'e146d824785078fed578f88b11ff47a7390d27c5':
Fix bugs 1827027, 1808979, 1820700.
a465a170ce5d7155580fd308d1e50092365117e4 22-Jun-2009 Dianne Hackborn <hackbod@google.com> Fix bugs 1827027, 1808979, 1820700.

These are all variations of needing to validate ranges on editing operations
coming from the IME, to account for the underlying text changing (usually being
deleted) asynchronously with the IME.
extView.java
9f79975fa03311dd682611d743e9257654d85c59 22-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am ecfb9f91: Merge change 4940 into donut

Merge commit 'ecfb9f91afa49df7b9b62526dcaca431b5ff1e01'

* commit 'ecfb9f91afa49df7b9b62526dcaca431b5ff1e01':
Fixes #1933585. Don't dismiss ACTV's drop down when it's set to alwaysVisible.
7299807d1895ea25cbe45d32b6edfd9a5723ee7a 22-Jun-2009 Romain Guy <romainguy@android.com> Fixes #1933585. Don't dismiss ACTV's drop down when it's set to alwaysVisible.

This change also resizes the drop down automatically whenever the soft input
method is shown/hidden.
utoCompleteTextView.java
opupWindow.java
17c848a27c9c9d21bbe6ac94e47b10d4c12b96a9 20-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 9e71b07c: Merge change 4829 into donut

Merge commit '9e71b07cfe88cdb1abf4a01077ca263d7f957c94'

* commit '9e71b07cfe88cdb1abf4a01077ca263d7f957c94':
Fixes #1926784. Setting android:ellipsize on an EditText now ellipsizes the hint.
4dc4f73cabcfe685761326b79e75455970b6bc5e 20-Jun-2009 Romain Guy <romainguy@android.com> Fixes #1926784. Setting android:ellipsize on an EditText now ellipsizes the hint.

It doesn't make much sense to ellipsize the text entered by the user, so we
just ellipsize the hint. This avoids introducing a new XML attribute/Java API
just for the particular case of ellipsizing the hint.
extView.java
4fe0674c4408fe7f17670fb3fecda05951dc10f5 18-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am cff19c1a: Merge change 4539 into donut

Merge commit 'cff19c1a014284dce2577f82d931e4c65edd437e'

* commit 'cff19c1a014284dce2577f82d931e4c65edd437e':
Fixes #1925003. Make ListView honor the android:choiceMode XML attribute.
845970ff256fb75a0d666b26f72dca33a3909c37 18-Jun-2009 Romain Guy <romainguy@android.com> am 465dee4b: Fixes #1819572. Do not resurrect the list\'s selection when the user moved it away.

Merge commit '465dee4b4b491fdbb082218e5eb1010a416992f9'

* commit '465dee4b4b491fdbb082218e5eb1010a416992f9':
Fixes #1819572. Do not resurrect the list's selection when the user moved it away.
cff19c1a014284dce2577f82d931e4c65edd437e 18-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 4539 into donut

* changes:
Fixes #1925003. Make ListView honor the android:choiceMode XML attribute.
536fb04c1c419d5dd3816112ab5af7baee7cd549 18-Jun-2009 Romain Guy <romainguy@android.com> Fixes #1925003. Make ListView honor the android:choiceMode XML attribute.

The attribute was simply ignored by the constructor.
istView.java
465dee4b4b491fdbb082218e5eb1010a416992f9 18-Jun-2009 Romain Guy <romainguy@android.com> Fixes #1819572. Do not resurrect the list's selection when the user moved it away.

This is a workaround for a touch mode issue.

Touch mode is propagated lazily to windows. This causes problems in
the following scenario:
- Type something in the AutoCompleteTextView and get some results
- Move down with the d-pad to select an item in the list
- Move up with the d-pad until the selection disappears
- Type more text in the AutoCompleteTextView *using the soft keyboard*
and get new results; you are now in touch mode
- The selection comes back on the first item in the list, even though
the list is supposed to be in touch mode

Using the soft keyboard triggers the touch mode change but that change
is propagated to our window only after the first list layout, therefore
after the list attempts to resurrect the selection.

The trick to work around this issue is to pretend the list is in touch
mode when we know that the selection should not appear, that is when
we know the user moved the selection away from the list.

This boolean is set to true whenever we explicitely hide the list's
selection and reset to false whenver we know the user moved the
selection back to the list.

When this boolean is true, isInTouchMode() returns true, otherwise it
returns super.isInTouchMode().
utoCompleteTextView.java
66e4aed2ace3fa57c631de6961d7d6200de0f451 11-Jun-2009 Andrew Stadler <stadler@android.com> Add ViewBinder & setText APIs to match SimpleCursorAdapter

There's nothing new here, just a clone of the ViewBinder API from
SimpleCursorAdapter. This provides a much more lightweight way to
override data mapping on an item-by-item basis.

Possibly to-do, but I would rather leave for another CL:
(1) Better handling of expanded/contracted group & last child (footer).
(2) Cached info map (see SimpleCursorAdapter) for performance
impleCursorTreeAdapter.java
21373aaef203ef442f435577ce4641c6b1a3030a 11-Jun-2009 Mike LeBeau <mlebeau@android.com> resolved conflicts for merge of 174231 to master
1b194b14fe958b11cf06f50bdbf243c9df83e056 11-Jun-2009 Kenny Root <kenny@the-b.org> Fix spelling mistakes in Javadoc
extView.java
50145bc883909c4b1533894a2b947eed21312514 11-Jun-2009 Bjorn Bringert <bringert@android.com> ACTV: getWindowVisibility() instead of private attach count

When debugging a problem with the search dialog drop-down
sometimes not showing up, I saw that the mAttachCount variable
in AutoCompleteTextView could get a negative value because
onDetachedFromWindow() was called multiple times. This lead to
the drop-down not being displayed on filtering.

Instead of the private attach count in ACTV, this change
uses View.getWindowVisibility().
utoCompleteTextView.java
0918bf06881f32e6e3cf750f713b16c7d65e4012 11-Jun-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding new query: aggregation suggestions
lphabetIndexer.java
edc4a87d4d8163c147ce25191d80ddeeed4348b9 10-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 6b4b50b8: Merge change 2900 into donut

Merge commit '6b4b50b8079aa274727c3120f858179eb6259351'

* commit '6b4b50b8079aa274727c3120f858179eb6259351':
Add support for custom tab views in TabHost and TabWidget.
53175148c9b962c0ffe9cea0f3dc68bc0196e044 02-Jun-2009 Jack Veenstra <veenstra@android.com> Add support for custom tab views in TabHost and TabWidget.

This change adds the ability to specify an arbitrary view for a tab
indicator. It also adds support for specifying a drawable to use as
the divider between tab views.
abHost.java
abWidget.java
b9048924c77fec949f5e88990480f2fe58b8a991 10-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am a32b5f32: Merge change 2411 into donut

Merge commit 'a32b5f3252a58416f328399680395aa5fa936640'

* commit 'a32b5f3252a58416f328399680395aa5fa936640':
Manual merge from cupcake_dcm. Need to be reviewed by enf.
a32b5f3252a58416f328399680395aa5fa936640 10-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 2411 into donut

* changes:
Manual merge from cupcake_dcm. Need to be reviewed by enf.
0d24e9b56b9a1c4ae0147012cc589030544dd634 10-Jun-2009 Romain Guy <romainguy@android.com> am 0e1ca574: Add support for gestures in Home.

Merge commit '0e1ca5749a96778869ef62f939542a61c034209b'

* commit '0e1ca5749a96778869ef62f939542a61c034209b':
Add support for gestures in Home.
0e1ca5749a96778869ef62f939542a61c034209b 09-Jun-2009 Romain Guy <romainguy@android.com> Add support for gestures in Home.

Adds a new animation style for the gestures pad, and de-normalize
the scores in the recognition engine.
iewSwitcher.java
158c19020b60cf1c807d8bf40052b7091b2c08c4 09-Jun-2009 Kenny Root <kenny@the-b.org> Fix logic inversion in ListView Javadoc

The Javadoc for isItemChecked, getCheckedItemPosition, and
getCheckedItemPositions stated the return was valid if conditions
were the inverse of what the method checked for.

This was pointed out in Android issue 2366
istView.java
3cfda9c2257815e15f58b6fa82c16452e66501c9 09-Jun-2009 Romain Guy <romainguy@android.com> am f642aa2a: Removes gestures from ListView.

Merge commit 'f642aa2a44e63aa105bbc6aec59f9bee261986ef'

* commit 'f642aa2a44e63aa105bbc6aec59f9bee261986ef':
Removes gestures from ListView.
f642aa2a44e63aa105bbc6aec59f9bee261986ef 09-Jun-2009 Romain Guy <romainguy@android.com> Removes gestures from ListView.
bsListView.java
5519185292a3733744794bd3c31ce1a2fdf817e4 09-Jun-2009 Romain Guy <romainguy@android.com> resolved conflicts for merge of bad927 to master
0a20264db87e26f5b392f16159860b902d8c5bd3 08-Jun-2009 Romain Guy <romainguy@android.com> Do not automatically enable gestures in list based on filtering/fastscroll status. Enable gestures in Contacts for now.
bsListView.java
4bfa86011a1ede22ae84921332bd1bf35a1695d7 06-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 4e0b13c9: Merge change 3348 into donut

Merge commit '4e0b13c9a94f2085d44d0fe36fd16e2599477145'

* commit '4e0b13c9a94f2085d44d0fe36fd16e2599477145':
Fix AlphabetIndexer.getSectionForPosition()
680b30f60cc70e65a8773a62295072765a971dd1 06-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 39665367: Merge change 3317 into donut

Merge commit '3966536766cbe0bd45570c6785e912131911ff79'

* commit '3966536766cbe0bd45570c6785e912131911ff79':
Fixes #1899273.
4e0b13c9a94f2085d44d0fe36fd16e2599477145 05-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 3348 into donut

* changes:
Fix AlphabetIndexer.getSectionForPosition()
1b111bb6e2a570fe5f88d018fb3ec3c1ae880dcc 05-Jun-2009 Phil Dubach <phillipd@google.com> Fix AlphabetIndexer.getSectionForPosition()

This did not properly set the cursor position before reading, which
resulted in wrong return values or exceptions in the cursor.
lphabetIndexer.java
834f0391b50d33a832bd583fd7763a9a12208e8d 05-Jun-2009 Romain Guy <romainguy@android.com> Fixes #1899273.

When a "ghost" stroke was showing, events would be intercepted in ListView. This patch modifies the logic used to detect when to still events: either the current stroke is a gesture, or the previous stroke was a gesture.
bsListView.java
fa77935446dbbb3719a2e7d260a425361d7e1f6e 05-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am ad8a510f: Merge change 3227 into donut

Merge commit 'ad8a510fcc3b853bd0dadcffb4433c465f2993b4'

* commit 'ad8a510fcc3b853bd0dadcffb4433c465f2993b4':
Fix int to string mapping of exported properties. The value generated by the
029a8c0372a89f4c5e08bc40bead71447db60a7c 05-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am b640da8f: Merge change 3204 into donut

Merge commit 'b640da8fcbc63821dfca1ab92f038771a2bf0ab9'

* commit 'b640da8fcbc63821dfca1ab92f038771a2bf0ab9':
Avoid touching all adapter items when building accessibility event.
f43572978783aacc1babade274992cb171d1c1f0 05-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 7835b0b7: Merge change 3192 into donut

Merge commit '7835b0b742a36641a4005663134dc0b5d0678eab'

* commit '7835b0b742a36641a4005663134dc0b5d0678eab':
Fixes #1882836.
ad8a510fcc3b853bd0dadcffb4433c465f2993b4 05-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 3227 into donut

* changes:
Fix int to string mapping of exported properties. The value generated by the mapping in a @ViewDebug.ExportedProperty annotation was always overriden by the resolveId attribute.
a1f3e4aef19882b4b81075d9205bd363efe1e66d 05-Jun-2009 Romain Guy <romainguy@android.com> Fix int to string mapping of exported properties. The value generated by the
mapping in a @ViewDebug.ExportedProperty annotation was always overriden by
the resolveId attribute.
elativeLayout.java
b640da8fcbc63821dfca1ab92f038771a2bf0ab9 04-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 3204 into donut

* changes:
Avoid touching all adapter items when building accessibility event.
d296fafab597a6597d9eb276abe6f6eb049e9f12 04-Jun-2009 Amith Yamasani <yamasani@google.com> Avoid touching all adapter items when building accessibility event.

Only check for enabled items if the list is less than 15 items.
istView.java
f993ad5b89a8aa47fcbc7494811f45bb74cb8713 04-Jun-2009 Romain Guy <romainguy@android.com> Fixes #1882836.

Prevents the gestures window from leaking. This change does exactly what was
done for the filter popup window: the popup is dismissed in onSaveInstanceState()
as it is the only place that is executed early enough to avoid the dreaded
window leak error.
bsListView.java
b0d031ad132dac585d1f21d46ebebcc4d13f40c7 01-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am fa30c0ee: Merge change 2548 into donut

Merge commit 'fa30c0eed3386af37be0f0df7aeaa886a8e6095d'

* commit 'fa30c0eed3386af37be0f0df7aeaa886a8e6095d':
Fix a bug in AppSecurityPermissions where it wouldn't display permissions used by an app if it uses a shared user id.
fa30c0eed3386af37be0f0df7aeaa886a8e6095d 01-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 2548 into donut

* changes:
Fix a bug in AppSecurityPermissions where it wouldn't display permissions used by an app if it uses a shared user id. Remove the else clause and always get the list of requested permissions first before adding the permissions obtained via the shared user id. Also change an if condition and comments for better readability
ceb0cba3574770b62ab37c6f401a5509728eca58 01-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 10d273bb: Merge change 2591 into donut

Merge commit '10d273bb69016f7eb056d7ea1f3a929a5f5a3314'

* commit '10d273bb69016f7eb056d7ea1f3a929a5f5a3314':
Check if the ownerView is still attached to window in
10d273bb69016f7eb056d7ea1f3a929a5f5a3314 01-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 2591 into donut

* changes:
Check if the ownerView is still attached to window in refreshPositionVariables.
150f7dc14b9453ae09051188fc763fd1d9e1fb58 30-May-2009 Android (Google) Code Review <android-gerrit@google.com> am f422dc49: Merge change 2566 into donut

Merge commit 'f422dc495ae092e8354b383a21f47b43ea698939'

* commit 'f422dc495ae092e8354b383a21f47b43ea698939':
Fix javadoc typos. No code changes.
f422dc495ae092e8354b383a21f47b43ea698939 30-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 2566 into donut

* changes:
Fix javadoc typos. No code changes.
8a718a45968a6e6fe87eff13dd43c05887850582 29-May-2009 Android (Google) Code Review <android-gerrit@google.com> am a5f50b8f: Merge change 2746 into donut

Merge commit 'a5f50b8f49cc9b34b1de462e11498d92c692b978'

* commit 'a5f50b8f49cc9b34b1de462e11498d92c692b978':
Modify the base gestures API to use streams instead of files. Adds new wrappers to easily load/save gestures from files, resources, etc. Do the same for the letters recognizer.
0a63716ed0e44f7cd32b81a444429318d42d8f08 29-May-2009 Romain Guy <romainguy@android.com> Modify the base gestures API to use streams instead of files. Adds new wrappers to easily load/save gestures from files, resources, etc. Do the same for the letters recognizer.
bsListView.java
4f67310f196e9b159e001bbe9bee5a9353ba0152 29-May-2009 Android (Google) Code Review <android-gerrit@google.com> am d1353cc4: Merge change 2731 into donut

Merge commit 'd1353cc4f14a9bed49b04b0c3a6fd57784102465'

* commit 'd1353cc4f14a9bed49b04b0c3a6fd57784102465':
Fixes #1873537.
d1353cc4f14a9bed49b04b0c3a6fd57784102465 29-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 2731 into donut

* changes:
Fixes #1873537.
c51ef9702d7ccd3dac15ccaeb509d1150f0a2d7f 29-May-2009 Romain Guy <romainguy@android.com> Fixes #1873537.

Only update the popup window when it is shown. This avoids throwing an NPE in PopupWindow.
A PopupWindow is only aware of its content view after being shown.
bsListView.java
bf6a00d37b447921a3ad8464198e9d77be45ce14 29-May-2009 Romain Guy <romainguy@android.com> am e32edc61: Fixes #1884152. This change improves how the opaque property is handled with respect to dividers.

Merge commit 'e32edc614e62ac874a969d3cc6bb1e0c0c3f2607'

* commit 'e32edc614e62ac874a969d3cc6bb1e0c0c3f2607':
Fixes #1884152. This change improves how the opaque property is handled with respect to dividers.
e32edc614e62ac874a969d3cc6bb1e0c0c3f2607 29-May-2009 Romain Guy <romainguy@android.com> Fixes #1884152. This change improves how the opaque property is handled with respect to dividers.

If the list is opaque and its background is not, then we want to fill a solid rect where the dividers should be when they are skipped for non-selectable items. When the list is opaque and the background is also opaque, there is no need to draw something in lieu of the dividers since the background will do it for us.
istView.java
5ba885ddcb407ce6e5b15305856d99830b2c148f 28-May-2009 Romain Guy <romainguy@android.com> am b0ded43d: Uninstalls the gestures overlay when the letters recognizer cannot be loaded instead of simply dismissing the popup. This is cleaner and reuses the setGestures() method.

Merge commit 'b0ded43d3844d9d97c5d554e8ca4ec3ee2c7bbe1'

* commit 'b0ded43d3844d9d97c5d554e8ca4ec3ee2c7bbe1':
Uninstalls the gestures overlay when the letters recognizer cannot be loaded instead of simply dismissing the popup. This is cleaner and reuses the setGestures() method.
b0ded43d3844d9d97c5d554e8ca4ec3ee2c7bbe1 28-May-2009 Romain Guy <romainguy@android.com> Uninstalls the gestures overlay when the letters recognizer cannot be loaded instead of simply dismissing the popup. This is cleaner and reuses the setGestures() method.
bsListView.java
470681e0ff7a9f629ccfc3a36b51550c5a4d32fc 28-May-2009 Owen Lin <owenlin@google.com> Check if the ownerView is still attached to window in
refreshPositionVariables.
oomButtonsController.java
982be3be054960fbf254f225b4aeaee0310e619f 28-May-2009 Jack Veenstra <veenstra@android.com> Fix javadoc typos. No code changes.

Also reformatted a comment that was too long.
abHost.java
c7b14e92075b8a0250ccc8bb4aa21e61d620a708 27-May-2009 Suchi Amalapurapu <asuchitra@google.com> Fix a bug in AppSecurityPermissions where it wouldn't display permissions used by an app if it uses a shared user id.
Remove the else clause and always get the list of requested permissions first before adding the permissions obtained via
the shared user id.
Also change an if condition and comments for better readability
ppSecurityPermissions.java
6742fa7341e474f4a23bdf06fef43b0e9e1f4801 27-May-2009 Marco Nelissen <marcone@google.com> am 8ae3f619: Fix another crash in Gestures, this one caused by the data file having the wrong version. I made the loader print a message to the log for this, and made the calling code disable gestures for the listview instead of crashing.

Merge commit '8ae3f6190244156bc6e750680654057bd7816309'

* commit '8ae3f6190244156bc6e750680654057bd7816309':
Fix another crash in Gestures, this one caused by the data file
8ae3f6190244156bc6e750680654057bd7816309 27-May-2009 Marco Nelissen <marcone@google.com> Fix another crash in Gestures, this one caused by the data file
having the wrong version. I made the loader print a message to
the log for this, and made the calling code disable gestures
for the listview instead of crashing.
bsListView.java
00179f02dd1f8853f0f27ecb036a82243495f9d1 26-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 9762b533: Merge change 2465 into donut

Merge commit '9762b53352edc4cc8a6bc091930fc53dedcfe1e7'

* commit '9762b53352edc4cc8a6bc091930fc53dedcfe1e7':
Fix crash in GestureOverlayView
fea57edf0dd27bc21c34e7f96cd6383d6f2dff42 26-May-2009 Marco Nelissen <marcone@google.com> Fix crash in GestureOverlayView
bsListView.java
c1d2748d442f06a7266be04b9e9c7d20609ad5cc 25-May-2009 Daisuke Miyakawa <dmiyakawa@google.com> Manual merge from cupcake_dcm. Need to be reviewed by enf.
utoCompleteTextView.java
ultiAutoCompleteTextView.java
d35041d869fdc11684797bf318e4484a28fc2be1 25-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 82392e84: Merge change 2402 into donut

Merge commit '82392e84b9bcf618d1c41730ec14fb8dab841990'

* commit '82392e84b9bcf618d1c41730ec14fb8dab841990':
Cleanup Gestures API and make it easier to use in 3rd party apps. Also fix the events processing in the gestures overlay mechanism. Give better control of the various properties of the overlay through XML attributes.
82f3495b146b267f3786997752cef25310176349 25-May-2009 Romain Guy <romainguy@android.com> Cleanup Gestures API and make it easier to use in 3rd party apps. Also fix the events processing in the gestures overlay mechanism. Give better control of the various properties of the overlay through XML attributes.
bsListView.java
astScroller.java
rameLayout.java
fa02f9216267330c0df39cf361ef7441264f0a44 23-May-2009 Android (Google) Code Review <android-gerrit@google.com> am d9a874a4: Merge change 2397 into donut

Merge commit 'd9a874a4cb8e82ae64c1698bd71ced8d87bbc5cd'

* commit 'd9a874a4cb8e82ae64c1698bd71ced8d87bbc5cd':
Fixes NPE in ListViews with non-selectable items. This was caused by a weird initialization issue in ListView and AbsListView: a private final field instanciated in the declaration in ListView was used in AbsListView<init> via an overriden method and that field was somehow null at this time. This fix moves the instanciation at a later point.
a02903fbee6725563da4472bd120f844e9d5518c 23-May-2009 Romain Guy <romainguy@android.com> Fixes NPE in ListViews with non-selectable items. This was caused by a weird initialization issue in ListView and AbsListView: a private final field instanciated in the declaration in ListView was used in AbsListView<init> via an overriden method and that field was somehow null at this time. This fix moves the instanciation at a later point.
istView.java
ccf1ab64846112846c0bcd7fc4a623f55588ee46 22-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 4e1afc1a: Merge change 2361 into donut

Merge commit '4e1afc1a569d05cc6a1ee213c65ffb49513600ca'

* commit '4e1afc1a569d05cc6a1ee213c65ffb49513600ca':
Fixes #1872506. Prevents NPE in ListView. When the opaque property changes at runtime, it is possible to end up in a situation in which the divider's Paint instance has not been instanciated. This change simples uses a final Paint that is guaranteed to not be null.
b6888167d39bbfdb3e26e12f267c6d1abc6ce2b2 22-May-2009 Romain Guy <romainguy@android.com> Fixes #1872506. Prevents NPE in ListView. When the opaque property changes at runtime, it is possible to end up in a situation in which the divider's Paint instance has not been instanciated. This change simples uses a final Paint that is guaranteed to not be null.
istView.java
d14508b4d678373fbb511dc0da9a5133ce321c6d 22-May-2009 The Android Open Source Project <initial-contribution@android.com> merge f41c640d8424fbd90cb1751173ede1c9f5e848b4 w/minor conflict
d6a463a9f23b3901bf729f2f27a6bb8f78b95248 22-May-2009 Romain Guy <romainguy@android.com> Add a new API to ListView: setGestures(int). This allows developers to enable gestures to jump inside the list or filter it. This change also introduces a new XML attribute to control this API. It also adds the ability to theme the GestureOverlayView from the gestures library. Finally, this adds a new VERSION header to the binary format used to store the letters for the recognizer.
bsListView.java
astScroller.java
opupWindow.java
extView.java
9cb60109f096a1722c5063b9e5acbd1bc2d77ef5 21-May-2009 Android (Google) Code Review <android-gerrit@google.com> am d1874747: Merge change 2202 into donut

Merge commit 'd1874747c281e3277980fe7318f9007643a25f60'

* commit 'd1874747c281e3277980fe7318f9007643a25f60':
Fixes external http://code.google.com/p/android/issues/detail?id=2732. ExpandableListView is wrongly assuming that the saved state if of the correct type. A similar bug fix was made in TextView.onRestoreInstanceState() a while ago. This fix simply ensures that the state received is of the right type.
7444e147a863b41e08815658f1bcbe426aba512b 21-May-2009 Romain Guy <romainguy@android.com> Fixes external http://code.google.com/p/android/issues/detail?id=2732. ExpandableListView is wrongly assuming that the saved state if of the correct type. A similar bug fix was made in TextView.onRestoreInstanceState() a while ago. This fix simply ensures that the state received is of the right type.
xpandableListView.java
190ca2a578b03ec4a6d9f5f739516bcb2401ed7d 21-May-2009 Romain Guy <romainguy@android.com> am a6cd4e03: Fix NPE at boot.

Merge commit 'a6cd4e03e6bde0c4b76ad7290eb2c527398478d1'

* commit 'a6cd4e03e6bde0c4b76ad7290eb2c527398478d1':
Fix NPE at boot.
a6cd4e03e6bde0c4b76ad7290eb2c527398478d1 21-May-2009 Romain Guy <romainguy@android.com> Fix NPE at boot.
extView.java
1f7f391af27549bf4af991dd9cca33242368a7e4 20-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 4174e268: Merge change 2094 into donut

Merge commit '4174e2682f4eb6ea35c84e35810312967ea7e233'

* commit '4174e2682f4eb6ea35c84e35810312967ea7e233':
Fixes #1866819.\nTextView sets the bounds of its compound drawables to contain only the width and the height of the drawables. This causes View.invalidateDrawable() to invalidate the compound drawables at location (0, 0) within the view, thus invalidating the wrong part of the View. This prevents animation from running correctly when using animated drawable. This change overrides invalidateDrawable() in TextView to take into account the real position of the compound drawable.
843ef36f7b96cc19ea7d2996b7c8661b41ec3452 20-May-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
bsListView.java
utoCompleteTextView.java
heckedTextView.java
ridView.java
orizontalScrollView.java
istView.java
ediaController.java
opupWindow.java
elativeLayout.java
impleAdapter.java
impleCursorAdapter.java
lidingDrawer.java
extView.java
3c77d39ee8b1c3c5a1b59be65953f73570a42511 20-May-2009 Romain Guy <romainguy@android.com> Fixes #1866819.\nTextView sets the bounds of its compound drawables to contain only the width and the height of the drawables. This causes View.invalidateDrawable() to invalidate the compound drawables at location (0, 0) within the view, thus invalidating the wrong part of the View. This prevents animation from running correctly when using animated drawable. This change overrides invalidateDrawable() in TextView to take into account the real position of the compound drawable.
extView.java
5b8a374afd0e867abbac96f95081789db80b7dd2 20-May-2009 Android (Google) Code Review <android-gerrit@google.com> am eba1ffb1: Merge change 2022 into donut

Merge commit 'eba1ffb1468ce348bcd55a2d200728d5ac3b1eb3'

* commit 'eba1ffb1468ce348bcd55a2d200728d5ac3b1eb3':
TextView was not setting the callback on its compound drawables, thus preventing them from refreshing the view when updating their internal state. This would for instance prevent animated drawables from actually animating. Quite infuriating.
48540eb8537b501b70ff96858b77b37c3f930603 20-May-2009 Romain Guy <romainguy@android.com> TextView was not setting the callback on its compound drawables, thus preventing them from refreshing the view when updating their internal state. This would for instance prevent animated drawables from actually animating. Quite infuriating.
extView.java
8ba63601ab3aa4042f8801529cb629450aea4bc3 19-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 15e74b9d: Merge change 1939 into donut

Merge commit '15e74b9da8b4cda11ee54da1e77a02d1a86c944a'

* commit '15e74b9da8b4cda11ee54da1e77a02d1a86c944a':
Temporarily suppress flaky test LocationManagerProximityTest until test harness support can be rolled out.
Fix build breakage
Revise the ImageButton class description to include information
Record statistics about whether HTTP connections are reused.
9d16d2072be18b1734c22cd58cd9a07af28ede41 19-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 1916 into donut

* changes:
Revise the ImageButton class description to include information about XML <selector> drawables, for managing button state.
841ddefcb5720bcc1925f373b66224411f99a9fa 19-May-2009 Daisuke Miyakawa <dmiyakawa@google.com> Hand merge from cupcake_dcm to donut, part 2.

Modify Contacts-related java files and update vCard importer code to the latest.
rrayAdapter.java
84971ae0109bdfae79f3c9d15edf400fa5129f3d 19-May-2009 Scott Main <smain@google.com> Revise the ImageButton class description to include information
about XML <selector> drawables, for managing button state.
mageButton.java
370331fbcadb241caf1fb48a0b8f5e167b3e41b0 16-May-2009 Android (Google) Code Review <android-gerrit@google.com> am b3c6addf: Merge change 1825 into donut

Merge commit 'b3c6addfc17be2a52133026148f3928ab97c83cb'

* commit 'b3c6addfc17be2a52133026148f3928ab97c83cb':
Fixes #1855461, #1857290 and #1857365. Certain scrollbar styles make an opaque view not be opaque. ListView and View now account for this when indicating whether they are opaque or not.
8f1344f5e7c92f2fd532f65e5584afe0e4cc6b11 16-May-2009 Romain Guy <romainguy@android.com> Fixes #1855461, #1857290 and #1857365. Certain scrollbar styles make an opaque view not be opaque. ListView and View now account for this when indicating whether they are opaque or not.
istView.java
76879bc2343779d4d2a870b7bd46b0544c0cc46c 15-May-2009 svetoslavganov <svetoslavganov@google.com> resolved conflicts w/ 75986cf9bc57ef11ad70f36fb77fbbf5d63af6ec merge....
75986cf9bc57ef11ad70f36fb77fbbf5d63af6ec 15-May-2009 svetoslavganov <svetoslavganov@google.com> Accessibility feature - framework changes (replacing 698, 699, 700, 701 and merging with the latest Donut)
dapterView.java
heckedTextView.java
ompoundButton.java
mageView.java
istView.java
opupWindow.java
elativeLayout.java
lidingDrawer.java
extView.java
oast.java
85119a427fd03c420f973f57359ba13354f4f3c7 15-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 14ad07f6: Merge change 1708 into donut

Merge commit '14ad07f604ecd08436680a046363d37952c278f6'

* commit '14ad07f604ecd08436680a046363d37952c278f6':
Fixes #1853550. Prevent NPE when calling the PopupWindow() and PopupWindow(int, int) constructors. Instead, throw an IllegalStateException when trying to show a popup with no content view.
14ad07f604ecd08436680a046363d37952c278f6 15-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 1708 into donut

* changes:
Fixes #1853550. Prevent NPE when calling the PopupWindow() and PopupWindow(int, int) constructors. Instead, throw an IllegalStateException when trying to show a popup with no content view.
448ecf5a94bb8778c677f00dedd33b26ea7683e8 15-May-2009 Romain Guy <romainguy@android.com> Fixes #1853550. Prevent NPE when calling the PopupWindow() and PopupWindow(int, int) constructors. Instead, throw an IllegalStateException when trying to show a popup with no content view.
opupWindow.java
80a538d656c7392ac8d8dc1be711bd0f5a2e9316 15-May-2009 Marco Nelissen <marcone@google.com> am 9ea92317: Rearrange some code so it makes more sense. Thanks, findbugs.

Merge commit '9ea923174c2daffd9b6a1cd630018d3fdfe91f62'

* commit '9ea923174c2daffd9b6a1cd630018d3fdfe91f62':
Rearrange some code so it makes more sense. Thanks, findbugs.
9ea923174c2daffd9b6a1cd630018d3fdfe91f62 15-May-2009 Marco Nelissen <marcone@google.com> Rearrange some code so it makes more sense. Thanks, findbugs.
extView.java
a64b860749ad7e5f9e887013d87b56b928c5d405 14-May-2009 Android (Google) Code Review <android-gerrit@google.com> am aa642c0c: Merge changes 1591,1596 into donut

Merge commit 'aa642c0cc20293137376d44f8221876c121e5be9'

* commit 'aa642c0cc20293137376d44f8221876c121e5be9':
Get the backup calling through to the file backup helper.
Fix typos.
Add a new feature to android.os.Debug to add the ability to inject only specific fields when calling setFieldsOn().
Fixes #1836075. Adds consistency checks for the View hierarchy. To enable them, you need a debug build and ViewDebug.sConsistencyCheckEnabled set to true in debug.prop. This change also lets you easily enable drawing and layout profiling in ViewRoot by setting ViewRoot.sProfileDrawing, ViewRoot.sProfileLayout and ViewRoot.sShowFps in debug.prop with a debug build.
Add Intent.ACTION_APP_ERROR
13922e03037d71a538f24ddf61c0b61bb4eb5af0 13-May-2009 Romain Guy <romainguy@android.com> Fixes #1836075. Adds consistency checks for the View hierarchy. To enable them, you need a debug build and ViewDebug.sConsistencyCheckEnabled set to true in debug.prop. This change also lets you easily enable drawing and layout profiling in ViewRoot by setting ViewRoot.sProfileDrawing, ViewRoot.sProfileLayout and ViewRoot.sShowFps in debug.prop with a debug build.
bsListView.java
f2b8e68bb8392fc464f1d3c3c7af8543c2a54c62 12-May-2009 Android (Google) Code Review <android-gerrit@google.com> am da33d0d: Merge change 1424 into donut

Merge commit 'da33d0d139531ff184a1a339b734de00f1cc0743'

* commit 'da33d0d139531ff184a1a339b734de00f1cc0743':
Fixes 1844680. Interrupted scrolling could lead to rendering artifacts. The ListView was invalidating itself in opaque mode but before the drawing could happen, it was getting rid of its scrolling cache, thus becoming translucent again.
9ec7b3d3e7130247be8c290540c4747fa3627e41 12-May-2009 Android (Google) Code Review <android-gerrit@google.com> am c70b644: Merge change 1463 into donut

Merge commit 'c70b64441029b9748eea7f260f1b3521dc58eb91'

* commit 'c70b64441029b9748eea7f260f1b3521dc58eb91':
Fixes #1846038. DrawableContainer was wrongly returning its opacity by ignoring the visibility of the currently selected layer. This change simply reports a TRANSPARENT opacity if there is no currently selected layer of if the selected layer is not visible. Otherwise it reports the opacity computed by the state class.
da33d0d139531ff184a1a339b734de00f1cc0743 12-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 1424 into donut

* changes:
Fixes 1844680. Interrupted scrolling could lead to rendering artifacts. The ListView was invalidating itself in opaque mode but before the drawing could happen, it was getting rid of its scrolling cache, thus becoming translucent again.
83b2107c4d2f07f46b6ae663115421749486f8b1 12-May-2009 Romain Guy <romainguy@android.com> Fixes #1846038. DrawableContainer was wrongly returning its opacity by ignoring the visibility of the currently selected layer. This change simply reports a TRANSPARENT opacity if there is no currently selected layer of if the selected layer is not visible. Otherwise it reports the opacity computed by the state class.
elativeLayout.java
5a05faf768d275718de678ca04b7ffba95e8c9f8 12-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 08f3b52: Merge change 1404 into donut

Merge commit '08f3b5261fc31813e35cf04225ed8260f8a3bbe0'

* commit '08f3b5261fc31813e35cf04225ed8260f8a3bbe0':
Fix the build
e62a04c9cbd5a2709574a3f6649d2d8f5baebfa8 12-May-2009 Android (Google) Code Review <android-gerrit@google.com> am a2ea1d3: Merge change 1371 into donut

Merge commit 'a2ea1d376524346e3f601694751e423ce2711d6b'

* commit 'a2ea1d376524346e3f601694751e423ce2711d6b':
Fixes #1596240. Optimize invalidate/draw passes by marking opaque views and avoiding drawing them. Whenever a View requests an invalidate its parent check whether the view is opaque or not. When the view is not opaque, the framework behaves as it used to. However, when a view is opaque, the parent marks itself as being dirty because of an opaque view. Its parent then does the same, and so on. When the framework then starts drawing the views, it does not draw views marked as dirty opaque. If a view is dirty opaque and receives an invalidate request from a non-opaque view, it then clears the dirty opaque flag and behaves as before.
6dfed24158b8fc9150abee23992db621cd82aa43 12-May-2009 Romain Guy <romainguy@android.com> Fixes 1844680. Interrupted scrolling could lead to rendering artifacts. The ListView was invalidating itself in opaque mode but before the drawing could happen, it was getting rid of its scrolling cache, thus becoming translucent again.
bsListView.java
2d6afea6813be3081138874cf879ac8b0860e4ef 12-May-2009 Romain Guy <romainguy@android.com> Fix the build
istView.java
a2ea1d376524346e3f601694751e423ce2711d6b 11-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 1371 into donut

* changes:
Fixes #1596240. Optimize invalidate/draw passes by marking opaque views and avoiding drawing them. Whenever a View requests an invalidate its parent check whether the view is opaque or not. When the view is not opaque, the framework behaves as it used to. However, when a view is opaque, the parent marks itself as being dirty because of an opaque view. Its parent then does the same, and so on. When the framework then starts drawing the views, it does not draw views marked as dirty opaque. If a view is dirty opaque and receives an invalidate request from a non-opaque view, it then clears the dirty opaque flag and behaves as before.
24443ea3992e372e47daa50266b0f2ec38cac388 11-May-2009 Romain Guy <romainguy@android.com> Fixes #1596240. Optimize invalidate/draw passes by marking opaque views and avoiding drawing them. Whenever a View requests an invalidate its parent check whether the view is opaque or not. When the view is not opaque, the framework behaves as it used to. However, when a view is opaque, the parent marks itself as being dirty because of an opaque view. Its parent then does the same, and so on. When the framework then starts drawing the views, it does not draw views marked as dirty opaque. If a view is dirty opaque and receives an invalidate request from a non-opaque view, it then clears the dirty opaque flag and behaves as before.
bsListView.java
istView.java
ddf9856c7de043674d9ede006aefc7769879a4b8 09-May-2009 Mike LeBeau <mlebeau@android.com> merged 98acd54, resolved conflicts
98acd54fa6657e8131b3a2a957de7882a2f511ab 08-May-2009 Mike LeBeau <mlebeau@android.com> Make the search dialog's autocomplete dropdown behave correctly
with respect to the soft keyboard. getMaxAvailableHeight in
PopupWindow relies on View's getWindowVisibleDisplayFrame, which
always takes into account the IME, whereas in this case, because
we want the window to extend down to the bottom of the display
when it is being interacted with by the user, I added a new
boolean option 'ignoreBottomDecorations' to getMaxAvailableHeight.
If true, the method returns the height which will extend the
PopupWindow down to the bottom of the screen, rather than just
down to the IME.

Then in AutoCompleteTextView, I set this to true when the
dropDownAlwaysVisible attribute is true and the PopupWindow's
input method mode is INPUT_METHOD_NOT_NEEDED (which happens when
the list is dragged or otherwise interacted with).

Then, because the dropdown height is only calculated when we call
showDropDown(), I had to replace a couple calls to mPopup.update().

There are still a few remaining bugs here I'm tracking Still to do:
* Fix a strange re-placement of the window which happens
intermittently.
* Strange behavior when using the directional pad.
* In a few cases, the list does not correctly size itself to the IME.
This seems to be because the available height is calculated before
the IME is yet on screen, and thus is calculated as the entire screen.
utoCompleteTextView.java
opupWindow.java
b80676747d553cacc802e41bc812c8756fb4e588 08-May-2009 djken <djken2009@gmail.com> The comment lack of symbol # and parameter data type. This will cause compilation failed.
croller.java
6ea036760fc03c26201c0329700e80ce37f96c97 07-May-2009 Android (Google) Code Review <android-gerrit@google.com> am f759824: Merge change 1086 into donut

Merge commit 'f7598245489c6d28c2673acd269ada2e6e834065'

* commit 'f7598245489c6d28c2673acd269ada2e6e834065':
Fixes regression introduced in Cupcake: a couple of adapters were using setTag() to store their own data, which could interfere with the use of setTag() made by the applications. The fix is quite simple an rely on a WeakHashMap to store the holders within the adapters; using the Views as the keys of the map.
e5b7632e5b3509beb7d0729a9640741d7f4ca466 06-May-2009 Romain Guy <romainguy@android.com> Fixes regression introduced in Cupcake: a couple of adapters were using setTag() to store their own data, which could interfere with the use of setTag() made by the applications. The fix is quite simple an rely on a WeakHashMap to store the holders within the adapters; using the Views as the keys of the map.
impleAdapter.java
impleCursorAdapter.java
b6af533114cfa5a4547990e79e96bd0402c47e72 28-Apr-2009 Mihai Preda <preda@google.com> Allow ViewStub to be used in AdapterView.setEmptyView() (bug 1803058)
dapterView.java
238ebb6594bf4cb2548985abcfc6bb838a95a91f 05-May-2009 Cyril Mottier <cyrilmottier@gmail.com> Add of Javadoc comments on undocumented methods.
Use of a constant defined in SensorManager for computing deceleration.
croller.java
2d23cbfc0d7480dd6b42222bc2d54ff4c069bd79 05-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 6362741: Merge change 966 into donut

Merge commit '636274185ed5ee75faf6ef4d84bbb7d5b0371248'

* commit '636274185ed5ee75faf6ef4d84bbb7d5b0371248':
Fixes 1830181. Tapping disabled items in a ListView would cause the framework to take a code path that wasn't resetting the mMotionCorrection variable if it had been previously set. This would force ListView to apply a scroll to its children even though it was unnecessary. This simple fix prevents the issue by resetting mMotionCorrection appropriately.
636274185ed5ee75faf6ef4d84bbb7d5b0371248 05-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 966 into donut

* changes:
Fixes 1830181. Tapping disabled items in a ListView would cause the framework to take a code path that wasn't resetting the mMotionCorrection variable if it had been previously set. This would force ListView to apply a scroll to its children even though it was unnecessary. This simple fix prevents the issue by resetting mMotionCorrection appropriately.
20fb46fa1e16b57fe7aba2ac7cdf1efbf1a12393 05-May-2009 Romain Guy <romainguy@android.com> Fixes 1830181. Tapping disabled items in a ListView would cause the framework to take a code path that wasn't resetting the mMotionCorrection variable if it had been previously set. This would force ListView to apply a scroll to its children even though it was unnecessary. This simple fix prevents the issue by resetting mMotionCorrection appropriately.
bsListView.java
4b72c1eb9fb193b8a8cf0b9278b880c3e987f814 05-May-2009 Android (Google) Code Review <android-gerrit@google.com> am b7ce28c: Merge change 962 into donut

Merge commit 'b7ce28c64cc2f7250b02021f8a4cd3874155bee8'

* commit 'b7ce28c64cc2f7250b02021f8a4cd3874155bee8':
Fixes #1603191. GridView could provoke NPEs during layout passes initiated from key events.
b7ce28c64cc2f7250b02021f8a4cd3874155bee8 05-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 962 into donut

* changes:
Fixes #1603191. GridView could provoke NPEs during layout passes initiated from key events.
51d154b82b5ed95edb0a869414ecbcd4faa6a62c 05-May-2009 Romain Guy <romainguy@android.com> Fixes #1603191. GridView could provoke NPEs during layout passes initiated from key events.
ridView.java
4cc03076c2609cf137c24679e05ea86fa49954ec 05-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 724561c: Merge change 949 into donut

Merge commit '724561cc20e259888986cbb0be2fdab4d142d869'

* commit '724561cc20e259888986cbb0be2fdab4d142d869':
Fixes external #2575 (http://code.google.com/p/android/issues/detail?id=2575). HorizontalScrollView was comparing the measured height of its child to its width.
724561cc20e259888986cbb0be2fdab4d142d869 05-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 949 into donut

* changes:
Fixes external #2575 (http://code.google.com/p/android/issues/detail?id=2575). HorizontalScrollView was comparing the measured height of its child to its width.
0003a522c17560a95e60aa8cf57b952f176ea213 05-May-2009 Android (Google) Code Review <android-gerrit@google.com> am beb2498: Merge change 956 into donut

Merge commit 'beb2498ead68ca230fd13b7546a8eef7b6818e7b'

* commit 'beb2498ead68ca230fd13b7546a8eef7b6818e7b':
Fixes #1827988. Prevent marquee text from constantly rescaling itself in Market
3373ed62d1de643d3a56e3f4ece2154efa455ecc 04-May-2009 Romain Guy <romainguy@android.com> Fixes #1827988. Prevent marquee text from constantly rescaling itself in Market
extView.java
f83f59f4afcaad063997fae4a49ee56cb0b46782 04-May-2009 Romain Guy <romainguy@android.com> Fixes external #2575 (http://code.google.com/p/android/issues/detail?id=2575). HorizontalScrollView was comparing the measured height of its child to its width.
orizontalScrollView.java
3ee2f8189f145e2cd0173a20d156dec47274bd13 02-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 854c8c7: Merge change 896 into donut

Merge commit '854c8c78c1bce214f6479772d94147070ec6764f'

* commit '854c8c78c1bce214f6479772d94147070ec6764f':
make AutoCompleteTextView take the alternate anchor view into account when computing the max available space on screen.
743ae65992641263ae006605462af0290aac84ad 01-May-2009 Karl Rosaen <krosaen@google.com> make AutoCompleteTextView take the alternate anchor view into account when computing the max available space on screen.

before, it always computed the height based on the text view itself being the anchor. This fixes the clipping bug
in the search dialog.
utoCompleteTextView.java
4ba120d2ce706b1bcc34486b25b2d45463e07d9f 01-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 980d12b: Merge change 838 into donut

Merge commit '980d12b13bad50d6fbb50f3fe8f8dbc451a7d87c'

* commit '980d12b13bad50d6fbb50f3fe8f8dbc451a7d87c':
Fix typo in exception message and add a new exception if the user tries to use the same child as both the handle and content for the SlidingDrawer.
8a342a3cc07162cdb5458692f04fbc677802919e 01-May-2009 Romain Guy <romainguy@google.com> Fix typo in exception message and add a new exception if the user tries to use the same child as both the handle and content for the SlidingDrawer.
lidingDrawer.java
bb15b1cb330bafc0cac993ff0e6bf5c3ba7d10aa 30-Apr-2009 android-build SharedAccount <android-build@google.com> fixed two stray merge issues
utoCompleteTextView.java
0f9206e01b6825b72a1f92ee1f7f5a52ee048e33 29-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> am 649b1c6: Merge change 736 into donut

Merge commit '649b1c6ec317b6dd61a385df911e7fe543c5871a'

* commit '649b1c6ec317b6dd61a385df911e7fe543c5871a':
CheckedTextView is abstract but can be inflated from XML. Let's be consistent and allow it to be used from Java code as well by making it non-abstract.
bcefcb5e95810cfdd1495a74ba942af6e57a953c 29-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> am c5f1b92: Merge change 691 into donut

Merge commit 'c5f1b92d0a480f3119be8ea6eebbada402c17cf3'

* commit 'c5f1b92d0a480f3119be8ea6eebbada402c17cf3':
Fixes 1819406. Take a ListView, add headers/footers, set the adapter after at least one layout pass, and the headers/footers don't know they have a parent anymore. Which causes a lot of trouble, like drawing not happening.
bff1389c9ab4442a6e278cf84ce37eadad21a9a1 29-Apr-2009 The Android Open Source Project <initial-contribution@android.com> fix conflict markers
utoCompleteTextView.java
2f7e0447ac746e940db753178d513df914c20334 29-Apr-2009 Karl Rosaen <krosaen@google.com> am 98e333f: Fix back key and ime behavior for search dialog.

Merge commit '98e333f551a4bf2ebb50bb97a2a56b14bfdcd74b'

* commit '98e333f551a4bf2ebb50bb97a2a56b14bfdcd74b':
Fix back key and ime behavior for search dialog.
8f080ec4292be02fad9896260bbd3cf5461f9399 29-Apr-2009 The Android Open Source Project <initial-contribution@android.com> am f3ccf8a: Merge branch \'readonly-p4-donut\' into donut
8b5e7c046d4ab2fff7c4e1c67488058ff736b9ea 29-Apr-2009 Romain Guy <romainguy@google.com> CheckedTextView is abstract but can be inflated from XML. Let's be consistent and allow it to be used from Java code as well by making it non-abstract.
heckedTextView.java
c5f1b92d0a480f3119be8ea6eebbada402c17cf3 29-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 691 into donut

* changes:
Fixes 1819406. Take a ListView, add headers/footers, set the adapter after at least one layout pass, and the headers/footers don't know they have a parent anymore. Which causes a lot of trouble, like drawing not happening.
2e447d46d9936c325fe5209262564fc3c5e795a2 29-Apr-2009 Romain Guy <romainguy@google.com> Fixes 1819406. Take a ListView, add headers/footers, set the adapter after at least one layout pass, and the headers/footers don't know they have a parent anymore. Which causes a lot of trouble, like drawing not happening.
istView.java
98e333f551a4bf2ebb50bb97a2a56b14bfdcd74b 28-Apr-2009 Karl Rosaen <krosaen@google.com> Fix back key and ime behavior for search dialog.

The back key now dismisses the soft keyboard, and then the dialog.

The soft keyboard behavior is improved by having ACTV do the following when 'mDropdownAlwaysShowing' is true:
- touching outside of the drop down doesn't dismiss it
- touching the text field ensures the imei is brought in front of the drop down
utoCompleteTextView.java
f3ccf8a5a5a3f6e46781538358bddca992a70e3d 24-Apr-2009 Karl Rosaen <> Merge branch 'readonly-p4-donut' into donut
875d50a4b9294b2be33cff6493cae7acd1d07ea7 24-Apr-2009 Karl Rosaen <> AI 147564: Merge back from search branch to donut. Notes:
- all public apis and framework changes have been reviewed by relevant folks in our branch (e.g romainguy)
- all new public apis are @hidden; they will still get reviewed by api council once we're in git
- other than that, it's mostly GlobalSearch and search dialog stuff, a new apps provider, and some tweaks
to the contacts provider that was reviewed by jham

Automated import of CL 147564
bsListView.java
utoCompleteTextView.java
74008f608af0c567456d37e63d48643689388c74 23-Apr-2009 Jean-Baptiste Queru <jbq@google.com> Merge donut into master
0de7dcd126175a1bef77f2039b39df1eed4b4164 20-Apr-2009 Andreas Huber <andih@google.com> Ensure ongoing progress updates after using the scroll ball to adjust position.

We use a single outstanding message of type SHOW_PROGRESS to refresh the progress
bar's current position as well as textual display of time and duration. This message
could get lost if the scroll ball was used to adjust the current playback position as
we entered state "mDragging" which would cause the subsequent SHOW_PROGRESS message
to be a no-op and would also cause it to not be re-enqueued.
The change refactors the seekbar logic a little and makes sure that while dragging
there isn't a pending SHOW_PROGRESS message in the queue and once dragging is over,
exactly one SHOW_PROGRESS message is reenqueued.

related to bug 1721227
ediaController.java
5e8c31ac31107c0cbc4a103e4f62342b07b5876b 15-Apr-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'korg/cupcake'
269ba974fb6048ea3e39ee8dced80bf3a7887209 14-Apr-2009 Jeffrey Sharkey <> Merge branch 'readonly-p4-master'
3ff7eb92ade41dd1098b9f549662af4e2e467840 14-Apr-2009 Jeffrey Sharkey <> AI 146012: am: CL 145860 am: CL 145568 Hide setStarted() from public API.
It should be renamed to something more meaninful before being exposed.
Original author: jsharkey
Merged from: //branches/cupcake/...
Original author: android-build

Automated import of CL 146012
hronometer.java
75534fbe246e5562779500bc7cf7f0ddfe9b8330 14-Apr-2009 Dianne Hackborn <> Merge branch 'readonly-p4-master'
935ae463d495d41155e27feb849768ad2b8b16db 14-Apr-2009 Dianne Hackborn <> AI 145994: Integrate #145778 from Donut.

Automated import of CL 145994
bsListView.java
lphabetIndexer.java
ursorAdapter.java
ediaController.java
opupWindow.java
esourceCursorAdapter.java
croller.java
ideoView.java
7eb4fbdbb63c5e745bf5539c30a37da2bb273f49 13-Apr-2009 Jeffrey Sharkey <> AI 145860: am: CL 145568 Hide setStarted() from public API.
It should be renamed to something more meaninful before being exposed.
Original author: jsharkey
Merged from: //branches/cupcake/...

Automated import of CL 145860
hronometer.java
f8a7ceaef2e7d5cd530c9426bde91b6fa9a40b75 11-Apr-2009 Andy Stadler <> AI 145778: Manual merge changes 145382-145384 from cupcake.

Automated import of CL 145778
bsListView.java
lphabetIndexer.java
ursorAdapter.java
ediaController.java
opupWindow.java
esourceCursorAdapter.java
croller.java
ideoView.java
5671777ecb3f9047f5546336a724e5b97bc3dbe0 10-Apr-2009 Jeffrey Sharkey <> AI 145568: Hide setStarted() from public API.
It should be renamed to something more meaninful before being exposed.
BUG=1779168

Automated import of CL 145568
hronometer.java
48276ab989a4d775961ce30a43635a317052672a 09-Apr-2009 Dianne Hackborn <> AI 145383: API review: clean up a bunch of @hides that have been pending API review.
Either expose them, or official hide them with an explanation for why.
BUG=1779439

Automated import of CL 145383
bsListView.java
lphabetIndexer.java
ursorAdapter.java
opupWindow.java
esourceCursorAdapter.java
croller.java
5eabbd9f27b5684508b5f5f1f99030c67984ae81 09-Apr-2009 Dianne Hackborn <> AI 145382: API review: change new media keycode names to avoid ambiguity.
Updates the key maps. During this I noticed that the dream keymap didn't have all of the media buttons like the sapphire key map...! So this is now changed to match.
BUG=1779435

Automated import of CL 145382
ediaController.java
ideoView.java
12abafd643abd92a2ae2037e3f7477a6b25d2517 09-Apr-2009 Romain Guy <> Merge branch 'readonly-p4-master'
5b13cb6486188d9e37dacbd730ad9bf196bc54d3 09-Apr-2009 Romain Guy <> AI 145189: am: CL 145188 Fixes #1580949. Compress text when marquee is enabled but the text is too big by only a few percent of the TextView's width.
Original author: romainguy

Automated import of CL 145189
extView.java
939151f1eb3d2522ed952d14a9bb79235a5d7126 08-Apr-2009 Romain Guy <> AI 145188: Fixes #1580949. Compress text when marquee is enabled but the text is too big by only a few percent of the TextView's width.
BUG=1580949

Automated import of CL 145188
extView.java
e016b29d280ef162ca7e2aa0bc2753f5b1be7e74 04-Apr-2009 Romain Guy <> Merge branch 'readonly-p4-master'
8e2f6a90b4f6682251db396cd14689821f729970 04-Apr-2009 Romain Guy <> AI 144563: am: CL 144562 First pass at #1580949. Changes the marquee animation to make it less weird and jarring when the text overflows by a few pixels only. The next change will take care of compressing the text when the text is longer than the TextView by only a few % of its width.
Original author: romainguy

Automated import of CL 144563
extView.java
c23031933ff785c9edd50ccec7577f8a728e8b8f 04-Apr-2009 Romain Guy <> AI 144562: First pass at #1580949. Changes the marquee animation to make it less weird and jarring when the text overflows by a few pixels only. The next change will take care of compressing the text when the text is longer than the TextView by only a few % of its width.
BUG=1580949

Automated import of CL 144562
extView.java
aaf25b5a667ded8682646acc0aeee0655c7accc5 02-Apr-2009 Romain Guy <> Merge branch 'readonly-p4-master'
7fb60b9b4ee5c90125ea6ac499d701ce3c25f386 02-Apr-2009 Romain Guy <> AI 144080: No need to merge. Fix the build.

Automated import of CL 144080
istView.java
5ed0ea8dbd8fc4707217247144ece9a2127706d0 02-Apr-2009 Jeffrey Sharkey <> Merge branch 'readonly-p4-master'
95a1b260fcaa881cea8d6cfdcb3f80acc7580b9e 02-Apr-2009 Jeffrey Sharkey <> AI 144005: Fix auto-merge method duplication that broke build.

Automated import of CL 144005
utoCompleteTextView.java
ad28bed52ccabd252149b5297a2d94bacdb388cc 01-Apr-2009 Romain Guy <> AI 144042: Fixes #1742109. Add a new API to ListView to return the list of checked items ids.
BUG=1742109

Automated import of CL 144042
istView.java
caee1703fee75fbf37ba7774db64479a33cda82b 01-Apr-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'goog/readonly-p4-master'
f0bc7ecebf8c30732f6de109b9e04dab253c3d08 01-Apr-2009 Jeffrey Sharkey <> AI 143909: am: CL 143908 am: CL 143907 Make search widget drop-down wider.
Original author: jsharkey
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...

Automated import of CL 143909
utoCompleteTextView.java
8126ac66b631dc635d8fab8a240840989cbd2a05 01-Apr-2009 Jeffrey Sharkey <> AI 143908: am: CL 143907 Make search widget drop-down wider.
Original author: jsharkey
Merged from: //branches/cupcake/...

Automated import of CL 143908
utoCompleteTextView.java
e1ae350cb9d2e050bb7e9fa39291010c42a2a4c8 01-Apr-2009 Jeffrey Sharkey <> AI 143907: Make search widget drop-down wider.
BUG=1749373

Automated import of CL 143907
utoCompleteTextView.java
7ac3f67c179ec77caeee59b86d87d4ec007c4586 01-Apr-2009 Dianne Hackborn <> AI 143901: am: CL 143899 am: CL 143896 Fix issue #1748954 and #1737952:
#1748954 (New status bar fades into all white background): FrameLayout wasn't updating its foreground drawable when its padding changed, which would happen as the status bar is shown and hidden. To fix this I also ended up fixing a problem in the view debug stuff where we couldn't get a bitmap for a view that is the full screen size because it is too big... actually I just went ahead and added another function to snapshot the view hierarchy which works a lot better for us anyway.
#1737952 (Home screen icons overlap with the notification bar after exiting any camera app): Originally I punted this because it only happened in rare situations, but now that home is always portrait it happens a lot more so it is more important to fix. This involved a few things to clean up hiding/showing the status bar:
- We now determine when to hide and show it during layout, which allows us to do this at the time it is actually needed rather than during animation after we can actually catch it for the initial display of a window. This required tweaking the layout API so the policy can request a second layout pass if needed.
- When doing layout, we are now much more aggressive about skipping the layout of windows. Basically anything that we know will be hidden in the near future is ignored for layout, so that it doesn't glitch as it is transfered out of the screen. The theory being that it is better to leave it as it was originally placed while we are transitioning it out, than to switch it to something slightly more correct.
Original author: hackbod
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...

Automated import of CL 143901
rameLayout.java
958b9adc086f126dcd757d29f0d7f443ae9064b2 01-Apr-2009 Dianne Hackborn <> AI 143899: am: CL 143896 Fix issue #1748954 and #1737952:
#1748954 (New status bar fades into all white background): FrameLayout wasn't updating its foreground drawable when its padding changed, which would happen as the status bar is shown and hidden. To fix this I also ended up fixing a problem in the view debug stuff where we couldn't get a bitmap for a view that is the full screen size because it is too big... actually I just went ahead and added another function to snapshot the view hierarchy which works a lot better for us anyway.
#1737952 (Home screen icons overlap with the notification bar after exiting any camera app): Originally I punted this because it only happened in rare situations, but now that home is always portrait it happens a lot more so it is more important to fix. This involved a few things to clean up hiding/showing the status bar:
- We now determine when to hide and show it during layout, which allows us to do this at the time it is actually needed rather than during animation after we can actually catch it for the initial display of a window. This required tweaking the layout API so the policy can request a second layout pass if needed.
- When doing layout, we are now much more aggressive about skipping the layout of windows. Basically anything that we know will be hidden in the near future is ignored for layout, so that it doesn't glitch as it is transfered out of the screen. The theory being that it is better to leave it as it was originally placed while we are transitioning it out, than to switch it to something slightly more correct.
Original author: hackbod
Merged from: //branches/cupcake/...

Automated import of CL 143899
rameLayout.java
b3785307143556f3aba228f4c81fac96fda09ea1 01-Apr-2009 Dianne Hackborn <> AI 143896: Fix issue #1748954 and #1737952:
#1748954 (New status bar fades into all white background): FrameLayout wasn't updating its foreground drawable when its padding changed, which would happen as the status bar is shown and hidden. To fix this I also ended up fixing a problem in the view debug stuff where we couldn't get a bitmap for a view that is the full screen size because it is too big... actually I just went ahead and added another function to snapshot the view hierarchy which works a lot better for us anyway.
#1737952 (Home screen icons overlap with the notification bar after exiting any camera app): Originally I punted this because it only happened in rare situations, but now that home is always portrait it happens a lot more so it is more important to fix. This involved a few things to clean up hiding/showing the status bar:
- We now determine when to hide and show it during layout, which allows us to do this at the time it is actually needed rather than during animation after we can actually catch it for the initial display of a window. This required tweaking the layout API so the policy can request a second layout pass if needed.
- When doing layout, we are now much more aggressive about skipping the layout of windows. Basically anything that we know will be hidden in the near future is ignored for layout, so that it doesn't glitch as it is transfered out of the screen. The theory being that it is better to leave it as it was originally placed while we are transitioning it out, than to switch it to something slightly more correct.
BUG=1748954,1737952

Automated import of CL 143896
rameLayout.java
762d30a31365e5cae9ba7c2802de60a2f8c3513d 29-Mar-2009 The Android Open Source Project <initial-contribution@android.com> Merge branch 'open_source' into google_internal

Conflicts:
core/java/android/widget/TwoLineListItem.java
core/res/res/values/public.xml
preloaded-classes
1ca6a1ca84349801de093b8bff3da5fc836c101b 28-Mar-2009 Dianne Hackborn <> AI 143364: am: CL 143214 am: CL 143009 More work on issue #1739507 (kila-user build is too big): remove some unused application resources I found.
Original author: hackbod
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...

Automated import of CL 143364
woLineListItem.java
b850427a755a7a8a53f1f825d87063ca8be185d8 28-Mar-2009 Dianne Hackborn <> AI 143214: am: CL 143009 More work on issue #1739507 (kila-user build is too big): remove some unused application resources I found.
Original author: hackbod
Merged from: //branches/cupcake/...

Automated import of CL 143214
woLineListItem.java
604ed546b7b5772d9355cde280af5f26b8c4bcf5 28-Mar-2009 Romain Guy <> AI 143281: am: CL 142990 Fixes #1739360. SimpleCursorAdapter was calling (unnecessarily) toString() on the Cursor even in the case where a ViewBinder was being used. This could cause crashes when the cursor was currently on a blob. This change defers the String conversion to the case where no ViewBinder is used.
Original author: romainguy
Merged from: //branches/donutburger/...

Automated import of CL 143281
impleCursorAdapter.java
e1861133d51b9e6a6f658eb366630ad4f4d3ff8f 27-Mar-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'korg/cupcake'

Conflicts:
core/java/android/webkit/WebView.java
core/java/android/widget/TwoLineListItem.java
preloaded-classes
c4a5f87c7ad6d8bca3929e1a3c0d280951f7a12e 27-Mar-2009 Romain Guy <> AI 143240: am: CL 142790 am: CL 142788 Fixes #1730741. Marquee text was not always animated in context menus.
The reason for that bug was that the marquee could potentially be stopped/started as part of the layout workflow. Unfortunately TextView was relying on setFrame() being called after onMeasure() which is *not* always the case, especially when the widget is inside of a ListView. This change simply checks for the marquee restart flag in on the onDraw() method in case we skipped the setFrame() step.
Original author: romainguy
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...

Automated import of CL 143240
istView.java
extView.java
2b4d828e1d42565f3b7546b55101a177c67ca25d 27-Mar-2009 Dianne Hackborn <> Automated import from //branches/cupcake/...@143009,143009
woLineListItem.java
6ddfec1b193fb0ee9c55ae1f0648d6fcd66e7cd1 26-Mar-2009 Romain Guy <> Automated import from //branches/donutburger/...@142990,142990
impleCursorAdapter.java
986003d46add147714ce7e16c9fefa8c18042fc8 26-Mar-2009 Romain Guy <> Automated import from //branches/donutburger/...@142790,142790
istView.java
extView.java
3661101005c6527dfd384d0c88c4a3b68ee208af 26-Mar-2009 Romain Guy <> Automated import from //branches/cupcake/...@142788,142788
istView.java
extView.java
062a75be9c1618c07d5a3b322d7b09f3d83dc7a1 25-Mar-2009 Joe Onorato <> Automated import from //branches/master/...@142308,142308
emoteViews.java
592d0650d5bfc673082c4e58ac8ba2dc3103c842 25-Mar-2009 Joe Onorato <> Automated import from //branches/donutburger/...@142301,142301
emoteViews.java
9ea028f1e4ebac559b360d56c9c0271ad19d6b0d 25-Mar-2009 Romain Guy <> Automated import from //branches/master/...@142130,142130
istView.java
b45f124a041adf81b3ac8b8dec6b396e751e92d7 25-Mar-2009 Romain Guy <> Automated import from //branches/donutburger/...@142129,142129
istView.java
49a1a9b5a9d467411067207b4714068084a910ee 25-Mar-2009 Dianne Hackborn <> Automated import from //branches/donutburger/...@141347,141347
extView.java
8821192d5c7e86e225f369457e9149da2396277e 25-Mar-2009 Dianne Hackborn <> Automated import from //branches/master/...@141350,141350
extView.java
304eefa6a33da9b75b4075cc7eb170cf4ced4cdb 25-Mar-2009 Romain Guy <> Automated import from //branches/donutburger/...@141314,141314
istView.java
696887ca500573c509abd254e094955c559f319f 25-Mar-2009 Romain Guy <> Automated import from //branches/master/...@141315,141315
istView.java
e5a1a260c63932ffce7ad816898533639d2cb681 25-Mar-2009 Jeff Hamilton <> Automated import from //branches/donutburger/...@141106,141106
ursorAdapter.java
2c6b3b0c26b8efc40035fb70eec8562016c116a2 25-Mar-2009 Jeff Hamilton <> Automated import from //branches/master/...@141107,141107
ursorAdapter.java
aaf678a8a5c39e89056cfa546109e1f8ddf61701 25-Mar-2009 Joe Onorato <> Automated import from //branches/cupcake/...@142233,142233
emoteViews.java
1bf5e22da72b477c8b7a45ed85a4dba94be39db5 25-Mar-2009 Dianne Hackborn <> Automated import from //branches/donutburger/...@141001,141001
bsListView.java
51bf077883df4f5cc816fbfec6d19eedffc26d70 25-Mar-2009 Dianne Hackborn <> Automated import from //branches/master/...@141004,141004
bsListView.java
d9889787b22ba8a8680b8d9cd86fde0a816754f9 25-Mar-2009 Karl Rosaen <> Automated import from //branches/master/...@140913,140913
rameLayout.java
883e7eb389d55866f329150f258a70104abb10d7 25-Mar-2009 Karl Rosaen <> Automated import from //branches/donutburger/...@140911,140911
rameLayout.java
dace7ff271c7e08131202f4395ebaea99b6844c1 25-Mar-2009 Romain Guy <> Automated import from //branches/master/...@140745,140745
istView.java
2bed22744281a093ee5e76eab531819f3c62b0bf 25-Mar-2009 Romain Guy <> Automated import from //branches/donutburger/...@140741,140741
istView.java
1c9aefd471cec85f905bea4099f4a641f347e0a0 25-Mar-2009 Dianne Hackborn <> Automated import from //branches/master/...@140719,140719
extView.java
38e98fccfab9592f871f3066f8569c559f1ee226 25-Mar-2009 Dianne Hackborn <> Automated import from //branches/donutburger/...@140714,140714
extView.java
c2ad241504fcaa12d4579d3b0b4038d1ca8d08c9 20-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@141571
bsListView.java
ursorAdapter.java
rameLayout.java
istView.java
extView.java
7b0b1ed979aa665175bf3952c8902ce13c763ab8 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import //branches/master/...@140412
utoCompleteTextView.java
105925376f8d0f6b318c9938c7b83ef7fef094da 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
bsListView.java
bsSeekBar.java
rameLayout.java
ediaController.java
opupWindow.java
atingBar.java
elativeLayout.java
extView.java
oomButton.java
oomButtonsController.java
oomControls.java
2a73de7b21a89aa2ba4c254d28658b49793425b2 18-Mar-2009 Jean-Baptiste Queru <jbq@google.com> Merge commit 'remotes/korg/cupcake' into merge

Conflicts:
core/java/android/view/animation/TranslateAnimation.java
core/jni/Android.mk
core/res/res/values-en-rGB/strings.xml
libs/audioflinger/AudioFlinger.cpp
libs/surfaceflinger/LayerScreenshot.cpp
packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java
ba87e3e6c985e7175152993b5efcc7dd2f0e1c93 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
bsListView.java
utoCompleteTextView.java
rogressBar.java
extView.java
oomButtonsController.java
oomControls.java
c39a6e0c51e182338deb8b63d07933b585134929 11-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137873
bsListView.java
rrayAdapter.java
utoCompleteTextView.java
istView.java
opupWindow.java
elativeLayout.java
lidingDrawer.java
extView.java
ideoView.java
oomButtonsController.java
69577ae794751e6ecaca6a580b1b33545bd21082 10-Mar-2009 Jean-Baptiste Queru <jbq@google.com> Fix build.

Change 9099 was a little bit too aggressive and removed a line it shouldn't have.
bsSeekBar.java
17ddd72f5cd5617c20b1c536a553f94bf5367147 09-Mar-2009 Cyril Mottier <cyrilmottier@gmail.com> AbsSeekBar slightly optimized by removing a redundant snippet of code
bsSeekBar.java
b2a3dd88a53cc8c6d19f6dc8ec4f3d6c4abd9b54 09-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137197
bsListView.java
astScroller.java
ilter.java
ediaController.java
extView.java
ideoView.java
oomButtonsController.java
oomControls.java
oomRing.java
oomRingController.java
4df2423a947bcd3f024cc3d3a1a315a8dc428598 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
bsListView.java
astScroller.java
ridView.java
mageView.java
istView.java
extView.java
oomRing.java
oomRingController.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
bsListView.java
bsSeekBar.java
bsSpinner.java
bsoluteLayout.java
dapter.java
dapterView.java
lphabetIndexer.java
nalogClock.java
ppSecurityPermissions.java
rrayAdapter.java
utoCompleteTextView.java
aseAdapter.java
aseExpandableListAdapter.java
utton.java
heckBox.java
heckable.java
heckedTextView.java
hronometer.java
ompoundButton.java
ursorAdapter.java
ursorFilter.java
ursorTreeAdapter.java
atePicker.java
ialerFilter.java
igitalClock.java
oubleDigitManager.java
ditText.java
xpandableListAdapter.java
xpandableListConnector.java
xpandableListPosition.java
xpandableListView.java
astScroller.java
ilter.java
ilterQueryProvider.java
ilterable.java
rameLayout.java
allery.java
ridView.java
eaderViewListAdapter.java
orizontalScrollView.java
mageButton.java
mageSwitcher.java
mageView.java
inearLayout.java
istAdapter.java
istView.java
ediaController.java
ultiAutoCompleteTextView.java
opupWindow.java
rogressBar.java
adioButton.java
adioGroup.java
atingBar.java
elativeLayout.java
emoteViews.aidl
emoteViews.java
esourceCursorAdapter.java
esourceCursorTreeAdapter.java
crollBarDrawable.java
crollView.java
croller.java
ectionIndexer.java
eekBar.java
impleAdapter.java
impleCursorAdapter.java
impleCursorTreeAdapter.java
impleExpandableListAdapter.java
lidingDrawer.java
pinner.java
pinnerAdapter.java
abHost.java
abWidget.java
ableLayout.java
ableRow.java
extSwitcher.java
extView.java
imePicker.java
oast.java
oggleButton.java
woLineListItem.java
ideoView.java
iewAnimator.java
iewFlipper.java
iewSwitcher.java
rapperListAdapter.java
oomButton.java
oomButtonsController.java
oomControls.java
oomRing.java
oomRingController.java
ackage.html
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
bsListView.java
bsSeekBar.java
bsSpinner.java
bsoluteLayout.java
dapter.java
dapterView.java
lphabetIndexer.java
nalogClock.java
ppSecurityPermissions.java
rrayAdapter.java
utoCompleteTextView.java
aseAdapter.java
aseExpandableListAdapter.java
utton.java
heckBox.java
heckable.java
heckedTextView.java
hronometer.java
ompoundButton.java
ursorAdapter.java
ursorFilter.java
ursorTreeAdapter.java
atePicker.java
ialerFilter.java
igitalClock.java
oubleDigitManager.java
ditText.java
xpandableListAdapter.java
xpandableListConnector.java
xpandableListPosition.java
xpandableListView.java
astScroller.java
ilter.java
ilterQueryProvider.java
ilterable.java
rameLayout.java
allery.java
ridView.java
eaderViewListAdapter.java
orizontalScrollView.java
mageButton.java
mageSwitcher.java
mageView.java
inearLayout.java
istAdapter.java
istView.java
ediaController.java
ultiAutoCompleteTextView.java
opupWindow.java
rogressBar.java
adioButton.java
adioGroup.java
atingBar.java
elativeLayout.java
emoteViews.aidl
emoteViews.java
esourceCursorAdapter.java
esourceCursorTreeAdapter.java
crollBarDrawable.java
crollView.java
croller.java
ectionIndexer.java
eekBar.java
impleAdapter.java
impleCursorAdapter.java
impleCursorTreeAdapter.java
impleExpandableListAdapter.java
lidingDrawer.java
pinner.java
pinnerAdapter.java
abHost.java
abWidget.java
ableLayout.java
ableRow.java
extSwitcher.java
extView.java
imePicker.java
oast.java
oggleButton.java
woLineListItem.java
ideoView.java
iewAnimator.java
iewFlipper.java
iewSwitcher.java
rapperListAdapter.java
oomButton.java
oomControls.java
oomRing.java
oomRingController.java
ackage.html
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
bsListView.java
bsSeekBar.java
nalogClock.java
utoCompleteTextView.java
aseAdapter.java
hronometer.java
ursorAdapter.java
ilter.java
ridView.java
orizontalScrollView.java
mageView.java
istView.java
ultiAutoCompleteTextView.java
opupWindow.java
rogressBar.java
esourceCursorAdapter.java
extView.java
oomButtonsController.java
oomRing.java
oomRingController.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
bsListView.java
bsSeekBar.java
nalogClock.java
utoCompleteTextView.java
aseAdapter.java
hronometer.java
ursorAdapter.java
ilter.java
ridView.java
orizontalScrollView.java
mageView.java
istView.java
ultiAutoCompleteTextView.java
opupWindow.java
rogressBar.java
esourceCursorAdapter.java
extView.java
oomButtonsController.java
oomRing.java
oomRingController.java
15ab3eae2ec3d73b3e8aa60b33ae41445bf83f4b 20-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132569
dapter.java
extView.java
oomRing.java
oomRingController.java
3001a035439d8134a7d70d796376d1dfbff3cdcd 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
bsListView.java
hronometer.java
rameLayout.java
mageView.java
inearLayout.java
istView.java
opupWindow.java
rogressBar.java
elativeLayout.java
emoteViews.java
abHost.java
extView.java
iewFlipper.java
oomRing.java
oomRingController.java
da996f390e17e16f2dfa60e972e7ebc4f868f37e 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
bsListView.java
ursorFilter.java
atePicker.java
ilter.java
allery.java
mageView.java
emoteViews.java
extView.java
iewAnimator.java
iewFlipper.java
oomButton.java
oomRing.java
oomRingController.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
bsListView.java
nalogClock.java
utoCompleteTextView.java
ompoundButton.java
xpandableListView.java
astScroller.java
allery.java
orizontalScrollView.java
inearLayout.java
istView.java
opupWindow.java
rogressBar.java
adioGroup.java
elativeLayout.java
emoteViews.aidl
emoteViews.java
crollBarDrawable.java
crollView.java
croller.java
impleAdapter.java
lidingDrawer.java
extView.java
iewAnimator.java
oomButton.java
oomControls.java
oomRing.java
oomRingController.java
94cbba0933e50d593c1c462cff698dd3387ba95b 22-Jan-2009 The Android Open Source Project <initial-contribution@android.com> Merge branch 'cupcake'
f1e484acb594a726fb57ad0ae4cfe902c7f35858 22-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127436
utton.java
mageButton.java
emoteViews.java
extView.java
7547115694ef213f6c4ead3841296370cc07b4af 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> Merge branch 'cupcake'
22f7dfd23490a3de2f21ff96949ba47003aac8f8 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127101
utoCompleteTextView.java
ediaController.java
ideoView.java
0fda766e53fba7e829fe6e145738f6a94ce48bda 16-Jan-2009 android-build SharedAccount <android-build@undroid16.corp.google.com> Merge branch 'cupcake'
9266c558bf1d21ff647525ff99f7dadbca417309 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
bsListView.java
utoCompleteTextView.java
ursorAdapter.java
ilter.java
allery.java
opupWindow.java
crollView.java
extView.java
e570a0fa86c2eea2680f07e2c0c546f104bea948 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
b798689749c64baba81f02e10cf2157c747d6b46 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
bsListView.java
bsSeekBar.java
utoCompleteTextView.java
allery.java
rogressBar.java
atingBar.java
esourceCursorAdapter.java
eekBar.java
impleCursorAdapter.java
extView.java
e1dc1d6dc8064740b78562c3028ccc526a44597e 19-Dec-2008 Jean-Baptiste Queru <jbq@google.com> Merge commit 'remotes/korg/cupcake'

Conflicts:
core/java/com/android/internal/app/AlertController.java
core/res/res/values/strings.xml
media/java/android/media/AudioSystem.java
services/java/com/android/server/LocationManagerService.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
bsListView.java
bsSeekBar.java
bsoluteLayout.java
dapterView.java
lphabetIndexer.java
nalogClock.java
ppSecurityPermissions.java
rrayAdapter.java
utoCompleteTextView.java
aseExpandableListAdapter.java
hronometer.java
ursorAdapter.java
ursorTreeAdapter.java
atePicker.java
igitalClock.java
ditText.java
xpandableListConnector.java
xpandableListPosition.java
xpandableListView.java
astScroller.java
allery.java
ridView.java
inearLayout.java
istView.java
ediaController.java
opupWindow.java
rogressBar.java
crollBarDrawable.java
crollView.java
ectionIndexer.java
impleAdapter.java
impleCursorAdapter.java
ableLayout.java
extView.java
ideoView.java
5aa6bb1edd213bc07acad11a22821ddffc8a09da 23-Nov-2008 Jeyprakash <jey.michael@gmail.com> Avoid using the 'sample' syntax to refer to Phone Application, in the core.
This adds a build dependency on the PhoneApp, and the core build fails on
configurations that do not have Phone Application.

Build Error:
frameworks/base/core/java/android/widget/TwoLineListItem.java:31: error 2: Error reading file for include "" packages/apps/Phone/res/layout/dialer_list_item.xml
woLineListItem.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
bsListView.java
bsSeekBar.java
bsSpinner.java
bsoluteLayout.java
dapter.java
dapterView.java
nalogClock.java
ppSecurityPermissions.java
rrayAdapter.java
utoCompleteTextView.java
aseAdapter.java
aseExpandableListAdapter.java
utton.java
heckBox.java
heckable.java
heckedTextView.java
hronometer.java
ompoundButton.java
ursorAdapter.java
ursorFilter.java
ursorTreeAdapter.java
atePicker.java
ialerFilter.java
igitalClock.java
oubleDigitManager.java
ditText.java
xpandableListAdapter.java
xpandableListConnector.java
xpandableListPosition.java
xpandableListView.java
ilter.java
ilterQueryProvider.java
ilterable.java
rameLayout.java
allery.java
ridView.java
eaderViewListAdapter.java
mageButton.java
mageSwitcher.java
mageView.java
inearLayout.java
istAdapter.java
istView.java
ediaController.java
ultiAutoCompleteTextView.java
opupWindow.java
rogressBar.java
adioButton.java
adioGroup.java
atingBar.java
elativeLayout.java
emoteViews.java
esourceCursorAdapter.java
esourceCursorTreeAdapter.java
crollBarDrawable.java
crollView.java
croller.java
eekBar.java
impleAdapter.java
impleCursorAdapter.java
impleCursorTreeAdapter.java
impleExpandableListAdapter.java
pinner.java
pinnerAdapter.java
abHost.java
abWidget.java
ableLayout.java
ableRow.java
extSwitcher.java
extView.java
imePicker.java
oast.java
oggleButton.java
woLineListItem.java
ideoView.java
iewAnimator.java
iewFlipper.java
iewSwitcher.java
rapperListAdapter.java
oomButton.java
oomControls.java
ackage.html