Commit Graph

4618 Commits

Author SHA1 Message Date
John Reck
59f71093fe am 969f3860: am ad0faa70: Merge "Animator stuff" into lmp-dev
* commit '969f3860d940bdcaa66441d561448cca92ebd8ea':
  Animator stuff
2014-08-28 03:39:21 +00:00
John Reck
4c5a27b5f6 Merge "Animator stuff" into lmp-dev 2014-08-28 01:38:58 +00:00
John Reck
119907cd25 Animator stuff
Bug: 17228458

Change-Id: Id884a429a512f9cd2be0ed16dbd0f10e92b4440d
2014-08-27 17:44:25 -07:00
Alan Viverette
7b5bf2f10b am 4c06e89b: am 4f17dc02: Merge "Update date and time picker styling" into lmp-dev
* commit '4c06e89b3c661ebb3451ff64c293b823e8c655b7':
  Update date and time picker styling
2014-08-26 23:10:02 +00:00
Alan Viverette
03740d74ca Merge "Update date and time picker styling" into lmp-dev 2014-08-26 22:51:50 +00:00
Adam Powell
94dab8cf72 am f0b3161f: am 44c81774: Merge "Add state save/restore for Toolbar" into lmp-dev
* commit 'f0b3161f44379e2c11b9e3108b4dd2f2e54a8b00':
  Add state save/restore for Toolbar
2014-08-26 04:56:59 +00:00
Adam Powell
b79a70ab71 Merge "Add state save/restore for Toolbar" into lmp-dev 2014-08-26 01:29:15 +00:00
Adam Powell
31c91c8179 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
2014-08-25 18:25:54 -07:00
Alan Viverette
7119d0d66b 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
2014-08-25 17:27:02 -07:00
Svet Ganov
c14c828fcd am 43e9ef49: am bd394c7a: Merge "RemoteViews service not unbound." into lmp-dev
* commit '43e9ef4959f1dda00bfcb14a18afa7684ba2b485':
  RemoteViews service not unbound.
2014-08-25 18:09:58 +00:00
Svet Ganov
f2a778683d Merge "RemoteViews service not unbound." into lmp-dev 2014-08-25 17:48:06 +00:00
Svet Ganov
5771ad7bc7 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
2014-08-24 20:02:47 -07:00
Yigit Boyar
c57a47a02c am af314829: am aca6557c: Merge "Clear TextView error when text changes" into lmp-dev
* commit 'af314829d18caaeb84b0a6bdd7e8745f799c9df6':
  Clear TextView error when text changes
2014-08-23 00:50:22 +00:00
Yigit Boyar
3edb23bc8e Merge "Clear TextView error when text changes" into lmp-dev 2014-08-23 00:31:00 +00:00
Yigit Boyar
412bb5ca63 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
2014-08-22 16:29:08 -07:00
Elliott Hughes
49e927ecd6 am 8f038952: am fff90ffb: Merge "Use CLDR narrow am/pm markers." into lmp-dev
* commit '8f0389527241cb5b8adada12b9084b5c7f38bb84':
  Use CLDR narrow am/pm markers.
2014-08-22 23:23:52 +00:00
Elliott Hughes
ed40256670 Merge "Use CLDR narrow am/pm markers." into lmp-dev 2014-08-22 23:02:14 +00:00
Ronghua Wu
25a4b4b3dd am 4f643cf0: am 29b2d44c: Merge "VideoView: unhide setVideoURI api and add document." into lmp-dev
* commit '4f643cf0e7736b5be31419b38890cd92d6586936':
  VideoView: unhide setVideoURI api and add document.
2014-08-22 19:33:17 +00:00
Ronghua Wu
0e9e3b213e VideoView: unhide setVideoURI api and add document.
Bug: 16899444
Change-Id: I576a4b334d8b1fe89f93df3587386ac7f9455687
2014-08-22 10:56:36 -07:00
Yohei Yukawa
75830944a8 am 3756a2e2: am dc42737e: Remove CursorAnchorInfoRequest and related stuff
* commit '3756a2e2b17bee21d729c99488635d7d93010ce0':
  Remove CursorAnchorInfoRequest and related stuff
2014-08-22 09:17:28 +00:00
Yohei Yukawa
a277db28e9 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
2014-08-22 00:55:06 -07:00
Alan Viverette
c7a2d8a066 am aa311e15: am 37ec02e0: Merge "Clean up nullable listeners in date and time picker delegates" into lmp-dev
* commit 'aa311e1599135ab48305e7cde5b219cae72d3f93':
  Clean up nullable listeners in date and time picker delegates
2014-08-22 02:59:26 +00:00
Elliott Hughes
1cc51a6c6c Use CLDR narrow am/pm markers.
Bug: 16938600
Bug: 16842390
Change-Id: Ia1c6470e233966c0d8c399d7c1a22c640fbc40e9
2014-08-21 16:21:30 -07:00
Alan Viverette
9468c6a28e 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
2014-08-21 13:56:54 -07:00
Chris Craik
b1e59e8563 am 6ec6fe3a: am 7d271c37: Merge "Clarify text shadow attribute/method comments" into lmp-dev
* commit '6ec6fe3ac2b003208e82848725896866a0945bcf':
  Clarify text shadow attribute/method comments
2014-08-21 17:04:44 +00:00
Chris Craik
c56a1a51a9 Merge "Clarify text shadow attribute/method comments" into lmp-dev 2014-08-21 16:46:53 +00:00
Chris Craik
5faf85b6dd Clarify text shadow attribute/method comments
bug:17157162

