Home
last modified time | relevance | path

Searched refs:parseColor (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DCaptionUtilsTest.java34 final int color = CaptionUtils.parseColor(0xFFFF00); in parseColor_defaultPackedColor_shouldReturnUnspecified()
41 final int color = CaptionUtils.parseColor(0x00); in parseColor_unrecognizedColor_shouldReturnTransparent()
48 final int color = CaptionUtils.parseColor(0xFFFF0000); in parseColor_redColor_shouldReturnRed()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPickerAccentColorParameters.java63 ? Color.parseColor(darkThemeVariant) : Color.parseColor(lightThemeVariant); in getThemeBasedColor()
82 int inputColor = Color.parseColor(hexColor); in checkColorValidityAndGetColor()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DNetworkListAdapter.java102 ? Color.parseColor("#5fdd6e") in getView()
103 : Color.parseColor("#ff3d3d")); in getView()
119 ? Color.parseColor("#2A2E2D") in getView()
120 : Color.parseColor("#1E1E1E")); in getView()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/theme/
DAccentColorHelper.kt65 android.graphics.Color.parseColor( in <lambda>()
87 val inputColor = android.graphics.Color.parseColor(hexColor) in checkColorValidityAndGetColor()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DRenameMobileNetworkDialogFragmentTest.java158 .setIconTint(eq(Color.parseColor("#ff006D74" /* cyan */)), eq(mSubscriptionId)); in dialog_saveButtonClicked_setDisplayNameAndIconTint()
178 .thenReturn(Color.parseColor("#ff3367d6"/* blue700 */)); in populateView_getPreviousSimColor_setCorrectSelection()
192 .thenReturn(Color.parseColor("#ff137333"/* Green800 */)); in populateView_getUpdatedSimColor_setCorrectSelection()
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/
DSelectableRowModel.java47 int color = mIsSelected ? Color.GRAY : Color.parseColor("#303030"); in setColor()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DPreviewFragment.java254 addOrSelectButton.setTextColor(Color.parseColor(textColor)); in setCustomButtonColorsInLongPressPreviewMode()
315 addButton.setTextColor(Color.parseColor(addButtonTextColor)); in setCustomButtonColorsInViewSelectedPreviewMode()
317 viewSelectedButton.setTextColor(Color.parseColor(viewSelectedButtonTextColor)); in setCustomButtonColorsInViewSelectedPreviewMode()
DMediaItemGridViewHolder.java190 mSelectedOrderText.setTextColor(Color.parseColor( in setCustomSelectedMediaIconColors()
DTabContainerFragment.java167 Color.parseColor(selectedTabTextColor)); in setTabTextColors()
/packages/apps/Settings/src/com/android/settings/accessibility/
DCaptionUtils.java30 public static int parseColor(int value) { in parseColor() method in CaptionUtils
DCaptioningForegroundOpacityController.java63 final int color = CaptionUtils.parseColor(foregroundColor); in onValueChanged()
DCaptioningWindowOpacityController.java63 final int color = CaptionUtils.parseColor(windowColor); in onValueChanged()
DCaptioningBackgroundOpacityController.java63 final int color = CaptionUtils.parseColor(backBackgroundColor); in onValueChanged()
DCaptioningForegroundColorController.java57 final int color = CaptionUtils.parseColor(foregroundColor); in displayPreference()
DCaptioningBackgroundColorController.java65 final int color = CaptionUtils.parseColor(backBackgroundColor); in displayPreference()
DCaptioningWindowColorController.java65 final int color = CaptionUtils.parseColor(windowColor); in displayPreference()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/color/ui/viewmodel/
DColorPickerViewModelTest.kt153 assertThat(logger.themeSeedColor).isEqualTo(Color.parseColor("#121212")) in <lambda>()
183 assertThat(logger.themeSeedColor).isEqualTo(Color.parseColor("#ABCDEF")) in <lambda>()
/packages/apps/Messaging/src/com/android/messaging/util/
DSwitchCompatUtils.java73 colors[i] = getColor(Color.parseColor("#ffbdbdbd"), 1f); in getSwitchThumbColorStateList()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/theme/
DAccentColorHelperTest.kt139 val inputColor = android.graphics.Color.parseColor(hexColor) in createColorFromLongFormat()
/packages/services/Car/tests/ThemePlayground/src/com/android/car/themeplayground/
DAbstractSampleActivity.java149 int color = Color.parseColor(value); in setupBackgroundColorControls()
/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/
DBroadcastItemsAdapter.java73 color = ColorStateList.valueOf(Color.parseColor("#92b141")); in onBindViewHolder()
/packages/apps/ThemePicker/src/com/android/customization/model/color/
DColorOption.java118 return Color.parseColor(seedColor); in getSeedColorForLogging()
DColorCustomizationManager.java252 return Color.parseColor(seedColor); in getCurrentSeedColorForLogging()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/voice/
DBitmapSoundLevelView.java95 Color.parseColor("#66FFFFFF")); in BitmapSoundLevelView()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityRoboTest.java110 private static final int CUSTOM_COLOR = Color.parseColor("#d40000");

12