Home
last modified time | relevance | path

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

123456

/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSetupWizardUtilsTest.java96 assertThat(SetupWizardUtils.getTheme(mContext, intent)) in testGetTheme_withIntentExtra_shouldReturnTheme()
105 assertThat(SetupWizardUtils.getTheme(mContext, intent)) in testGetTheme_withEmptyIntent_shouldReturnSystemProperty()
119 assertThat(SetupWizardUtils.getTheme(mContext, intent)) in testGetTheme_whenSuwDayNightEnabledAndWithIntentExtra_shouldReturnDayNightTheme()
128 assertThat(SetupWizardUtils.getTheme(mContext, intent)) in testGetTheme_glifV3Light_shouldReturnLightTheme()
139 assertThat(SetupWizardUtils.getTheme(mContext, intent)) in testGetTheme_glifV3_shouldReturnTheme()
154 assertThat(SetupWizardUtils.getTheme(mContext, intent)) in testGetTheme_whenSuwDayNightDisabledAndGlifV2_shouldReturnLightTheme()
167 assertThat(SetupWizardUtils.getTheme(mContext, intent)) in testGetTheme_whenSuwDayNightEnabledAndGlifV2_shouldReturnDayNightTheme()
180 assertThat(SetupWizardUtils.getTheme(mContext, intent)) in testGetTheme_whenSuwDayNightDisabledAndGlifV3_shouldReturnTheme()
195 assertThat(SetupWizardUtils.getTheme(mContext, intent)) in testGetTheme_whenSuwDayNightEnabledAndGlifV3_shouldReturnDayNightTheme()
206 assertThat(SetupWizardUtils.getTheme(mContext, intent)).isEqualTo(R.style.GlifV3Theme); in testGetTheme_nonSuw_shouldReturnTheme()
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/modules/Permission/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/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppNotification.java363 mContext.getTheme())); in updateActiveNotification()
462 mContext.getTheme())) in updateCompletedNotification()
532 mContext.getTheme())) in updateCompletedNotification()
608 mContext.getTheme())) in updateIncomingFileConfirmNotification()
637 mContext.getTheme())) in updateIncomingFileConfirmNotification()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiContext.java135 public Resources.Theme getTheme() { in getTheme() method in WifiContext
139 mWifiThemeFromApk = resourcesApkContext.getTheme(); in getTheme()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DThemeComponentOption.java186 icon = context.getResources().getDrawable(headerIcon, context.getTheme()); in bindPreviewHeader()
189 icon = context.getResources().getDrawable(headerIcon, context.getTheme()); in bindPreviewHeader()
345 R.drawable.color_chip_hollow, view.getContext().getTheme()); in bindThumbnailTile()
347 R.drawable.color_chip_filled, view.getContext().getTheme()); in bindThumbnailTile()
494 Theme theme = view.getContext().getTheme(); in bindThumbnailTile()
/packages/apps/Settings/src/com/android/settings/
DSetupWizardUtils.java43 public static int getTheme(Context context, Intent intent) { in getTheme() method in SetupWizardUtils
96 final int suwTheme = getTheme(context, intent); in getTransparentTheme()
DSettings.java172 setTheme(SetupWizardUtils.getTheme(this, getIntent())); in onCreate()
185 setTheme(SetupWizardUtils.getTheme(this, getIntent())); in onCreate()
DCheckableLinearLayout.java33 context.getTheme().resolveAttribute(android.R.attr.disabledAlpha, alpha, true); in CheckableLinearLayout()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialBaseActivity.java71 setTheme(SetupWizardUtils.getTheme(this, getIntent())); in onCreate()
78 setTheme(SetupWizardUtils.getTheme(this, getIntent())); in onCreate()
/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/wifi/tether/
DWifiTetherSettingsTest.java134 final Resources.Theme theme = mContext.getTheme(); in startFragment_notAdminUser_shouldRemoveAllPreferences()
135 when(activity.getTheme()).thenReturn(theme); in startFragment_notAdminUser_shouldRemoveAllPreferences()
/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/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/
DAvatarUtil.java93 resources.getColor(R.color.group_avatar_background_color, context.getTheme()); in createGroupAvatar()
95 resources.getColor(R.color.group_avatar_stroke_color, context.getTheme()); in createGroupAvatar()
/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/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/Settings/src/com/android/settings/wifi/dpp/
DWifiDppBaseActivity.java48 final int new_resid = SetupWizardUtils.getTheme(this, getIntent()); in onApplyThemeResource()
/packages/apps/Dialer/java/com/android/dialer/theme/base/
DTheme.java41 int getTheme(); in getTheme() method
/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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSettingsForSubTest.java114 doReturn(mContext.getTheme()).when(mActivity).getTheme(); in setUp()

123456