/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryableSizeF.java | 50 float height = buffer.getFloat(); 52 return new SizeF(width, height);
|
H A D | MarshalQueryableStreamConfiguration.java | 32 * <p>Data is stored as {@code (format, width, height, input?)} tuples (int32).</p> 56 int height = buffer.getInt(); 59 return new StreamConfiguration(format, width, height, input);
|
H A D | MarshalQueryableStreamConfigurationDuration.java | 32 * Data is stored as {@code (format, width, height, durationNs)} tuples (int64). 65 int height = (int)buffer.getLong(); 68 return new StreamConfigurationDuration(format, width, height, durationNs);
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | HighSpeedVideoConfiguration.java | 42 * @param height image height, in pixels (positive) 47 * if width/height/fpsMin were not positive or fpsMax less than 60 52 final int width, final int height, final int fpsMin, final int fpsMax, 60 mHeight = checkArgumentPositive(height, "height must be positive"); 77 * Return the height of the high speed video configuration. 79 * @return height > 0 106 * @return a Size with positive width and height 51 HighSpeedVideoConfiguration( final int width, final int height, final int fpsMin, final int fpsMax, final int batchSizeMax) argument
|
H A D | StreamConfiguration.java | 50 * @param height image height, in pixels (positive) 54 * if width/height were not positive 61 final int format, final int width, final int height, final boolean input) { 64 mHeight = checkArgumentPositive(height, "height must be positive"); 91 * Return the height of the stream configuration. 93 * @return height > 0 102 * @return a Size with positive width and height 60 StreamConfiguration( final int format, final int width, final int height, final boolean input) argument
|
H A D | StreamConfigurationDuration.java | 44 * @param height image height, in pixels (positive) 48 * if width/height were not positive, or durationNs was negative 56 final int format, final int width, final int height, final long durationNs) { 59 mHeight = checkArgumentPositive(height, "height must be positive"); 86 * Return the height of the stream configuration duration 88 * @return height > 0 97 * @return a Size with positive width and height 55 StreamConfigurationDuration( final int format, final int width, final int height, final long durationNs) argument
|
/frameworks/base/core/java/android/util/ |
H A D | Size.java | 22 * Immutable class for describing width and height dimensions in pixels. 29 * @param height The height of the size, in pixels 31 public Size(int width, int height) { argument 33 mHeight = height; 45 * Get the height of the size (in pixels). 46 * @return height 98 * the width and height.</p> 104 * "<i>width</i>{@code x}<i>height</i>" or 105 * "<i>width</i>{@code *}<i>height</ [all...] |
H A D | SizeF.java | 23 * Immutable class for describing width and height dimensions in some arbitrary 26 * Width and height are finite values stored as a floating point representation. 33 * <p>Both the {@code width} and the {@code height} must be a finite number. 37 * @param height The height of the size 40 * if either {@code width} or {@code height} was not finite. 42 public SizeF(final float width, final float height) { argument 44 mHeight = checkArgumentFinite(height, "height"); 56 * Get the height o [all...] |
/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | GlyphStressAnimation.cpp | 36 void createContent(int width, int height, TestCanvas& canvas) override { 37 container = TestUtils::createNode(0, 0, width, height, nullptr);
|
H A D | PartialDamageAnimation.cpp | 32 void createContent(int width, int height, TestCanvas& canvas) override { 43 for (int y = dp(16); y < (height - dp(116)); y += dp(116)) {
|
H A D | TextAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { 33 card = TestUtils::createNode(0, 0, width, height,
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | FontRendererTests.cpp | 50 EXPECT_FALSE(isZero(result.image, result.width * result.height)); 52 EXPECT_LE(bounds.getHeight() + radius * 2, (int) result.height);
|
/frameworks/base/media/java/android/media/tv/ |
H A D | ITvRemoteServiceInput.aidl | 24 void openInputBridge(IBinder token, String name, int width, int height, int maxPointers);
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
H A D | FilterEffect.java | 85 protected Frame frameFromTexture(int texId, int width, int height) { argument 87 FrameFormat format = ImageFormat.create(width, height,
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraUtils.java | 76 return compareSizes(lhs.width, lhs.height, rhs.width, rhs.height);
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayDeviceInfo.java | 138 * The height of the display in its natural orientation, in pixels. 141 public int height; field in class:DisplayDeviceInfo 260 public void setAssumedDensityForExternalDisplay(int width, int height) { argument 261 densityDpi = Math.min(width, height) * DisplayMetrics.DENSITY_XHIGH / 1080; 289 || height != other.height 323 height = other.height; 352 sb.append(width).append(" x ").append(height);
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
H A D | BiDiTestViewDrawText.java | 57 final int height = getHeight(); 64 canvas.drawText(mText, width / 2, height * 2 / 3, paint);
|
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/ |
H A D | GLJNIView.java | 75 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 76 GLJNILib.init(width, height);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
H A D | ListViewRequireScrollHelper.java | 63 final int height = mListView.getHeight(); 64 mListView.smoothScrollBy(height, 500);
|
/frameworks/av/media/libstagefright/yuv/ |
H A D | YUVCanvas.cpp | 35 for (int32_t y = 0; y < mYUVImage.height(); ++y) { 66 for (int32_t offsetY = 0; offsetY < srcRect.height(); ++offsetY) { 92 CHECK((srcOffsetY + (mYUVImage.height() - 1) * skipY) < srcImage.height()); 99 for (int32_t y = 0; y < mYUVImage.height(); ++y) {
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3OutputStream.h | 43 uint32_t height; member in struct:android::camera3::StreamInfo 61 height(h), 82 uint32_t width, uint32_t height, int format, 93 uint32_t width, uint32_t height, size_t maxSize, int format, 145 uint32_t width, uint32_t height, int format,
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | ParameterUtils.java | 156 int h = clipLower(rect.height(), /*lo*/0, rect, "height"); 239 return new Size(size.width, size.height); 250 sizes.add(new Size(s.width, s.height)); 264 array[ctr++] = new Size(s.width, s.height); 272 public static boolean containsSize(List<Camera.Size> sizeList, int width, int height) { argument 275 if (s.height == height && s.width == width) { 442 currentPreviewCropRegion.height() >= cropRegionAsPreview.height()) { [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | VideoView.java | 145 int height = getDefaultSize(mVideoHeight, heightMeasureSpec); 156 height = heightSpecSize; 159 if ( mVideoWidth * height < width * mVideoHeight ) { 161 width = height * mVideoWidth / mVideoHeight; 162 } else if ( mVideoWidth * height > width * mVideoHeight ) { 164 height = width * mVideoHeight / mVideoWidth; 167 // only the width is fixed, adjust the height to match aspect ratio if possible 169 height = width * mVideoHeight / mVideoWidth; 170 if (heightSpecMode == MeasureSpec.AT_MOST && height > heightSpecSize) { 172 height [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseSurfaceHolder.java | 115 public void setFixedSize(int width, int height) { argument 116 if (mRequestedWidth != width || mRequestedHeight != height) { 118 mRequestedHeight = height; 227 public void setSurfaceFrameSize(int width, int height) { argument 231 mSurfaceFrame.bottom = height;
|
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfDocument.cpp | 36 PageRecord(int width, int height, const SkRect& contentRect) argument 40 , mHeight(height) { 64 SkCanvas* startPage(int width, int height, argument 70 PageRecord* page = new PageRecord(width, height, contentRect); 75 SkRect::MakeWH(contentRect.width(), contentRect.height()));
|