HomeSort by relevance Sort by last modified time
    Searched full:scaleddim (Results 1 - 2 of 2) sorted by null

  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapRegionDecoderTest.java 331 int scaledDim = TILE_SIZE / sampleSize;
332 int chunkSize = scaledDim / 2;
340 // (1) inBitmap dimension is smaller than scaledDim. The decoded
345 // (2) inBitmap dimension matches scaledDim. After the decode,
349 // (3) inBitmap dimension is larger than scaledDim. After the
366 assertEquals(defaultResult.getWidth(), scaledDim);
367 assertEquals(defaultResult.getHeight(), scaledDim);
371 int cropWidth = Math.min(w, scaledDim);
372 int cropHeight = Math.min(h, scaledDim);
  /external/skia/src/codec/
SkCodecPriv.h 69 inline bool is_coord_necessary(int srcCoord, int sampleFactor, int scaledDim) {
74 if (srcCoord < startCoord || get_dst_coord(srcCoord, sampleFactor) >= scaledDim) {

Completed in 160 milliseconds