/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 | 155 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/ |
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/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/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppNotification.java | 363 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/ |
D | WifiContext.java | 135 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/ |
D | ThemeComponentOption.java | 186 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/ |
D | SetupWizardUtils.java | 43 public static int getTheme(Context context, Intent intent) { in getTheme() method in SetupWizardUtils 96 final int suwTheme = getTheme(context, intent); in getTransparentTheme()
|
D | Settings.java | 172 setTheme(SetupWizardUtils.getTheme(this, getIntent())); in onCreate() 185 setTheme(SetupWizardUtils.getTheme(this, getIntent())); in onCreate()
|
D | CheckableLinearLayout.java | 33 context.getTheme().resolveAttribute(android.R.attr.disabledAlpha, alpha, true); in CheckableLinearLayout()
|
/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/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/wifi/tether/ |
D | WifiTetherSettingsTest.java | 134 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/ |
D | BillingCycleSettingsTest.java | 154 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/ |
D | AvatarUtil.java | 93 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/ |
D | VoicemailPlaybackLayout.java | 234 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/ |
D | Display.java | 50 if (context.getTheme().resolveAttribute(android.R.attr.actionBarSize, tv, true)) { in actionBarHeight()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrStopSeriesRecordingDialogFragment.java | 42 public int getTheme() { in getTheme() method in DvrStopSeriesRecordingDialogFragment
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppBaseActivity.java | 48 final int new_resid = SetupWizardUtils.getTheme(this, getIntent()); in onApplyThemeResource()
|
/packages/apps/Dialer/java/com/android/dialer/theme/base/ |
D | Theme.java | 41 int getTheme(); in getTheme() method
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | AlphaTouchInterceptorOverlay.java | 52 final int resId = ThemeUtils.getSelectableItemBackground(context.getTheme()); in AlphaTouchInterceptorOverlay()
|
/packages/apps/Dialer/java/com/android/dialer/widget/ |
D | MaxHeightScrollView.java | 47 context.getTheme().obtainStyledAttributes(attrs, R.styleable.MaxHeightScrollView, 0, 0); in MaxHeightScrollView()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/ |
D | WifiCallingSettingsForSubTest.java | 114 doReturn(mContext.getTheme()).when(mActivity).getTheme(); in setUp()
|