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/base/core/java/android/app/
DApplicationPackageManager.java731 WeakReference<Drawable> wr = sIconCache.get(name); in getCachedIcon() local
733 + name + ": " + wr); in getCachedIcon()
734 if (wr != null) { // we have the activity in getCachedIcon()
735 Drawable dr = wr.get(); in getCachedIcon()
851 WeakReference<CharSequence> wr = sStringCache.get(name); in getCachedString() local
852 if (wr != null) { // we have the activity in getCachedString()
853 CharSequence cs = wr.get(); in getCachedString()
DActivityThread.java1464 WeakReference<Resources> wr = mActiveResources.get(key); in getTopLevelResources() local
1465 r = wr != null ? wr.get() : null; in getTopLevelResources()
1496 WeakReference<Resources> wr = mActiveResources.get(key); in getTopLevelResources() local
1497 Resources existing = wr != null ? wr.get() : null; in getTopLevelResources()
/frameworks/base/opengl/tests/hwc/
DhwcTestLib.cpp874 float wr = 0.2126, wg = 0.7152, wb = 0.0722; // ITU709 recommended constants in hwcTestColorConvert() local
877 float y = wr * r + wg * g + wb * b; in hwcTestColorConvert()
879 float v = 0.5 * ((r - y) / (1.0 - wr)) + 0.5; in hwcTestColorConvert()
914 float r = 2.0 * (v - 0.5) * (1.0 - wr) + y; in hwcTestColorConvert()
916 float g = (y - wr * r - wb * b) / wg; in hwcTestColorConvert()
/frameworks/base/core/java/android/content/res/
DResources.java1984 WeakReference<Drawable.ConstantState> wr = drawableCache.get(key); in getCachedDrawable() local
1985 if (wr != null) { // we have the key in getCachedDrawable()
1986 Drawable.ConstantState entry = wr.get(); in getCachedDrawable()
2086 WeakReference<ColorStateList> wr = mColorStateListCache.get(key); in getCachedColorStateList() local
2087 if (wr != null) { // we have the key in getCachedColorStateList()
2088 ColorStateList entry = wr.get(); in getCachedColorStateList()
/frameworks/base/opengl/libagl2/src/
Degl.cpp1693 int wr = surface->getHorizontalResolution(); in eglQuerySurface() local
1695 *value = (wr * EGL_DISPLAY_SCALING) / hr; in eglQuerySurface()
/frameworks/base/opengl/libagl/
Degl.cpp1619 int wr = surface->getHorizontalResolution(); in eglQuerySurface() local
1621 *value = (wr * EGL_DISPLAY_SCALING) / hr; in eglQuerySurface()