Home
last modified time | relevance | path

Searched refs:getConfiguration (Results 1 – 25 of 139) sorted by relevance

123456

/packages/apps/DeskClock/src/com/android/alarmclock/
DWidgetUtils.java69 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/
DConfigMonitor.java41 Configuration config = context.getResources().getConfiguration(); in ConfigMonitor()
48 Configuration config = context.getResources().getConfiguration(); in onReceive()
/packages/apps/Camera2/src/com/android/camera/ui/
DStickyBottomCaptureLayout.java57 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/
DAlphabeticIndexCompat.java39 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/
DLauncherAppWidgetHostView.java53 mPreviousOrientation = mContext.getResources().getConfiguration().orientation; in updateAppWidget()
58 int orientation = mContext.getResources().getConfiguration().orientation; in orientationChangedSincedInflation()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsUnavailableFragment.java81 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/
DSubtypeLocaleUtils.java175 return sResources.getConfiguration().locale; in getDisplayLocaleOfSubtypeLocale()
185 final Locale displayLocale = sResources.getConfiguration().locale; in getSubtypeLocaleDisplayNameInSystemLocale()
271 final Locale displayLocale = sResources.getConfiguration().locale; in getSubtypeDisplayNameInSystemLocale()
DRunInLocale.java38 final Configuration conf = res.getConfiguration(); in runInLocale()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppWidgetHostView.java70 mPreviousOrientation = mContext.getResources().getConfiguration().orientation; in updateLastInflationOrientation()
82 int orientation = mContext.getResources().getConfiguration().orientation; in isReinflateRequired()
/packages/apps/Messaging/src/com/android/messaging/util/
DUiUtils.java172 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()
DDates.java109 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/
DOrientationUtil.java31 return context.getResources().getConfiguration().orientation in isLandscape()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DDeviceUtils.java25 int uiMode = context.getResources().getConfiguration().uiMode; in isTelevision()
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProvider.java232 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/
DSettingsValues.java124 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/
DViewUtils.java29 return context.getResources().getConfiguration().isScreenRound(); in getIsCircular()
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DViewContact.java30 Configuration config = getResources().getConfiguration(); in onCreate()
DFrontDoor.java43 Configuration config = getResources().getConfiguration(); in onCreate()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DConversationViewUtils.java27 final float fontScale = resources.getConfiguration().fontScale; in setTextZoom()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionarySettingsUtils.java38 final Locale systemLocale = context.getResources().getConfiguration().locale; in getLocaleDisplayName()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionarySettingsUtils.java39 final Locale systemLocale = context.getResources().getConfiguration().locale; in getLocaleDisplayName()
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DDialpadView.java107 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/
DLocaleTestUtils.java113 Configuration contextConfiguration = new Configuration(resources.getConfiguration()); in setResourcesLocale()
/packages/apps/ContactsCommon/src/com/android/contacts/common/
DGeoUtil.java54 final Locale locale = context.getResources().getConfiguration().locale; in getGeocodedLocationFor()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DUserDictionaryCompatUtils.java35 final Locale currentLocale = context.getResources().getConfiguration().locale; in addWord()

123456