/frameworks/native/services/surfaceflinger/ |
H A D | RenderArea.cpp | 17 * Checks that the requested width and height are valid and updates them to the render area 24 uint32_t height = getHeight(); local 27 std::swap(width, height); 31 std::swap(width, height); 34 if ((mReqWidth > width) || (mReqHeight > height)) { 35 ALOGE("size mismatch (%d, %d) > (%d, %d)", mReqWidth, mReqHeight, width, height); 43 mReqHeight = height;
|
/frameworks/av/cmds/screenrecord/ |
H A D | FontBitmap.h | 5 static const uint32_t height = 204; member in class:FontBitmap
|
/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;
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | ShadowGrid2Animation.cpp | 30 void createContent(int width, int height, Canvas& canvas) override { 35 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,
|
H A D | ShadowGridAnimation.cpp | 30 void createContent(int width, int height, Canvas& canvas) override { 35 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,
|
H A D | ShadowShaderAnimation.cpp | 30 void createContent(int width, int height, Canvas& canvas) override { 37 createCard(outset, outset, 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) { 64 props.mutableOutline().setRoundRect(0, 0, width, height, 0,
|
H A D | BitmapFillrate.cpp | 37 void createContent(int width, int height, Canvas& canvas) override { 39 createNode(canvas, 0x909C27B0, 0, 0, width, height); 40 createNode(canvas, 0xA0CDDC39, width / 3, height / 3, width, height); 41 createNode(canvas, 0x90009688, width / 3, 0, width, height); 42 createNode(canvas, 0xA0FF5722, 0, height / 3, width, height); 43 createNode(canvas, 0x9000796B, width / 6, height / 6, width, height); 44 createNode(canvas, 0xA0FFC107, width / 6, 0, width, height); 56 createNode(Canvas& canvas, SkColor color, int left, int top, int width, int height) argument [all...] |
H A D | RecentsAnimation.cpp | 30 void createContent(int width, int height, Canvas& renderer) override { 35 thumbnailSize = std::min(std::min(width, height) / 2, 720); 36 int cardsize = std::min(width, height) - dp(64); 43 int y = (height / 4) * i; 69 sp<RenderNode> createCard(int x, int y, int width, int height, Bitmap& thumb) { argument 71 x, y, x + width, y + height, 72 [&thumb, width, height](RenderProperties& props, Canvas& canvas) { 74 props.mutableOutline().setRoundRect(0, 0, width, height, dp(10), 1); 78 canvas.drawBitmap(thumb, 0, 0, thumb.width(), thumb.height(), 0, 0, width, 79 height, nullpt [all...] |
H A D | SimpleColorMatrixAnimation.cpp | 34 void createContent(int width, int height, Canvas& canvas) override { 37 sp<RenderNode> card = createCard(0, 0, width, height); 51 sp<RenderNode> createCard(int x, int y, int width, int height) { argument 53 x, y, x + width, y + height, 54 [width, height](RenderProperties& props, Canvas& canvas) { 75 SkPoint pts[] = {SkPoint::Make(0, 0), SkPoint::Make(width, height)}; 82 canvas.drawRect(i, i, width, height, paint);
|
H A D | SimpleGradientAnimation.cpp | 31 void createContent(int width, int height, Canvas& canvas) override { 34 sp<RenderNode> card = createCard(0, 0, width, height); 48 sp<RenderNode> createCard(int x, int y, int width, int height) { argument 50 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/opengl/tests/gl2_jni/src/com/android/gl2jni/ |
H A D | GL2JNILib.java | 29 * @param height the current view height 31 public static native void init(int width, int height); argument
|
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/ |
H A D | GLJNILib.java | 29 * @param height the current view height 31 public static native void init(int width, int height); argument
|
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/ |
H A D | GLPerfLib.java | 29 * @param height the current view height 31 public static native void init(int width, int height); argument
|
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
H A D | GLDualLib.java | 29 * @param height the current view height 31 public static native void init(int width, int height); argument
|
/frameworks/support/textclassifier/src/androidTest/java/androidx/textclassifier/ |
H A D | TextClassificationTest.java | 43 public BitmapDrawable generateTestDrawable(int width, int height, int colorValue) { argument 44 final int numPixels = width * height; 49 final Bitmap bitmap = Bitmap.createBitmap(colors, width, height, Bitmap.Config.ARGB_8888); 105 // Secondary action 0 (scale with height limit).
|
/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/core/tests/coretests/src/android/view/textclassifier/ |
H A D | TextClassificationTest.java | 51 public Icon generateTestIcon(int width, int height, int colorValue) { argument 52 final int numPixels = width * height; 57 final Bitmap bitmap = Bitmap.createBitmap(colors, width, height, Bitmap.Config.ARGB_8888); 139 final int height = 192; 145 generateTestIcon(width, height, iconColor), 169 assertEquals(height, resultIcon.getHeight());
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | RectShape.java | 49 protected void onResize(float width, float height) { argument 50 mRect.set(0, 0, width, height);
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | Scissor.cpp | 41 bool Scissor::set(GLint x, GLint y, GLint width, GLint height) { argument 43 (x != mScissorX || y != mScissorY || width != mScissorWidth || height != mScissorHeight)) { 49 height += y; 55 if (height < 0) { 56 height = 0; 58 glScissor(x, y, width, height); 63 mScissorHeight = height; 75 GLint height = std::max(0, (viewportHeight - (int)clip.top) - y); local 77 if (x != mScissorX || y != mScissorY || width != mScissorWidth || height != mScissorHeight) { 78 glScissor(x, y, width, height); [all...] |
/frameworks/base/libs/hwui/renderthread/ |
H A D | Frame.h | 30 Frame(int32_t width, int32_t height, int32_t bufferAge) argument 31 : mWidth(width), mHeight(height), mBufferAge(bufferAge) {} 34 int32_t height() const { return mHeight; } function in class:android::uirenderer::renderthread::Frame
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | LayerUpdateQueueTests.cpp | 32 // sync node properties, so properties() reflects correct width and height 33 static sp<RenderNode> createSyncedNode(uint32_t width, uint32_t height) { argument 34 sp<RenderNode> node = TestUtils::createNode(0, 0, width, height, nullptr);
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
H A D | Effect.java | 55 * <p>The input texture must be a valid texture name with the given width and height and must be 71 * @param height The height of the input texture in pixels. 74 public abstract void apply(int inputTexId, int width, int height, int outputTexId); argument
|
H A D | FilterEffect.java | 85 protected Frame frameFromTexture(int texId, int width, int height) { argument 87 FrameFormat format = ImageFormat.create(width, height,
|
H A D | SizeChangeEffect.java | 41 public void apply(int inputTexId, int width, int height, int outputTexId) { argument 44 Frame inputFrame = frameFromTexture(inputTexId, width, height);
|
/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);
|