/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/chromium_org/third_party/skia/src/images/ |
SkScaledBitmapSampler.h | 22 int scaledHeight() const { return fScaledHeight; } 42 // call with row of src pixels, for y = 0...scaledHeight-1.
|
SkImageDecoder_libbmp.cpp | 136 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight(), 0, 154 const int dstHeight = sampler.scaledHeight();
|
SkImageDecoder_libwebp.cpp | 342 const int height = sampler.scaledHeight(); 415 sampler.scaledHeight())) {
|
SkImageDecoder_libjpeg.cpp | 609 return bm->setConfig(config, smpl.scaledWidth(), smpl.scaledHeight(), 628 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight(), 0, 836 bitmap.setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); 841 bitmap.setConfig(config, sampler.scaledWidth(), sampler.scaledHeight(), 0, [all...] |
SkImageDecoder_libgif.cpp | 277 sampler.scaledHeight());
|
/external/skia/src/images/ |
SkScaledBitmapSampler.h | 22 int scaledHeight() const { return fScaledHeight; } 42 // call with row of src pixels, for y = 0...scaledHeight-1.
|
SkImageDecoder_libbmp.cpp | 136 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight(), 0, 154 const int dstHeight = sampler.scaledHeight();
|
SkImageDecoder_libwebp.cpp | 342 const int height = sampler.scaledHeight(); 415 sampler.scaledHeight())) {
|
SkImageDecoder_libjpeg.cpp | 609 return bm->setConfig(config, smpl.scaledWidth(), smpl.scaledHeight(), 628 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight(), 0, 836 bitmap.setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); 841 bitmap.setConfig(config, sampler.scaledWidth(), sampler.scaledHeight(), 0, [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AttachmentTile.java | 175 final int scaledHeight = height * getResources().getDisplayMetrics().densityDpi 181 || height >= maxSize || scaledHeight >= mIcon.getHeight(); 188 && scaledHeight >= mIcon.getWidth() * skinnyThresholdRatio); 189 LogUtils.d(LOG_TAG, "scaledWidth: %d, scaledHeight: %d, large: %b, skinny: %b", scaledWidth, 190 scaledHeight, large, skinny);
|
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayout.java | 374 float scaledWidth, scaledHeight, bottomScaledPoint, topScaledPoint, rightScaledPoint, 379 scaledHeight = mFoldDrawHeight * scaleFactor; 382 scaledHeight = mFoldDrawHeight * cTranslationFactor; 385 topScaledPoint = (mFoldDrawHeight - scaledHeight) / 2.0f; 386 bottomScaledPoint = topScaledPoint + scaledHeight; 427 scaledHeight : anchorPoint - (midFold - x) * scaledHeight; 430 midFold) * scaledHeight : anchorPoint - (midFold - x - 1) * scaledHeight;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MovieTest.java | 148 int scaledHeight = WidgetTestUtils.convertDipToPixels(getActivity(), mMovie.height()); 149 assertEquals(expectedHeight, scaledHeight);
|
BitmapTest.java | 849 int scaledHeight = scaleFromDensity(ret.getHeight(), ret.getDensity(), dummyDensity); 851 assertEquals(scaledHeight, ret.getScaledHeight(dummyDensity)); 858 int scaledHeight = scaleFromDensity(ret.getHeight(), ret.getDensity(), metrics.densityDpi); 859 assertEquals(scaledHeight, ret.getScaledHeight(metrics)); 868 int scaledHeight = scaleFromDensity( 870 assertEquals(scaledHeight, ret.getScaledHeight(mCanvas));
|
/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);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
ImageUtils.java | 84 float scaledWidth, scaledHeight; 91 scaledHeight = nativeHeight / scale; 96 scaledHeight = height; 107 Math.round(scaledHeight), 112 new Rect(0, 0, Math.round(scaledWidth), Math.round(scaledHeight)),
|
/external/skia/tools/skpdiff/ |
diff_viewer.js | 139 var scaledHeight = MAGNIFIER_HEIGHT * scope.imgScaleFactor; 142 y: event.offsetY - (scaledHeight * 0.5), 144 height: scaledHeight
|
/frameworks/base/core/jni/android/graphics/ |
BitmapFactory.cpp | 345 int scaledHeight = decodingBitmap.height(); 349 scaledHeight = int(scaledHeight * scale + 0.5f); 355 env->SetIntField(options, gOptions_heightFieldID, scaledHeight); 414 const float sy = scaledHeight / float(decodingBitmap.height()); 421 outputBitmap->setConfig(config, scaledWidth, scaledHeight, 0,
|
/frameworks/base/media/java/android/media/videoeditor/ |
MediaItem.java | 441 final int scaledWidth, scaledHeight; 444 scaledHeight = getHeight(); 447 scaledHeight = ((MediaImageItem)this).getScaledHeight(); 454 if (bitmap.getWidth() != scaledWidth || bitmap.getHeight() != scaledHeight) {
|
/prebuilts/devtools/tools/lib/ |
ninepatch.jar | |
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
ApiService.java | [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
UriImage.java | 350 int scaledHeight = (int)(outHeight * scaleFactor); 355 ", h=" + scaledHeight); 358 b = Bitmap.createScaledBitmap(b, scaledWidth, scaledHeight, false);
|
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
WebTestProxy.cpp | 584 int scaledHeight = static_cast<int>(ceil(static_cast<float>(rect.height) * deviceScaleFactor)); 585 WebRect deviceRect(scaledX, scaledY, scaledWidth, scaledHeight); 655 int scaledHeight = static_cast<int>(ceil(static_cast<float>(widgetSize.height) * deviceScaleFactor)); 656 m_canvas.reset(skia::CreateBitmapCanvas(scaledWidth, scaledHeight, true)); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderReplaced.cpp | 104 int scaledHeight = static_cast<int>(cDefaultHeight * style()->effectiveZoom()); 105 m_intrinsicSize = IntSize(scaledWidth, scaledHeight);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
PaletteControl.java | 770 int scaledHeight = (int) (scale * height); 772 int y = -scaledHeight / 2; 773 dragBounds = new Rect(x, y, scaledWidth, scaledHeight); [all...] |