Commit Graph

4042 Commits

Author SHA1 Message Date
Lajos Molnar
9c5b14977c am a0d70290: am 171c63db: Merge "Add subtitle support to VideoView." into klp-dev
* commit 'a0d702908cc2da75e0102e1a2f276e2b3feea198':
  Add subtitle support to VideoView.
2013-09-04 14:38:51 -07:00
Fabrice Di Meglio
165d0d5738 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
2013-09-04 14:35:09 -07:00
Alan Viverette
132fb928dc Merge "Move viscous fluid interpolator to its own class" 2013-09-04 21:33:30 +00:00
Lajos Molnar
171c63db92 Merge "Add subtitle support to VideoView." into klp-dev 2013-09-04 21:32:43 +00:00
Fabrice Di Meglio
3ab8e8847d Merge "Fix bug #10514694 Specifying android:gravity="center_vertical|left" results in negative vertical positioning of child" into klp-dev 2013-09-04 21:26:55 +00:00
Alan Viverette
5c08f7cf86 am 1d26f041: am 3aa18248: Merge "Implement drag-to-open in ActivityChooserView" into klp-dev
* commit '1d26f041ab15a9c30fcd8378d5284d9692fba56e':
  Implement drag-to-open in ActivityChooserView
2013-09-04 14:24:41 -07:00
Alan Viverette
3aa1824801 Merge "Implement drag-to-open in ActivityChooserView" into klp-dev 2013-09-04 21:17:00 +00:00
Alan Viverette
d75e2539c1 Move viscous fluid interpolator to its own class
Change-Id: If7dcc968895ba9200b40fbc7d7aded6e6bbf6ff7
2013-09-04 14:16:08 -07:00
Fabrice Di Meglio
2bd961ae38 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
2013-09-04 12:30:19 -07:00
Lajos Molnar
484ff7a922 Add subtitle support to VideoView.
Change-Id: Ibfde491a624272c4f9733098529ad70c6aa93fe0
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10326117
2013-09-03 23:33:05 -07:00
Alan Viverette
c80531ae5f am f37fb4d9: am 40fbaa79: Merge "Fix pre tag formatting in getDragToOpenListener documentation" into klp-dev
* commit 'f37fb4d95b6ed790b7c2de5268bd3e20d76aa146':
  Fix pre tag formatting in getDragToOpenListener documentation
2013-09-03 17:53:43 -07:00
Alan Viverette
40fbaa79bc Merge "Fix pre tag formatting in getDragToOpenListener documentation" into klp-dev 2013-09-04 00:44:11 +00:00
Alan Viverette
84ae8913a7 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
2013-09-03 16:57:11 -07:00
Alan Viverette
6416729c47 Merge "Add methods for managing subtitle overlays in VideoView" into klp-dev 2013-09-03 23:51:35 +00:00
Alan Viverette
419c8ebbdc 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
2013-09-03 16:38:58 -07:00
Alan Viverette
de59baab31 Merge "Ensure list scrolling API is in parity with view scrolling API" into klp-dev 2013-09-03 23:33:03 +00:00
Alan Viverette
de213f708f 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
2013-09-03 16:18:42 -07:00
Alan Viverette
ba29906334 Ensure list scrolling API is in parity with view scrolling API
Change-Id: Icaf533c0085b80f3c52cc026e0da7468698724f9
2013-09-03 16:01:51 -07:00
Lajos Molnar
3e63d77837 am a7cd8835: am a861245f: Merge "VideoView: add addSubtitleSource" into klp-dev
* commit 'a7cd8835bb1392d5512012160bc8bd2ccad3efaf':
  VideoView: add addSubtitleSource
2013-09-03 15:54:54 -07:00
Lajos Molnar
a861245f06 Merge "VideoView: add addSubtitleSource" into klp-dev 2013-09-03 22:51:32 +00:00
Alan Viverette
5d46c89e3c Implement drag-to-open in ActivityChooserView
BUG: 10606456
Change-Id: I9ac0c5076bb1bf6c3f8a674bb2ef998d8515e8d9
2013-09-03 14:56:26 -07:00
Lajos Molnar
af30982435 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
2013-08-30 14:59:46 -07:00
Alan Viverette
3f9832d3c7 Fix pre tag formatting in getDragToOpenListener documentation
BUG: 10549164
Change-Id: Ie3e05e918edbd737326c724e4e712279ac410238
2013-08-30 14:43:25 -07:00
Adam Powell
bdb284c516 am 91fa056a: am 27439903: Merge "GridLayout changes for API council" into klp-dev
* commit '91fa056a58fdad8f8e6e8a76a902c2a566364f29':
  GridLayout changes for API council
