/aosp_15_r20/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_config.py | 42 [one] 43 one = false 48 one = a string 59 self.assertIs(parser.Get('one', 'one', type='bool'), False) 60 self.assertIs(parser.Get('one', 'two', type='bool'), True) 61 eq(parser.Get('one', 'three', type='int'), 10) 62 eq(parser.Get('two', 'one'), 'a string') 78 self.assertCountEqual(get_list('one'), ['one', 'two', 'three']) 79 self.assertCountEqual(get_list('two'), ['one', 'two', 'three']) 193 config_path = os.path.join(idle_dir, '../config-%s.def' % ctype) [all …]
|
D | test_configdialog.py | 154 fontlist.event_generate('<Key-Down>') 155 fontlist.event_generate('<KeyRelease-Down>') 164 fontlist.event_generate('<Key-Up>') 165 fontlist.event_generate('<KeyRelease-Up>') 186 fontlist.event_generate('<Button-1>', x=x, y=y) 187 fontlist.event_generate('<ButtonRelease-1>', x=x, y=y) 224 'font-size': default_size, 225 'font-bold': str(default_bold)}} 232 'font-size': '20', 233 'font-bold': str(default_bold)}} [all …]
|
/aosp_15_r20/developers/build/prebuilts/gradle/DarkTheme/ |
H A D | README.md | 5 Sample demonstrating the different ways to support Dark Mode on Android. 9 ------------ 11 Android Q has explicit user support for Dark Mode, allowing users to choose 12 whether the device theme is dark or not. There are multiple ways you can allow 13 Dark Mode in your app: 16 ------------ 19 implement dark mode in their apps using the -night resource qualifier. The [Material Design 22 The DayNight theme in the AndroidX Material Components library provides Dark Theme backwards 23 compatibility down to API 14. The theme we use in the app (specified in 26 Use theme-defined colours when defining colours for your drawables. For example, we use [all …]
|
/aosp_15_r20/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | WizardManagerHelper.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 22 import android.content.res.Resources.Theme; 52 public static final String EXTRA_THEME = "theme"; 64 * Passed in a setup wizard intent as {@link #EXTRA_THEME}. This is the dark variant of the theme 70 * Passed in a setup wizard intent as {@link #EXTRA_THEME}. This is the default theme used in 76 * Passed in a setup wizard intent as {@link #EXTRA_THEME}. This is the dark variant of the theme 82 * Passed in a setup wizard intent as {@link #EXTRA_THEME}. This is the default theme used in 88 * Passed in a setup wizard intent as {@link #EXTRA_THEME}. This is the dark variant of the theme 94 * Passed in a setup wizard intent as {@link #EXTRA_THEME}. This is the default theme used in 137 * Copy the internal extras used by setup wizard from one intent to another. For low-level use [all …]
|
/aosp_15_r20/frameworks/base/core/java/android/webkit/ |
H A D | WebSettings.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 51 * <li>{@code SINGLE_COLUMN} moves all content into one column that is the width of the 56 * the text readable when viewing a wide-viewport layout in the overview mode. 142 * Enable web content to apply light or dark style according to the app's theme 156 * Enable User-Agent Reduction for webview. 157 * The OS, CPU, and Build information in the default User-Agent will be 159 * Minor/build/patch version information in the default User-Agent is 160 * reduced to "0.0.0". The rest of the default User-Agent remains unchanged. 162 * See https://developers.google.com/privacy-sandbox/protections/user-agent 163 * for details related to User-Agent Reduction. [all …]
|
/aosp_15_r20/external/chromium-trace/catapult/third_party/polymer/components/google-signin/ |
H A D | google-signin.html | 1 <!-- 8 https://www.apache.org/licenses/LICENSE-2.0 15 --> 17 <link rel="import" href="google-signin-aware.html"> 18 <link rel="import" href="../iron-icon/iron-icon.html"> 19 <link rel="import" href="../font-roboto/roboto.html"> 20 <link rel="import" href="../google-apis/google-js-api.html"> 21 <link rel="import" href="../paper-ripple/paper-ripple.html"> 22 <link rel="import" href="../paper-material/paper-material.html"> 23 <link rel="import" href="../iron-flex-layout/iron-flex-layout-classes.html"> [all …]
|
/aosp_15_r20/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/display/ |
H A D | Display.kt | 8 * http://www.apache.org/licenses/LICENSE-2.0 39 * Enables and disables the dark mode of the device depending on [displayTheme]. in display() 41 fun setDisplayTheme(displayTheme: DisplayProperties.Theme) { in display() 49 * Gets the device display theme. The values could be one of [DisplayProperties.Theme]. in display() 51 fun getDisplayTheme(): DisplayProperties.Theme { in display() 57 UiModeManager.MODE_NIGHT_NO -> DisplayProperties.Theme.LIGHT in display() 58 UiModeManager.MODE_NIGHT_YES -> DisplayProperties.Theme.DARK in display() 59 else -> throw Exception("Unsupported display theme value $uiMode") in display() 70 DisplayProperties.ScreenOrientation.PORTRAIT -> device.setOrientationPortrait() in display() 71 DisplayProperties.ScreenOrientation.LANDSCAPE -> device.setOrientationLandscape() in display() [all …]
|
/aosp_15_r20/hardware/google/pixel/misc_writer/ |
D | misc_writer_main.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 28 #include <android-base/logging.h> 29 #include <android-base/parseint.h> 39 std::cerr << name << " [--override-vendor-space-offset <offset>] --<misc_writer_action>\n"; in Usage() 40 std::cerr << "Supported misc_writer_action is one of: \n"; in Usage() 41 std::cerr << " --set-dark-theme Write the dark theme flag\n"; in Usage() 42 std::cerr << " --clear-dark-theme Clear the dark theme flag\n"; in Usage() 43 std::cerr << " --set-sota Write the silent OTA flag\n"; in Usage() 44 std::cerr << " --clear-sota Clear the silent OTA flag\n"; in Usage() 45 std::cerr << " --set-sota-config Set the silent OTA configs\n"; in Usage() [all …]
|
/aosp_15_r20/external/pigweed/docs/ |
H A D | conf.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 25 # The master toctree document. # inclusive-language: ignore 30 copyright = f'{date.today().year} The Pigweed Authors' # pylint: disable=redefined-builtin 72 "sphinx.ext.napoleon", # Parses Google-style docstrings 77 "sphinx_copybutton", # Copy-to-clipboard button on code blocks 82 # When a user clicks the copy-to-clipboard button the `$ ` prompt should not be 83 # copied: https://sphinx-copybutton.readthedocs.io/en/latest/use.html 97 # The theme to use for HTML and HTML Help pages. See the documentation for 141 # FontAwesome for mermaid and sphinx-design 142 "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css", [all …]
|
/aosp_15_r20/frameworks/base/core/java/com/android/internal/colorextraction/types/ |
H A D | Tonal.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 81 * @param outColorsNormal Colors for normal theme. 82 * @param outColorsDark Colors for dar theme. 83 * @param outColorsExtraDark Colors for extra dark theme. 99 * @param outColorsNormal Colors for normal theme. 100 * @param outColorsDark Colors for dar theme. 101 * @param outColorsExtraDark Colors for extra dark theme. 125 // palette and finds a best fit amongst a collection of pre-defined in runTonalExtraction() 146 if (fitIndex == -1) { in runTonalExtraction() 151 // Generate the 10 colors palette by offsetting each one of them in runTonalExtraction() [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/idlelib/ |
D | NEWS.txt | 3 Released after 2022-10-24 7 gh-104719: Remove IDLE's modification of tokenize.tabsize and test 10 gh-104499: Fix completions for Tk Aqua 8.7 (currently blank). 12 gh-104486: Make About print both tcl and tk versions if different, 15 gh-88496 Fix IDLE test hang on macOS. 17 gh-103314 Support sys.last_exc after exceptions in Shell. 23 Released on 2022-10-24 26 gh-97527: Fix a bug in the previous bugfix that caused IDLE to not 31 gh-65802: Document handling of extensions in Save As dialogs. 33 gh-95191: Include prompts when saving Shell (interactive input/output). [all …]
|
/aosp_15_r20/frameworks/base/core/java/android/app/ |
H A D | UiModeManager.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 77 * physically being in a dock. While in car mode -- whether by manual action 78 * from the user or being physically placed in a dock -- a notification is 100 * @param projectionType the listened-for {@link ProjectionType}s that have changed 120 void onContrastChanged(@FloatRange(from = -1.0f, to = 1.0f) float contrast); in onContrastChanged() 177 * (i.e. {@link #getCurrentModeType()}) transitions to a non-car mode state such as 325 public static final int MODE_ATTENTION_THEME_OVERLAY_UNKNOWN = -1; 358 public static final int MODE_NIGHT_CUSTOM_TYPE_UNKNOWN = -1; 449 if (Math.abs(mContrast - contrast) < 1e-10) return; in notifyContrastChanged() 451 mContrastChangeListeners.forEach((listener, executor) -> executor.execute( in notifyContrastChanged() [all …]
|
/aosp_15_r20/external/zxing/zxing.appspot.com/src/main/resources/com/google/zxing/web/generator/ |
H A D | Generator.gwt.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <module rename-to='generator'> 3 <!-- Inherit the core Web Toolkit stuff. --> 6 <!-- Inherit the default GWT style sheet. You can change --> 7 <!-- the theme of your GWT application by uncommenting --> 8 <!-- any one of the following lines. --> 9 <inherits name='com.google.gwt.user.theme.clean.Clean'/> 10 <!-- <inherits name='com.google.gwt.user.theme.standard.Standard'/> --> 11 <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> --> 12 <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> --> [all …]
|
/aosp_15_r20/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/ |
H A D | WallpaperManagerServiceTests.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 190 // Mock default wallpaper as image wallpaper if there is no pre-defined default wallpaper. in setUpClass() 195 doReturn(sImageWallpaperComponentName).when(() -> in setUpClass() 219 ExtendedMockito.doAnswer(invocation -> { in setUp() 222 }).when(() -> WallpaperUtils.getWallpaperDir(anyInt())); in setUp() 319 // Skip if there is no pre-defined default wallpaper component. in testSetThenClearComponent() 396 * Simulating that the selected WallpaperService is not built-in. After switching users, the 478 .setComponent(sDefaultWallpaperComponent).setId("testId").setTitle("fake one") in testSaveLoadSettings_withWallpaperDescription() 547 doAnswer(invocation -> timestamps[0] = SystemClock.elapsedRealtime()) in testWallpaperManagerCallbackInRightOrder() 549 doAnswer(invocation -> timestamps[1] = SystemClock.elapsedRealtime()) in testWallpaperManagerCallbackInRightOrder() [all …]
|
/aosp_15_r20/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/theme/ |
D | WearPermissionTheme.kt | 8 * http://www.apache.org/licenses/LICENSE-2.0 16 package com.android.permissioncontroller.permission.ui.wear.theme 34 import com.android.permissioncontroller.permission.ui.wear.theme.WearPermissionMaterialUIVersion.MA… 35 import com.android.permissioncontroller.permission.ui.wear.theme.WearPermissionMaterialUIVersion.MA… 44 * Supports both Material 3 and Material 2_5 theme. default version for permission theme will be 2_5 46 * enable material3 for even one screen (Permission screens will be migrated in phases). 51 content: @Composable () -> Unit, in WearPermissionTheme() 59 // Material3 UI controls are still being used in the screen that the theme is applied in WearPermissionTheme() 69 // Material2_5 UI controls are still being used in the screen that the theme is applied, in WearPermissionTheme() 70 // But some in-app screens(like permission grant screen) are migrated to material3. in WearPermissionTheme() [all …]
|
/aosp_15_r20/development/samples/ApiDemos/src/com/example/android/apis/view/ |
H A D | _index.html | 19 …<dd>Demonstrates a LinearLayout where one of the elements can expand to fill any remaining screen … 56 <dd>Demonstrates a TableLayout with column-spanning rows and different child objects. </dd> 65 …mplex TableLayout with spanning columns and stretchable columns to create a menu-like layout. </dd> 77 …<dd>Demonstrates toggling the "shrink" value on a column to make an over-wide table shri… 104 <dt><a href="Baseline6.html">6. Multi-line</a></dt> 189 …<dd> Demonstrates a multi-select list activity that uses the <code>simple_selectable_list_item</co… 269 <dt><a href="Controls1.html">1. Light Theme</a></dt> 270 …ety of common form type widgets, such as check boxes and radio buttons using the light theme. </dd> 273 <dt><a href="Controls1.html">2. Dark Theme</a></dt> 274 …iety of common form type widgets, such as check boxes and radio buttons using the dark theme. </dd> [all …]
|
/aosp_15_r20/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/parameterized/ |
H A D | IncludeDarkMode.kt | 8 * http://www.apache.org/licenses/LICENSE-2.0 20 import com.android.bedstead.harrier.annotations.ParameterizedAnnotationScope.THEME 24 /** Parameterize a test so that it runs on device with dark mode ON. */ 32 @ParameterizedAnnotation(scope = THEME) 33 @EnsureUsingDisplayTheme(theme = DisplayProperties.Theme.DARK) 44 * annotation which must be resolved first is lower than the one which must be resolved later.
|
/aosp_15_r20/external/libmonet/dynamiccolor/ |
H A D | DynamicColor.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 37 * such as differing in light mode versus dark mode, or what the theme is, or what the color that 38 * produced the theme is, etc. 75 * <p>_Strongly_ prefer using one of the convenience constructors. This class is arguably too 99 * colors. One of them must be the color being constructed. 125 * <p>_Strongly_ prefer using one of the convenience constructors. This class is arguably too 149 * colors. One of them must be the color being constructed. 176 * <p>_Strongly_ prefer using one of the convenience constructors. This class is arguably too 213 * <p>_Strongly_ prefer using one of the convenience constructors. This class is arguably too 262 return DynamicColor.fromPalette(name, (s) -> palette, (s) -> hct.getTone()); in fromArgb() [all …]
|
/aosp_15_r20/external/python/cpython2/Lib/idlelib/ |
D | NEWS.txt | 3 *Release date: 2017-01-01?* 5 - Issue #27854: Make Help => IDLE Help work again on Windows. 8 - Issue #25507: Add back import needed for 2.x encoding warning box. 11 - Issue #15308: Add 'interrupt execution' (^C) to Shell menu. 14 - Issue #27922: Stop IDLE tests from 'flashing' gui widgets on the screen. 16 - Issue #17642: add larger font sizes for classroom projection. 18 - Add version to title of IDLE help window. 20 - Issue #25564: In section on IDLE -- console differences, mention that 23 - Issue #27714: text_textview and test_autocomplete now pass when re-run 25 -w option but without -jn. Fix warning from test_config. [all …]
|
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserTypeDetails.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 49 public static final int UNLIMITED_NUMBER_OF_USERS = -1; 153 * Resource ID ({@link ColorRes}) of the colors badge put on icons when in dark theme. 236 * Under certain circumstances (such as after a change-user-type) the max value can actually 260 return mLabels[Math.min(badgeIndex, mLabels.length - 1)]; in getLabel() 297 return mBadgeLabels[Math.min(badgeIndex, mBadgeLabels.length - 1)]; in getBadgeLabel() 309 return mBadgeColors[Math.min(badgeIndex, mBadgeColors.length - 1)]; in getBadgeColor() 313 * Returns the Resource ID of the badgeIndexth dark theme badge color, where the badgeIndex is 315 * If dark theme badge colors haven't been set, use the light theme badge color. 322 return mDarkThemeBadgeColors[Math.min(badgeIndex, mDarkThemeBadgeColors.length - 1)]; in getDarkThemeBadgeColor() [all …]
|
/aosp_15_r20/frameworks/base/core/java/android/os/ |
H A D | Build.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 66 /** Either a changelist number, or a label like "M4-rc20". */ 76 * The product name for attestation. In non-default builds (like the AOSP build) the value of 77 * the 'PRODUCT' system property may be different to the one provisioned to KeyMint, 89 * The device name for attestation. In non-default builds (like the AOSP build) the value of 90 * the 'DEVICE' system property may be different to the one provisioned to KeyMint, 122 * The manufacturer name for attestation. In non-default builds (like the AOSP build) the value 123 * of the 'MANUFACTURER' system property may be different to the one provisioned to KeyMint, 132 /** The consumer-visible brand with which the product/hardware will be associated, if any. */ 136 * The product brand for attestation. In non-default builds (like the AOSP build) the value of [all …]
|
/aosp_15_r20/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/viewholder/ |
H A D | AppHeaderViewHolder.kt | 8 * http://www.apache.org/licenses/LICENSE-2.0 60 import com.android.wm.shell.windowdecor.common.Theme 77 onMaximizeHoverAnimationFinishedListener: () -> Unit 101 * the clickable and hover-able bounds of the view as much as possible. However, to prevent the 238 is HeaderStyle.Background.Opaque -> { in bindDataWithThemedHeaders() 241 HeaderStyle.Background.Transparent -> { in bindDataWithThemedHeaders() 277 darkMode = header.appTheme == Theme.DARK, in bindDataWithThemedHeaders() 304 // Disable long-click to open maximize menu when in immersive. in bindDataWithThemedHeaders() 325 fun runOnAppChipGlobalLayout(runnable: () -> Unit) { in runOnAppChipGlobalLayout() 364 shouldShowExitFullImmersiveOrMaximizeIcon(isTaskMaximized, inFullImmersiveState) -> { in getMaximizeButtonIcon() [all …]
|
/aosp_15_r20/frameworks/base/core/res/res/values-night/ |
H A D | themes_device_defaults.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Copyright (C) 2018 The Android Open Source Project 8 http://www.apache.org/licenses/LICENSE-2.0 15 --> 17 <!-- 32 --> 35 <!-- The dark default theme for apps that target API level XX and higher. 37 DeviceDefault theme family and widget style family offer ways for you to target your app 38 to a device’s native theme with all device customizations intact.</p> 40 theme is applied to your application by default. As such, your app might appear with the [all …]
|
/aosp_15_r20/external/pigweed/pw_console/py/pw_console/ |
H A D | console_app.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 122 ) -> None: 131 ) -> ColorDepth: 152 # pylint: disable=too-many-instance-attributes,too-many-public-methods 240 'Ctrl-p', 246 base_style='class:toolbar-button-inactive', 249 # One space separator 252 # Auto-generated keybindings list for all active panes 372 # pylint: disable=line-too-long 390 # pylint: enable=line-too-long [all …]
|
/aosp_15_r20/hardware/google/pixel/recovery/ |
D | recovery_ui.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 25 #include <android-base/endian.h> 26 #include <android-base/logging.h> 27 #include <android-base/strings.h> 68 /** Call device-specifc WipeKeys function, if any. */ 82 // Must be consistent with the one in init.hardware.rc (10-byte `theme-dark`). in WipeProvisionedFlag() 85 LOG(ERROR) << "Failed to clear the dark theme flag"; in WipeProvisionedFlag() 103 // Provision Silent OTA(SOTA) flag while reason is "enable-sota" 128 ui->Print("Wiping Titan M...\n"); in PostWipeData() 131 while (retries--) { in PostWipeData()
|