Searched defs:width (Results 1 - 25 of 795) sorted by relevance

1234567891011>>

/frameworks/av/cmds/screenrecord/
H A DFontBitmap.h4 static const uint32_t width = 256; member in class:FontBitmap
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmb_utils.cpp25 void PutSKIPPED_MB(uint8 *comp, uint8 *prev, int width) argument
42 comp += width;
43 prev += width;
53 comp += width;
54 prev += width;
64 comp += width;
65 prev += width;
74 comp += width;
75 prev += width;
86 void PutSKIPPED_B(uint8 *comp, uint8 *prev, int width) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_image.h48 u32 width; member in struct:__anon744
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoHelper.java31 * @param width pixel width of the display
35 static Rect getVisibleBoundsInScreen(AccessibilityNodeInfo node, int width, int height) { argument
46 displayRect.right = width;
/frameworks/base/libs/hwui/tests/common/scenes/
H A DShadowGrid2Animation.cpp31 void createContent(int width, int height, Canvas& canvas) override {
35 for (int x = dp(8); x < (width - dp(58)); x += 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 {
35 for (int x = dp(16); x < (width - dp(116)); x += 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 DBitmapFillrate.cpp38 void createContent(int width, int height, Canvas& canvas) override {
40 createNode(canvas, 0x909C27B0, 0, 0, width, height);
41 createNode(canvas, 0xA0CDDC39, width / 3, height / 3, width, height);
42 createNode(canvas, 0x90009688, width / 3, 0, width, height);
43 createNode(canvas, 0xA0FF5722, 0, height / 3, width, height);
44 createNode(canvas, 0x9000796B, width / 6, height/6, width, height);
45 createNode(canvas, 0xA0FFC107, width /
56 createNode(Canvas& canvas, SkColor color, int left, int top, int width, int height) argument
[all...]
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);
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, nullptr);
H A DSimpleColorMatrixAnimation.cpp34 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);
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/base/tools/layoutlib/bridge/src/android/text/
H A DTabStops.java33 public float width(float widthSoFar) { method in class:TabStops
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNILib.java28 * @param width the current view width
31 public static native void init(int width, int height); argument
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
H A DGLJNILib.java28 * @param width the current view width
31 public static native void init(int width, int height); argument
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
H A DGLPerfLib.java28 * @param width the current view width
31 public static native void init(int width, int height); argument
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
H A DGLDualLib.java28 * @param width the current view width
31 public static native void init(int width, int height); argument
/frameworks/base/core/java/android/gesture/
H A DOrientedBoundingBox.java28 public final float width; field in class:OrientedBoundingBox
38 width = w;
58 point[0] = -width / 2;
66 point[0] = -width / 2;
71 point[0] = width / 2;
76 point[0] = width / 2;
/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/pipeline/skia/
H A DSkiaRecordingCanvas.h33 explicit SkiaRecordingCanvas(uirenderer::RenderNode* renderNode, int width, int height) { argument
34 initDisplayList(renderNode, width, height);
41 virtual void resetRecording(int width, int height,
43 initDisplayList(renderNode, width, height);
85 * @param width used to calculate recording bounds.
88 void initDisplayList(uirenderer::RenderNode* renderNode, int width, int height);
/frameworks/base/libs/hwui/renderstate/
H A DScissor.cpp46 bool Scissor::set(GLint x, GLint y, GLint width, GLint height) { argument
48 || width != mScissorWidth || height != mScissorHeight)) {
51 width += x;
58 if (width < 0) {
59 width = 0;
64 glScissor(x, y, width, height);
68 mScissorWidth = width;
80 GLint width = std::max(0, ((int)clip.right) - x); local
85 || width != mScissorWidth
87 glScissor(x, y, width, heigh
[all...]
/frameworks/base/libs/hwui/renderthread/
H A DFrame.h30 Frame(int32_t width, int32_t height, int32_t bufferAge) argument
31 : mWidth(width)
35 int32_t width() const { return mWidth; } 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
70 * @param width The width 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);

Completed in 1484 milliseconds

1234567891011>>