/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | SetupWizardUtilsTest.java | 96 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()
|
D | SettingsPreferenceFragmentTest.java | 172 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/ |
D | BackgroundSurfaceView.java | 75 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()
|
D | TaskViewPanelOverlay.java | 90 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/ |
D | AospThemeImpl.java | 55 .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/ |
D | WearableDialogHelper.java | 54 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/ |
D | CheckableLabeledButton.java | 71 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/ |
D | MediaVolumeStatusIconController.java | 143 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()
|
D | SignalStatusIconController.java | 86 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()
|
D | WifiSignalStatusIconController.java | 93 mContext.getTheme()); in setWifiIndicators() 98 mContext.getTheme()); in setWifiIndicators()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbContext.java | 140 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/ |
D | BluetoothOppNotification.java | 411 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/ |
D | SetupWizardUtils.java | 43 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/ |
D | ConfirmDeviceCredentialBaseActivity.java | 71 setTheme(SetupWizardUtils.getTheme(this, getIntent())); in onCreate() 78 setTheme(SetupWizardUtils.getTheme(this, getIntent())); in onCreate()
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/ |
D | DeviceLockNotificationManager.java | 144 context.getTheme())) in sendDeviceResetTimerNotification() 244 context.getTheme())) in sendDeferredProvisioningNotification() 276 context.getTheme())) in createDeviceResetNotification()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiContext.java | 192 public Resources.Theme getTheme() { in getTheme() method in WifiContext 196 mWifiThemeFromApk = resourcesApkContext.getTheme(); in getTheme()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
D | SmsBottomSheetFragment.java | 95 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/ |
D | PreviewPagerAdapter.java | 76 configContext.getTheme().setTo(context.getTheme()); in PreviewPagerAdapter()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | BillingCycleSettingsTest.java | 156 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/ |
D | Display.java | 50 if (context.getTheme().resolveAttribute(android.R.attr.actionBarSize, tv, true)) { in actionBarHeight()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ |
D | PhotoPickerSettingsActivity.java | 89 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/ |
D | DvrStopSeriesRecordingDialogFragment.java | 42 public int getTheme() { in getTheme() method in DvrStopSeriesRecordingDialogFragment
|
/packages/apps/Dialer/java/com/android/dialer/theme/base/ |
D | Theme.java | 41 int getTheme(); in getTheme() method
|
/packages/apps/Settings/src/com/android/settings/privatespace/delete/ |
D | PrivateSpaceDeleteActivity.java | 42 setTheme(SetupWizardUtils.getTheme(this, getIntent())); in onCreate()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | AlphaTouchInterceptorOverlay.java | 52 final int resId = ThemeUtils.getSelectableItemBackground(context.getTheme()); in AlphaTouchInterceptorOverlay()
|