HomeSort by relevance Sort by last modified time
    Searched defs:scaledHeight (Results 1 - 25 of 187) sorted by null

1 2 3 4 5 6 7 8

  /development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
BitmapUtils.java 91 int scaledWidth, scaledHeight;
95 scaledHeight = (int) (scaleFactor * height);
99 scaledHeight = 200;
101 Bitmap thumbnail = Bitmap.createScaledBitmap(original, scaledWidth, scaledHeight, true);
  /external/pdfium/xfa/fxbarcode/
BC_TwoDimWriter.cpp 105 pdfium::base::CheckedNumeric<int32_t> scaledHeight = tempHeight;
107 scaledHeight *= moduleHSize;
110 int32_t outputHeight = scaledHeight.ValueOrDie();
  /frameworks/base/core/java/com/android/internal/util/
ImageUtils.java 149 int scaledHeight = (int) (ratio * originalHeight);
150 Bitmap result = Bitmap.createBitmap(scaledWidth, scaledHeight, Config.ARGB_8888);
154 drawable.setBounds(0, 0, scaledWidth, scaledHeight);
  /packages/apps/Launcher3/src/com/android/launcher3/widget/
WidgetImageView.java 98 float scaledHeight = mBitmap.getHeight() * scale;
103 if (scaledHeight > myHeight) {
105 mDstRectF.bottom = scaledHeight;
107 mDstRectF.top = (myHeight - scaledHeight) / 2;
108 mDstRectF.bottom = (myHeight + scaledHeight) / 2;
PendingItemDragHelper.java 195 int scaledHeight = (int) (scaleFactor * mPreviewBitmap.getHeight());
196 Rect dst = new Rect(0, 0, scaledWidth, scaledHeight);
199 dst.offset((w - scaledWidth) / 2, (h - scaledHeight) / 2);
  /cts/tests/tests/graphics/src/android/graphics/cts/
MovieTest.java 149 int scaledHeight = WidgetTestUtils.convertDipToPixels(mContext, mMovie.height());
150 assertEquals(expectedHeight, scaledHeight);
  /external/skia/src/codec/
SkWebpCodec.cpp 267 int scaledHeight = subsetHeight;
281 scaledHeight = scaleY * scaledHeight;
282 if (0 == scaledWidth || 0 == scaledHeight) {
287 scaledHeight = dstInfo.height();
291 config.options.scaled_height = scaledHeight;
330 rowsDecoded = scaledHeight;
SkGifCodec.cpp 388 const int scaledHeight = get_scaled_dimension(dstInfo.height(),
390 auto fillInfo = dstInfo.makeWH(0, scaledHeight);
558 const int scaledHeight = get_scaled_dimension(this->dstInfo().height(), sampleY);
559 if (dstRow >= scaledHeight) {
569 if (dstRow + (int) repeatCount > scaledHeight) {
570 repeatCount = scaledHeight - dstRow;
  /packages/apps/Dialer/java/com/android/dialer/calllogutils/
CallTypeIconsView.java 294 int scaledHeight = context.getResources().getDimensionPixelSize(R.dimen.call_type_icon_size);
296 (int) ((float) icon.getWidth() * ((float) scaledHeight / (float) icon.getHeight()));
297 Bitmap scaledIcon = Bitmap.createScaledBitmap(icon, scaledWidth, scaledHeight, false);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DetermineFovActivity.java 197 int scaledHeight = (int) (scale * photoHeight);
198 if (scaledHeight < canvasHeight) {
201 int pad = (canvasHeight - scaledHeight) / 2;
202 drawRect.set(0, pad, canvasWidth, pad + scaledHeight - 1);
  /external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
TJDecompressor.java 254 int scaledWidth = jpegWidth, scaledHeight = jpegHeight;
257 scaledHeight = sf[i].getScaled(jpegHeight);
258 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight)
261 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight)
295 int scaledWidth = jpegWidth, scaledHeight = jpegHeight;
298 scaledHeight = sf[i].getScaled(jpegHeight);
299 if (scaledWidth <= desiredWidth && scaledHeight <= desiredHeight)
302 if (scaledWidth > desiredWidth || scaledHeight > desiredHeight)
304 return scaledHeight;
314 * <code>pitch * scaledHeight</code> bytes in size, wher
    [all...]
  /external/libvncserver/test/
tjunittest.c 279 int scaledHeight=TJSCALED(h, sf);
293 dstSize=scaledWidth*scaledHeight*tjPixelSize[pf];
300 scaledHeight, pf, flags));
303 if(checkBuf(dstBuf, scaledWidth, scaledHeight, pf, subsamp, sf, flags))
  /frameworks/base/libs/hwui/
VectorDrawable.cpp 420 int scaledHeight = (int) (bounds.height() * canvasScaleY);
422 scaledHeight = std::min(Tree::MAX_CACHED_BITMAP_SIZE, scaledHeight);
424 if (scaledWidth <= 0 || scaledHeight <= 0) {
428 mStagingProperties.setScaledSize(scaledWidth, scaledHeight);
447 return scaledWidth * scaledHeight;
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
GlifPatternDrawable.java 167 int scaledHeight = (int) (VIEWBOX_HEIGHT * scale);
172 scaledHeight,
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AttachmentTile.java 186 final int scaledHeight = height * getResources().getDisplayMetrics().densityDpi
192 || height >= maxSize || scaledHeight >= mIcon.getHeight();
199 && scaledHeight >= mIcon.getWidth() * skinnyThresholdRatio);
200 LogUtils.d(LOG_TAG, "scaledWidth: %d, scaledHeight: %d, large: %b, skinny: %b", scaledWidth,
201 scaledHeight, large, skinny);
  /prebuilts/devtools/tools/lib/
ninepatch.jar 
  /prebuilts/gradle-plugin/com/android/tools/ninepatch/24.4.0-beta3/
ninepatch-24.4.0-beta3.jar 
  /prebuilts/gradle-plugin/com/android/tools/ninepatch/24.4.0-beta6/
ninepatch-24.4.0-beta6.jar 
  /prebuilts/gradle-plugin/com/android/tools/ninepatch/24.5.0/
ninepatch-24.5.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/ninepatch/25.0.0/
ninepatch-25.0.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/ninepatch/25.0.0-alpha1/
ninepatch-25.0.0-alpha1.jar 
  /prebuilts/gradle-plugin/com/android/tools/ninepatch/25.0.0-alpha3/
ninepatch-25.0.0-alpha3.jar 
  /prebuilts/gradle-plugin/com/android/tools/ninepatch/25.0.0-alpha5/
ninepatch-25.0.0-alpha5.jar 
  /prebuilts/gradle-plugin/com/android/tools/ninepatch/25.0.0-alpha7/
ninepatch-25.0.0-alpha7.jar 
  /prebuilts/gradle-plugin/com/android/tools/ninepatch/25.0.0-alpha9/
ninepatch-25.0.0-alpha9.jar 

Completed in 665 milliseconds

1 2 3 4 5 6 7 8