Adam Powell
006dd76bd2
am abadb107: am c8d72a97: Merge "Track persistent nested Y offset for fling velocity" into lmp-dev
...
* commit 'abadb107b8d1bb55feb2217c7fa4417257d4e369':
Track persistent nested Y offset for fling velocity
2014-09-23 21:06:26 +00:00
Adam Powell
744beffb6a
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
2014-09-22 17:18:42 -07:00
Svetoslav
dacb58d6f6
am 5b119d7d: am 35abe50d: Merge "Keep existing API behavior that regressed." into lmp-dev
...
* commit '5b119d7db1ccce7aef5230020ddc00fee858d573':
Keep existing API behavior that regressed.
2014-09-19 22:02:13 +00:00
Svetoslav
1258dd2142
Merge "Keep existing API behavior that regressed." into lmp-dev
2014-09-19 21:41:39 +00:00
Svetoslav
b624244325
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
2014-09-19 13:59:10 -07:00
Adam Powell
dca6740355
am 8040e47d: am 20ffcaa1: Merge "Add colorEdgeEffect to themes, default it to colorPrimary" into lmp-dev
...
* commit '8040e47d83e3fe2c1d28c2dcbfbd80fd5cc0b26f':
Add colorEdgeEffect to themes, default it to colorPrimary
2014-09-19 20:53:01 +00:00
Adam Powell
17f48457d2
Merge "Add colorEdgeEffect to themes, default it to colorPrimary" into lmp-dev
2014-09-19 20:31:14 +00:00
Adam Powell
c6c744da75
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
2014-09-19 12:50:31 -07:00
Alan Viverette
7c7e3ba312
am c17a38b1: am 40994e66: Merge "Fix radial time picker inner circle (1-12) selections" into lmp-dev
...
* commit 'c17a38b12d936885a9867e92e40d6e740f2d98f4':
Fix radial time picker inner circle (1-12) selections
2014-09-19 19:36:07 +00:00
Alan Viverette
840855c021
Merge "Fix radial time picker inner circle (1-12) selections" into lmp-dev
2014-09-19 19:11:47 +00:00
Alan Viverette
bb696dcca9
Fix radial time picker inner circle (1-12) selections
...
Result of a poorly collapsed set of if block conditionals.
BUG: 17580782
Change-Id: I7f7e5038f943d1f49e1541acfa282479cb2505ea
2014-09-19 10:20:45 -07:00
Yigit Boyar
4a40485725
am de86d9c2: am 6cdaab18: Merge "Fix scroll position calculation when clipToPadding is false" into lmp-dev
...
* commit 'de86d9c24f89642289012d865cdd604bbe056bda':
Fix scroll position calculation when clipToPadding is false
2014-09-19 03:52:57 +00:00
Yigit Boyar
40c6c555e9
Fix scroll position calculation when clipToPadding is false
...
Bug: 17568582
Change-Id: I904450d62c93105db5c61a071c7816278bb441be
2014-09-18 16:31:52 -07:00
Brian Attwell
e3a742f5a0
am 942be889: am 56d143ae: Merge "Pass different dy into dispatchNestedSCroll" into lmp-dev
...
* commit '942be889125d2530091f192a8872009580594313':
Pass different dy into dispatchNestedSCroll
2014-09-16 23:58:09 +00:00
Alan Viverette
1ebc3fb56b
am 36c132a8: am 67798394: Merge "Preserve NPE behavior of removed TextView.getTextColors() API" into lmp-dev
...
* commit '36c132a84be88e395e567c66ccc897c6fe628c62':
Preserve NPE behavior of removed TextView.getTextColors() API
2014-09-16 23:43:02 +00:00
Alan Viverette
03b51f427f
am 17f9b8d6: am 07e867a0: Merge "Fix TimePicker.setCurrentHour() when argument is 0" into lmp-dev
...
* commit '17f9b8d6f921dd2c8ce5f265645e63919d9dd474':
Fix TimePicker.setCurrentHour() when argument is 0
2014-09-16 23:42:57 +00:00
Brian Attwell
5665c0f265
Merge "Pass different dy into dispatchNestedSCroll" into lmp-dev
2014-09-16 23:33:24 +00:00
Alan Viverette
af8e823d99
Merge "Preserve NPE behavior of removed TextView.getTextColors() API" into lmp-dev
2014-09-16 23:25:07 +00:00
Alan Viverette
4813482324
Merge "Fix TimePicker.setCurrentHour() when argument is 0" into lmp-dev
2014-09-16 23:23:23 +00:00
Craig Mautner
6e85aada76
am b23fec37: am 880d88b3: Merge "Restore changes that were needed." into lmp-dev
...
* commit 'b23fec371a22975abfb5a2951b4cf05d4b7238f2':
Restore changes that were needed.
2014-09-16 23:14:46 +00:00
Craig Mautner
a67d9095b7
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
2014-09-16 15:50:32 -07:00
Brian Attwell
e0e4217330
Pass different dy into dispatchNestedSCroll
...
Bug: 16462679
Bug: 17529919
Change-Id: I328457a27507253cc7bfeab0e2daa4d4563aab17
2014-09-16 22:48:27 +00:00
Alan Viverette
fe16787bd4
Preserve NPE behavior of removed TextView.getTextColors() API
...
BUG: 17511449
Change-Id: Iea7e9aed69c21b230e3c474d4c1378a8663cfcb1
2014-09-16 15:41:27 -07:00
Craig Mautner
884d31943c
am e80f40c5: am b53e4c4a: Merge "Revert "Fix various bugs in DatePickerCalendarDelegate"" into lmp-dev
...
* commit 'e80f40c5e86fff5ce075082b8ecbf23ea429f1dd':
Revert "Fix various bugs in DatePickerCalendarDelegate"
2014-09-16 22:39:06 +00:00
Craig Mautner
704991224d
Merge "Revert "Fix various bugs in DatePickerCalendarDelegate"" into lmp-dev
2014-09-16 22:16:29 +00:00
Craig Mautner
706b3547f8
Revert "Fix various bugs in DatePickerCalendarDelegate"
...
alanv@ fixed this yesterday.
This reverts commit 82537efa4c5f4aad12b9aa249fb27eda21647f39.
Change-Id: If2b91ee36f8b24f695200ac1a87a306246ee5e44
2014-09-16 22:13:39 +00:00
Craig Mautner
3cb639d471
am 48ae7ee3: am 459b2ba5: Merge "Fix various bugs in DatePickerCalendarDelegate" into lmp-dev
...
* commit '48ae7ee3f980c811bf0ff8fc9e9797133d9bc3a5':
Fix various bugs in DatePickerCalendarDelegate
2014-09-16 21:51:50 +00:00
Amit Mahajan
7c511fee3f
am 5807817d: am c5429d6f: Merge "Use Op package name when creating toasts" into lmp-dev
...
* commit '5807817d293e705c23fa062db22345323da8d372':
Use Op package name when creating toasts
2014-09-16 21:34:59 +00:00
Craig Mautner
f6b4254bef
Merge "Fix various bugs in DatePickerCalendarDelegate" into lmp-dev
2014-09-16 21:30:29 +00:00
Craig Mautner
9c26b54d3c
Fix various bugs in DatePickerCalendarDelegate
...
These bugs were exposed by cts DatePickerTest.
Fixes one item in 17459129.
Change-Id: Ifab52c6e6e760b75633aa4fe8ccf2d724f587e09
2014-09-16 13:57:59 -07:00
Amit Mahajan
915a666c21
Merge "Use Op package name when creating toasts" into lmp-dev
2014-09-16 20:47:24 +00:00
Alan Viverette
dcfe464fbf
am ab9cbf1c: am 7194361c: Merge "Properly handle dispatchRestoreInstanceState for new-style DatePicker" into lmp-dev
...
* commit 'ab9cbf1ca187453910ceca717e54843c7494cb98':
Properly handle dispatchRestoreInstanceState for new-style DatePicker
2014-09-16 18:13:53 +00:00
Tony Hill
929442d509
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
2014-09-16 10:16:43 -07:00
Alan Viverette
1454fe9553
am 56fbc575: am 1375db70: Merge "Always apply ImageView\'s tint attribute using SRC_ATOP by default" into lmp-dev
...
* commit '56fbc5751bd2da6227c03372f3d90ab4c7333f22':
Always apply ImageView's tint attribute using SRC_ATOP by default
2014-09-16 08:59:18 +00:00
Alan Viverette
d015e3454e
Properly handle dispatchRestoreInstanceState for new-style DatePicker
...
Fixes reversed day/month/year in restore instance state.
BUG: 17514055
Change-Id: Id839f2f0dbca47034dc84100dbeb1c32e8848178
2014-09-15 19:27:55 -07:00
Alan Viverette
d735c9b1ed
Fix TimePicker.setCurrentHour() when argument is 0
...
BUG: 17515453
Change-Id: Ie67db01ed3c574a23ec377de15e48aa1b4ae3709
2014-09-15 18:54:10 -07:00
Alan Viverette
38f93bcb21
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
2014-09-15 16:25:09 -07:00
Alan Viverette
14d639755e
am 62b910c0: am 6ef642ca: Merge "Clean up view drawable tinting methods, fix default modes" into lmp-dev
...
* commit '62b910c008da3fbcf11f67340002aa14e1d297b0':
Clean up view drawable tinting methods, fix default modes
2014-09-15 00:00:37 +00:00
Alan Viverette
b56f5d2ab1
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
2014-09-14 15:48:50 -07:00
Adam Powell
214860b030
am 7362db5d: am 91089aa5: Merge "Make Toolbars eat touch events" into lmp-dev
...
* commit '7362db5d1c24ccc9e0c641d8d3f5ff0eefb1bc37':
Make Toolbars eat touch events
2014-09-12 23:21:18 +00:00
Adam Powell
f116056a80
Merge "Make Toolbars eat touch events" into lmp-dev
2014-09-12 21:49:25 +00:00
Adam Powell
61d15b9856
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
2014-09-12 14:11:28 -07:00
Alan Viverette
7d6fc23fe7
am 99c628c4: am 4e7d44a5: Merge "Fix toolbar height, list divider alpha, action item padding" into lmp-dev
...
* commit '99c628c49642ac29511f7ae642ebfd031091a026':
Fix toolbar height, list divider alpha, action item padding
2014-09-12 20:27:11 +00:00
Alan Viverette
9d9581f52e
Fix toolbar height, list divider alpha, action item padding
...
BUG: 17487305
BUG: 17470290
BUG: 17486967
Change-Id: Ib0cb4308f9d57e730504bdeb125662b648cad0f7
2014-09-12 12:54:02 -07:00
Yohei Yukawa
6468b783c6
am 5bdb322f: am b7dd9519: Merge "API Review: Clean up removed APIs" into lmp-dev
...
* commit '5bdb322f8cdbc89113df20d79054d3f6c5d1ad44':
API Review: Clean up removed APIs
2014-09-12 08:27:06 +00:00
Alan Viverette
129890704d
am 36348edf: am d843db67: Merge "Remove unsafe methods that take TypedArray" into lmp-dev
...
* commit '36348edf997963043ca1fbf91dc59615d43ebcb1':
Remove unsafe methods that take TypedArray
2014-09-12 05:47:03 +00:00
Alan Viverette
1c3d3e6a01
am bba2b9e8: am 8c7810a4: Merge "Vertically align toolbar child views with similar gravities" into lmp-dev
...
* commit 'bba2b9e8221a91dd03036b47e90f1ea364dc4fd2':
Vertically align toolbar child views with similar gravities
2014-09-12 05:45:53 +00:00
Yohei Yukawa
3fadee4791
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
2014-09-12 11:32:31 +09:00
Alan Viverette
e461d549bf
Merge "Remove unsafe methods that take TypedArray" into lmp-dev
2014-09-12 01:30:35 +00:00
Alan Viverette
5171dee215
Remove unsafe methods that take TypedArray
...
BUG: 15782973
Change-Id: Ief4ff69c90c16b0e8c93316af9d46ae9639648fa
2014-09-11 16:33:01 -07:00