/frameworks/base/core/java/android/hardware/camera2/utils/ |
SizeAreaComparator.java | 45 long width = size.getWidth(); 46 long width2 = size2.getWidth();
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
WeightSumTest.java | 52 final int childWidth = mChild.getWidth(); 53 final int containerWidth = mContainer.getWidth();
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
CategorySelected.java | 27 canvas.drawCircle(getWidth()/2, getHeight()/2, 28 getWidth()/2 - mMargin, mPaint);
|
IconView.java | 102 int x = (int) (canvas.getWidth() - textWidth - 2*mMargin); 104 x = (int) ((canvas.getWidth() - textWidth) / 2.0f); 181 mBitmapBounds = new Rect(mMargin/2, mMargin, getWidth() - mMargin/2, 185 mBitmapBounds = new Rect(mMargin/2, mMargin, getWidth()/2, getHeight()); 187 mBitmapBounds = new Rect(mMargin/2, mMargin, getWidth() - mMargin/2, getHeight()); 206 m.setRectToRect(new RectF(0, 0, mBitmap.getWidth(), mBitmap.getHeight()), 209 float scaleWidth = mBitmapBounds.width() / (float) mBitmap.getWidth(); 212 float dx = (mBitmapBounds.width() - (mBitmap.getWidth() * scale)) / 2f; 234 startGradient = getWidth()/2; 236 canvas.drawRect(new RectF(startGradient, start, getWidth(), end), mPaint) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
BitmapScreenNail.java | 33 public int getWidth() { 34 return mBitmapTexture.getWidth();
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
FastBitmapView.java | 41 invalidate(0, 0, mBitmap.getWidth(), mBitmap.getHeight()); 45 invalidate(0, 0, mBitmap.getWidth(), mBitmap.getHeight());
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
CameraPreviewView.java | 43 float centerX = canvas.getWidth() / 2.0f; 52 int vertLines = canvas.getWidth() / 2 / GRID_WIDTH; 56 canvas.drawLine(0, y, canvas.getWidth(), y, mPaint); 58 canvas.drawLine(0, y, canvas.getWidth(), y, mPaint);
|
/external/chromium_org/third_party/angle/samples/angle/sample_util/ |
Window.cpp | 15 int Window::getWidth() const
|
/external/deqp/framework/common/ |
tcuRenderTarget.hpp | 46 int getWidth (void) const { return m_width; }
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/ |
MemoryFlyoutPreferences.java | 48 public int getWidth() {
|
/frameworks/base/core/tests/coretests/src/android/view/ |
ZeroSizedTest.java | 63 assertTrue(mWithDimension.getWidth() > 0); 70 assertTrue(mWithNoWdith.getWidth() == 0); 77 assertTrue(mWithNoHeight.getWidth() > 0); 84 assertTrue(mWithNoDimension.getWidth() == 0);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
FrameBuffer2D.java | 21 public int getWidth() {
|
FrameImage2D.java | 137 if (bitmap.getWidth() != dimensions[0] || bitmap.getHeight() != dimensions[1]) { 138 throw new IllegalArgumentException("Cannot assign bitmap of size " + bitmap.getWidth() 160 Rect srcIRect = new Rect((int) srcRect.left * srcImage.getWidth(), 162 (int) srcRect.right * srcImage.getWidth(), 164 Rect dstIRect = new Rect((int) dstRect.left * srcImage.getWidth(), 166 (int) dstRect.right * srcImage.getWidth(), 171 Bitmap dstBitmap = Bitmap.createBitmap(dstImage.getWidth(), dstImage.getHeight(), config);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
FloatRect.h | 36 inline float getWidth() const { return right - left; }
|
/packages/apps/Camera2/src/com/android/camera/filmstrip/ |
ImageData.java | 46 * SIZE_FULL can be returned by {@link ImageData#getWidth()} and 59 * {@link ImageData#getWidth()} and 62 public int getWidth(); 69 * {@link ImageData#getWidth()} and
|
/cts/tests/tests/animation/src/android/animation/cts/ |
ShapeHolder.java | 89 public float getWidth() { 90 return mShape.getShape().getWidth(); 104 s.resize(s.getWidth(), height);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
ShapeHolder.java | 81 public float getWidth() { 82 return shape.getShape().getWidth(); 94 s.resize(s.getWidth(), height);
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
FixedWidthTest.java | 59 assertEquals(150, mFixedWidth.getWidth()); 60 assertEquals(mFixedWidth.getWidth(), mNonFixedWidth.getWidth());
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ClipRegion2Activity.java | 72 mRegion.set(0, 0, getWidth(), getHeight()); 73 mRegion.op(getWidth() / 4, getHeight() / 4, 3 * getWidth() / 4, 3 * getHeight() / 4,
|
Transform3dActivity.java | 57 final float centerX = getWidth() / 2.0f - mBitmap1.getWidth() / 2.0f; 67 drawBitmap(canvas, centerX, centerY, -mBitmap1.getWidth(), matrix); 70 drawBitmap(canvas, centerX, centerY, mBitmap1.getWidth(), matrix); 73 drawBitmap(canvas, centerX, centerY, mBitmap1.getWidth() * 2.0f, matrix);
|
/packages/apps/Camera2/src/com/android/camera/util/ |
Size.java | 34 converted[i] = new Size(sizes[i].getWidth(), sizes[i].getHeight()); 53 this.width = size.getWidth(); 62 public int getWidth() {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TableLayoutTest.java | 230 int oldWidth0 = column0.getWidth(); 231 int oldWidth1 = column1.getWidth(); 232 int oldWidth2 = column2.getWidth(); 239 int totalSpace = tableLayout.getWidth() - orignalWidth0 249 assertEquals(oldWidth0, column0.getWidth()); 250 assertTrue(oldWidth1 < column1.getWidth()); 251 assertTrue(oldWidth2 > column2.getWidth()); 253 assertEquals(orignalWidth0, column0.getWidth()); 254 assertEquals(orignalWidth1 + extraSpace, column1.getWidth()); 255 assertEquals(orignalWidth2 + extraSpace, column2.getWidth()); [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
ShapeTest.java | 43 assertEquals(200f, mockShape.getWidth()); 48 assertEquals(0f, mockShape.getWidth()); 52 assertEquals(Float.MAX_VALUE, mockShape.getWidth()); 56 assertEquals(0f, mockShape.getWidth()); 82 assertEquals(100f, shape.getWidth()); 86 assertEquals(shape.getWidth(), clonedShape.getWidth());
|