Searched refs:targetWidth (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/ui/file_manager/image_loader/
H A Dimage_loader.js162 var targetWidth = sourceWidth;
166 targetWidth = sourceWidth * options.scale;
170 if (options.maxWidth && targetWidth > options.maxWidth) {
171 var scale = options.maxWidth / targetWidth;
172 targetWidth *= scale;
178 targetWidth *= scale;
183 targetWidth = options.width;
188 targetWidth = Math.round(targetWidth);
191 return {width: targetWidth, heigh
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
H A DGifData.java20 private final int targetWidth; field in class:GifData
26 int targetWidth, int targetHeight) {
31 this.targetWidth = targetWidth;
61 targetWidth, targetHeight);
25 GifData(Context context, BitmapPool bitmapPool, String gifId, GifHeader header, byte[] data, int targetWidth, int targetHeight) argument
H A DGifFrameManager.java40 private final int targetWidth; field in class:GifFrameManager
50 public GifFrameManager(Context context, GifDecoder decoder, Transformation<Bitmap> transformation, int targetWidth, argument
53 targetWidth, targetHeight);
57 Transformation<Bitmap> transformation, int targetWidth, int targetHeight) {
62 this.targetWidth = targetWidth;
133 super(targetWidth, targetHeight);
56 GifFrameManager(Context context, BitmapPool bitmapPool, GifDecoder decoder, Handler mainHandler, Transformation<Bitmap> transformation, int targetWidth, int targetHeight) argument
/external/deqp/modules/gles2/functional/
H A Des2fColorClearTest.cpp106 const int targetWidth = renderTarget.getWidth(); local
108 const int numPixels = targetWidth * targetHeight;
112 Surface refImage (targetWidth, targetHeight);
113 Surface resImage (targetWidth, targetHeight);
114 Surface diffImage (targetWidth, targetHeight);
132 clearWidth = targetWidth;
137 clearX = (rnd.getUint32() % (2*targetWidth)) - targetWidth;
139 clearWidth = (rnd.getUint32() % targetWidth);
184 while (x < targetWidth)
[all...]
H A Des2fPrerequisiteTests.cpp178 int targetWidth = renderTarget.getWidth(); local
194 imageWidth = targetWidth;
201 imageWidth = targetWidth / 2;
206 x = targetWidth / 2;
208 imageWidth = targetWidth - x;
212 x = deRandom_getUint32(&rnd) % (targetWidth - 1);
214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1));
/external/deqp/modules/gles3/functional/
H A Des3fColorClearTest.cpp106 const int targetWidth = renderTarget.getWidth(); local
108 const int numPixels = targetWidth * targetHeight;
112 Surface refImage (targetWidth, targetHeight);
113 Surface resImage (targetWidth, targetHeight);
114 Surface diffImage (targetWidth, targetHeight);
132 clearWidth = targetWidth;
137 clearX = (rnd.getUint32() % (2*targetWidth)) - targetWidth;
139 clearWidth = (rnd.getUint32() % targetWidth);
184 while (x < targetWidth)
[all...]
H A Des3fPrerequisiteTests.cpp178 int targetWidth = renderTarget.getWidth(); local
194 imageWidth = targetWidth;
201 imageWidth = targetWidth / 2;
206 x = targetWidth / 2;
208 imageWidth = targetWidth - x;
212 x = deRandom_getUint32(&rnd) % (targetWidth - 1);
214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1));
/external/deqp/modules/glshared/
H A DglsInteractionTestUtil.hpp121 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeight);
122 void computeRandomQuad (de::Random& rnd, gls::FragmentOpUtil::IntegerQuad& quad, int targetWidth, int targetHeight);
H A DglsInteractionTestUtil.cpp54 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeight) argument
157 int minScissorW = deCeilFloatToInt32(minScissorSize*targetWidth);
159 int maxScissorW = targetWidth + 2*maxScissorOutOfBounds;
164 int scissorX = rnd.getInt(-maxScissorOutOfBounds, targetWidth+maxScissorOutOfBounds-scissorW);
220 void computeRandomQuad (de::Random& rnd, gls::FragmentOpUtil::IntegerQuad& quad, int targetWidth, int targetHeight)
230 int minW = deCeilFloatToInt32(minSize*targetWidth);
232 int maxW = targetWidth + 2*maxOutOfBounds;
237 int x = rnd.getInt(-maxOutOfBounds, targetWidth+maxOutOfBounds-width);
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DTransformationUtils.java94 final int targetWidth = (int) (minPercentage * toFit.getWidth());
97 if (toFit.getWidth() == targetWidth && toFit.getHeight() == targetHeight) {
105 Bitmap toReuse = pool.get(targetWidth, targetHeight, config);
107 toReuse = Bitmap.createBitmap(targetWidth, targetHeight, config);
/external/deqp/modules/egl/
H A DteglNativeCoordMappingTests.cpp224 void render (const glw::Functions& gl, deUint32 program, int targetWidth, int targetHeight, int x, int y, int width, int height) argument
228 toGLCoord(targetWidth, targetHeight, x, y),
229 toGLCoord(targetWidth, targetHeight, x+width, y),
230 toGLCoord(targetWidth, targetHeight, x+width, y+height),
232 toGLCoord(targetWidth, targetHeight, x+width, y+height),
233 toGLCoord(targetWidth, targetHeight, x, y+height),
234 toGLCoord(targetWidth, targetHeight, x, y)
245 gl.viewport(0, 0, targetWidth, targetHeight);
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DProgramBinary.cpp641 bool transposeMatrix(T *target, const GLfloat *value, int targetWidth, int targetHeight, int srcWidth, int srcHeight)
645 int copyHeight = std::min(targetWidth, srcHeight);
651 SetIfDirty(target + (x * targetWidth + y), static_cast<T>(value[y * srcWidth + x]), &dirty);
657 for (int x = copyHeight; x < targetWidth; x++)
659 SetIfDirty(target + (y * targetWidth + x), static_cast<T>(0), &dirty);
665 for (int x = 0; x < targetWidth; x++)
667 SetIfDirty(target + (y * targetWidth + x), static_cast<T>(0), &dirty);
675 bool expandMatrix(T *target, const GLfloat *value, int targetWidth, int targetHeight, int srcWidth, int srcHeight)
678 int copyWidth = std::min(targetWidth, srcWidth);
685 SetIfDirty(target + (y * targetWidth
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/
H A Ddsa_old.cpp528 const TInt targetWidth = HwRect().Size().iWidth; local
536 targetPtr += targetWidth * (height - 1);
542 targetPtr -= targetWidth;
553 targetPtr += targetWidth;
H A Ddsa_new.cpp745 const TInt targetWidth = iScanLineWidth >> 2;
820 const TInt targetWidth = iScanLineWidth >> 2; local
828 targetPtr += targetWidth * (height - 1);
834 targetPtr -= targetWidth;
845 targetPtr += targetWidth;
/external/chromium_org/chrome/renderer/resources/
H A Doffline.js1694 var targetWidth = DistanceMeter.dimensions.WIDTH;
1718 targetWidth, targetHeight
/external/chromium_org/third_party/android_platform/webview/
H A Dframeworks.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ...

Completed in 363 milliseconds