Change-Id: I7abe7c0eb1973ddf7d7a17d9dd85c08833c4bf88
2014-08-20 17:59:25 -07:00
Alan Viverette
5709934c71 am 28646cf6: am 0f9a48b6: Merge "Use correct single-letter date format in SimpleMonthView" into lmp-dev
* commit '28646cf6ab8f5837b44bed1393bce06d7ece508a':
  Use correct single-letter date format in SimpleMonthView
2014-08-21 00:44:26 +00:00
Adam Powell
6240d0bc3f am 04fd54d4: am 330a5bec: Merge "Update text selection handles to have a minimum touch target size." into lmp-dev
* commit '04fd54d4c543e6516fb2bfd823f53e376e97197d':
  Update text selection handles to have a minimum touch target size.
2014-08-20 03:10:42 +00:00
Alan Viverette
3ae3e02022 am 0118f49a: am 7617ae5f: Merge "Fix alignParentRight/End in RelativeLayout" into lmp-dev
* commit '0118f49a9edf5a0f64a3967539f9c3a474cd0db7':
  Fix alignParentRight/End in RelativeLayout
2014-08-19 23:44:21 +00:00
Alan Viverette
aff1efa622 Merge "Use correct single-letter date format in SimpleMonthView" into lmp-dev 2014-08-19 22:53:25 +00:00
Alan Viverette
fd2dd208d9 Use correct single-letter date format in SimpleMonthView
Also fixes layout on sw600dp-land (by removing the sw600dp layout!).

BUG: 17068298
Change-Id: I2545d0e1904a0028156b96b6ad17674c6107ce5d
2014-08-19 18:11:54 -07:00
Alan Viverette
567e44797b Fix alignParentRight/End in RelativeLayout
BUG: 17136816
Change-Id: If7edb2e0216384429f4caf7e9aae01c09ddd8be4
2014-08-19 15:41:51 -07:00
Alan Viverette
6d58ab0346 am 3d3783ec: am 417f92da: Merge "Update fast scroller preview for Material" into lmp-dev
* commit '3d3783ec27d7b3aafbd08d6695d37543e9a337f8':
  Update fast scroller preview for Material
2014-08-18 23:16:31 +00:00
Alan Viverette
d59c585588 Merge "Update fast scroller preview for Material" into lmp-dev 2014-08-18 21:31:41 +00:00
Svetoslav
7a3867f3e5 am f0307cc9: am 1b3e768a: Merge "Fix a crash in RemoteViews." into lmp-dev
* commit 'f0307cc91363b8e2b37372b72a5a44c3ce9aa9ab':
  Fix a crash in RemoteViews.
2014-08-18 19:28:58 +00:00
Adam Powell
240ecfe54f Merge "Update text selection handles to have a minimum touch target size." into lmp-dev 2014-08-16 04:32:18 +00:00
Adam Powell
3fceabd64c 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
2014-08-19 18:28:31 -07:00
Svetoslav
14494a8760 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
2014-08-18 10:54:12 -07:00
Alan Viverette
7544bb43f0 am 95495581: am 4c200997: Merge "Fix date and time picker styling" into lmp-dev
* commit '954955811273138b9262f8a1e2ae6df78bdf77e0':
  Fix date and time picker styling
2014-08-16 03:14:24 +00:00
Alan Viverette
5502a547eb am 1125e88d: am 04ce8195: Merge "Scrapping the view at position zero is still position zero" into lmp-dev
* commit '1125e88d3955f900242754691238995b45d00027':
  Scrapping the view at position zero is still position zero
2014-08-16 03:12:58 +00:00
Alan Viverette
e8311ac850 Update fast scroller preview for Material
BUG: 16374061
Change-Id: Iefbbc4f3e8eccb89072bd0885cc337f9e0470d81
2014-08-15 19:58:04 -07:00
Alan Viverette
aeda0586f3 Merge "Fix date and time picker styling" into lmp-dev 2014-08-15 21:23:40 +00:00
Alan Viverette
4771b55d13 Scrapping the view at position zero is still position zero
BUG: 16418789
Change-Id: I8334d6b37efa1f853152ef2cea041db69e41d24e
2014-08-15 18:02:23 -07:00
Alan Viverette
518ff0de95 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
2014-08-15 14:20:35 -07:00
Alan Viverette
baa61eeef2 am db31926c: am d264eeda: Merge "Fix TextView clickable state when using onClick attribute" into lmp-dev
* commit 'db31926c2256a25de317c76597493d617797bb55':
  Fix TextView clickable state when using onClick attribute
2014-08-15 11:48:44 +00:00
Adam Powell
9e6e6e4496 am f38fb34a: am 7622c178: Merge "Show checkmarks at the start of material AlertDialog list items" into lmp-dev
* commit 'f38fb34adb4b5929e611aadf0c6bb43e5acdb4ac':
  Show checkmarks at the start of material AlertDialog list items
2014-08-15 11:35:22 +00:00
Adam Powell
16f2b90d6a Show checkmarks at the start of material AlertDialog list items
Also fix a bug in parsing CheckedTextView tinting attributes

Bug 16552638

Change-Id: I20d41b6f6d418fdc115108d31f4f463e371794d2
2014-08-14 13:11:12 -07:00
Alan Viverette
acc2c07b24 am ae1970d9: am 48286f82: Merge "Add API for obtaining max text length for accessibility" into lmp-dev
* commit 'ae1970d95d09d717fb795bbc23906d4b4e1503ee':
  Add API for obtaining max text length for accessibility
2014-08-13 00:39:28 +00:00
Alan Viverette
f32efebf9b Fix TextView clickable state when using onClick attribute
Change-Id: I67347f3c80958e47abc124f1a8c0ffec01175378
2014-08-15 00:36:17 +00:00