Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DFastPrintWriter.java133 public FastPrintWriter(Writer wr) { in FastPrintWriter() argument
134 this(wr, false, 8192); in FastPrintWriter()
151 public FastPrintWriter(Writer wr, boolean autoFlush) { in FastPrintWriter() argument
152 this(wr, autoFlush, 8192); in FastPrintWriter()
172 public FastPrintWriter(Writer wr, boolean autoFlush, int bufferLen) { in FastPrintWriter() argument
174 if (wr == null) { in FastPrintWriter()
181 mWriter = wr; in FastPrintWriter()
/frameworks/base/core/java/android/text/style/
DDynamicDrawableSpan.java109 WeakReference<Drawable> wr = mDrawableRef; in getCachedDrawable() local
112 if (wr != null) in getCachedDrawable()
113 d = wr.get(); in getCachedDrawable()
/frameworks/volley/src/main/java/com/android/volley/toolbox/
DImageRequest.java234 double wr = (double) actualWidth / desiredWidth; in findBestSampleSize() local
236 double ratio = Math.min(wr, hr); in findBestSampleSize()
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp869 float wr = 0.2126, wg = 0.7152, wb = 0.0722; // ITU709 recommended constants in hwcTestColorConvert() local
872 float y = wr * r + wg * g + wb * b; in hwcTestColorConvert()
874 float v = 0.5 * ((r - y) / (1.0 - wr)) + 0.5; in hwcTestColorConvert()
909 float r = 2.0 * (v - 0.5) * (1.0 - wr) + y; in hwcTestColorConvert()
911 float g = (y - wr * r - wb * b) / wg; in hwcTestColorConvert()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatDrawableManager.java382 final WeakReference<ConstantState> wr = cache.get(key); in getCachedDrawable() local
383 if (wr != null) { in getCachedDrawable()
385 ConstantState entry = wr.get(); in getCachedDrawable()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1353 final WeakReference<Drawable.ConstantState> wr = sIconCache.get(name); in getCachedIcon() local
1355 + name + ": " + wr); in getCachedIcon()
1356 if (wr != null) { // we have the activity in getCachedIcon()
1357 final Drawable.ConstantState state = wr.get(); in getCachedIcon()
1472 WeakReference<CharSequence> wr = sStringCache.get(name); in getCachedString() local
1473 if (wr != null) { // we have the activity in getCachedString()
1474 CharSequence cs = wr.get(); in getCachedString()
/frameworks/native/opengl/libagl/
Degl.cpp1672 int wr = surface->getHorizontalResolution(); in eglQuerySurface() local
1674 *value = (wr * EGL_DISPLAY_SCALING) / hr; in eglQuerySurface()