Searched refs:getWidth (Results 76 - 100 of 567) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/hardware/camera2/params/
H A DMeteringRectangle.java118 mWidth = checkArgumentNonnegative(dimensions.getWidth(), "width must be nonnegative");
167 public int getWidth() { method in class:MeteringRectangle
/frameworks/base/graphics/java/android/graphics/
H A DBitmapRegionDecoder.java185 if (rect.right <= 0 || rect.bottom <= 0 || rect.left >= getWidth()
194 public int getWidth() { method in class:BitmapRegionDecoder
196 checkRecycled("getWidth called on recycled region decoder");
212 * getWidth() or getHeight() is called.
/frameworks/base/libs/hwui/
H A DDeferredLayerUpdater.cpp35 mWidth = mLayer->layer.getWidth();
100 forceFilter = mWidth != static_cast<int>(buffer->getWidth())
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java174 int width = bitmap.getWidth();
219 if (source.getWidth() < source.getHeight()) {
220 scale = width / (float) source.getWidth();
364 int deltaX = source.getWidth() - targetWidth;
382 deltaXHalf + Math.min(targetWidth, source.getWidth()),
398 float bitmapWidthF = source.getWidth();
424 source.getWidth(), source.getHeight(), scaler, true);
433 int dx1 = Math.max(0, b1.getWidth() - targetWidth);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DCropRectFilter.java105 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
106 updateSourceRect(inputFormat.getWidth(), inputFormat.getHeight());
H A DDocumentaryFilter.java123 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
124 mWidth = inputFormat.getWidth();
H A DFisheyeFilter.java115 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
116 updateFrameSize(inputFormat.getWidth(), inputFormat.getHeight());
H A DImageStitcher.java74 mInputWidth = format.getWidth();
97 if ((format.getWidth() != mInputWidth) ||
H A DLomoishFilter.java187 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
188 mWidth = inputFormat.getWidth();
H A DSharpenFilter.java113 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
114 updateFrameSize(inputFormat.getWidth(), inputFormat.getHeight());
H A DToPackedGrayFilter.java85 int w = inputFormat.getWidth();
120 int ow = outputFormat.getWidth();
H A DVignetteFilter.java137 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
138 mWidth = inputFormat.getWidth();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDismissViewButton.java73 int dx = isRtl ? getWidth() / 2 + drawableHeight / 2 : getWidth() / 2 - drawableHeight / 2;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBrightnessMirrorController.java83 int originalX = mInt2Cache[0] + original.getWidth()/2;
88 int mirrorX = mInt2Cache[0] + mBrightnessMirror.getWidth()/2;
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DBasicTexture.java98 public int getWidth() { method in class:BasicTexture
138 canvas.drawTexture(this, x, y, getWidth(), getHeight());
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathDestructionActivity.java60 left = MathUtils.random(getWidth() - MIN_SIZE);
62 right = left + MathUtils.random(getWidth() - left);
H A DRevealActivity.java85 view.getWidth() / 2, view.getHeight() / 2,
86 0, Math.max(view.getWidth(), view.getHeight()));
/frameworks/opt/chips/src/com/android/ex/chips/
H A DCircularImageView.java79 source.set(0, 0, bitmap.getWidth(), bitmap.getHeight());
80 destination.set(getPaddingLeft(), getPaddingTop(), getWidth() - getPaddingRight(),
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DCircleView.java93 int viewWidth = getWidth();
99 mXCenter = getWidth() / 2;
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A DViewfinderProcessor.java45 yuvTypeBuilder.setX(dimensions.getWidth());
53 rgbTypeBuilder.setX(dimensions.getWidth());
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3StreamInterface.h45 virtual uint32_t getWidth() const = 0;
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableSize.java41 buffer.putInt(value.getWidth());
H A DMarshalQueryableSizeF.java43 buffer.putFloat(value.getWidth());
H A DMarshalQueryableStreamConfiguration.java47 buffer.putInt(value.getWidth());
H A DMarshalQueryableStreamConfigurationDuration.java56 buffer.putLong(value.getWidth());

Completed in 441 milliseconds

1234567891011>>