/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | contrast.h | 29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
|
H A D | exposure.h | 29 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 D | etc1.h | 58 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/core/java/android/gesture/ |
H A D | OrientedBoundingBox.java | 29 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 D | RenderBuffer.h | 35 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.
|
H A D | PixelBuffer.h | 67 static PixelBuffer* create(GLenum format, uint32_t width, uint32_t height, 112 virtual void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) = 0; 122 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height) { argument 123 upload(x, y, width, height, getOffset(x, y)); 134 * Returns the height of the render buffer in pixels. 195 PixelBuffer(GLenum format, uint32_t width, uint32_t height): argument 196 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {
|
H A D | LayerRenderer.cpp | 53 const float height = mLayer->layer.getHeight(); local 57 dirty.right >= width && dirty.bottom >= height)) { 59 dirty.set(0.0f, 0.0f, width, height); 61 dirty.doIntersect(0.0f, 0.0f, width, height); 164 const float height = mLayer->layer.getHeight(); local 172 const float v1 = (height - r->top) * texY; 174 const float v2 = (height - r->bottom) * texY; 187 Layer* LayerRenderer::createRenderLayer(RenderState& renderState, uint32_t width, uint32_t height) { argument 188 ATRACE_FORMAT("Allocate %ux%u HW Layer", width, height); 189 LAYER_RENDERER_LOGD("Requesting new render layer %dx%d", width, height); 257 resizeLayer(Layer* layer, uint32_t width, uint32_t height) argument 289 updateTextureLayer(Layer* layer, uint32_t width, uint32_t height, bool isOpaque, bool forceFilter, GLenum renderTarget, const float* textureTransform) argument [all...] |
/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | ShadowGrid2Animation.cpp | 31 void createContent(int width, int height, TestCanvas& 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, TestCanvas& canvas) { 58 props.mutableOutline().setRoundRect(0, 0, width, height, dp(6), 1);
|
H A D | ShadowGridAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& 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, TestCanvas& canvas) { 58 props.mutableOutline().setRoundRect(0, 0, width, height, dp(6), 1);
|
H A D | RecentsAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& 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; 71 sp<RenderNode> createCard(int x, int y, int width, int height, argument 73 return TestUtils::createNode(x, y, x + width, y + height, 74 [&thumb, width, height](RenderProperties& props, TestCanvas& canvas) { 76 props.mutableOutline().setRoundRect(0, 0, width, height, dp(10), 1); 80 canvas.drawBitmap(thumb, 0, 0, thumb.width(), thumb.height(), 81 0, 0, width, height, nullpt [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | LaunchingTaskPositioner.java | 95 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 D | geometry.cpp | 72 if (width <= 0.0f || height <= 0.0f || ratio <= 0.0f) { 76 const float current_ratio = width / height; 82 const float dy = height * (current_ratio / ratio - 1.0f); 84 height += dy; 90 if (width <= 0.0f || height <= 0.0f || length <= 0.0f) { 94 const float current_length = width > height ? width : height; 99 const float dy = height * (length / current_length - 1.0f); 101 height += dy; 107 if (width <= 0.0f || height < [all...] |
H A D | geometry.h | 81 float height() const { return height_; } function in class:android::filterfw::SlantedRect 89 float x, y, width, height; member in struct:android::filterfw::Rect 93 width = height = 1.0f; 96 Rect(float x, float y, float width, float height) { argument 100 this->height = height;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | YuvImage.java | 28 * 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 D | Size.java | 71 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 D | YuvToJpegEncoder.h | 28 * @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);
|
H A D | Picture.h | 41 Canvas* beginRecording(int width, int height); 47 int height() const;
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | geometry.h | 72 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 D | h264bsd_reconstruct.h | 77 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...] |
/frameworks/base/media/mca/effect/java/android/media/effect/effects/ |
H A D | IdentityEffect.java | 34 public void apply(int inputTexId, int width, int height, int outputTexId) { argument 37 Frame inputFrame = frameFromTexture(inputTexId, width, height); 38 Frame outputFrame = frameFromTexture(outputTexId, width, height);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | StackViewState.java | 35 public int height; field in class:StackViewState 70 height = svs.height;
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
H A D | AsyncStructure.java | 39 final int height = getHeight(); 50 child.setDimens(width / 4, height / 4, 0, 0, width / 2, height / 2);
|
/frameworks/native/libs/gui/ |
H A D | GraphicBufferAlloc.cpp | 35 uint32_t height, PixelFormat format, uint32_t usage, status_t* error) { 37 new GraphicBuffer(width, height, format, usage)); 46 width, height, strerror(-err), graphicBuffer->handle); 34 createGraphicBuffer(uint32_t width, uint32_t height, PixelFormat format, uint32_t usage, status_t* error) argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | BackgroundFallback.java | 49 final int height = root.getHeight(); 51 int top = height; 89 mBackgroundFallback.setBounds(0, top, left, height); 93 mBackgroundFallback.setBounds(right, top, width, height); 96 if (bottom < height) { 97 mBackgroundFallback.setBounds(left, bottom, right, height);
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | AccessibilityNodeInfoHelper.java | 32 * @param height pixel height of the display 35 static Rect getVisibleBoundsInScreen(AccessibilityNodeInfo node, int width, int height) { argument 47 displayRect.bottom = height;
|