/external/deqp/modules/gles2/functional/ |
D | es2fColorClearTest.cpp | 106 const int targetWidth = renderTarget.getWidth(); in iterate() local 108 const int numPixels = targetWidth * targetHeight; in iterate() 112 Surface refImage (targetWidth, targetHeight); in iterate() 113 Surface resImage (targetWidth, targetHeight); in iterate() 114 Surface diffImage (targetWidth, targetHeight); in iterate() 132 clearWidth = targetWidth; in iterate() 137 clearX = (rnd.getUint32() % (2*targetWidth)) - targetWidth; in iterate() 139 clearWidth = (rnd.getUint32() % targetWidth); in iterate() 184 while (x < targetWidth) in iterate() 188 int spanLength = (targetWidth - x); in iterate() [all …]
|
D | es2fPrerequisiteTests.cpp | 178 int targetWidth = renderTarget.getWidth(); in iterate() local 194 imageWidth = targetWidth; in iterate() 201 imageWidth = targetWidth / 2; in iterate() 206 x = targetWidth / 2; in iterate() 208 imageWidth = targetWidth - x; in iterate() 212 x = deRandom_getUint32(&rnd) % (targetWidth - 1); in iterate() 214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1)); in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fColorClearTest.cpp | 106 const int targetWidth = renderTarget.getWidth(); in iterate() local 108 const int numPixels = targetWidth * targetHeight; in iterate() 112 Surface refImage (targetWidth, targetHeight); in iterate() 113 Surface resImage (targetWidth, targetHeight); in iterate() 114 Surface diffImage (targetWidth, targetHeight); in iterate() 132 clearWidth = targetWidth; in iterate() 137 clearX = (rnd.getUint32() % (2*targetWidth)) - targetWidth; in iterate() 139 clearWidth = (rnd.getUint32() % targetWidth); in iterate() 184 while (x < targetWidth) in iterate() 188 int spanLength = (targetWidth - x); in iterate() [all …]
|
D | es3fPrerequisiteTests.cpp | 178 int targetWidth = renderTarget.getWidth(); in iterate() local 194 imageWidth = targetWidth; in iterate() 201 imageWidth = targetWidth / 2; in iterate() 206 x = targetWidth / 2; in iterate() 208 imageWidth = targetWidth - x; in iterate() 212 x = deRandom_getUint32(&rnd) % (targetWidth - 1); in iterate() 214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1)); in iterate()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/ |
D | GifFrameManager.java | 30 private final int targetWidth; field in GifFrameManager 43 public GifFrameManager(Context context, GifDecoder decoder, int targetWidth, int targetHeight) { in GifFrameManager() argument 44 …ext, Glide.get(context).getBitmapPool(), decoder, new Handler(Looper.getMainLooper()), targetWidth, in GifFrameManager() 49 int targetWidth, int targetHeight) { in GifFrameManager() argument 53 this.targetWidth = targetWidth; in GifFrameManager() 127 super(targetWidth, targetHeight); in DelayTarget()
|
D | GifDrawable.java | 85 … frameManager = new GifFrameManager(state.context, decoder, state.targetWidth, state.targetHeight); in GifDrawable() 318 int targetWidth; field in GifDrawable.GifState 325 Transformation<Bitmap> frameTransformation, int targetWidth, int targetHeight, in GifState() argument 336 this.targetWidth = targetWidth; in GifState() 347 targetWidth = original.targetWidth; in GifState()
|
/external/deqp/modules/glshared/ |
D | glsInteractionTestUtil.cpp | 54 …rState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeig… in computeRandomRenderState() argument 157 int minScissorW = deCeilFloatToInt32(minScissorSize*targetWidth); in computeRandomRenderState() 159 int maxScissorW = targetWidth + 2*maxScissorOutOfBounds; in computeRandomRenderState() 164 int scissorX = rnd.getInt(-maxScissorOutOfBounds, targetWidth+maxScissorOutOfBounds-scissorW); in computeRandomRenderState() 220 void computeRandomQuad (de::Random& rnd, gls::FragmentOpUtil::IntegerQuad& quad, int targetWidth, i… in computeRandomQuad() argument 230 int minW = deCeilFloatToInt32(minSize*targetWidth); in computeRandomQuad() 232 int maxW = targetWidth + 2*maxOutOfBounds; in computeRandomQuad() 237 int x = rnd.getInt(-maxOutOfBounds, targetWidth+maxOutOfBounds-width); in computeRandomQuad()
|
D | glsInteractionTestUtil.hpp | 121 …State (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeig… 122 …mQuad (de::Random& rnd, gls::FragmentOpUtil::IntegerQuad& quad, int targetWidth, int targetHeig…
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/ |
D | MipMapGenerator.java | 48 …private static BufferedImage scaleDown(BufferedImage sourceImage, int targetWidth, int targetHeigh… in scaleDown() argument 52 … BufferedImage targetImage = new BufferedImage(targetWidth, targetHeight, sourceImage.getType()); in scaleDown() 56 … g.drawImage(sourceImage, 0, 0, targetWidth, targetHeight, 0, 0, sourceWidth, sourceHeight, null); in scaleDown()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
D | TransformationUtils.java | 100 final int targetWidth = (int) (minPercentage * toFit.getWidth()); in fitCenter() local 103 if (toFit.getWidth() == targetWidth && toFit.getHeight() == targetHeight) { in fitCenter() 111 Bitmap toReuse = pool.get(targetWidth, targetHeight, config); in fitCenter() 113 toReuse = Bitmap.createBitmap(targetWidth, targetHeight, config); in fitCenter()
|
D | Downsampler.java | 197 int targetWidth = (int) Math.ceil(inWidth / (double) sampleSize); in downsampleWithSize() local 200 setInBitmap(options, pool.getDirty(targetWidth, targetHeight, config)); in downsampleWithSize()
|
/external/deqp/modules/egl/ |
D | teglNativeCoordMappingTests.cpp | 229 void render (const glw::Functions& gl, deUint32 program, int targetWidth, int targetHeight, int x, … in render() argument 233 toGLCoord(targetWidth, targetHeight, x, y), in render() 234 toGLCoord(targetWidth, targetHeight, x+width, y), in render() 235 toGLCoord(targetWidth, targetHeight, x+width, y+height), in render() 237 toGLCoord(targetWidth, targetHeight, x+width, y+height), in render() 238 toGLCoord(targetWidth, targetHeight, x, y+height), in render() 239 toGLCoord(targetWidth, targetHeight, x, y) in render() 250 gl.viewport(0, 0, targetWidth, targetHeight); in render()
|