Searched refs:height (Results 26 - 50 of 1472) sorted by relevance

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DDropTarget.java28 * RecentsView, and the width/height are of the RecentsView.
30 boolean acceptsDrop(int x, int y, int width, int height, Rect insets, boolean isCurrentTarget); argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dbrightness.h29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
H A Dcolorspace.h31 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);
35 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);
39 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);
43 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);
H A Dcontrast.h29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
H A Dexposure.h29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
33 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
/frameworks/native/opengl/include/ETC1/
H A Detc1.h58 etc1_uint32 etc1_get_encoded_data_size(etc1_uint32 width, etc1_uint32 height);
67 int etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height,
79 etc1_uint32 width, etc1_uint32 height,
88 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height);
98 // Read the image height from a PKM header
/frameworks/base/libs/hwui/renderthread/
H A DFrame.cpp34 int32_t y = mHeight - (idirty.y() + idirty.height());
35 // layout: {x, y, width, height}
39 out[3] = idirty.height();
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DTestDrawable.java34 public TestDrawable(@ColorInt int color, int width, int height) { argument
37 mHeight = height;
/frameworks/base/core/java/android/gesture/
H A DOrientedBoundingBox.java29 public final float height; field in class:OrientedBoundingBox
39 height = h;
59 point[1] = height / 2;
67 point[1] = -height / 2;
72 point[1] = -height / 2;
77 point[1] = height / 2;
/frameworks/base/libs/hwui/
H A DRenderBuffer.h35 RenderBuffer(GLenum format, uint32_t width, uint32_t height): argument
36 mFormat(format), mWidth(width), mHeight(height), mAllocated(false) {
92 void resize(uint32_t width, uint32_t height) { argument
93 if (isAllocated() && (width != mWidth || height != mHeight)) {
94 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, width, height);
98 mHeight = height;
109 * Returns the height of the render buffer in pixels.
/frameworks/base/libs/hwui/tests/common/scenes/
H A DShadowGrid2Animation.cpp31 void createContent(int width, int height, Canvas& canvas) override {
36 for (int y = dp(8); y < (height - dp(58)); y += dp(58)) {
54 sp<RenderNode> createCard(int x, int y, int width, int height) { argument
55 return TestUtils::createNode(x, y, x + width, y + height,
56 [width, height](RenderProperties& props, Canvas& canvas) {
58 props.mutableOutline().setRoundRect(0, 0, width, height, dp(6), 1);
H A DShadowGridAnimation.cpp31 void createContent(int width, int height, Canvas& canvas) override {
36 for (int y = dp(16); y < (height - dp(116)); y += dp(116)) {
54 sp<RenderNode> createCard(int x, int y, int width, int height) { argument
55 return TestUtils::createNode(x, y, x + width, y + height,
56 [width, height](RenderProperties& props, Canvas& canvas) {
58 props.mutableOutline().setRoundRect(0, 0, width, height, dp(6), 1);
H A DShadowShaderAnimation.cpp31 void createContent(int width, int height, Canvas& canvas) override {
38 width - (outset * 2), height - (outset * 2));
54 sp<RenderNode> createCard(int x, int y, int width, int height) { argument
55 return TestUtils::createNode(x, y, x + width, y + height,
56 [width, height](RenderProperties& props, Canvas& canvas) {
62 props.mutableOutline().setRoundRect(0, 0, width, height, 0, 0.99f);
H A DRecentsAnimation.cpp31 void createContent(int width, int height, Canvas& renderer) override {
39 thumbnailSize = std::min(std::min(width, height) / 2, 720);
40 int cardsize = std::min(width, height) - dp(64);
47 int y = (height / 4) * i;
73 sp<RenderNode> createCard(int x, int y, int width, int height, Bitmap& thumb) { argument
74 return TestUtils::createNode(x, y, x + width, y + height,
75 [&thumb, width, height](RenderProperties& props, Canvas& canvas) {
77 props.mutableOutline().setRoundRect(0, 0, width, height, dp(10), 1);
81 canvas.drawBitmap(thumb, 0, 0, thumb.width(), thumb.height(),
82 0, 0, width, height, nullpt
[all...]
H A DSimpleGradientAnimation.cpp33 void createContent(int width, int height, Canvas& canvas) override {
36 sp<RenderNode> card = createCard(0, 0, width, height);
49 sp<RenderNode> createCard(int x, int y, int width, int height) { argument
50 return TestUtils::createNode(x, y, x + width, y + height,
51 [width, height](RenderProperties& props, Canvas& canvas) {
53 SkPoint pts[] = { SkPoint::Make(0, 0), SkPoint::Make(width, height) };
61 canvas.drawRect(i, i, width, height, paint);
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
H A Dion_buffer.h15 IonBuffer(uint32_t width, uint32_t height, uint32_t format, uint64_t usage);
16 IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height,
18 IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height,
34 int Alloc(uint32_t width, uint32_t height, uint32_t layer_count,
39 void Reset(buffer_handle_t handle, uint32_t width, uint32_t height,
46 int Import(buffer_handle_t handle, uint32_t width, uint32_t height,
54 int int_count, uint32_t width, uint32_t height,
64 int Lock(uint32_t usage, int x, int y, int width, int height, void** address);
65 int LockYUV(uint32_t usage, int x, int y, int width, int height,
74 uint32_t height() cons function in class:android::dvr::IonBuffer
[all...]
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/
H A DUT_global_query.java31 private boolean Test(int width, int height, int depth) { argument
37 if (height > 0) {
38 typeBuilder.setY(height);
48 if (height < 1) {
49 height = 1;
56 int g[] = new int[width * height * depth];
57 int d[] = new int[width * height * depth];
58 int r[] = new int[width * height * depth];
62 for (int i = 0; i < width * height * depth; i++) {
84 for (int i = 0; i < width * height * dept
[all...]
H A DUT_multi_kernel.java31 private boolean Test(int width, int height, int depth) { argument
37 if (height > 0) {
38 typeBuilder.setY(height);
48 if (height < 1) {
49 height = 1;
55 float a[] = new float[width * height * depth * 4];
56 float b[] = new float[width * height * depth * 4];
60 for (int i = 0; i < width * height * depth * 4; i++) {
79 for (int i = 0; i < width * height * depth * 4; i++) {
/frameworks/base/services/core/java/com/android/server/am/
H A DLaunchingTaskPositioner.java95 int height = mAvailableRect.height();
97 mDefaultFreeformStartY = mAvailableRect.top + height / MARGIN_SIZE_DENOMINATOR;
99 mDefaultFreeformHeight = height / WINDOW_SIZE_DENOMINATOR;
101 mDefaultFreeformStepVertical = Math.max(height / STEP_DENOMINATOR, MINIMAL_STEP);
125 int height = getFinalHeight(windowLayout);
130 positionTopRight(task, tasks, width, height);
132 positionTopLeft(task, tasks, width, height);
136 positionBottomRight(task, tasks, width, height);
138 positionBottomLeft(task, tasks, width, height);
171 positionBottomLeft(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument
178 positionBottomRight(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument
185 positionTopLeft(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument
192 positionTopRight(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument
199 positionCenter(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument
[all...]
/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.cpp74 if (width <= 0.0f || height <= 0.0f || ratio <= 0.0f) {
78 const float current_ratio = width / height;
84 const float dy = height * (current_ratio / ratio - 1.0f);
86 height += dy;
92 if (width <= 0.0f || height <= 0.0f || length <= 0.0f) {
96 const float current_length = width > height ? width : height;
101 const float dy = height * (length / current_length - 1.0f);
103 height += dy;
109 if (width <= 0.0f || height <
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java28 * region by left, top, width and height.
61 * The height of the the image.
72 * @param height The height of the YuvImage.
76 * @throws IllegalArgumentException if format is not support; width or height <= 0; or yuv is
79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { argument
87 if (width <= 0 || height <= 0) {
89 "width and height must large than 0");
105 mHeight = height;
142 rectangle.height(), offset
237 nativeCompressToJpeg(byte[] oriYuv, int format, int width, int height, int[] offsets, int[] strides, int quality, OutputStream stream, byte[] tempStorage) argument
[all...]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DSize.java71 flatSizes.add(s.height());
87 int height = Integer.parseInt(flatSizes[i + 1]);
88 list.add(new Size(width,height));
98 public Size(int width, int height) { argument
99 val = new Point(width, height);
109 val = new Point(other.width(), other.height());
122 val = new Point(other.width, other.height);
156 public int height() { method in class:Size
176 return "Size: (" + this.width() + " x " + this.height() + ")";
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.h28 * @param height Height of the Yuv data in terms of pixels.
34 int height, int* offsets, int jpegQuality);
42 int height, int quality);
55 void deinterleaveYuv(uint8_t* yuv, int width, int height,
58 int rowIndex, int width, int height);
71 uint8_t* vRows, int rowIndex, int width, int height);
/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.h72 float x, y, width, height; member in struct:android::filterfw::Rect
76 width = height = 1.0f;
79 Rect(float x, float y, float width, float height) { argument
83 this->height = height;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_reconstruct.h77 u32 height,
88 u32 height,
99 u32 height,
110 u32 height,
122 u32 height,
132 u32 height,
143 u32 height,
153 u32 height,
164 u32 height,
175 u32 height,
[all...]

Completed in 472 milliseconds

1234567891011>>