2013-08-29 15:43:04 -07:00
Adam Powell
465ea74234 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)
2013-08-29 21:59:22 +00:00
Fabrice Di Meglio
a31d3fa293 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
2013-08-28 14:07:07 -07:00
Alan Viverette
c5c4809c95 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
2013-08-28 14:06:30 -07:00
Alan Viverette
167bba4cbd 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
2013-08-28 14:06:17 -07:00
Fabrice Di Meglio
627dd9b584 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 2013-08-28 19:53:56 +00:00
Alan Viverette
5b2081dc41 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
2013-08-28 10:43:07 -07:00
Alan Viverette
116c12ef4c Merge "Add public API for obtaining drag-to-open listener" into klp-dev 2013-08-28 17:25:06 +00:00
Fabrice Di Meglio
b08e5788a7 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
2013-08-27 17:43:53 -07:00
Alan Viverette
1955a5b531 Add public API for obtaining drag-to-open listener
BUG: 10457019
Change-Id: I66485521c54b82033044834e7aab6707a3049e6b
2013-08-27 15:45:16 -07:00
Fabrice Di Meglio
e94aceabdb resolved conflicts for merge of 71de1312 to master
Change-Id: Ib2065147a3160b5176fd44a4d14bec06c7c973e1
2013-08-27 12:56:20 -07:00
Fabrice Di Meglio
6d7771b575 Merge "Fix bug #10462461 CTS TimePickerTest are broken for testSetOnTimeChangedListener()" into klp-dev 2013-08-27 19:04:13 +00:00
Svetoslav Ganov
a07935f4a5 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
2013-08-27 11:18:49 -07:00
Svetoslav Ganov
6b8c69edd2 Merge "Update AccessibilityNodeInfo API as per API council request" into klp-dev 2013-08-27 18:14:01 +00:00
Svetoslav Ganov
cb8ed39b3f Update AccessibilityNodeInfo API as per API council request
bug:10461302

Change-Id: I9709a271ab3720e064b98c79c0950d811fe37b73
2013-08-27 08:26:13 -07:00
Alan Viverette
84ba33acf9 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
2013-08-26 15:12:03 -07:00
Alan Viverette
4425a3d250 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
2013-08-26 15:12:00 -07:00
Alan Viverette
06804da177 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
2013-08-26 15:11:56 -07:00
Alan Viverette
aad4417868 Merge "Use transient state to preserve accessibility focus in ListView" into klp-dev 2013-08-26 20:49:50 +00:00
Alan Viverette
faf7a2087e Merge "Add auto-scrolling in ListPopupWindow drag-to-open mode" into klp-dev 2013-08-26 20:49:28 +00:00
Fabrice Di Meglio
138de8e16d 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
2013-08-23 19:38:05 -07:00
Alan Viverette
69960142ef 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
2013-08-22 17:26:57 -07:00
Alan Viverette
6820751c0a 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
2013-08-22 12:33:07 -07:00
Fabrice Di Meglio
9e4009ea15 Decouple TimePicker code
- introduce a TimePickerDelegate interface to be able to have several
TimePicker implementations
- code refactoring

Change-Id: I0d8bdfdb4c2723a51311c01fbd485e34983bb423
2013-08-21 18:47:04 -07:00
Alan Viverette
5e66021c8a Add auto-scrolling in ListPopupWindow drag-to-open mode
BUG: 9437139
Change-Id: I836c60b48b31d0a5cc32eef903da9dc0b9b9d8a5
2013-08-21 13:21:45 -07:00
Alan Viverette
a2e88ef896 Merge "Move forwarding code to ListPopupWindow, add drag-to-open in Spinner" into klp-dev 2013-08-21 17:56:00 +00:00
Alan Viverette
058ac7cfe5 Use MULTI_LINE and OPENS_POPUP accessibility properties
BUG: 10391326
Change-Id: Ib2deeeef401802b6dde646e14ee5367141469a58
2013-08-19 16:44:30 -07:00