/frameworks/base/core/java/android/hardware/camera2/ |
H A D | DngCreator.java | 192 int width = pixels.getWidth(); 233 int width = pixels.getWidth(); 347 int width = size.getWidth(); 402 int width = size.getWidth(); 445 writeByteBuffer(pixels.getWidth(), pixels.getHeight(), buf, dngOutput, 552 int width = yuvImage.getWidth(); 611 int width = argbBitmap.getWidth();
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 47 int getWidth(); method in interface:SimpleBitmapRegionDecoder 83 public int getWidth() { method in class:SimpleBitmapRegionDecoderWrapper 84 return mDecoder.getWidth(); 115 public int getWidth() { method in class:DumbBitmapRegionDecoder 116 return mBuffer.getWidth(); 181 int width = mDecoder.getWidth(); 384 mWidth = mDecoder.getWidth(); 397 if (preview.getWidth() <= GL_SIZE_LIMIT && preview.getHeight() <= GL_SIZE_LIMIT) { 404 preview.getWidth(), preview.getHeight())); 509 float scale = (float) targetSize / (float) (Math.max(result.getWidth(), resul [all...] |
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 278 int width = srcImage.getWidth(); 357 g.fillRect(0, 0, image.getWidth(), image.getHeight()); 371 return delegate.mImage.getWidth(); 575 image1.getWidth() != image2.getWidth() || 581 int w = image1.getWidth(); 687 int width = delegate.mImage.getWidth(); 716 int w = image.getWidth(); 722 image.getRGB(0, 0, image.getWidth(), image.getHeight(), argb, 0, image.getWidth()); [all...] |
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/ |
H A D | BoxInsetLayoutTest.java | 94 int parentRight = boxParent.getLeft() + boxParent.getWidth(); 158 int parentRight = boxParent.getLeft() + boxParent.getWidth(); 160 int parentWidth = boxParent.getWidth(); 201 .check(screenRight(is(equalTo(parentLeft + desiredPadding + child3.getWidth())))) 214 .check(screenLeft(is(parentWidth - desiredPadding - child4.getWidth()))) 267 int parentWidth = boxParent.getWidth(); 274 .check(screenRight(is(equalTo(parentLeft + desiredPadding + child1.getWidth())))) 286 .check(screenLeft(is(equalTo(parentWidth - desiredPadding - child2.getWidth())))) 300 .check(screenLeft(is(equalTo(parentWidth - desiredPadding - child3.getWidth())))) 317 .check(screenRight(is(equalTo(parentLeft + desiredPadding + child4.getWidth())))) [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskSnapshotSurface.java | 274 mSizeMismatch = (mFrame.width() != mSnapshot.getSnapshot().getWidth() 312 .setSize(buffer.getWidth(), buffer.getHeight()) 352 rect.set(0, 0, mSnapshot.getSnapshot().getWidth(), mSnapshot.getSnapshot().getHeight()); 391 final boolean fillHorizontally = c.getWidth() > frame.right; 395 c.getWidth(), fillVertically 401 c.drawRect(0, frame.bottom, c.getWidth(), c.getHeight(), mBackgroundPaint); 523 && (alreadyDrawnFrame == null || c.getWidth() > alreadyDrawnFrame.right)) { 527 c.drawRect(left, 0, c.getWidth() - rightInset, statusBarHeight, mStatusBarPaint); 534 getNavigationBarRect(c.getWidth(), c.getHeight(), mStableInsets, mContentInsets,
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | CameraOps.java | 142 int leftArea = lhs.getHeight() * lhs.getWidth(); 143 int rightArea = lhs.getHeight() * lhs.getWidth(); 147 mImageReader = ImageReader.newInstance(largest.getWidth(), largest.getHeight(), 297 float outputAspect = (float) outputSize.getWidth() / outputSize.getHeight(); 299 if (candidateSize.getWidth() > MAX_WIDTH) continue; 300 float candidateAspect = (float) candidateSize.getWidth() / candidateSize.getHeight(); 306 candidateSize.getWidth() > outputSize.getWidth()) { 494 Log.v(TAG, " Target " + mImageReader.getWidth() + "," + mImageReader.getHeight());
|
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence_webp.cpp | 53 const int canvasWidth = getWidth(); 134 getWidth(), getHeight(), getFrameCount(), mFormatFlags); 195 const int canvasWidth = mFrameSequence.getWidth(); 206 const int canvasWidth = mFrameSequence.getWidth(); 246 const int canvasWidth = mFrameSequence.getWidth(); 300 const int canvasWidth = mFrameSequence.getWidth();
|
/frameworks/base/core/java/android/transition/ |
H A D | SidePropagation.java | 95 int right = left + sceneRoot.getWidth(); 157 return sceneRoot.getWidth();
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
H A D | Palette.java | 756 mRegion.set(0, 0, mBitmap.getWidth(), mBitmap.getHeight()); 825 final double scale = bitmap.getWidth() / (double) mBitmap.getWidth(); 829 bitmap.getWidth()); 900 final int bitmapWidth = bitmap.getWidth(); 931 final int bitmapArea = bitmap.getWidth() * bitmap.getHeight(); 936 final int maxDimension = Math.max(bitmap.getWidth(), bitmap.getHeight()); 948 (int) Math.ceil(bitmap.getWidth() * scaleRatio),
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DrawableHolder.java | 134 canvas.translate(-0.5f*getWidth(), -0.5f*getHeight()); 202 public int getWidth() { method in class:DrawableHolder
|
H A D | TextProgressBar.java | 154 int contentWidth = mProgressBar.getWidth() - (params.leftMargin + params.rightMargin); 160 int textWidth = mChronometer.getWidth();
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | DrawableBgMinSizeTest.java | 85 view.getWidth() >= mBackgroundDrawable.getMinimumWidth()); 121 .getWidth() >= mBigBackgroundDrawable.getMinimumWidth());
|
/frameworks/base/libs/hwui/font/ |
H A D | CacheTexture.h | 91 inline uint16_t getWidth() const { return mWidth; } function in class:android::uirenderer::CacheTexture 98 return (y * getWidth() + x) * PixelBuffer::formatSize(mFormat);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | RedEyeFilter.java | 125 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 126 mWidth = inputFormat.getWidth();
|
H A D | RotateFilter.java | 95 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 96 mWidth = inputFormat.getWidth();
|
H A D | StraightenFilter.java | 97 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 98 mWidth = inputFormat.getWidth();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NearestTouchFrame.java | 88 event.offsetLocation(mTouchingChild.getWidth() / 2 - event.getX(), 110 int right = left + v.getWidth();
|
H A D | SettingsButton.java | 79 if ((x < -mSlop) || (y < -mSlop) || (x > getWidth() + mSlop) 104 .translationX(((View) getParent().getParent()).getWidth() - getX())
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | BrightnessMirrorController.java | 74 int originalX = mInt2Cache[0] + original.getWidth() / 2; 79 int mirrorX = mInt2Cache[0] + mBrightnessMirror.getWidth() / 2;
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | VideoProfile.java | 435 dest.writeInt(getWidth()); 444 public int getWidth() { method in class:VideoProfile.CameraCapabilities
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | SurfaceHolderTarget.java | 148 Rect frameRect = new Rect(0, 0, image.getWidth(), image.getHeight()); 166 Rect sourceRect = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight());
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ViewLayersActivity5.java | 76 mClipPath.addCircle(getWidth() / 2.0f, getHeight() / 2.0f, 77 Math.min(getWidth(), getHeight()) / 3.0f, Path.Direction.CW);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
H A D | StickyHeaderListView.java | 123 mStickyRect.set(0, -drawOffset + mStatusBarInset, drawTarget.getWidth(), 126 canvas.clipRect(0, 0, drawTarget.getWidth(), drawTarget.getHeight());
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | FindRegion.java | 41 int imgWidth = img.getWidth(); 84 findRegion.invoke_findRegion(border_coords, aImage, image.getWidth(), image.getHeight(), ret);
|
/frameworks/support/customview/src/androidTest/java/androidx/customview/widget/ |
H A D | ExploreByTouchHelperTest.java | 110 final Rect hostBoundsOnScreen = new Rect(0, 0, v.getWidth(), v.getHeight()); 145 final Rect hostBounds = new Rect(0, 0, mHost.getWidth(), mHost.getHeight());
|