/external/chromium_org/ui/android/java/src/org/chromium/ui/base/ |
ActivityWindowAndroid.java | 100 if (windowX > 0 || windowY > 0 || width != bitmap.getWidth() || 102 Rect clip = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight());
|
/external/jmonkeyengine/engine/src/test/jme3test/awt/ |
TestApplet.java | 80 canvas.setSize(settings.getWidth(), settings.getHeight()); 109 // canvas.setSize(getWidth(), getHeight());
|
/external/jmonkeyengine/engine/src/test/jme3test/renderer/ |
TestParallelProjection.java | 65 float aspect = (float) cam.getWidth() / cam.getHeight(); 80 float aspect = (float) cam.getWidth() / cam.getHeight();
|
/external/proguard/src/proguard/gui/splash/ |
BufferedSprite.java | 117 bufferGraphics.fillRect(0, 0, bufferImage.getWidth(null), bufferImage.getHeight(null)); 123 bufferGraphics.fillRect(0, 0, bufferImage.getWidth(null), bufferImage.getHeight(null));
|
/frameworks/base/core/tests/coretests/src/android/view/ |
DrawableBgMinSizeTest.java | 85 view.getWidth() >= mBackgroundDrawable.getMinimumWidth()); 121 .getWidth() >= mBigBackgroundDrawable.getMinimumWidth());
|
/frameworks/base/libs/hwui/ |
RenderBufferCache.cpp | 95 buffer->getWidth(), buffer->getHeight()); 158 buffer->getWidth(), buffer->getHeight());
|
/frameworks/base/media/java/android/media/ |
ThumbnailUtils.java | 180 int width = bitmap.getWidth(); 225 if (source.getWidth() < source.getHeight()) { 226 scale = width / (float) source.getWidth(); 370 int deltaX = source.getWidth() - targetWidth; 388 deltaXHalf + Math.min(targetWidth, source.getWidth()), 404 float bitmapWidthF = source.getWidth(); 430 source.getWidth(), source.getHeight(), scaler, true); 439 int dx1 = Math.max(0, b1.getWidth() - targetWidth);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
CropRectFilter.java | 110 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 111 updateSourceRect(inputFormat.getWidth(), inputFormat.getHeight());
|
ImageStitcher.java | 78 mInputWidth = format.getWidth(); 101 if ((format.getWidth() != mInputWidth) ||
|
ToPackedGrayFilter.java | 87 int w = inputFormat.getWidth(); 122 int ow = outputFormat.getWidth();
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
ResourceModifiers.java | 57 mTexWidth = mBitmap.getWidth(); 93 final float width = mBitmap.getWidth() / 8.0f;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
PathDestructionActivity.java | 60 left = MathUtils.random(getWidth() - MIN_SIZE); 62 right = left + MathUtils.random(getWidth() - left);
|
ThinPatchesActivity.java | 78 final int left = (getWidth() - width) / 2; 101 // RectF dst = new RectF(0, 0, getWidth(), getHeight());
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
CircleView.java | 93 int viewWidth = getWidth(); 99 mXCenter = getWidth() / 2;
|
/packages/apps/Camera/tests/src/com/android/camera/functional/ |
ImageCaptureIntentTest.java | 63 assertTrue(bitmap.getWidth() > 0); 97 assertTrue(b.getWidth() > 0);
|
/packages/apps/Camera2/src/com/android/camera/data/ |
InProgressDataWrapper.java | 150 public int getWidth() { 151 return mLocalData.getWidth();
|
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
ImageCaptureIntentTest.java | 63 assertTrue(bitmap.getWidth() > 0); 97 assertTrue(b.getWidth() > 0);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AbstractSlotRenderer.java | 61 (float) width / content.getWidth(), 74 int w = Math.round(scale * v.getWidth());
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
OverlaysAdapter.java | 106 final Bitmap overlayBitmap = Bitmap.createBitmap(mGenericBitmap.getWidth(), 113 mGenericBitmap.getWidth(), mGenericBitmap.getHeight()), 0, 0, sCopyPaint);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyboardParams.java | 88 if (isSpacer && key.getWidth() == 0) { 135 final int width = key.getWidth() + mHorizontalGap;
|
/cts/tests/tests/util/src/android/util/cts/ |
DisplayMetricsTest.java | 50 assertEquals(display.getWidth(), metrics.widthPixels);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
WindowSurface.java | 218 mPoint1.init(canvas.getWidth(), canvas.getHeight(), mMinStep); 219 mPoint2.init(canvas.getWidth(), canvas.getHeight(), mMinStep); 222 mPoint1.step(canvas.getWidth(), canvas.getHeight(), 224 mPoint2.step(canvas.getWidth(), canvas.getHeight(),
|
/development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/ |
HelloCompute.java | 42 mBitmapOut = Bitmap.createBitmap(mBitmapIn.getWidth(), mBitmapIn.getHeight(),
|
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
BackgroundContainer.java | 68 mShadowedBackground.setBounds(0, 0, getWidth(), mOpenAreaHeight);
|
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
BackgroundContainer.java | 69 mShadowedBackground.setBounds(0, 0, getWidth(), mOpenAreaHeight);
|