HomeSort by relevance Sort by last modified time
    Searched refs:getWidth (Results 1 - 25 of 3116) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/inputmethods/LatinIME/tools/dicttool/compat/com/android/inputmethod/keyboard/
Key.java 23 public final int getWidth() { return 0; }
  /cts/tests/camera/src/android/hardware/camera2/cts/rs/
BitmapUtils.java 68 if (a.getWidth() != b.getWidth() || a.getHeight() != b.getHeight()) {
70 a.getWidth() + "x" + a.getHeight() + ", b=" + b.getWidth() + "x" +
74 int[] aPixels = new int[a.getHeight() * a.getWidth()];
76 a.getPixels(aPixels, /*offset*/0, /*stride*/a.getWidth(), /*x*/0, /*y*/0, a.getWidth(),
78 b.getPixels(bPixels, /*offset*/0, /*stride*/b.getWidth(), /*x*/0, /*y*/0, b.getWidth(),
  /cts/tests/tests/media/src/android/media/cts/
CodecImage.java 101 public abstract int getWidth();
130 return new Rect(0, 0, getWidth(), getHeight());
145 cropRect.intersect(0, 0, getWidth(), getHeight());
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
Texture.java 39 public int getWidth();
  /frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
ShadowOverlayContainerTest.java 58 assertTrue(textView.getWidth() > 0);
59 assertTrue(textView.getWidth() < 500);
62 assertEquals(container.getWidth(), textView.getWidth());
70 assertTrue(textView.getWidth() == 123);
72 assertEquals(container.getWidth(), textView.getWidth());
89 assertTrue(textView.getWidth() == 200);
92 assertEquals(container.getWidth(), textView.getWidth());
    [all...]
  /libcore/ojluni/src/main/java/java/util/
IllegalFormatWidthException.java 55 public int getWidth() {
  /packages/apps/Camera2/src/com/android/camera/burst/
BurstMediaItem.java 28 public int getWidth();
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
Texture.java 39 public int getWidth();
  /packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
Texture.java 33 public int getWidth();
  /packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
ForwardingImageProxy.java 88 * @see {@link android.media.Image#getWidth}
91 public int getWidth() {
92 return mImpl.getWidth();
107 .add("width", getWidth())
122 otherImage.getWidth() == getWidth() &&
129 return Objects.hashCode(getFormat(), getWidth(), getHeight(), getTimestamp());
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
FaceSquareFilterTest.java 80 bitmap.getPixels(pixels, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(),
89 int left = (faceRect.left+WIDTH_OFFSET)*bitmap.getWidth()/FACE_X_RANGE;
90 int right = (faceRect.right+WIDTH_OFFSET)*bitmap.getWidth()/FACE_X_RANGE;
99 } else if (left > bitmap.getWidth()) {
100 left = bitmap.getWidth();
107 if (right > bitmap.getWidth()) {
108 right = bitmap.getWidth();
116 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + left) +
118 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + left)
    [all...]
  /packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
BitmapUtils.java 37 if (bm == null || (bm.getHeight() == height && bm.getWidth() == width)) {
46 if (bm.getWidth() > width) {
47 widthScale = (float) width / bm.getWidth();
50 int scaleWidth = (int) Math.ceil(bm.getWidth() * scale);
84 if (bm.getHeight() < height || bm.getWidth() < width) {
88 bm.getWidth(), bm.getHeight(), width, height));
92 int x = (bm.getWidth() - width) / 2;
  /packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/
BitmapUtils.java 54 if (bm == null || (bm.getHeight() == height && bm.getWidth() == width)) {
59 float widthScale = (float) width / bm.getWidth();
62 int scaleWidth = (int) Math.ceil(bm.getWidth() * scale);
85 if (bitmap.getWidth() == bitmap.getHeight()) {
89 int size = Math.min(bitmap.getWidth(), bitmap.getHeight());
95 int x = size < bitmap.getWidth() ? (bitmap.getWidth() - size ) / 2 : 0;
98 Rect dstRect = new Rect(0, 0, output.getWidth(), output.getHeight());
106 Bitmap output = Bitmap.createBitmap(bitmap.getWidth(),
111 Rect rect = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight())
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
RotateBitmap.java 60 int cx = mBitmap.getWidth() / 2;
64 matrix.postTranslate(getWidth() / 2, getHeight() / 2);
75 return mBitmap.getWidth();
81 public int getWidth() {
85 return mBitmap.getWidth();
  /external/universal-tween-engine/java/applets/src/aurelienribon/utils/swing/
ImagePanel.java 87 gg.fillRect(0, 0, getWidth(), getHeight());
90 TexturePaint paint = new TexturePaint(background, new Rectangle(0, 0, background.getWidth(), background.getHeight()));
92 gg.fillRect(0, 0, getWidth(), getHeight());
97 float panelRatio = (float)getWidth() / (float)getHeight();
98 float imgRatio = (float)image.getWidth() / (float)image.getHeight();
101 float tw = (float)getWidth();
102 float th = (float)getWidth() / imgRatio;
107 gg.drawImage(image, (int)((float)getWidth()/2 - tw/2), 0, (int) tw, (int) th, null);
111 float panelRatio = (float)getWidth() / (float)getHeight();
115 int tw = getWidth();
    [all...]
  /frameworks/base/core/java/android/view/
ViewOutlineProvider.java 40 outline.setRect(0, 0, view.getWidth(), view.getHeight());
55 outline.setRect(0, 0, view.getWidth(), view.getHeight());
70 view.getWidth() - view.getPaddingRight(),
  /cts/tests/tests/systemui/src/android/systemui/cts/
LightBarBaseActivity.java 49 public int getWidth() {
50 return mContent.getWidth();
  /external/swiftshader/src/OpenGL/common/
Surface.hpp 43 virtual EGLint getWidth() const = 0;
  /frameworks/base/core/tests/coretests/src/android/widget/layout/table/
WeightTest.java 61 assertEquals(mCell1.getWidth() + mCell2.getWidth() + mCell3.getWidth(), mRow.getWidth());
  /frameworks/ex/framesequence/jni/
FrameSequence.cpp 28 !frameSequence->getWidth() || !frameSequence->getHeight()) {
FrameSequence.h 47 virtual int getWidth() const = 0;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
IllegalFormatWidthExceptionTest.java 35 assertEquals(width, illegalFormatWidthException.getWidth());
40 * java.util.IllegalFormatWidthException#getWidth()
46 assertEquals(width, illegalFormatWidthException.getWidth());
72 assertEquals("Width", initEx.getWidth(), desrEx.getWidth());
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
ScreenNail.java 23 public int getWidth();
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
BatteryActiveView.java 36 if (getWidth() != 0) {
44 if (getWidth() != 0) {
66 canvas.drawRect(start / period * getWidth(), 0, end / period * getWidth(), getHeight(),
  /external/deqp/framework/opengl/
gluPixelTransfer.cpp 54 TCU_CHECK_INTERNAL(dst.getRowPitch() == dst.getFormat().getPixelSize()*dst.getWidth());
56 int width = dst.getWidth();
73 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth());
75 int width = src.getWidth();
91 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth());
94 int width = src.getWidth();
112 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth());
114 int width = src.getWidth();
130 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth());
133 int width = src.getWidth();
    [all...]

Completed in 504 milliseconds

1 2 3 4 5 6 7 8 91011>>