Home
last modified time | relevance | path

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

1234567

/packages/apps/Launcher3/src/com/android/launcher3/compat/
DAlphabeticIndexCompat.java42 if (context.getResources().getConfiguration().locale in AlphabeticIndexCompat()
122 Locale curLocale = context.getResources().getConfiguration().locale; in AlphabeticIndexV16()
170 LocaleList locales = context.getResources().getConfiguration().getLocales(); in AlphabeticIndexVN()
/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/util/
DConfigMonitor.java39 Configuration config = context.getResources().getConfiguration(); in ConfigMonitor()
46 Configuration config = context.getResources().getConfiguration(); in onReceive()
/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/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()
/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/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperUtils.java141 if (res.getConfiguration().smallestScreenWidthDp >= 720) { in getDefaultWallpaperSize()
156 (res.getConfiguration().getLayoutDirection() == View.LAYOUT_DIRECTION_RTL); in isRtl()
/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/Contacts/src/com/android/contacts/list/
DContactsUnavailableFragment.java86 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/dialpadview/
DDialpadView.java105 getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE; in DialpadView()
151 final Locale currentLocale = resources.getConfiguration().locale; in setupKeypad()
156 nf = DecimalFormat.getInstance(resources.getConfiguration().locale); in setupKeypad()
/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/TV/src/com/android/tv/dvr/ui/list/
DSchedulesHeaderRowPresenter.java119 mLtr = context.getResources().getConfiguration().getLayoutDirection() in SeriesRecordingHeaderRowPresenter()
201 mLtr = context.getResources().getConfiguration().getLayoutDirection() in SeriesHeaderRowViewHolder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DRecentAppsPreferenceControllerTest.java186 when(mMockContext.getResources().getConfiguration()).thenReturn(configuration); in display_showRecents()
256 when(mMockContext.getResources().getConfiguration()).thenReturn(configuration); in display_showRecents_formatSummary()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DBitmapWorkerTask.java264 resources.updateConfiguration(context.getResources().getConfiguration(), in loadDrawable()
307 resources.updateConfiguration(context.getResources().getConfiguration(), in getDrawable()
DDrawableLoader.java324 resources.updateConfiguration(context.getResources().getConfiguration(), in loadDrawable()
346 resources.updateConfiguration(context.getResources().getConfiguration(), in getDrawable()
/packages/apps/DevCamera/src/com/android/devcamera/
DCameraDeviceReport.java378 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/
DCarLatinIME.java203 mLocale = this.getResources().getConfiguration().locale; in getLocale()
215 Configuration configuration = res.getConfiguration(); in createKeyboard()
/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java179 if (context.getResources().getConfiguration().smallestScreenWidthDp >= 720) { in InvariantDeviceProfile()
330 return context.getResources().getConfiguration().orientation in getDeviceProfile()
/packages/services/Telephony/src/com/android/phone/
DOutgoingCallBroadcaster.java287 final Configuration configuration = getResources().getConfiguration(); in onCreate()
365 final Configuration configuration = getResources().getConfiguration(); in processIntent()
/packages/apps/Dialer/java/com/android/dialer/util/
DOrientationUtil.java27 return context.getResources().getConfiguration().orientation in isLandscape()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java509 final Locale systemLocale = mContext.getResources().getConfiguration().locale; in isSystemLocaleSameAsLocaleOfAllEnabledSubtypesOfEnabledImes()
548 final Locale systemLocale = mContext.getResources().getConfiguration().locale; in updateShortcutIme()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DDeviceUtils.java25 int uiMode = context.getResources().getConfiguration().uiMode; in isTelevision()
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DViewContact.java30 Configuration config = getResources().getConfiguration(); in onCreate()

1234567