Searched refs:wr (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/android/content/res/ |
D | ConfigurationBoundResourceCache.java | 79 final WeakReference<ConstantState<T>> wr; in get() local 85 wr = themedCache.get(key); in get() 87 if (wr == null) { in get() 90 final ConstantState entry = wr.get(); in get() 129 final WeakReference<ConstantState<T>> wr = themeCache.valueAt(i); in onConfigurationChangeInt() local 130 final ConstantState<T> constantState = wr.get(); in onConfigurationChangeInt()
|
D | Resources.java | 2509 final WeakReference<ConstantState> wr = drawableCache.get(key); in getConstantStateLocked() local 2510 if (wr != null) { // we have the key in getConstantStateLocked() 2511 final ConstantState entry = wr.get(); in getConstantStateLocked() 2626 WeakReference<ColorStateList> wr = mColorStateListCache.get(key); in getCachedColorStateList() local 2627 if (wr != null) { // we have the key in getCachedColorStateList() 2628 ColorStateList entry = wr.get(); in getCachedColorStateList()
|
/frameworks/base/core/java/android/text/style/ |
D | DynamicDrawableSpan.java | 109 WeakReference<Drawable> wr = mDrawableRef; in getCachedDrawable() local 112 if (wr != null) in getCachedDrawable() 113 d = wr.get(); in getCachedDrawable()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FastPrintWriter.java | 132 public FastPrintWriter(Writer wr) { in FastPrintWriter() argument 133 this(wr, false, 8192); in FastPrintWriter() 150 public FastPrintWriter(Writer wr, boolean autoFlush) { in FastPrintWriter() argument 151 this(wr, autoFlush, 8192); in FastPrintWriter() 171 public FastPrintWriter(Writer wr, boolean autoFlush, int bufferLen) { in FastPrintWriter() argument 173 if (wr == null) { in FastPrintWriter() 180 mWriter = wr; in FastPrintWriter()
|
/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 163 WeakReference<Resources> wr = mActiveResources.get(key); in getTopLevelResources() local 164 r = wr != null ? wr.get() : null; in getTopLevelResources() 237 WeakReference<Resources> wr = mActiveResources.get(key); in getTopLevelResources() local 238 Resources existing = wr != null ? wr.get() : null; in getTopLevelResources()
|
D | ApplicationPackageManager.java | 995 WeakReference<Drawable.ConstantState> wr = sIconCache.get(name); in getCachedIcon() local 997 + name + ": " + wr); in getCachedIcon() 998 if (wr != null) { // we have the activity in getCachedIcon() 999 Drawable.ConstantState state = wr.get(); in getCachedIcon() 1114 WeakReference<CharSequence> wr = sStringCache.get(name); in getCachedString() local 1115 if (wr != null) { // we have the activity in getCachedString() 1116 CharSequence cs = wr.get(); in getCachedString()
|
/frameworks/volley/src/com/android/volley/toolbox/ |
D | ImageRequest.java | 201 double wr = (double) actualWidth / desiredWidth; in findBestSampleSize() local 203 double ratio = Math.min(wr, hr); in findBestSampleSize()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcTestLib.cpp | 872 float wr = 0.2126, wg = 0.7152, wb = 0.0722; // ITU709 recommended constants in hwcTestColorConvert() local 875 float y = wr * r + wg * g + wb * b; in hwcTestColorConvert() 877 float v = 0.5 * ((r - y) / (1.0 - wr)) + 0.5; in hwcTestColorConvert() 912 float r = 2.0 * (v - 0.5) * (1.0 - wr) + y; in hwcTestColorConvert() 914 float g = (y - wr * r - wb * b) / wg; in hwcTestColorConvert()
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 1644 int wr = surface->getHorizontalResolution(); in eglQuerySurface() local 1646 *value = (wr * EGL_DISPLAY_SCALING) / hr; in eglQuerySurface()
|