Searched defs:targetHeight (Results 1 - 9 of 9) sorted by relevance

/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
H A DMipMapGenerator.java48 private static BufferedImage scaleDown(BufferedImage sourceImage, int targetWidth, int targetHeight) { argument
52 BufferedImage targetImage = new BufferedImage(targetWidth, targetHeight, sourceImage.getType());
56 g.drawImage(sourceImage, 0, 0, targetWidth, targetHeight, 0, 0, sourceWidth, sourceHeight, null);
/external/deqp/modules/gles3/functional/
H A Des3fPrerequisiteTests.cpp179 int targetHeight = renderTarget.getHeight(); local
195 imageHeight = targetHeight;
202 imageHeight = targetHeight / 2;
207 y = targetHeight / 2;
209 imageHeight = targetHeight - y;
213 y = deRandom_getUint32(&rnd) % (targetHeight - 1);
215 imageHeight = 1 + (deRandom_getUint32(&rnd) % (targetHeight - y - 1));
H A Des3fColorClearTest.cpp107 const int targetHeight = renderTarget.getHeight(); local
108 const int numPixels = targetWidth * targetHeight;
112 Surface refImage (targetWidth, targetHeight);
113 Surface resImage (targetWidth, targetHeight);
114 Surface diffImage (targetWidth, targetHeight);
133 clearHeight = targetHeight;
138 clearY = (rnd.getUint32() % (2*targetHeight)) - targetHeight;
140 clearHeight = (rnd.getUint32() % targetHeight);
170 for (int y = 0; y < targetHeight;
[all...]
/external/deqp/modules/glshared/
H A DglsInteractionTestUtil.cpp54 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeight) argument
158 int minScissorH = deCeilFloatToInt32(minScissorSize*targetHeight);
160 int maxScissorH = targetHeight + 2*maxScissorOutOfBounds;
165 int scissorY = rnd.getInt(-maxScissorOutOfBounds, targetHeight+maxScissorOutOfBounds-scissorH);
220 void computeRandomQuad (de::Random& rnd, gls::FragmentOpUtil::IntegerQuad& quad, int targetWidth, int targetHeight)
231 int minH = deCeilFloatToInt32(minSize*targetHeight);
233 int maxH = targetHeight + 2*maxOutOfBounds;
238 int y = rnd.getInt(-maxOutOfBounds, targetHeight+maxOutOfBounds-height);
/external/deqp/modules/gles2/functional/
H A Des2fPrerequisiteTests.cpp179 int targetHeight = renderTarget.getHeight(); local
195 imageHeight = targetHeight;
202 imageHeight = targetHeight / 2;
207 y = targetHeight / 2;
209 imageHeight = targetHeight - y;
213 y = deRandom_getUint32(&rnd) % (targetHeight - 1);
215 imageHeight = 1 + (deRandom_getUint32(&rnd) % (targetHeight - y - 1));
H A Des2fColorClearTest.cpp107 const int targetHeight = renderTarget.getHeight(); local
108 const int numPixels = targetWidth * targetHeight;
112 Surface refImage (targetWidth, targetHeight);
113 Surface resImage (targetWidth, targetHeight);
114 Surface diffImage (targetWidth, targetHeight);
133 clearHeight = targetHeight;
138 clearY = (rnd.getUint32() % (2*targetHeight)) - targetHeight;
140 clearHeight = (rnd.getUint32() % targetHeight);
170 for (int y = 0; y < targetHeight;
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
H A DGifFrameManager.java31 private final int targetHeight; field in class:GifFrameManager
43 public GifFrameManager(Context context, GifDecoder decoder, int targetWidth, int targetHeight) { argument
45 targetHeight);
49 int targetWidth, int targetHeight) {
54 this.targetHeight = targetHeight;
127 super(targetWidth, targetHeight);
48 GifFrameManager(Context context, BitmapPool bitmapPool, GifDecoder decoder, Handler mainHandler, int targetWidth, int targetHeight) argument
H A DGifDrawable.java85 frameManager = new GifFrameManager(state.context, decoder, state.targetWidth, state.targetHeight);
319 int targetHeight; field in class:GifDrawable.GifState
325 Transformation<Bitmap> frameTransformation, int targetWidth, int targetHeight,
337 this.targetHeight = targetHeight;
348 targetHeight = original.targetHeight;
324 GifState(GifHeader header, byte[] data, Context context, Transformation<Bitmap> frameTransformation, int targetWidth, int targetHeight, GifDecoder.BitmapProvider provider, BitmapPool bitmapPool, Bitmap firstFrame) argument
/external/deqp/modules/egl/
H A DteglNativeCoordMappingTests.cpp229 void render (const glw::Functions& gl, deUint32 program, int targetWidth, int targetHeight, int x, int y, int width, int height) argument
233 toGLCoord(targetWidth, targetHeight, x, y),
234 toGLCoord(targetWidth, targetHeight, x+width, y),
235 toGLCoord(targetWidth, targetHeight, x+width, y+height),
237 toGLCoord(targetWidth, targetHeight, x+width, y+height),
238 toGLCoord(targetWidth, targetHeight, x, y+height),
239 toGLCoord(targetWidth, targetHeight, x, y)
250 gl.viewport(0, 0, targetWidth, targetHeight);

Completed in 208 milliseconds