Age | Commit message (Collapse) | Author |
|
|
|
We're avoiding injecting car-ui LayoutInflaterFactory when the launching
Activity is not using Theme.CarUi.
A workaround for these cases if they're intentionally trying to use
car-ui components on a non car-ui Activity is adding the following attr
to their theme.
<item name="carUiActivity">true</item>
Bug: 196567855
Test: Manually
Change-Id: I0256a2f5f8f9dc9b01101f0013eeec3f6506ac2d
|
|
Bug: 194954154
Test: manual
Change-Id: Ifbd468ec38a2cb519e5f5343dde5e64c10d2a8aa
|
|
Bug: 194148552
Test: manual
Change-Id: I6e2509a8eda887cb5a1edebd6f48530f33448f2c
|
|
Migrate from the old nudge shortcut attributes that only let you
specify a single shortcut to the new attributes that let you specify
up to four shortcuts.
Bug: 187223909
Test: manually nudge in custom focus area tab of Rotary Playground
Change-Id: Ia2c5a244198335e0f9918bfb123299561ea31abd
|
|
Add a FocusArea to the Cards tab to demonstrate how to update a
view properly.
Fixes: 185377477
Test: manual
Change-Id: I66038ef4677ee904246bf1dd16503fca4b27c9c1
|
|
Enable wrap-around in the top-left FocusArea in the Custom FocusAreas
tab.
Test: rotate in the top-left FocusArea in the Custom FocusAreas tab
Test: rotate in other FocusAreas
Bug: 177373453
Change-Id: I1eb2ddaeed048b0bf75da6e0761417dd3d4b91a0
|
|
Make Scroll tab in RotaryPlayground use app:rotaryScrollEnabled custom
attribute rather than setting the content description.
Test: Use Scroll tab in RotaryPlayground
Bug: 171339427
Change-Id: Id44fa7dcc9220c9b91b45f8ad24fba108dfe4039
|
|
Disable the default focus highlight on the WebView in the
RotaryPlayground.
Test: use rotary to focus a link in the sample WebView
Bug: 173152508
Change-Id: I12adb7de0f144d4b82df10d2298b9b6cccef1e27
|
|
Now that CarUiRecyclerViews no longer default to being considered
scrollable containers, we need to explicitly tag the demo scrollable
container in RotaryPlayground.
Test: scroll in "scroll" tab of the demo app
Bug: 160922045
Change-Id: I22c7d8a6e975d3a5718637d4d65e371254f2ac7c
Merged-In: I22c7d8a6e975d3a5718637d4d65e371254f2ac7c
|
|
Bug: 155698037
Test: manual
Change-Id: I4bf0648d66da4804e9d67c8f98accd92f65cbd41
|
|
|
|
Add another fragment to the RotaryPlayground reference app for testing
rotary navigation into, out of, and within WebViews.
The WebView's content is chosen to include sections without any
focusable elements.
Includes a button to toggle the visibility of two buttons in the same
focus area with the WebView. This enables testing:
- nudging into a focus area with only a WebView without any visible
focusable elements
- rotating into a WebView without any visible focusable elements.
Bug: 159936127
Test: manual
Change-Id: I1273e32eec49ad0983f8875c4ad95938c7e50211
|
|
Bug: 155698037
Test: manual
Change-Id: I071b7b03f29a2b455f9064600df7c0968a8750a5
|
|
|
|
Bug: 162026203
Test: manual
Change-Id: I67447250e31e4539fc17181c497baa764eba344c
|
|
For now, don't switch tabs on focus. Select the button for the active
tab and visually indicate the selected button.
Bug: 157241844
Test: manual
Change-Id: I3f99b9a9a2a8c48d33e7852a75b4ecf3483280ba
|
|
Add a gap between focusable elements to test the transition from an
element being focused to the scrollable container being focused and
vice versa.
Add non-focusable content at the top and bottom of the list to make
sure you can scroll to the top and bottom in this scenario.
Add other focusable views in the same focus area with the scrollable
view to test rotation into and out of scrollable containers.
Remove content description indicating that the CarUiRecyclerView is
scrollable. CarUiRecyclerViews are now opt-out rather than opt-in.
Bug: 154540419
Test: manual
Change-Id: Iea3723dedd255817e4c6fc5c6b0487bccbe2604c
|
|
In particular, adding 2 SeekBars and 2 RadialTimePickerViews.
2 because in a system window, a given View can be marked as
"supports direct manipulation mode" or not. So we add 1 of
each thing that supports DM mode and one that doesn't.
For the ones that support, entering DM mode allows rotary
controls to be used to manipulate the value.
For the ones that don't, the event that would have entered
DM mode instead triggers an ACTION_CLICK which in our
implementation changes the background color on every other invocation.
Test: manual, build, install, run the app
BUG: 153888753
Change-Id: If1d4de9def33c8bf062e6f0ce202b99797e2d014
|
|
The notification fragment has two pairs of buttons, with one pair at
the top where it will be covered by the heads-up notification (HUN)
and one further down where it won’t be covered by the HUN. Each pair
includes a button to post a notification that will appear as a
heads-up notification and a button to clear the previously posted
notification.
Test: manual
Bug: 155681517
Change-Id: If2ac76cece527d7e45756dbf5659fa86cc98ac2a
|
|
Bug: 154971276
Test: make and install
Change-Id: Iaa884c4920b910115440ed8181b7fbd6c5ddafba
|
|
BUG: 153886988
Test: make, install, ran the app
Change-Id: I2b18cee5ae84519316bfe98e551858257e268714
|
|
|
|
|
|
- Added new card with buttons in a circle for wraparound demo
- Made cards wider to take up more space
- Add text descriptions on each card
Bug: 154971276
Test: manual, make RotaryPlayground and install
Change-Id: I1b3f97d28d784655159a0329790ce5e525f68151
|
|
Fixes: 156689453
Test: manual
Change-Id: I5e00181d908d301358ed14e2787c97d204abd1b1
|
|
Bug: 156293117
Test: manual
Change-Id: I9e45f112c9dde1d99861835f89072233c60de510
|
|
1. Add a custom DirectManipulationView and make it support DM
mode
2. Make the TimePickers focusable so that they can support DM mode
3. Put each TimePicker into a separate FocusArea. A TimePicker
has several focusable views and it's difficult to move to another
TimePicker via rotation. Let's use nudge to move to another TimePicker.
TODO: exit DM mode when the app goes to background.
Fixes: 153888710
Test: manual
Change-Id: Id9168bac10ffabbf82eff1bbf1bb080fab5a4f55
|
|
BUG: 153886988
Test: manual, Danny ran the app
Change-Id: Idd0c128b0c272a9827b1f24e5edf2d97b3fbcf0c
|
|
Added a screen with a Grid CarRecyclerView to test z-pattern rotating
navigation and vertical scrolling.
Bug: 154957299
Bug: 154971276
Test: manual
Change-Id: I685637db07d89a3a43dd2321c1af359ad5e6f277
|
|
Fix: 154180719
Test: build and install
Change-Id: I861b40500a06308cf19e9637ef49a553b1a185f6
|
|
Fix: 154957293
Test: make and install
Change-Id: I556c022b6dccf29b8b10ba3ccaacf87af63797e7
|
|
This CL contains the base structure for the app. Rotary demo does not
work yet because FocusArea is not available yet.
Bug: 153470636
Test: make and install
Change-Id: I22ff278fff9ee280cf7f7e040b574ada1b79689a
|