/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/skia/legacy/src/images/ |
SkScaledBitmapSampler.h | 21 int scaledHeight() const { return fScaledHeight; } 40 // call with row of src pixels, for y = 0...scaledHeight-1.
|
SkImageDecoder_libbmp.cpp | 115 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); 125 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); 139 const int dstHeight = sampler.scaledHeight();
|
SkImageDecoder_libwebp.cpp | 327 const int height = sampler.scaledHeight(); 403 sampler.scaledHeight())) { 415 sampler.scaledHeight())) {
|
SkImageDecoder_libjpeg.cpp | 298 bm->setConfig(config, smpl.scaledWidth(), smpl.scaledHeight()); 394 sampler.scaledHeight() != bm->height())) { 400 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); 685 bitmap->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); [all...] |
SkImageDecoder_libpng.cpp | 291 sampler.scaledHeight() != decodedBitmap->height())) { 298 sampler.scaledHeight(), 0); 657 sampler.scaledHeight(), 0); [all...] |
/external/skia/src/images/ |
SkScaledBitmapSampler.h | 21 int scaledHeight() const { return fScaledHeight; } 40 // call with row of src pixels, for y = 0...scaledHeight-1.
|
SkImageDecoder_libbmp.cpp | 119 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); 129 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); 143 const int dstHeight = sampler.scaledHeight();
|
SkImageDecoder_libwebp.cpp | 321 const int height = sampler.scaledHeight(); 397 sampler.scaledHeight())) { 409 sampler.scaledHeight())) {
|
SkImageDecoder_libjpeg.cpp | 328 bm->setConfig(config, smpl.scaledWidth(), smpl.scaledHeight()); 427 sampler.scaledHeight() != bm->height())) { 433 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); 723 bitmap->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); [all...] |
SkImageDecoder_libpng.cpp | 292 sampler.scaledHeight() != decodedBitmap->height())) { 299 sampler.scaledHeight(), 0); 663 sampler.scaledHeight(), 0); [all...] |
/external/webkit/Source/WebCore/platform/qt/ |
DragImageQt.cpp | 53 int scaledHeight = image->height() * scale.height(); 55 *image = image->scaled(scaledWidth, 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 | 638 int scaledHeight = scaleFromDensity(ret.getHeight(), ret.getDensity(), dummyDensity); 640 assertEquals(scaledHeight, ret.getScaledHeight(dummyDensity)); 647 int scaledHeight = scaleFromDensity(ret.getHeight(), ret.getDensity(), metrics.densityDpi); 648 assertEquals(scaledHeight, ret.getScaledHeight(metrics)); 657 int scaledHeight = scaleFromDensity( 659 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)),
|
/frameworks/base/core/jni/android/graphics/ |
BitmapFactory.cpp | 268 int scaledHeight = decoded->height(); 272 scaledHeight = int(scaledHeight * scale + 0.5f); 278 env->SetIntField(options, gOptions_heightFieldID, scaledHeight); 337 const float sy = scaledHeight / float(decoded->height()); 350 bitmap->setConfig(config, scaledWidth, scaledHeight);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
UriImage.java | 337 int scaledHeight = (int)(outHeight * scaleFactor); 342 ", h=" + scaledHeight); 345 b = Bitmap.createScaledBitmap(b, scaledWidth, scaledHeight, false);
|
/external/webkit/Source/WebCore/rendering/ |
RenderReplaced.cpp | 100 int scaledHeight = static_cast<int>(cDefaultHeight * style()->effectiveZoom()); 101 m_intrinsicSize = IntSize(scaledWidth, scaledHeight);
|
/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...] |
/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...] |
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA1/ |
SDL_epocvideo.cpp | 602 TInt scaledHeight = (h * (scaleValue-1))/scaleValue; 603 if (scaledHeight > Private->EPOC_ScreenSize.iHeight) [all...] |
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
GlowPadView.java | [all...] |