HomeSort by relevance Sort by last modified time
    Searched full:scaledwidth (Results 1 - 25 of 25) sorted by null

  /packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/
AbstractSeekBar.java 48 int scaledWidth = thumb.getIntrinsicWidth() * h / thumb.getIntrinsicHeight();
49 int padding = (scaledWidth + 1) / 2;
52 Bitmap bitmap = Bitmap.createBitmap(scaledWidth, h, Bitmap.Config.ARGB_8888);
  /external/webkit/Source/WebCore/platform/qt/
DragImageQt.cpp 52 int scaledWidth = image->width() * scale.width();
55 *image = image->scaled(scaledWidth, scaledHeight);
  /sdk/assetstudio/src/com/android/assetstudiolib/
Util.java 328 final int scaledWidth = Math.max(1, dstRect.width);
330 Image scaledImage = scaledImage(source, scaledWidth, scaledHeight);
338 0 + scaledWidth,
342 final int scaledWidth = Math.max(1, dstRect.height * srcWidth / srcHeight);
344 Image scaledImage = scaledImage(source, scaledWidth, scaledHeight);
346 dstRect.x + (dstRect.width - scaledWidth) / 2,
348 dstRect.x + (dstRect.width - scaledWidth) / 2 + scaledWidth,
352 0 + scaledWidth,
371 final int scaledWidth = dstRect.height * srcWidth / srcHeight
    [all...]
  /sdk/ninepatch/src/com/android/ninepatch/
NinePatchChunk.java 79 public void draw(BufferedImage image, Graphics2D graphics2D, int x, int y, int scaledWidth,
96 scaledWidth /= densityScale;
101 draw(image, graphics2D, x, y, scaledWidth, scaledHeight);
107 draw(image, graphics2D, x, y, scaledWidth, scaledHeight);
111 private void draw(BufferedImage image, Graphics2D graphics2D, int x, int y, int scaledWidth,
113 if (scaledWidth <= 1 || scaledHeight <= 1) {
123 g.drawImage(image, x, y, scaledWidth, scaledHeight, null);
130 DrawingData data = computePatches(scaledWidth, scaledHeight);
153 while (x < scaledWidth - 1) {
234 private DrawingData computePatches(int scaledWidth, int scaledHeight)
    [all...]
NinePatch.java 172 * @param scaledWidth
175 public void draw(Graphics2D graphics2D, int x, int y, int scaledWidth, int scaledHeight) {
176 mChunk.draw(mImage, graphics2D, x, y, scaledWidth, scaledHeight, 0 , 0);
  /external/skia/src/images/
SkScaledBitmapSampler.h 13 int scaledWidth() const { return fScaledWidth; }
SkImageDecoder_libbmp.cpp 121 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight());
SkImageDecoder_libjpeg.cpp 303 bm->setConfig(config, smpl.scaledWidth(), smpl.scaledHeight());
398 if (reuseBitmap && (sampler.scaledWidth() != bm->width() ||
405 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight());
660 bitmap->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight());
SkImageDecoder_libwebp.cpp 320 if (!setDecodeConfig(decodedBitmap, sampler.scaledWidth(),
355 if (!setDecodeConfig(decodedBitmap, sampler.scaledWidth(),
SkImageDecoder_libpng.cpp 298 if (reuseBitmap && (sampler.scaledWidth() != decodedBitmap->width() ||
305 decodedBitmap->setConfig(config, sampler.scaledWidth(),
659 decodedBitmap->setConfig(config, sampler.scaledWidth(),
    [all...]
  /sdk/draw9patch/src/com/android/draw9patch/ui/
ImageEditorPanel.java 428 int scaledWidth = (int) (patchWidth * scale);
431 horizontal.scaledWidth = scaledWidth;
433 both.scaledWidth = scaledWidth;
436 size = new Dimension(scaledWidth, scaledHeight);
466 horizontal.remainderHorizontal = horizontal.scaledWidth - remainderHorizontal;
467 vertical.remainderHorizontal = vertical.scaledWidth - remainderHorizontal;
468 both.remainderHorizontal = both.scaledWidth - remainderHorizontal;
525 int scaledWidth;
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
MovieTest.java 213 int scaledWidth = WidgetTestUtils.convertDipToPixels(getActivity(), mMovie.width());
214 assertEquals(expectedWidth, scaledWidth);
BitmapTest.java 843 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), dummyDensity);
845 assertEquals(scaledWidth, ret.getScaledWidth(dummyDensity));
857 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), metrics.densityDpi);
858 assertEquals(scaledWidth, ret.getScaledWidth(metrics));
872 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), mCanvas.getDensity());
873 assertEquals(scaledWidth, ret.getScaledWidth(mCanvas));
  /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)),
  /packages/apps/Launcher2/src/com/android/launcher2/
RocketLauncher.java 317 final float scaledWidth = nv.getWidth() * nv.getScaleX();
319 if ( nv.getX() + scaledWidth < 0
320 || nv.getX() - scaledWidth > getWidth()
Workspace.java     [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
UriImage.java 286 int scaledWidth = (int)(outWidth * scaleFactor);
291 "Bitmap.createScaledBitmap: w=" + scaledWidth +
295 b = Bitmap.createScaledBitmap(b, scaledWidth, scaledHeight, false);
  /sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/
LayoutViewer.java 303 int scaledWidth = (int) Math.ceil(mTree.viewNode.width * mScale);
308 mTransform.translate((bounds.width - scaledWidth) / 2.0f,
310 mInverse.translate((bounds.width - scaledWidth) / 2.0f,
  /external/webkit/Source/WebCore/rendering/
RenderReplaced.cpp 91 int scaledWidth = static_cast<int>(cDefaultWidth * style()->effectiveZoom());
93 m_intrinsicSize = IntSize(scaledWidth, scaledHeight);
  /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) {
  /prebuilt/common/ninepatch/
ninepatch-prebuilt.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 748 int scaledWidth = (int) (scale * width);
750 int x = -scaledWidth / 2;
752 dragBounds = new Rect(x, y, scaledWidth, scaledHeight);
    [all...]
  /packages/apps/Browser/src/com/android/browser/
Controller.java     [all...]
  /external/webkit/Source/WebCore/
ChangeLog-2006-05-10     [all...]

Completed in 589 milliseconds