Searched refs:wr (Results 1 – 7 of 7) sorted by relevance
112 WeakReference<Drawable> wr = mDrawableRef; in getCachedDrawable() local115 if (wr != null) in getCachedDrawable()116 d = wr.get(); in getCachedDrawable()
731 WeakReference<Drawable> wr = sIconCache.get(name); in getCachedIcon() local733 + 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() local852 if (wr != null) { // we have the activity in getCachedString()853 CharSequence cs = wr.get(); in getCachedString()
1464 WeakReference<Resources> wr = mActiveResources.get(key); in getTopLevelResources() local1465 r = wr != null ? wr.get() : null; in getTopLevelResources()1496 WeakReference<Resources> wr = mActiveResources.get(key); in getTopLevelResources() local1497 Resources existing = wr != null ? wr.get() : null; in getTopLevelResources()
874 float wr = 0.2126, wg = 0.7152, wb = 0.0722; // ITU709 recommended constants in hwcTestColorConvert() local877 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()
1984 WeakReference<Drawable.ConstantState> wr = drawableCache.get(key); in getCachedDrawable() local1985 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() local2087 if (wr != null) { // we have the key in getCachedColorStateList()2088 ColorStateList entry = wr.get(); in getCachedColorStateList()
1693 int wr = surface->getHorizontalResolution(); in eglQuerySurface() local1695 *value = (wr * EGL_DISPLAY_SCALING) / hr; in eglQuerySurface()
1619 int wr = surface->getHorizontalResolution(); in eglQuerySurface() local1621 *value = (wr * EGL_DISPLAY_SCALING) / hr; in eglQuerySurface()