Home
last modified time | relevance | path

Searched refs:getTheme (Results 1 – 25 of 134) sorted by relevance

123456

/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSetupWizardUtilsTest.java74 assertThat(SetupWizardUtils.getTheme(intent)).isEqualTo(R.style.GlifV2Theme); in testGetTheme_withIntentExtra_shouldReturnExtraTheme()
82 assertThat(SetupWizardUtils.getTheme(intent)).isEqualTo(R.style.GlifV2Theme_Light); in testGetTheme_withEmptyIntent_shouldReturnSystemProperty()
90 assertThat(SetupWizardUtils.getTheme(intent)).isEqualTo(R.style.GlifV3Theme_Light); in testGetTheme_glifV3Light_shouldReturnThemeResource()
100 assertThat(SetupWizardUtils.getTheme(intent)).isEqualTo(R.style.GlifV3Theme); in testGetTheme_nonSuw_shouldReturnDayNightTheme()
DSettingsPreferenceFragmentTest.java155 doReturn(mContext.getTheme()).when(mActivity).getTheme(); in onCreate_hasExtraFragmentKey_shouldExpandPreferences()
170 doReturn(mContext.getTheme()).when(mActivity).getTheme(); in onCreate_noPreferenceScreen_shouldNotCrash()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DCheckableLabeledButton.java71 getResources().getDrawable(R.drawable.incall_button_background_more, context.getTheme()); in init()
73 getResources().getDrawable(R.drawable.incall_button_background, context.getTheme()); in init()
98 getResources().getColorStateList(R.color.incall_button_icon, context.getTheme())); in init()
101 getResources().getDrawable(R.drawable.incall_button_background, context.getTheme())); in init()
/packages/apps/Dialer/java/com/android/dialer/theme/base/impl/
DAospThemeImpl.java55 .getTheme() in AospThemeImpl()
94 public @Type int getTheme() { in getTheme() method in AospThemeImpl
101 switch (getTheme()) { in getApplicationThemeRes()
/packages/apps/PermissionController/src/android/support/wearable/view/
DWearableDialogHelper.java54 this(context.getResources(), context.getTheme()); in WearableDialogHelper()
161 mHelper = new WearableDialogHelper(context.getResources(), context.getTheme()); in DialogBuilder()
166 mHelper = new WearableDialogHelper(context.getResources(), context.getTheme()); in DialogBuilder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSetupWizardUtils.java28 public static int getTheme(Intent intent) { in getTheme() method in SetupWizardUtils
69 final int suwTheme = getTheme(intent); in getTransparentTheme()
DCheckableLinearLayout.java33 context.getTheme().resolveAttribute(android.R.attr.disabledAlpha, alpha, true); in CheckableLinearLayout()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/
DFocusArea.java111 R.drawable.car_ui_focus_area_foreground_highlight, getContext().getTheme()); in init()
113 R.drawable.car_ui_focus_area_background_highlight, getContext().getTheme()); in init()
/packages/apps/Settings/src/com/android/settings/
DSetupWizardUtils.java42 public static int getTheme(Intent intent) { in getTheme() method in SetupWizardUtils
80 final int suwTheme = getTheme(intent); in getTransparentTheme()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppNotification.java361 mContext.getTheme())); in updateActiveNotification()
459 mContext.getTheme())) in updateCompletedNotification()
525 mContext.getTheme())) in updateCompletedNotification()
588 mContext.getTheme())) in updateIncomingFileConfirmNotification()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialBaseActivity.java67 setTheme(SetupWizardUtils.getTheme(getIntent())); in onCreate()
74 setTheme(SetupWizardUtils.getTheme(getIntent())); in onCreate()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCategoryFragment.java539 activity.getTheme())) in setUpLiveWallpaperPreview()
679 R.color.secondary_color, activity.getTheme()))); in updateThumbnail()
892 getContext().getTheme()), in updateExploreSectionVisibility()
993 getResources().getColor(R.color.secondary_color, getContext().getTheme())); in bindHomeWallpaper()
1031 getContext().getTheme()), in bindHomeWallpaper()
1050 getContext().getTheme()), Mode.SRC_IN); in bindHomeWallpaper()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DPreviewPagerAdapter.java75 configContext.getTheme().setTo(context.getTheme()); in PreviewPagerAdapter()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DSmsBottomSheetFragment.java95 Context context = new ContextThemeWrapper(getContext(), getTheme()); in newTextViewItem()
126 public int getTheme() { in getTheme() method in SmsBottomSheetFragment
/packages/apps/Settings/src/com/android/settings/display/
DPreviewPagerAdapter.java76 configContext.getTheme().setTo(context.getTheme()); in PreviewPagerAdapter()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DBillingCycleSettingsTest.java154 final Resources.Theme theme = mContext.getTheme(); in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate()
155 when(activity.getTheme()).thenReturn(theme); in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSettingsTest.java128 final Resources.Theme theme = mContext.getTheme(); in startFragment_notAdminUser_shouldRemoveAllPreferences()
129 when(activity.getTheme()).thenReturn(theme); in startFragment_notAdminUser_shouldRemoveAllPreferences()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailPlaybackLayout.java234 getResources().getDrawable(R.drawable.ic_voicemail_seek_handle, context.getTheme()); in onFinishInflate()
237 .getDrawable(R.drawable.old_ic_voicemail_seek_handle_disabled, context.getTheme()); in onFinishInflate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSettingsForSubTest.java107 doReturn(mContext.getTheme()).when(mActivity).getTheme(); in setUp()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDisplay.java50 if (context.getTheme().resolveAttribute(android.R.attr.actionBarSize, tv, true)) { in actionBarHeight()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrStopSeriesRecordingDialogFragment.java42 public int getTheme() { in getTheme() method in DvrStopSeriesRecordingDialogFragment
/packages/apps/Dialer/java/com/android/dialer/theme/base/
DTheme.java41 int getTheme(); in getTheme() method
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppBaseActivity.java48 resid = SetupWizardUtils.getTheme(getIntent()); in onApplyThemeResource()
/packages/apps/Contacts/src/com/android/contacts/widget/
DAlphaTouchInterceptorOverlay.java52 final int resId = ThemeUtils.getSelectableItemBackground(context.getTheme()); in AlphaTouchInterceptorOverlay()
/packages/apps/Dialer/java/com/android/dialer/widget/
DMaxHeightScrollView.java47 context.getTheme().obtainStyledAttributes(attrs, R.styleable.MaxHeightScrollView, 0, 0); in MaxHeightScrollView()

123456