/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);
|
/external/chromium_org/third_party/skia/src/images/ |
SkScaledBitmapSampler.h | 21 int scaledWidth() const { return fScaledWidth; }
|
/external/skia/src/images/ |
SkScaledBitmapSampler.h | 21 int scaledWidth() const { return fScaledWidth; }
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MovieTest.java | 152 int scaledWidth = WidgetTestUtils.convertDipToPixels(getActivity(), mMovie.width()); 153 assertEquals(expectedWidth, scaledWidth);
|
BitmapTest.java | 876 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), dummyDensity); 878 assertEquals(scaledWidth, ret.getScaledWidth(dummyDensity)); 885 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), metrics.densityDpi); 886 assertEquals(scaledWidth, ret.getScaledWidth(metrics)); 895 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), mCanvas.getDensity()); 896 assertEquals(scaledWidth, ret.getScaledWidth(mCanvas));
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AttachmentTile.java | 173 final int scaledWidth = width * getResources().getDisplayMetrics().densityDpi 180 final boolean large = width >= maxSize || scaledWidth >= mIcon.getWidth() 187 !(scaledWidth >= mIcon.getHeight() * skinnyThresholdRatio 189 LogUtils.d(LOG_TAG, "scaledWidth: %d, scaledHeight: %d, large: %b, skinny: %b", scaledWidth,
|
/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);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderReplaced.cpp | 103 int scaledWidth = static_cast<int>(cDefaultWidth * style()->effectiveZoom()); 105 m_intrinsicSize = IntSize(scaledWidth, scaledHeight);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
ImageUtils.java | 84 float scaledWidth, scaledHeight; 90 scaledWidth = nativeWidth / scale; 95 scaledWidth = width; 106 final Bitmap bitmap = Bitmap.createBitmap(Math.round(scaledWidth), 112 new Rect(0, 0, Math.round(scaledWidth), Math.round(scaledHeight)),
|
/prebuilts/devtools/tools/lib/ |
ninepatch.jar | |
asset-studio.jar | |
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA1/ |
SDL_epocvideo.cpp | 592 TInt scaledWidth = (w * (scaleValue-1))/scaleValue; 593 if (scaledWidth > Private->EPOC_ScreenSize.iWidth) [all...] |
/frameworks/base/core/jni/android/graphics/ |
BitmapFactory.cpp | 344 int scaledWidth = decodingBitmap.width(); 348 scaledWidth = int(scaledWidth * scale + 0.5f); 354 env->SetIntField(options, gOptions_widthFieldID, scaledWidth); 413 const float sx = scaledWidth / float(decodingBitmap.width()); 421 outputBitmap->setConfig(config, scaledWidth, scaledHeight, 0,
|
/frameworks/base/media/java/android/media/videoeditor/ |
MediaItem.java | 441 final int scaledWidth, scaledHeight; 443 scaledWidth = getWidth(); 446 scaledWidth = ((MediaImageItem)this).getScaledWidth(); 454 if (bitmap.getWidth() != scaledWidth || bitmap.getHeight() != scaledHeight) {
|
/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);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
XmlPropertyEditor.java | 250 int scaledWidth = (int) (imageWidth * scale); 251 if (scaledWidth > maxWidth) {
|
/developers/build/lib/ |
assetstudio.jar | |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
ContentViewCore.java | 577 int scaledWidth = Math.round(width * scale); 580 if (scaledWidth + leftMargin > mContainerView.getWidth()) { 581 scaledWidth = mContainerView.getWidth() - leftMargin; 584 scaledWidth, Math.round(height * scale)); 599 scaledWidth, (int) (height * scale), leftMargin, topMargin); [all...] |
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
WebTestProxy.cpp | 583 int scaledWidth = static_cast<int>(ceil(static_cast<float>(rect.width) * deviceScaleFactor)); 585 WebRect deviceRect(scaledX, scaledY, scaledWidth, scaledHeight); 654 int scaledWidth = static_cast<int>(ceil(static_cast<float>(widgetSize.width) * deviceScaleFactor)); 656 m_canvas.reset(skia::CreateBitmapCanvas(scaledWidth, scaledHeight, true)); [all...] |
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
GlowPadView.java | [all...] |
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
GlowPadView.java | 370 int scaledWidth = getScaledSuggestedMinimumWidth(); 373 computeInsets(computedWidth - scaledWidth, computedHeight - scaledHeight); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
PaletteControl.java | 769 int scaledWidth = (int) (scale * width); 771 int x = -scaledWidth / 2; 773 dragBounds = new Rect(x, y, scaledWidth, scaledHeight); [all...] |
/packages/apps/Browser/src/com/android/browser/ |
Controller.java | [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
Workspace.java | [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
ApiService.java | [all...] |