/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
H A D | omxVCM4P10_InterpolateLuma.c | 56 * roi.height must be equal to either 4, 8, or 16. 71 * roi.width or roi.height is out of range {4, 8, 16}. 98 armRetArgErrIf((roi.height != 4) && (roi.height != 8) && (roi.height != 16), OMX_Sts_BadArgErr) 106 (pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_image.h | 49 u32 height; member in struct:__anon744
|
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | SurfaceUtils.h | 28 * Configures |nativeWindow| for given |width|x|height|, pixel |format|, |rotation| and |usage|. 34 int width, int height, int format, int rotation, int usage, bool reconnect);
|
/frameworks/av/media/libstagefright/include/ |
H A D | SurfaceUtils.h | 28 * Configures |nativeWindow| for given |width|x|height|, pixel |format|, |rotation| and |usage|. 34 int width, int height, int format, int rotation, int usage, bool reconnect);
|
/frameworks/base/apct-tests/perftests/core/src/android/view/ |
H A D | ViewShowHidePerfTest.java | 139 void run(BenchmarkState state, int width, int height, ViewGroup parent, View child); argument 150 final int height = 1000; 151 layout(width, height, parent); 153 callback.run(state, width, height, parent, mChild); 162 private void layout(int width, int height, View view) { argument 165 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); 166 view.layout(0, 0, height, width); 171 testParentWithChild((state, width, height, parent, child) -> { 176 layout(width, height, child); 187 testParentWithChild((state, width, height, paren [all...] |
/frameworks/base/libs/hwui/private/hwui/ |
H A D | DrawGlInfo.h | 34 // Input: current width/height of destination surface 36 int height; member in struct:android::uirenderer::DrawGlInfo
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | BitmapAllocationTestUtils.h | 30 static sk_sp<Bitmap> allocateHeapBitmap(int width, int height, argument 32 sk_sp<Bitmap> bitmap = TestUtils::createBitmap(width, height, colorType); 39 static sk_sp<Bitmap> allocateHardwareBitmap(int width, int height, argument 42 SkImageInfo info = SkImageInfo::Make(width, height, colorType, kPremul_SkAlphaType);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | MutableFrameFormat.java | 64 public void setDimensions(int width, int height) { argument 67 dimensions[1] = height; 72 public void setDimensions(int width, int height, int depth) { argument 75 dimensions[1] = height;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/ |
H A D | ImageFormat.java | 37 int height, 42 result.setDimensions(width, height); 52 int height, 56 height, 36 create(int width, int height, int colorspace, int bytesPerSample, int target) argument 51 create(int width, int height, int colorspace, int target) argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | exposure.cpp | 30 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) { 34 const int numPixels = width * height; 52 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) { 56 const int numPixels = width * height; 29 Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_overExposureOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) argument 51 Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_underExposureOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) argument
|
H A D | pixelutils.h | 31 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset,
|
H A D | sobeloperator.h | 30 JNIEnv* env, jclass clazz, jint width, jint height,
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | ResizeHWLayerActivity.java | 38 int height = metrics.heightPixels; 41 child.setLayoutParams(new FrameLayout.LayoutParams(width, height)); 44 PropertyValuesHolder pvhHeight = PropertyValuesHolder.ofInt("height", height, 1); 53 params.height = (Integer)valueAnimator.getAnimatedValue("height");
|
/frameworks/native/opengl/tests/lib/ |
H A D | WindowSurface.cpp | 46 uint32_t width, height; local 51 height = mainDpyInfo.w; 54 height = mainDpyInfo.h; 58 String8("Benchmark"), width, height,
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
H A D | CardViewDelegate.java | 32 void setMinWidthHeightInternal(int width, int height); argument
|
/frameworks/av/camera/include/camera/ |
H A D | CameraParameters2.h | 66 void setPreviewSize(int width, int height); 67 void getPreviewSize(int *width, int *height) const; 70 // Set the dimensions in pixels to the given width and height 71 // for video frames. The given width and height must be one 75 void setVideoSize(int width, int height); 76 // Retrieve the current dimensions (width and height) 81 void getVideoSize(int *width, int *height) const; 82 // Retrieve a Vector of supported dimensions (width and height) 89 // Retrieve the preferred preview size (width and height) in pixels 90 // for video recording. The given width and height mus [all...] |
H A D | CameraParameters.h | 27 int height; member in struct:android::Size 31 height = 0; 36 height = h; 59 void setPreviewSize(int width, int height); 60 void getPreviewSize(int *width, int *height) const; 63 // Set the dimensions in pixels to the given width and height 64 // for video frames. The given width and height must be one 68 void setVideoSize(int width, int height); 69 // Retrieve the current dimensions (width and height) 74 void getVideoSize(int *width, int *height) cons [all...] |
/frameworks/av/include/camera/ |
H A D | CameraParameters2.h | 66 void setPreviewSize(int width, int height); 67 void getPreviewSize(int *width, int *height) const; 70 // Set the dimensions in pixels to the given width and height 71 // for video frames. The given width and height must be one 75 void setVideoSize(int width, int height); 76 // Retrieve the current dimensions (width and height) 81 void getVideoSize(int *width, int *height) const; 82 // Retrieve a Vector of supported dimensions (width and height) 89 // Retrieve the preferred preview size (width and height) in pixels 90 // for video recording. The given width and height mus [all...] |
H A D | CameraParameters.h | 27 int height; member in struct:android::Size 31 height = 0; 36 height = h; 59 void setPreviewSize(int width, int height); 60 void getPreviewSize(int *width, int *height) const; 63 // Set the dimensions in pixels to the given width and height 64 // for video frames. The given width and height must be one 68 void setVideoSize(int width, int height); 69 // Retrieve the current dimensions (width and height) 74 void getVideoSize(int *width, int *height) cons [all...] |
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | DngCreator.java | 193 int height = pixels.getHeight(); 195 if (width > MAX_THUMBNAIL_DIMENSION || height > MAX_THUMBNAIL_DIMENSION) { 196 throw new IllegalArgumentException("Thumbnail dimensions width,height (" + width + 197 "," + height + ") too large, dimensions must be smaller than " + 202 nativeSetThumbnail(rgbBuffer, width, height); 234 int height = pixels.getHeight(); 236 if (width > MAX_THUMBNAIL_DIMENSION || height > MAX_THUMBNAIL_DIMENSION) { 237 throw new IllegalArgumentException("Thumbnail dimensions width,height (" + width + 238 "," + height + ") too large, dimensions must be smaller than " + 243 nativeSetThumbnail(rgbBuffer, width, height); 492 writeByteBuffer(int width, int height, ByteBuffer pixels, OutputStream dngOutput, int pixelStride, int rowStride, long offset) argument 664 nativeSetThumbnail(ByteBuffer buffer, int width, int height) argument 666 nativeWriteImage(OutputStream out, int width, int height, ByteBuffer rawBuffer, int rowStride, int pixStride, long offset, boolean isDirect) argument 671 nativeWriteInputStream(OutputStream out, InputStream rawStream, int width, int height, long offset) argument [all...] |
/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | SimpleColorMatrixAnimation.cpp | 34 void createContent(int width, int height, Canvas& canvas) override { 37 sp<RenderNode> card = createCard(0, 0, width, height); 50 sp<RenderNode> createCard(int x, int y, int width, int height) { argument 51 return TestUtils::createNode(x, y, x + width, y + height, 52 [width, height](RenderProperties& props, Canvas& canvas) { 72 SkPoint pts[] = { SkPoint::Make(0, 0), SkPoint::Make(width, height) }; 79 canvas.drawRect(i, i, width, height, paint);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ThinPatchesActivity.java | 76 final int height = 60; 79 final int top = (getHeight() - height) / 2; 82 canvas.translate(0.0f, -height * 2 - 20.0f); 84 mPatch3.setBounds(left, top, left + height, top + width); 89 mPatch1.setBounds(left, top, left + width, top + height); 93 canvas.translate(0.0f, height + 20.0f); 95 mPatch2.setBounds(left, top, left + width, top + height);
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | ShadowPainter.java | 81 int height = source.getHeight(); 82 image = new BufferedImage(width + SHADOW_SIZE, height + SHADOW_SIZE, 190 int height = source.getHeight(); 192 image = new BufferedImage(width + SHADOW_SIZE, height + SHADOW_SIZE, type); 195 drawRectangleShadow(image, 0, 0, width, height); 217 int height = source.getHeight(); 220 image = new BufferedImage(width + SMALL_SHADOW_SIZE, height + SMALL_SHADOW_SIZE, type); 224 drawSmallRectangleShadow(image, 0, 0, width, height); 239 * @param height the height o 241 drawRectangleShadow(BufferedImage image, int x, int y, int width, int height) argument 262 drawSmallRectangleShadow(BufferedImage image, int x, int y, int width, int height) argument 295 drawRectangleShadow(Graphics2D gc, int x, int y, int width, int height) argument 336 drawSmallRectangleShadow(Graphics2D gc, int x, int y, int width, int height) argument [all...] |
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
H A D | FixedAspectSurfaceView.java | 34 * requested aspect ratio. This can happen if both the width and the height are exactly 35 * determined by the layout. To avoid this, ensure that either the height or the width is 42 * Desired width/height ratio 63 * @param aspect the desired width/height ratio in the current UI orientation. Must be a 91 int height = MeasureSpec.getSize(heightMeasureSpec); 105 // Width is fixed, heightMode either AT_MOST or UNSPECIFIED, so adjust height 111 // Need to fit into box <= [width, height] in size. 114 float boxAspectRatio = width / (float) height; 126 // Maximize height, widthSpec is UNSPECIFIED 130 // with width == height [all...] |
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | FixedAspectSurfaceView.java | 34 * requested aspect ratio. This can happen if both the width and the height are exactly 35 * determined by the layout. To avoid this, ensure that either the height or the width is 42 * Desired width/height ratio 63 * @param aspect the desired width/height ratio in the current UI orientation. Must be a 91 int height = MeasureSpec.getSize(heightMeasureSpec); 105 // Width is fixed, heightMode either AT_MOST or UNSPECIFIED, so adjust height 111 // Need to fit into box <= [width, height] in size. 114 float boxAspectRatio = width / (float) height; 126 // Maximize height, widthSpec is UNSPECIFIED 130 // with width == height [all...] |