Searched defs:height (Results 1 - 25 of 824) sorted by relevance

1234567891011>>

/frameworks/native/services/surfaceflinger/
H A DRenderArea.cpp17 * 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 DFontBitmap.h5 static const uint32_t height = 204; member in class:FontBitmap
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoHelper.java32 * @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 DShadowGrid2Animation.cpp30 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 DShadowGridAnimation.cpp30 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 DShadowShaderAnimation.cpp30 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 DBitmapFillrate.cpp37 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 DRecentsAnimation.cpp30 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 DSimpleColorMatrixAnimation.cpp34 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 DSimpleGradientAnimation.cpp31 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 DGL2JNILib.java29 * @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 DGLJNILib.java29 * @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 DGLPerfLib.java29 * @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 DGLDualLib.java29 * @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 DTextClassificationTest.java43 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 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/core/tests/coretests/src/android/view/textclassifier/
H A DTextClassificationTest.java51 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 DRectShape.java49 protected void onResize(float width, float height) { argument
50 mRect.set(0, 0, width, height);
/frameworks/base/libs/hwui/renderstate/
H A DScissor.cpp41 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 DFrame.h30 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 DLayerUpdateQueueTests.cpp32 // 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 DEffect.java55 * <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 DFilterEffect.java85 protected Frame frameFromTexture(int texId, int width, int height) { argument
87 FrameFormat format = ImageFormat.create(width, height,
H A DSizeChangeEffect.java41 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 DIdentityEffect.java34 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);

Completed in 581 milliseconds

1234567891011>>