/developers/build/prebuilts/gradle/ClippingBasic/ |
D | README.md | 5 A basic app showing how to clip on a View using [ViewOutlineProvider][1] interface, 6 by which a View builds its outline, used for shadowing and clipping. 11 The [ViewOutlineProvider][1] interface offers you a method to populate the outline of a View. 12 You need to implement a getOutline(android.view.View, android.graphics.Outline) 13 method to clip a View in a specific shape. 15 This example clips the outline of a View as a rounded rectangle by defining a class that 29 To clip a View by the defined outline, setting a OutlineProvider to a View 75 submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details. 86 use this file except in compliance with the License. You may obtain a copy of
|
/developers/samples/android/ui/views/Clipping/ClippingBasic/ |
D | README.md | 5 A basic app showing how to clip on a View using [ViewOutlineProvider][1] interface, 6 by which a View builds its outline, used for shadowing and clipping. 11 The [ViewOutlineProvider][1] interface offers you a method to populate the outline of a View. 12 You need to implement a getOutline(android.view.View, android.graphics.Outline) 13 method to clip a View in a specific shape. 15 This example clips the outline of a View as a rounded rectangle by defining a class that 29 To clip a View by the defined outline, setting a OutlineProvider to a View 75 submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details. 86 use this file except in compliance with the License. You may obtain a copy of
|
/developers/build/templates/CardStream/_MODULE_/src/template/java/_PACKAGE_/cardstream/ |
D | CardStreamAnimator.java.ftl | 7 You may obtain a copy of the License at 41 * Define initial animation of each child which fired when a user rotate a screen. 49 * Define disappearing animation of a child which fired when a view is removed programmatically 57 * Define appearing animation of a child which fired when a view is added programmatically 65 * Define swipe-in (back to the origin position) animation of a child 66 * which fired when a view is not moved enough to be removed. 76 * Define swipe-out animation of a child 77 * which fired when a view is removing by a user swipe action.
|
/developers/build/prebuilts/gradle/WatchViewStub/ |
D | README.md | 10 It is a basic sample that displays a round layout on a round watch and a rectangular one on a 13 The corresponding layout is being inflated by the system. This sample shows a way to handle 14 this programatically by using a `WatchViewStub.OnLayoutInflateListener`. 44 submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details. 55 use this file except in compliance with the License. You may obtain a copy of
|
/developers/samples/android/media/MediaBrowserService/ |
D | README.md | 5 This sample shows how to implement a media app that allows 6 background playback of audio, and provide a media library 11 2. It exposes a simple music library through MediaBrowserService. 14 When not connected to a car, the app has a very simple UI that 25 To implement a MediaBrowserService, you need to: 30 - In onCreate, start a new MediaSession and call super.setSessionToken() with 33 - Set a MediaSession.Callback class on the MediaSession. The callback class 49 - Declare a meta-data tag in AndroidManifest.xml linking to a xml resource 50 with a automotiveApp root element. For a media app, this must include 51 an <uses name="media"/> element as a child. [all …]
|
/developers/build/prebuilts/gradle/MediaBrowserService/ |
D | README.md | 5 This sample shows how to implement a media app that allows 6 background playback of audio, and provide a media library 11 2. It exposes a simple music library through MediaBrowserService. 14 When not connected to a car, the app has a very simple UI that 25 To implement a MediaBrowserService, you need to: 30 - In onCreate, start a new MediaSession and call super.setSessionToken() with 33 - Set a MediaSession.Callback class on the MediaSession. The callback class 49 - Declare a meta-data tag in AndroidManifest.xml linking to a xml resource 50 with a automotiveApp root element. For a media app, this must include 51 an <uses name="media"/> element as a child. [all …]
|
/developers/build/templates/include/ |
D | common.ftl | 7 You may obtain a copy of the License at 24 the version can be either a number or a string (e.g. KeyLimePie) so we need to test 28 Also, there's no way to check if it's a number or not without spamming output with 29 try/catch stacktraces, so we can't silently wrap a string in quotes and leave a number 45 the version can be either a number or a string (e.g. KeyLimePie) so we need to test 49 Also, there's no way to check if it's a number or not without spamming output with 50 try/catch stacktraces, so we can't silently wrap a string in quotes and leave a number 68 <#-- Check if dependency is a play services dependency and if it doesn't 69 have a version number attached use the global value
|
/developers/samples/android/sensors/BatchStepSensor/Application/ |
D | README-CardStream.txt | 6 You may obtain a copy of the License at 26 -Add a Fragment to handle behavior. In your MainActivity.java class, it will reference a Fragment 32 -Now it's time to deal with cards. Implement a method like this in your Fragment to access the Card… 41 -Create a instance of Card.Builder with a tag String that *must* be unique among all cards. 50 -Cards can also have more than one action that is shown as a button at the bottom of the card. 54 -To implement an action, use Builder.addAction with a label, id, type (Neutral/Positive/Negative) a… 55 a CardActionCallback. 56 …Actions can be distinguished by their id to avoid the use of a large number of unnamed callback in… 67 -After finishing setup process, call Buidler.build() to return a new instance of a Card.
|
/developers/build/templates/CardStream/_MODULE_/ |
D | README-CardStream.txt | 6 You may obtain a copy of the License at 26 -Add a Fragment to handle behavior. In your MainActivity.java class, it will reference a Fragment 32 -Now it's time to deal with cards. Implement a method like this in your Fragment to access the Card… 41 -Create a instance of Card.Builder with a tag String that *must* be unique among all cards. 50 -Cards can also have more than one action that is shown as a button at the bottom of the card. 54 -To implement an action, use Builder.addAction with a label, id, type (Neutral/Positive/Negative) a… 55 a CardActionCallback. 56 …Actions can be distinguished by their id to avoid the use of a large number of unnamed callback in… 67 -After finishing setup process, call Buidler.build() to return a new instance of a Card.
|
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/ |
D | README.md | 6 'swipe-to-refresh' gesture to a ListView, enabling the ability to trigger a refresh 13 [SwipeRefreshLayout][1] within a `ListFragment` to add the 'swipe-to-refresh' 14 gesture to a `ListView`. The sample provides this functionality by defining a 17 The sample displays a list of cheeses. When the user initiates a downward swipe, 51 submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details. 62 use this file except in compliance with the License. You may obtain a copy of
|
/developers/build/prebuilts/gradle/SwipeRefreshListFragment/ |
D | README.md | 6 'swipe-to-refresh' gesture to a ListView, enabling the ability to trigger a refresh 13 [SwipeRefreshLayout][1] within a `ListFragment` to add the 'swipe-to-refresh' 14 gesture to a `ListView`. The sample provides this functionality by defining a 17 The sample displays a list of cheeses. When the user initiates a downward swipe, 51 submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details. 62 use this file except in compliance with the License. You may obtain a copy of
|
/developers/build/prebuilts/gradle/AppShortcuts/ |
D | README.md | 6 This API allows an application to define a set of Intents which are displayed as when a user 15 to reveal the app's shortcuts, then tap on a shortcut to jump to the associated action. 16 These shortcuts are a great way to engage users, and they let you surface the functionality 19 Each shortcut references an intent, each of which launches a specific action or task, and 20 you can create a shortcut for any action that you can express as an intent. For example, you 21 can create intents for sending a new text message, making a reservation, playing a video, 22 continuing a game, loading a map location, and much more. 24 You can create shortcuts for your app statically by adding them to a resource file in the APK, 67 submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details. 78 use this file except in compliance with the License. You may obtain a copy of
|
/developers/build/templates/SingleView/_MODULE_/ |
D | README-singleview.txt | 6 You may obtain a copy of the License at 22 -add a string for the action button's text using the element name "sample_action". 23 This element should be a child of <strings>: 32 -Add a Fragment to handle behavior. In your MainActivity.java class, it will reference a Fragment 44 -refer to sampleSamples/singleViewSample for a reference implementation of a
|
/developers/samples/android/admin/NfcProvisioning/Application/ |
D | README-singleview.txt | 6 You may obtain a copy of the License at 22 -add a string for the action button's text using the element name "sample_action". 23 This element should be a child of <strings>: 32 -Add a Fragment to handle behavior. In your MainActivity.java class, it will reference a Fragment 44 -refer to sampleSamples/singleViewSample for a reference implementation of a
|
/developers/samples/android/content/webview/PermissionRequest/Application/ |
D | README-singleview.txt | 6 You may obtain a copy of the License at 22 -add a string for the action button's text using the element name "sample_action". 23 This element should be a child of <strings>: 32 -Add a Fragment to handle behavior. In your MainActivity.java class, it will reference a Fragment 44 -refer to sampleSamples/singleViewSample for a reference implementation of a
|
/developers/samples/android/ui/window/AdvancedImmersiveMode/Application/ |
D | README-singleview.txt | 6 You may obtain a copy of the License at 22 -add a string for the action button's text using the element name "sample_action". 23 This element should be a child of <strings>: 32 -Add a Fragment to handle behavior. In your MainActivity.java class, it will reference a Fragment 44 -refer to sampleSamples/singleViewSample for a reference implementation of a
|
/developers/samples/android/security/ConfirmCredential/Application/ |
D | README-singleview.txt | 6 You may obtain a copy of the License at 22 -add a string for the action button's text using the element name "sample_action". 23 This element should be a child of <strings>: 32 -Add a Fragment to handle behavior. In your MainActivity.java class, it will reference a Fragment 44 -refer to sampleSamples/singleViewSample for a reference implementation of a
|
/developers/samples/android/notification/ActiveNotifications/Application/ |
D | README-singleview.txt | 6 You may obtain a copy of the License at 22 -add a string for the action button's text using the element name "sample_action". 23 This element should be a child of <strings>: 32 -Add a Fragment to handle behavior. In your MainActivity.java class, it will reference a Fragment 44 -refer to sampleSamples/singleViewSample for a reference implementation of a
|
/developers/samples/android/content/documentsUi/StorageClient/Application/ |
D | README-singleview.txt | 6 You may obtain a copy of the License at 22 -add a string for the action button's text using the element name "sample_action". 23 This element should be a child of <strings>: 32 -Add a Fragment to handle behavior. In your MainActivity.java class, it will reference a Fragment 44 -refer to sampleSamples/singleViewSample for a reference implementation of a
|
/developers/samples/android/input/gestures/BasicGestureDetect/Application/ |
D | README-singleview.txt | 6 You may obtain a copy of the License at 22 -add a string for the action button's text using the element name "sample_action". 23 This element should be a child of <strings>: 32 -Add a Fragment to handle behavior. In your MainActivity.java class, it will reference a Fragment 44 -refer to sampleSamples/singleViewSample for a reference implementation of a
|
/developers/samples/android/background/alarms/RepeatingAlarm/Application/ |
D | README-singleview.txt | 6 You may obtain a copy of the License at 22 -add a string for the action button's text using the element name "sample_action". 23 This element should be a child of <strings>: 32 -Add a Fragment to handle behavior. In your MainActivity.java class, it will reference a Fragment 44 -refer to sampleSamples/singleViewSample for a reference implementation of a
|
/developers/samples/android/ui/window/ImmersiveMode/Application/ |
D | README-singleview.txt | 6 You may obtain a copy of the License at 22 -add a string for the action button's text using the element name "sample_action". 23 This element should be a child of <strings>: 32 -Add a Fragment to handle behavior. In your MainActivity.java class, it will reference a Fragment 44 -refer to sampleSamples/singleViewSample for a reference implementation of a
|
/developers/samples/android/media/HdrViewfinder/Application/ |
D | README-singleview.txt | 6 You may obtain a copy of the License at 22 -add a string for the action button's text using the element name "sample_action". 23 This element should be a child of <strings>: 32 -Add a Fragment to handle behavior. In your MainActivity.java class, it will reference a Fragment 44 -refer to sampleSamples/singleViewSample for a reference implementation of a
|
/developers/samples/android/ui/views/Elevation/ElevationBasic/Application/ |
D | README-singleview.txt | 6 You may obtain a copy of the License at 22 -add a string for the action button's text using the element name "sample_action". 23 This element should be a child of <strings>: 32 -Add a Fragment to handle behavior. In your MainActivity.java class, it will reference a Fragment 44 -refer to sampleSamples/singleViewSample for a reference implementation of a
|
/developers/samples/android/ui/window/BasicImmersiveMode/Application/ |
D | README-singleview.txt | 6 You may obtain a copy of the License at 22 -add a string for the action button's text using the element name "sample_action". 23 This element should be a child of <strings>: 32 -Add a Fragment to handle behavior. In your MainActivity.java class, it will reference a Fragment 44 -refer to sampleSamples/singleViewSample for a reference implementation of a
|