Searched refs:bottom (Results 101 - 125 of 709) sorted by relevance

1234567891011>>

/frameworks/rs/script_api/include/
H A Drs_matrix.rsh63 * bottom: Bottom plane.
70 float4* bottom, float4* near, float4* far) {
87 bottom->x = viewProj->m[3] + viewProj->m[1];
88 bottom->y = viewProj->m[7] + viewProj->m[5];
89 bottom->z = viewProj->m[11] + viewProj->m[9];
90 bottom->w = viewProj->m[15] + viewProj->m[13];
108 len = length(bottom->xyz);
109 *bottom /= len;
120 float4* bottom, float4* near, float4* far);
133 * bottom
[all...]
/frameworks/base/libs/hwui/
H A DSkiaCanvas.h82 virtual int saveLayer(float left, float top, float right, float bottom,
84 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
96 virtual bool quickRejectRect(float left, float top, float right, float bottom) const override;
98 virtual bool clipRect(float left, float top, float right, float bottom,
115 virtual void drawRect(float left, float top, float right, float bottom,
118 virtual void drawRoundRect(float left, float top, float right, float bottom,
121 virtual void drawOval(float left, float top, float right, float bottom,
123 virtual void drawArc(float left, float top, float right, float bottom,
146 uirenderer::CanvasPropertyPrimitive* bottom, uirenderer::CanvasPropertyPrimitive* rx,
H A DCanvasState.h123 bool quickRejectConservative(float left, float top, float right, float bottom) const;
125 bool clipRect(float left, float top, float right, float bottom, SkClipOp op);
144 * Returns true if drawing in the rectangle (left, top, right, bottom)
148 bool calculateQuickRejectForScissor(float left, float top, float right, float bottom,
H A DDamageAccumulator.h55 void dirty(float left, float top, float right, float bottom);
H A DUvMapper.h87 * - bottom = max. V
94 texCoords.bottom = lerp(mMinV, mMaxV, texCoords.bottom);
/frameworks/base/libs/hwui/hwui/
H A DCanvas.h156 uirenderer::CanvasPropertyPrimitive* bottom, uirenderer::CanvasPropertyPrimitive* rx,
177 virtual int saveLayer(float left, float top, float right, float bottom,
179 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
194 virtual bool quickRejectRect(float left, float top, float right, float bottom) const = 0;
197 virtual bool clipRect(float left, float top, float right, float bottom,
220 virtual void drawRect(float left, float top, float right, float bottom,
223 virtual void drawRoundRect(float left, float top, float right, float bottom,
226 virtual void drawOval(float left, float top, float right, float bottom,
228 virtual void drawArc(float left, float top, float right, float bottom,
/frameworks/base/core/java/android/text/style/
H A DBulletSpan.java91 int top, int baseline, int bottom,
113 c.translate(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f);
117 c.drawCircle(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f, BULLET_RADIUS, p);
90 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout l) argument
H A DReplacementSpan.java56 * @param bottom Bottom of the line.
61 int top, int y, int bottom, @NonNull Paint paint);
59 draw(@onNull Canvas canvas, CharSequence text, @IntRange(from = 0) int start, @IntRange(from = 0) int end, float x, int top, int y, int bottom, @NonNull Paint paint) argument
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DRoundRectShape.java102 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom), radius);
119 r.right - mInset.right, r.bottom - mInset.bottom);
H A DOvalShape.java44 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom));
H A DRectShape.java45 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationBackgroundView.java48 int bottom = mActualHeight - mClipBottomAmount;
49 if (drawable != null && bottom > mClipTopAmount) {
50 drawable.setBounds(0, mClipTopAmount, getWidth(), bottom);
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskTapPointerEventListener.java75 (y > mTmpRect.bottom) ? TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW :
80 (y > mTmpRect.bottom) ? TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW :
82 } else if (y < mTmpRect.top || y > mTmpRect.bottom) {
/frameworks/support/compat/tests/java/android/support/v4/testutils/
H A DTestUtils.java99 * bottom bounds.
102 int left, int top, int right, int bottom) {
106 Assert.assertEquals(failMessagePrefix + " bottom", rectangle.bottom, bottom);
101 assertRectangleBounds(String failMessagePrefix, @NonNull Rect rectangle, int left, int top, int right, int bottom) argument
/frameworks/support/core-ui/tests/java/android/support/v4/testutils/
H A DTestUtils.java98 * bottom bounds.
101 int left, int top, int right, int bottom) {
105 Assert.assertEquals(failMessagePrefix + " bottom", rectangle.bottom, bottom);
100 assertRectangleBounds(String failMessagePrefix, @NonNull Rect rectangle, int left, int top, int right, int bottom) argument
/frameworks/base/core/jni/
H A Dandroid_hardware_display_DisplayViewport.cpp49 jfieldID bottom; member in struct:android::__anon1093
72 viewport->logicalBottom = env->GetIntField(logicalFrameObj, gRectClassInfo.bottom);
79 viewport->physicalBottom = env->GetIntField(physicalFrameObj, gRectClassInfo.bottom);
115 gRectClassInfo.bottom = GetFieldIDOrDie(env, clazz, "bottom", "I");
/frameworks/base/libs/hwui/protos/
H A Dhwui.proto35 required int32 bottom = 4;
62 required float bottom = 4;
/frameworks/base/tools/aapt2/compile/
H A DNinePatch.cpp306 for (int32_t y = region.top; y < region.bottom; y++) {
354 bounds.bottom = row_iter->start + 1;
360 bounds.bottom = row_iter->end + 1;
368 bounds.bottom = height + 1;
530 &nine_patch->layout_bounds.right, "bottom", out_err)) {
542 &nine_patch->padding.top, &nine_patch->padding.bottom,
544 &nine_patch->layout_bounds.bottom, "right", out_err)) {
570 // Find top and bottom extent of 9-patch content on center column.
573 &nine_patch->outline.bottom);
578 (height - 2) - nine_patch->outline.top - nine_patch->outline.bottom;
[all...]
/frameworks/native/libs/ui/tests/
H A DRegion_test.cpp36 if (other->bottom < current->top) break;
37 if (other->bottom != current->top) continue;
41 if (other->top > current->bottom) break;
42 if (other->top != current->bottom) continue;
/frameworks/support/transition/base/android/support/transition/
H A DViewUtilsImpl.java45 void setLeftTopRightBottom(View v, int left, int top, int right, int bottom); argument
/frameworks/support/transition/src/android/support/transition/
H A DTransitionUtils.java52 int bottom = Math.round(bounds.bottom);
61 int heightSpec = View.MeasureSpec.makeMeasureSpec(bottom - top, View.MeasureSpec.EXACTLY);
63 copy.layout(left, top, right, bottom);
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
H A DAdaptiveIconDrawableTest.java71 int bottom = 90 * dpi;
73 int height = bottom - top;
87 mIconDrawable.setBounds(left, top, right, bottom);
130 assertEquals("bottom", boundFromDrawable.bottom, boundFromDeviceConfig.bottom, delta);
142 int bottom = 90 * dpi;
145 mIconDrawable.setBounds(left, top, right, bottom);
154 assertEquals("bottom", bottom, maskBound
[all...]
/frameworks/rs/
H A DrsMatrix4x4.cpp276 void Matrix4x4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument
279 m[5] = 2.f / (top - bottom);
282 m[13]= -(top + bottom) / (top - bottom);
286 void Matrix4x4::loadFrustum(float left, float right, float bottom, float top, float near, float far) { argument
289 m[5] = 2.f * near / (top - bottom);
291 m[9] = (top + bottom) / (top - bottom);
300 float bottom = -top; local
301 float left = bottom * aspec
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
H A DCompositeDrawable.java346 if (obj.getBoundsRule().bottom == null) {
347 obj.getBoundsRule().bottom = ValueRule.absoluteValue(value);
349 obj.getBoundsRule().bottom.setAbsoluteValue(value);
357 if (obj.getBoundsRule().bottom == null) {
358 return obj.mParent.getBounds().bottom;
360 return obj.getBoundsRule().bottom.getAbsoluteValue();
418 * Implementation of {@link Property} for overwriting the bottom attribute of
447 * Implementation of {@link Property} for overwriting the bottom attribute of
458 if (obj.getBoundsRule().bottom == null) {
459 obj.getBoundsRule().bottom
[all...]
/frameworks/base/media/java/android/media/tv/
H A DITvInputSessionCallback.aidl39 void onLayoutSurface(int left, int top, int right, int bottom);

Completed in 820 milliseconds

1234567891011>>