Home
last modified time | relevance | path

Searched refs:sResources (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallTypeIconsView.java45 private static Resources sResources; field in CallTypeIconsView
64 if (sResources == null) { in CallTypeIconsView()
65 sResources = new Resources(context, false); in CallTypeIconsView()
83 mWidth += drawable.getIntrinsicWidth() + sResources.iconMargin; in add()
96 mWidth += sResources.videoCall.getIntrinsicWidth() + sResources.iconMargin; in setShowVideo()
97 mHeight = Math.max(mHeight, sResources.videoCall.getIntrinsicHeight()); in setShowVideo()
114 mWidth += sResources.hdCall.getIntrinsicWidth() + sResources.iconMargin; in setShowHd()
115 mHeight = Math.max(mHeight, sResources.hdCall.getIntrinsicHeight()); in setShowHd()
123 mWidth += sResources.wifiCall.getIntrinsicWidth() + sResources.iconMargin; in setShowWifi()
124 mHeight = Math.max(mHeight, sResources.wifiCall.getIntrinsicHeight()); in setShowWifi()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSubtypeLocaleUtils.java57 private static Resources sResources; field in SubtypeLocaleUtils
101 sResources = res; in initLocked()
175 return sResources.getConfiguration().locale; in getDisplayLocaleOfSubtypeLocale()
185 final Locale displayLocale = sResources.getConfiguration().locale; in getSubtypeLocaleDisplayNameInSystemLocale()
212 return sResources.getString(R.string.subtype_no_language); in getSubtypeLocaleDisplayNameInternal()
232 displayName = getExceptionalName.runInLocale(sResources, displayLocale); in getSubtypeLocaleDisplayNameInternal()
271 final Locale displayLocale = sResources.getConfiguration().locale; in getSubtypeDisplayNameInSystemLocale()
307 getSubtypeName.runInLocale(sResources, displayLocale), displayLocale); in getSubtypeDisplayNameInternal()