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()
201 double wr = (double) actualWidth / desiredWidth; in findBestSampleSize() local203 double ratio = Math.min(wr, hr); in findBestSampleSize()
822 WeakReference<Drawable.ConstantState> wr = sIconCache.get(name); in getCachedIcon() local824 + 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() local948 if (wr != null) { // we have the activity in getCachedString()949 CharSequence cs = wr.get(); in getCachedString()
1699 WeakReference<Resources> wr = mActiveResources.get(key); in getTopLevelResources() local1700 r = wr != null ? wr.get() : null; in getTopLevelResources()1744 WeakReference<Resources> wr = mActiveResources.get(key); in getTopLevelResources() local1745 Resources existing = wr != null ? wr.get() : null; in getTopLevelResources()
876 float wr = 0.2126, wg = 0.7152, wb = 0.0722; // ITU709 recommended constants in hwcTestColorConvert() local879 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()
2171 WeakReference<Drawable.ConstantState> wr = drawableCache.get(key); in getCachedDrawable() local2172 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() local2282 if (wr != null) { // we have the key in getCachedColorStateList()2283 ColorStateList entry = wr.get(); in getCachedColorStateList()
1644 int wr = surface->getHorizontalResolution(); in eglQuerySurface() local1646 *value = (wr * EGL_DISPLAY_SCALING) / hr; in eglQuerySurface()