/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
BitmapUtils.java | 91 int scaledWidth, scaledHeight; 94 scaledWidth = 200; 98 scaledWidth = (int) (scaleFactor * width); 101 Bitmap thumbnail = Bitmap.createScaledBitmap(original, scaledWidth, scaledHeight, true);
|
/prebuilts/devtools/tools/lib/ |
ninepatch.jar | |
asset-studio.jar | |
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayout.java | 374 float scaledWidth, scaledHeight, bottomScaledPoint, topScaledPoint, rightScaledPoint, 378 scaledWidth = mFoldDrawWidth * cTranslationFactor; 381 scaledWidth = mFoldDrawWidth * scaleFactor; 388 leftScaledPoint = (mFoldDrawWidth - scaledWidth) / 2.0f; 389 rightScaledPoint = leftScaledPoint + scaledWidth; 414 scaledWidth : anchorPoint - (midFold - x) * scaledWidth; 419 * scaledWidth : anchorPoint - (midFold - x - 1) * scaledWidth;
|
/external/chromium_org/third_party/skia/src/images/ |
SkScaledBitmapSampler.h | 21 int scaledWidth() const { return fScaledWidth; }
|
SkImageDecoder_pkm.cpp | 60 bm->setInfo(SkImageInfo::MakeN32(sampler.scaledWidth(), sampler.scaledHeight(),
|
SkImageDecoder_libbmp.cpp | 135 bm->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(),
|
SkImageDecoder_ktx.cpp | 95 bm->setInfo(SkImageInfo::MakeN32(sampler.scaledWidth(), sampler.scaledHeight(), alphaType));
|
SkImageDecoder_libwebp.cpp | 351 const int width = sampler.scaledWidth(); 426 if (!setDecodeConfig(decodedBitmap, sampler.scaledWidth(),
|
/external/skia/src/images/ |
SkScaledBitmapSampler.h | 21 int scaledWidth() const { return fScaledWidth; }
|
SkImageDecoder_pkm.cpp | 60 bm->setInfo(SkImageInfo::MakeN32(sampler.scaledWidth(), sampler.scaledHeight(),
|
SkImageDecoder_libbmp.cpp | 135 bm->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(),
|
SkImageDecoder_ktx.cpp | 95 bm->setInfo(SkImageInfo::MakeN32(sampler.scaledWidth(), sampler.scaledHeight(), alphaType));
|
SkImageDecoder_libwebp.cpp | 351 const int width = sampler.scaledWidth(); 426 if (!setDecodeConfig(decodedBitmap, sampler.scaledWidth(),
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AttachmentTile.java | 183 final int scaledWidth = width * getResources().getDisplayMetrics().densityDpi 190 final boolean large = width >= maxSize || scaledWidth >= mIcon.getWidth() 197 !(scaledWidth >= mIcon.getHeight() * skinnyThresholdRatio 199 LogUtils.d(LOG_TAG, "scaledWidth: %d, scaledHeight: %d, large: %b, skinny: %b", scaledWidth,
|
/frameworks/base/core/jni/android/graphics/ |
BitmapFactory.cpp | 116 int scaledWidth, int scaledHeight) { 122 scaleDivRange(chunk->getXDivs(), chunk->numXDivs, scale, scaledWidth); 322 int scaledWidth = decodingBitmap.width(); 326 scaledWidth = int(scaledWidth * scale + 0.5f); 332 env->SetIntField(options, gOptions_widthFieldID, scaledWidth); 346 scaleNinePatchChunk(peeker.mPatch, scale, scaledWidth, scaledHeight); 384 const float sx = scaledWidth / float(decodingBitmap.width()); 392 outputBitmap->setInfo(SkImageInfo::Make(scaledWidth, scaledHeight,
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MovieTest.java | 150 int scaledWidth = WidgetTestUtils.convertDipToPixels(getActivity(), mMovie.width()); 151 assertEquals(expectedWidth, scaledWidth);
|
BitmapTest.java | [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
DetermineFovActivity.java | 206 float scaledWidth = scale * photoWidth; 207 float pad = (canvasWidth - scaledWidth) / 2; 208 drawRect.set(pad, 0, pad + scaledWidth - 1, canvasHeight);
|
/developers/build/lib/ |
assetstudio.jar | |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallTypeIconsView.java | 213 int scaledWidth = (int) ((float) videoIcon.getWidth() * 216 Bitmap scaled = Bitmap.createScaledBitmap(videoIcon, scaledWidth, scaledHeight, false);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
UriImage.java | 349 int scaledWidth = (int)(outWidth * scaleFactor); 354 "Bitmap.createScaledBitmap: w=" + scaledWidth + 358 b = Bitmap.createScaledBitmap(b, scaledWidth, scaledHeight, false);
|
/external/chromium_org/third_party/skia/tools/skpdiff/ |
diff_viewer.js | 138 var scaledWidth = MAGNIFIER_WIDTH * scope.imgScaleFactor; 141 x: event.offsetX - (scaledWidth * 0.5), 143 width: scaledWidth,
|
/external/skia/tools/skpdiff/ |
diff_viewer.js | 138 var scaledWidth = MAGNIFIER_WIDTH * scope.imgScaleFactor; 141 x: event.offsetX - (scaledWidth * 0.5), 143 width: scaledWidth,
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderReplaced.cpp | 102 int scaledWidth = static_cast<int>(cDefaultWidth * style()->effectiveZoom()); 104 m_intrinsicSize = IntSize(scaledWidth, scaledHeight);
|