Home
last modified time | relevance | path

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

1234567

/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.java172 doReturn(mContext.getTheme()).when(mActivity).getTheme(); in onCreate_hasExtraFragmentKey_shouldExpandPreferences()
186 doReturn(mContext.getTheme()).when(mActivity).getTheme(); in onCreate_noPreferenceScreen_shouldNotCrash()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/panel/
DBackgroundSurfaceView.java75 mColor = getResources().getColor(R.color.car_background, getContext().getTheme()); in setupSurfaceView()
76 mTextColor = getResources().getColor(R.color.car_on_background, getContext().getTheme()); in setupSurfaceView()
141 getContext().getTheme()); in refresh()
DTaskViewPanelOverlay.java90 int backgroundColor = getResources().getColor(R.color.car_background, mContext.getTheme()); in refresh()
93 mContext.getTheme()); in refresh()
/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/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/Car/SystemUI/src/com/android/systemui/car/statusicon/ui/
DMediaVolumeStatusIconController.java143 R.drawable.car_ic_media_volume_off, mContext.getTheme()); in updateStatus()
146 R.drawable.car_ic_media_volume_down, mContext.getTheme()); in updateStatus()
149 R.drawable.car_ic_media_volume_up, mContext.getTheme()); in updateStatus()
DSignalStatusIconController.java86 mHotSpotIconDrawable = mResources.getDrawable(R.drawable.ic_hotspot, mContext.getTheme()); in SignalStatusIconController()
146 mContext.getTheme()); in setWifiIndicators()
160 mEthernetIconDrawable = mResources.getDrawable(state.icon, mContext.getTheme()); in setEthernetIndicators()
DWifiSignalStatusIconController.java93 mContext.getTheme()); in setWifiIndicators()
98 mContext.getTheme()); in setWifiIndicators()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbContext.java140 public Resources.Theme getTheme() { in getTheme() method in UwbContext
144 mUwbThemeFromApk = resourcesApkContext.getTheme(); in getTheme()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppNotification.java411 mContext.getTheme())); in updateActiveNotification()
536 mContext.getTheme())) in updateCompletedNotification()
625 mContext.getTheme())) in updateCompletedNotification()
658 mContext.getTheme())) in updateCompletedNotification()
748 mContext.getTheme())) in updateIncomingFileConfirmNotification()
785 mContext.getTheme())) in updateIncomingFileConfirmNotification()
/packages/apps/Settings/src/com/android/settings/
DSetupWizardUtils.java43 public static int getTheme(Context context, Intent intent) { in getTheme() method in SetupWizardUtils
106 final int suwTheme = getTheme(context, intent); in getTransparentTheme()
/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/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/
DDeviceLockNotificationManager.java144 context.getTheme())) in sendDeviceResetTimerNotification()
244 context.getTheme())) in sendDeferredProvisioningNotification()
276 context.getTheme())) in createDeviceResetNotification()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiContext.java192 public Resources.Theme getTheme() { in getTheme() method in WifiContext
196 mWifiThemeFromApk = resourcesApkContext.getTheme(); in getTheme()
/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.java156 final Resources.Theme theme = mContext.getTheme(); in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate()
157 when(activity.getTheme()).thenReturn(theme); in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDisplay.java50 if (context.getTheme().resolveAttribute(android.R.attr.actionBarSize, tv, true)) { in actionBarHeight()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPhotoPickerSettingsActivity.java89 getTheme().applyStyle(R.style.PickerMaterialTheme, /* force */ false); in onCreate()
92 getTheme().applyStyle(R.style.OptOutEdgeToEdgeEnforcement, /* force */ false); in onCreate()
/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/privatespace/delete/
DPrivateSpaceDeleteActivity.java42 setTheme(SetupWizardUtils.getTheme(this, getIntent())); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/widget/
DAlphaTouchInterceptorOverlay.java52 final int resId = ThemeUtils.getSelectableItemBackground(context.getTheme()); in AlphaTouchInterceptorOverlay()

1234567