Home
last modified time | relevance | path

Searched refs:wr (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/text/style/
DDynamicDrawableSpan.java112 WeakReference<Drawable> wr = mDrawableRef; in getCachedDrawable() local
115 if (wr != null) in getCachedDrawable()
116 d = wr.get(); in getCachedDrawable()
/frameworks/volley/src/com/android/volley/toolbox/
DImageRequest.java201 double wr = (double) actualWidth / desiredWidth; in findBestSampleSize() local
203 double ratio = Math.min(wr, hr); in findBestSampleSize()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java822 WeakReference<Drawable.ConstantState> wr = sIconCache.get(name); in getCachedIcon() local
824 + name + ": " + wr); in getCachedIcon()
825 if (wr != null) { // we have the activity in getCachedIcon()
826 Drawable.ConstantState state = wr.get(); in getCachedIcon()
947 WeakReference<CharSequence> wr = sStringCache.get(name); in getCachedString() local
948 if (wr != null) { // we have the activity in getCachedString()
949 CharSequence cs = wr.get(); in getCachedString()
DActivityThread.java1699 WeakReference<Resources> wr = mActiveResources.get(key); in getTopLevelResources() local
1700 r = wr != null ? wr.get() : null; in getTopLevelResources()
1744 WeakReference<Resources> wr = mActiveResources.get(key); in getTopLevelResources() local
1745 Resources existing = wr != null ? wr.get() : null; in getTopLevelResources()
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp876 float wr = 0.2126, wg = 0.7152, wb = 0.0722; // ITU709 recommended constants in hwcTestColorConvert() local
879 float y = wr * r + wg * g + wb * b; in hwcTestColorConvert()
881 float v = 0.5 * ((r - y) / (1.0 - wr)) + 0.5; in hwcTestColorConvert()
916 float r = 2.0 * (v - 0.5) * (1.0 - wr) + y; in hwcTestColorConvert()
918 float g = (y - wr * r - wb * b) / wg; in hwcTestColorConvert()
/frameworks/base/core/java/android/content/res/
DResources.java2171 WeakReference<Drawable.ConstantState> wr = drawableCache.get(key); in getCachedDrawable() local
2172 if (wr != null) { // we have the key in getCachedDrawable()
2173 Drawable.ConstantState entry = wr.get(); in getCachedDrawable()
2281 WeakReference<ColorStateList> wr = mColorStateListCache.get(key); in getCachedColorStateList() local
2282 if (wr != null) { // we have the key in getCachedColorStateList()
2283 ColorStateList entry = wr.get(); in getCachedColorStateList()
/frameworks/native/opengl/libagl/
Degl.cpp1644 int wr = surface->getHorizontalResolution(); in eglQuerySurface() local
1646 *value = (wr * EGL_DISPLAY_SCALING) / hr; in eglQuerySurface()