/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | WidgetUtils.java | 69 if (res.getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT) { in getScaleRatio() 99 if (res.getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT) { in getHeightScaleRatio() 122 String whichHeight = res.getConfiguration().orientation == in showList()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ConfigMonitor.java | 41 Configuration config = context.getResources().getConfiguration(); in ConfigMonitor() 48 Configuration config = context.getResources().getConfiguration(); in onReceive()
|
/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/Launcher3/src/com/android/launcher3/compat/ |
D | AlphabeticIndexCompat.java | 39 if (context.getResources().getConfiguration().locale in AlphabeticIndexCompat() 119 Locale curLocale = context.getResources().getConfiguration().locale; in AlphabeticIndexV16() 173 context.getResources().getConfiguration()); in AlphabeticIndexVN()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherAppWidgetHostView.java | 53 mPreviousOrientation = mContext.getResources().getConfiguration().orientation; in updateAppWidget() 58 int orientation = mContext.getResources().getConfiguration().orientation; in orientationChangedSincedInflation()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactsUnavailableFragment.java | 81 if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) { in onCreateView() 134 if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) { in updateViewsForBusyStatus() 190 if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) { in updateButtonVisibilty()
|
/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()
|
D | RunInLocale.java | 38 final Configuration conf = res.getConfiguration(); in runInLocale()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherAppWidgetHostView.java | 70 mPreviousOrientation = mContext.getResources().getConfiguration().orientation; in updateLastInflationOrientation() 82 int orientation = mContext.getResources().getConfiguration().orientation; in isReinflateRequired()
|
/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/Dialer/src/com/android/dialer/util/ |
D | OrientationUtil.java | 31 return context.getResources().getConfiguration().orientation in isLandscape()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | DeviceUtils.java | 25 int uiMode = context.getResources().getConfiguration().uiMode; in isTelevision()
|
/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/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/settings/ |
D | ViewUtils.java | 29 return context.getResources().getConfiguration().isScreenRound(); in getIsCircular()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
D | ViewContact.java | 30 Configuration config = getResources().getConfiguration(); in onCreate()
|
D | FrontDoor.java | 43 Configuration config = getResources().getConfiguration(); in onCreate()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | ConversationViewUtils.java | 27 final float fontScale = resources.getConfiguration().fontScale; in setTextZoom()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | UserDictionarySettingsUtils.java | 38 final Locale systemLocale = context.getResources().getConfiguration().locale; in getLocaleDisplayName()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
D | UserDictionarySettingsUtils.java | 39 final Locale systemLocale = context.getResources().getConfiguration().locale; in getLocaleDisplayName()
|
/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/Dialer/tests/src/com/android/dialer/util/ |
D | LocaleTestUtils.java | 113 Configuration contextConfiguration = new Configuration(resources.getConfiguration()); in setResourcesLocale()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
D | GeoUtil.java | 54 final Locale locale = context.getResources().getConfiguration().locale; in getGeocodedLocationFor()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | UserDictionaryCompatUtils.java | 35 final Locale currentLocale = context.getResources().getConfiguration().locale; in addWord()
|