/packages/apps/Settings/tests/robotests/src/com/android/settings/display/darkmode/ |
D | DarkModeActivationPreferenceControllerTest.java | 105 when(res.getConfiguration()).thenReturn(configNightYes); in nightMode_toggleButton_offManual() 119 when(res.getConfiguration()).thenReturn(configNightNo); in nightMode_toggleButton_onAutoWhenModeIsYes() 132 when(res.getConfiguration()).thenReturn(configNightNo); in nightMode_toggleButton_onAutoWhenModeIsAuto() 145 when(res.getConfiguration()).thenReturn(configNightYes); in nightModeSummary_buttonText_onManual() 154 when(res.getConfiguration()).thenReturn(configNightNo); in nightModeSummary_buttonText_offAuto()
|
/packages/apps/Settings/src/com/android/settings/display/darkmode/ |
D | DarkModeActivationPreferenceController.java | 55 final boolean active = (mContext.getResources().getConfiguration().uiMode in updateState() 86 final boolean isActivated = (mContext.getResources().getConfiguration().uiMode in getSummary() 103 final boolean active = (mContext.getResources().getConfiguration().uiMode
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | StickyBottomCaptureLayout.java | 57 final int orientation = getResources().getConfiguration().orientation; 71 final int orientation = getResources().getConfiguration().orientation; 155 final int orientation = getResources().getConfiguration().orientation; in getRoundedThumbnailPosition()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | DisplayMetricsRetriever.java | 57 switch (resources.getConfiguration().orientation) { in getDisplayMetrics() 63 … Log.e(TAG, "Unknown device orientation: " + resources.getConfiguration().orientation); in getDisplayMetrics()
|
D | ScreenSizeCalculator.java | 61 switch (Resources.getSystem().getConfiguration().orientation) { in getScreenSize() 68 + Resources.getSystem().getConfiguration().orientation); in getScreenSize()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/suggestions/ |
D | SuggestionItemView.java | 58 if (getResources().getConfiguration().getLayoutDirection() == View.LAYOUT_DIRECTION_RTL) { in onFinishInflate() 89 getResources().getConfiguration().getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in focusSearch()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ui/ |
D | ThemeUiTestBase.java | 53 mConfiguration = mTargetContext.getResources().getConfiguration(); in setUp() 75 context.getResources().getConfiguration()); in getThemeByUiMode()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SubtypeLocaleUtils.java | 175 return sResources.getConfiguration().locale; in getDisplayLocaleOfSubtypeLocale() 185 final Locale displayLocale = sResources.getConfiguration().locale; in getSubtypeLocaleDisplayNameInSystemLocale() 271 final Locale displayLocale = sResources.getConfiguration().locale; in getSubtypeDisplayNameInSystemLocale()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ConfigMonitor.java | 56 Configuration config = context.getResources().getConfiguration(); in ConfigMonitor() 77 Configuration config = context.getResources().getConfiguration(); in onReceive()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
D | WallpaperUtils.java | 141 if (res.getConfiguration().smallestScreenWidthDp >= 720) { in getDefaultWallpaperSize() 156 (res.getConfiguration().getLayoutDirection() == View.LAYOUT_DIRECTION_RTL); in isRtl()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | UiUtils.java | 172 return Factory.get().getApplicationContext().getResources().getConfiguration().orientation in isLandscapeMode() 267 final int orientation = activity.getResources().getConfiguration().orientation; in lockOrientation() 304 .getConfiguration().getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in isRtlMode()
|
D | Dates.java | 109 context.getResources().getConfiguration().locale, false /*abbreviated*/, in getMessageDetailsTimeString() 123 context.getResources().getConfiguration().locale, flags, minPeriodToday); in getTimeString()
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/ |
D | TaskItemView.java | 181 int orientation = getResources().getConfiguration().orientation; in getSafeThumbnail() 193 onOrientationChanged(getResources().getConfiguration().orientation); in onAttachedToWindow()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactsUnavailableFragment.java | 86 if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) { in onCreateView() 144 if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) { in updateButtonVisibility()
|
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/ |
D | AssistedDialingSettingFragment.java | 178 .setRegion(getResources().getConfiguration().getLocales().get(0).getCountry()) in buildDefaultCountryChooserKeysAndValues() 179 .setLanguage(getResources().getConfiguration().getLocales().get(0).getLanguage()) in buildDefaultCountryChooserKeysAndValues()
|
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/ |
D | PartnerBookmarksProvider.java | 232 setActiveConfiguration(res.getConfiguration()); in createDefaultBookmarks() 354 mOpenHelper.prepareForConfiguration(getContext().getResources().getConfiguration()); in onConfigurationChanged() 361 mOpenHelper.prepareForConfiguration(getContext().getResources().getConfiguration()); in query()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | SettingsValues.java | 124 mLocale = res.getConfiguration().locale; in SettingsValues() 159 mHasHardwareKeyboard = Settings.readHasHardwareKeyboard(res.getConfiguration()); in SettingsValues() 215 mDisplayOrientation = res.getConfiguration().orientation; in SettingsValues()
|
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/ |
D | DialpadView.java | 107 mIsLandscape = getResources().getConfiguration().orientation == in DialpadView() 153 final Locale currentLocale = resources.getConfiguration().locale; in setupKeypad() 158 nf = DecimalFormat.getInstance(resources.getConfiguration().locale); in setupKeypad()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | SchedulesHeaderRowPresenter.java | 107 context.getResources().getConfiguration().getLayoutDirection() in SeriesRecordingHeaderRowPresenter() 203 context.getResources().getConfiguration().getLayoutDirection() in SeriesHeaderRowViewHolder()
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | CameraDeviceReport.java | 378 Log.v(TAG, "screen width dp = " + activity.getResources().getConfiguration().screenWidthDp); in printDisplayInfo() 379 … Log.v(TAG, "screen height dp = " + activity.getResources().getConfiguration().screenHeightDp); in printDisplayInfo()
|
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/ |
D | CarLatinIME.java | 204 mLocale = this.getResources().getConfiguration().locale; in getLocale() 216 Configuration configuration = res.getConfiguration(); in createKeyboard()
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | OrientationUtil.java | 27 return context.getResources().getConfiguration().orientation in isLandscape()
|
/packages/apps/Dialer/java/com/android/dialer/i18n/ |
D | LocaleUtils.java | 27 LocaleList localList = context.getResources().getConfiguration().getLocales(); in getLocale()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/ |
D | DeviceUtils.java | 25 int uiMode = context.getResources().getConfiguration().uiMode; in isTelevision()
|
/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
D | SpannableUtil.java | 36 final Locale locale = res.getConfiguration().getLocales().get(0); in getResourcesText()
|