Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 87) sorted by relevance

1234

/developers/build/prebuilts/gradle/PictureInPicture/kotlinApp/
DREADME.md4 This sample demonstrates basic usage of Picture-in-Picture mode for handheld devices.
6 Picture-in-Picture mode. On Picture-in-Picture screen, the app shows an action item to
12 As of Android O, activities can launch in [Picture-in-Picture (PiP)][1] mode. PiP is a
13 special type of [multi-window][2] mode mostly used for video playback.
15 The app is *paused* when it enters PiP mode, but it should continue showing content. For this
20 To specify that your activity can use PIP mode, set `android:supportsPictureInPicture` to `true` in
22 `android:resizeableActivity` to `true` if you are supporting PIP mode, either on Android TV or on
27 activity should behave when it is in PiP mode. You can also use it to call
28 [setPictureInPictureParams()][8] and update the current behavior. If the app is in not PiP mode, it
32 available for PiP mode. The aspect ratio is used when the activity is in PiP mode. The action items
[all …]
/developers/build/prebuilts/gradle/PictureInPicture/
DREADME.md5 This sample demonstrates basic usage of Picture-in-Picture mode for handheld devices.
7 Picture-in-Picture mode. On Picture-in-Picture screen, the app shows an action item to
13 As of Android O, activities can launch in [Picture-in-Picture (PiP)][1] mode. PiP is a
14 special type of [multi-window][2] mode mostly used for video playback.
16 The app is *paused* when it enters PiP mode, but it should continue showing content. For this
21 To specify that your activity can use PIP mode, set `android:supportsPictureInPicture` to `true` in
23 `android:resizeableActivity` to `true` if you are supporting PIP mode you only need to
27 activity should behave when it is in PiP mode. You can also use it to call
28 [setPictureInPictureParams()][8] and update the current behavior. If the app is in not PiP mode, it
32 available for PiP mode. The aspect ratio is used when the activity is in PiP mode. The action items
[all …]
/developers/samples/android/media/PictureInPicture/kotlinApp/
DREADME.md4 This sample demonstrates basic usage of Picture-in-Picture mode for handheld devices.
6 Picture-in-Picture mode. On Picture-in-Picture screen, the app shows an action item to
12 As of Android O, activities can launch in [Picture-in-Picture (PiP)][1] mode. PiP is a
13 special type of [multi-window][2] mode mostly used for video playback.
15 The app is *paused* when it enters PiP mode, but it should continue showing content. For this
20 To specify that your activity can use PIP mode, set `android:supportsPictureInPicture` to `true` in
22 `android:resizeableActivity` to `true` if you are supporting PIP mode, either on Android TV or on
27 activity should behave when it is in PiP mode. You can also use it to call
28 [setPictureInPictureParams()][8] and update the current behavior. If the app is in not PiP mode, it
32 available for PiP mode. The aspect ratio is used when the activity is in PiP mode. The action items
[all …]
/developers/samples/android/content/ShareActionProvider/Application/src/main/java/com/example/android/shareactionprovider/content/
DAssetProvider.java79 public AssetFileDescriptor openAssetFile(@NonNull Uri uri, @NonNull String mode) in openAssetFile() argument
93 return super.openAssetFile(uri, mode); in openAssetFile()
99 return super.openAssetFile(uri, mode); in openAssetFile()
/developers/build/prebuilts/gradle/ShareActionProvider/Application/src/main/java/com/example/android/shareactionprovider/content/
DAssetProvider.java79 public AssetFileDescriptor openAssetFile(@NonNull Uri uri, @NonNull String mode) in openAssetFile() argument
93 return super.openAssetFile(uri, mode); in openAssetFile()
99 return super.openAssetFile(uri, mode); in openAssetFile()
/developers/build/prebuilts/gradle/BasicImmersiveMode/
DREADME.md5 Sample demonstrating the use of immersive mode to hide the system and navigation bars for
11 'Immersive Mode' is a new UI mode which improves 'hide full screen' and 'hide nav bar'
14 This sample demonstrates how to enable and disable immersive mode programmatically.
16 Immersive mode was introduced in Android 4.4 (Api Level 19). It is toggled using the
/developers/samples/android/ui/window/BasicImmersiveMode/
DREADME.md5 Sample demonstrating the use of immersive mode to hide the system and navigation bars for
11 'Immersive Mode' is a new UI mode which improves 'hide full screen' and 'hide nav bar'
14 This sample demonstrates how to enable and disable immersive mode programmatically.
16 Immersive mode was introduced in Android 4.4 (Api Level 19). It is toggled using the
/developers/build/prebuilts/gradle/AlwaysOn/
DREADME.md5 A basic sample showing how to support ambient mode for native Android Wear apps.
10 …hods for supporting your native app staying on the screen when the Wear device enters ambient mode.
12 …nt, onUpdateAmbient, and onExitAmbient to allow the simple native Wear app to support ambient mode.
14 In ambient mode, this app follows best practices by keeping most pixels black, avoiding large block…
16 In addition and most importantly, the app sleeps while in ambient mode for 20 seconds between any u…
/developers/samples/android/common/src/java/com/example/android/common/assetprovider/
DAssetProvider.java79 public AssetFileDescriptor openAssetFile (Uri uri, String mode) in openAssetFile() argument
87 if (!"r".equals(mode)) { in openAssetFile()
/developers/build/prebuilts/gradle/BeamLargeFiles/Application/src/main/java/com/example/android/common/assetprovider/
DAssetProvider.java79 public AssetFileDescriptor openAssetFile (Uri uri, String mode) in openAssetFile() argument
87 if (!"r".equals(mode)) { in openAssetFile()
/developers/build/prebuilts/gradle/ImmersiveMode/
DREADME.md5 One of the features introduced in KitKat is "immersive mode". Immersive mode gives the
7 click the "Toggle immersive mode" button, then try swiping the bar in and out!
/developers/samples/android/ui/window/ImmersiveMode/
DREADME.md5 One of the features introduced in KitKat is "immersive mode". Immersive mode gives the
7 click the "Toggle immersive mode" button, then try swiping the bar in and out!
/developers/build/prebuilts/gradle/DarkTheme/
DREADME.md15 Night mode in AppCompat and Material Components
18 AppCompat has had "night mode" APIs for a number of years now. It allows developers to
19 implement dark mode in their apps using the -night resource qualifier. The [Material Design
30 extract hard-coded values and switch them out when the configuration changes to night mode.
31 For example, we use a different primary colour in dark mode. Check `values-night/colors.xml`
34 Tell AppCompat what mode to use by calling [`AppCompatDelegate.setDefaultNightMode()`][2] or
60 active, this screen will be automatically themed to be dark-mode friendly. The system will
96 - *Different colorPrimary/colorsecondary for light/dark mode*. We define the primary color
112 hard-coded to be suitable for light mode. To opt the Fragment in for Smart Dark, we set
/developers/demos/JustForUs/justforus/src/main/java/com/example/android/justforus/
DAssetProvider.java92 public AssetFileDescriptor openAssetFile (Uri uri, String mode) in openAssetFile() argument
100 if (!"r".equals(mode)) { in openAssetFile()
/developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
DViewfinderProcessor.java94 public void setRenderMode(int mode) { in setRenderMode() argument
95 mMode = mode; in setRenderMode()
/developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
DViewfinderProcessor.java94 public void setRenderMode(int mode) { in setRenderMode() argument
95 mMode = mode; in setRenderMode()
/developers/samples/android/ui/graphics/PdfRendererBasic/
Dgradle.properties8 # When configured, Gradle will run in incubating parallel mode.
/developers/samples/android/renderScript/BasicRenderScript/Application/
Dproject.properties15 renderscript.support.mode=true
/developers/build/prebuilts/gradle/BasicRenderScript/Application/
Dproject.properties15 renderscript.support.mode=true
/developers/build/prebuilts/gradle/RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/
DMainActivity.java342 for (int mode : modes) { in createThumbnail()
343 mFilterMode = mode; in createThumbnail()
344 float f = getFilterParameter(parameter[mode]); in createThumbnail()
351 ThumbnailRadioButton button = (ThumbnailRadioButton) findViewById(ids[mode]); in createThumbnail()
/developers/samples/android/renderScript/RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/
DMainActivity.java342 for (int mode : modes) { in createThumbnail()
343 mFilterMode = mode; in createThumbnail()
344 float f = getFilterParameter(parameter[mode]); in createThumbnail()
351 ThumbnailRadioButton button = (ThumbnailRadioButton) findViewById(ids[mode]); in createThumbnail()
/developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/playback/
DSimplePlaybackTransportControlGlue.java156 public void setRepeatMode(int mode) { in setRepeatMode() argument
157 mRepeatAction.setIndex(mode); in setRepeatMode()
/developers/samples/android/ui/views/RecyclerView/kotlinApp/
Dgradle.properties14 # When configured, Gradle will run in incubating parallel mode.
/developers/samples/android/input/keyboard/CommitContentSampleApp/
Dgradle.properties14 # When configured, Gradle will run in incubating parallel mode.
/developers/samples/android/ui/text/TextStyling-Kotlin/
Dgradle.properties14 # When configured, Gradle will run in incubating parallel mode.

1234