Searched refs:bottom (Results 126 - 150 of 709) sorted by relevance

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStackScrollerDecorView.java48 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
49 super.onLayout(changed, left, top, right, bottom);
H A DExpandableView.java105 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
106 super.onLayout(changed, left, top, right, bottom);
113 float bottom = mActualHeight;
115 localY < (bottom + slop);
219 * notification is scrolling in the top or bottom stack.
229 * Set the amount the the notification is clipped on the bottom in addition to the regular
331 outRect.bottom = (int) (outRect.top + getTranslationY() + getActualHeight());
342 outRect.bottom = outRect.top + getActualHeight();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dstats_scorer.cpp45 jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray)
51 int yEnd = static_cast<int>(height * bottom);
43 Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore( JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray) argument
/frameworks/native/services/vr/hardware_composer/aidl/android/dvr/
H A Dparcelable_composer_layer.cpp42 ret = parcel->writeInt32(layer_.display_frame.bottom);
54 ret = parcel->writeFloat(layer_.crop.bottom);
98 ret = parcel->writeInt32(rect.bottom);
109 ret = parcel->writeInt32(rect.bottom);
145 ret = parcel->readInt32(&layer_.display_frame.bottom);
157 ret = parcel->readFloat(&layer_.crop.bottom);
210 ret = parcel->readInt32(&rect.bottom);
230 ret = parcel->readInt32(&rect.bottom);
/frameworks/rs/
H A DrsScriptC_LibGL.cpp226 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
236 if (bottom) {
237 *bottom = metrics->bottom;
242 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
248 SetMetrics(&metrics, left, right, top, bottom);
253 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
257 SetMetrics(&metrics, left, right, top, bottom);
225 SetMetrics(Font::Rect *metrics, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
241 rsrMeasureTextAlloc(Context *rsc, Allocation *a, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
252 rsrMeasureText(Context *rsc, const char *text, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
/frameworks/support/emoji/core/src/android/support/text/emoji/
H A DEmojiSpan.java89 fm.bottom = mTmpFontMetrics.bottom;
/frameworks/support/percent/src/android/support/percent/
H A DPercentRelativeLayout.java165 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
166 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp47 jfieldID bottom; member in struct:android::__anon1146
151 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom);
173 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom,
178 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom));
220 gRectClassInfo.bottom = GetFieldIDOrDie(env, clazz, "bottom", "I");
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DRequestRectangleVisibleTest.java90 assertTrue("bottom blob needs to be taller than the screen for many of the "
108 // should be on screen, positioned at the bottom (with room for
138 // go to bottom button
167 // blob should have moved so bottom of it is at bottom of screen
190 fail("couldn't move down to bottom button within "
197 * Assert that view overlaps the bottom edge of the screen
208 int bottom = xy[1] + view.getHeight();
211 assertTrue(bottom > bottomOfRoot);
214 assertTrue(bottom > bottomOfRoo
[all...]
/frameworks/base/libs/hwui/
H A DRecordingCanvas.cpp118 int RecordingCanvas::saveLayer(float left, float top, float right, float bottom, argument
130 Rect unmappedBounds(left, top, right, bottom);
178 snapshot.resetClip(clip.left, clip.top, clip.right, clip.bottom);
230 bool RecordingCanvas::quickRejectRect(float left, float top, float right, float bottom) const {
231 return mState.quickRejectConservative(left, top, right, bottom);
237 bool RecordingCanvas::clipRect(float left, float top, float right, float bottom, SkClipOp op) { argument
238 return mState.clipRect(left, top, right, bottom, op);
292 void RecordingCanvas::drawRect(float left, float top, float right, float bottom, const SkPaint& paint) { argument
296 Rect(left, top, right, bottom),
311 float bottom local
363 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument
378 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument
421 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument
431 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument
[all...]
H A DRecordingCanvas.h77 CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom,
110 virtual int saveLayer(float left, float top, float right, float bottom, const SkPaint* paint,
112 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
116 return saveLayer(left, top, right, bottom, &paint, flags);
131 virtual bool quickRejectRect(float left, float top, float right, float bottom) const override;
134 virtual bool clipRect(float left, float top, float right, float bottom,
162 virtual void drawRect(float left, float top, float right, float bottom, const SkPaint& paint) override;
164 virtual void drawRoundRect(float left, float top, float right, float bottom,
167 virtual void drawOval(float left, float top, float right, float bottom, const SkPaint& paint) override;
168 virtual void drawArc(float left, float top, float right, float bottom,
[all...]
H A DMatrix.cpp396 void Matrix4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument
400 data[kScaleY] = 2.0f / (top - bottom);
403 data[kTranslateY] = -(top + bottom) / (top - bottom);
455 MUL_ADD_STORE(r.bottom, data[kScaleY], data[kTranslateY]);
463 if (r.top > r.bottom) {
465 r.top = r.bottom;
466 r.bottom = y;
475 r.right, r.bottom,
476 r.left, r.bottom
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DBlackFrame.java136 outer.left, inner.top, inner.left, outer.bottom, layerStack);
138 if (outer.bottom > inner.bottom) {
140 inner.left, inner.bottom, outer.right, outer.bottom, layerStack);
144 inner.right, outer.top, outer.right, inner.bottom, layerStack);
/frameworks/base/core/java/android/view/
H A DRenderNode.java293 return nSetClipBounds(mNativeRenderNode, rect.left, rect.top, rect.right, rect.bottom);
343 outline.mRect.right, outline.mRect.bottom, outline.mRadius, outline.mAlpha);
727 * Sets the bottom position for the display list.
729 * @param bottom The bottom position, in pixels, of the display list
733 public boolean setBottom(int bottom) { argument
734 return nSetBottom(mNativeRenderNode, bottom);
743 * @param bottom The bottom position of the display list, in pixels
750 public boolean setLeftTopRightBottom(int left, int top, int right, int bottom) { argument
869 nSetLeftTopRightBottom(long renderNode, int left, int top, int right, int bottom) argument
872 nSetBottom(long renderNode, int bottom) argument
892 nSetClipBounds(long renderNode, int left, int top, int right, int bottom) argument
901 nSetOutlineRoundRect(long renderNode, int left, int top, int right, int bottom, float radius, float alpha) argument
[all...]
H A DFocusFinder.java220 // make up a rect at top left or bottom right of root
513 // edge to be closer to the source's top edge than rect1's bottom edge.
545 return (srcRect.bottom > destRect.bottom || srcRect.top >= destRect.bottom)
548 return (srcRect.top < destRect.top || srcRect.bottom <= destRect.top)
549 && srcRect.bottom < destRect.bottom;
567 return (rect2.bottom >= rect1.top) && (rect2.top <= rect1.bottom);
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DPipSnapAlgorithm.java120 movementBounds.top, movementBounds.bottom);
133 movementBounds.bottom + stackBounds.height());
209 } else if (tmpBounds.top == movementBounds.bottom) {
239 stackBounds.offsetTo(offset, movementBounds.bottom);
253 // Adjust the right/bottom to ensure the stack bounds never goes offscreen
257 movementBoundsOut.bottom = Math.max(insetBounds.top, insetBounds.bottom -
259 movementBoundsOut.bottom -= imeHeight;
320 final int boundedTop = Math.max(movementBounds.top, Math.min(movementBounds.bottom,
332 final int fromBottom = Math.abs(movementBounds.bottom
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java182 int left, int top, int right, int bottom) {
189 regionDelegate.mArea.contains(left, top, right - left, bottom - top);
194 int left, int top, int right, int bottom) {
201 regionDelegate.mArea.intersects(left, top, right - left, bottom - top) == false;
296 int left, int top, int right, int bottom) {
302 dstRegion.mArea = new Area(new Rectangle2D.Float(left, top, right - left, bottom - top));
337 rect.left = rect.top = rect.right = rect.bottom = 0;
344 rect.bottom = bounds.y + bounds.height;
371 int left, int top, int right, int bottom, int op) {
378 new Rectangle2D.Float(left, top, right - left, bottom
181 quickContains(Region thisRegion, int left, int top, int right, int bottom) argument
193 quickReject(Region thisRegion, int left, int top, int right, int bottom) argument
295 nativeSetRect(long native_dst, int left, int top, int right, int bottom) argument
370 nativeOp(long native_dst, int left, int top, int right, int bottom, int op) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DBatteryMeterDrawableBase.java217 public void setBounds(int left, int top, int right, int bottom) { argument
218 super.setBounds(left, top, right, bottom);
219 mHeight = bottom - top;
287 mFrame.bottom -= mSubpixelSmoothingRight;
307 mShapePath.lineTo(mFrame.right, mFrame.bottom);
308 mShapePath.lineTo(mFrame.left, mFrame.bottom);
318 final float bb = mFrame.bottom - mFrame.height() / 10f;
320 || mBoltFrame.right != br || mBoltFrame.bottom != bb) {
336 float boltPct = (mBoltFrame.bottom - levelTop) / (mBoltFrame.bottom
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DCollapsingTextHelper.java158 void setExpandedBounds(int left, int top, int right, int bottom) {
159 if (!rectEquals(mExpandedBounds, left, top, right, bottom)) {
160 mExpandedBounds.set(left, top, right, bottom);
166 void setCollapsedBounds(int left, int top, int right, int bottom) {
167 if (!rectEquals(mCollapsedBounds, left, top, right, bottom)) {
168 mCollapsedBounds.set(left, top, right, bottom);
405 mCollapsedDrawY = mCollapsedBounds.bottom;
437 mExpandedDrawY = mExpandedBounds.bottom;
475 mCurrentBounds.bottom = lerp(mExpandedBounds.bottom, mCollapsedBound
720 rectEquals(Rect r, int left, int top, int right, int bottom) argument
[all...]
/frameworks/native/include/private/ui/
H A DRegionHelper.h79 int inside = spanner.next(current.top, current.bottom);
86 current.top < current.bottom) {
171 SpannerBase::lhs_tail = lhs.rects->bottom + lhs.dy;
175 SpannerBase::rhs_tail = rhs.rects->bottom + rhs.dy;
183 inline int next(TYPE& top, TYPE& bottom) argument
187 int inside = SpannerBase::next(top, bottom, more_lhs, more_rhs);
211 aBottom = rects->bottom + reg.dy;
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DDayPickerView.java326 final int bottom = child.getBottom();
329 if (bottom > midpoint) {
332 smoothScrollBy(bottom, GOTO_SCROLL_DURATION);
351 int bottom = 0;
352 while (bottom < height) {
357 bottom = child.getBottom();
358 int displayedHeight = Math.min(bottom, height) - Math.max(0, child.getTop());
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseWrapContentWithAspectRatioTest.java82 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
83 super.onLayout(changed, left, top, right, bottom);
84 mBehavior.onLayout(changed, left, top, right, bottom);
146 public MeasureBehavior withMargins(int left, int top, int right, int bottom) { argument
150 layoutParams.bottomMargin = bottom;
177 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
179 layouts.add(new Pair<>(right - left, bottom - top));
/frameworks/base/core/java/android/text/method/
H A DBaseMovementMethod.java201 return bottom(widget, buffer);
219 return bottom(widget, buffer);
237 return bottom(widget, buffer);
329 * Performs a bottom movement action.
330 * Moves the cursor or scrolls to the bottom of the buffer.
336 protected boolean bottom(TextView widget, Spannable buffer) { method in class:BaseMovementMethod
538 final int bottom = widget.getScrollY() + innerHeight;
539 int bottomLine = layout.getLineForVertical(bottom);
540 if (layout.getLineTop(bottomLine + 1) < bottom + 1) {
588 final int bottom
[all...]
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.h46 && MathUtils::areEqual((a).bottom, (b).bottom));
178 snapshot->setClip(clip.left, clip.top, clip.right, clip.bottom);
210 static sp<RenderNode> createNode(int left, int top, int right, int bottom, argument
220 props.setLeftTopRightBottom(left, top, right, bottom);
232 static sp<RenderNode> createNode(int left, int top, int right, int bottom, argument
242 props.setLeftTopRightBottom(left, top, right, bottom);
260 static sp<RenderNode> createSkiaNode(int left, int top, int right, int bottom, argument
273 props.setLeftTopRightBottom(left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DNumPadKey.java149 int bottom = top + digitHeight;
150 mDigitText.layout(left, top, left + mDigitText.getMeasuredWidth(), bottom);
151 top = (int) (bottom - klondikeHeight * 0.35f);
152 bottom = top + klondikeHeight;
155 mKlondikeText.layout(left, top, left + mKlondikeText.getMeasuredWidth(), bottom);

Completed in 9229 milliseconds

1234567891011>>