/frameworks/rs/ |
H A D | rsFont.h | 56 int32_t bottom; member in struct:android::renderscript::Font::Rect 61 bottom = b;
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | BaseTransientBottomBar.java | 56 * Base class for lightweight transient bars that are displayed along the bottom edge of the 59 * @param <B> The transient bottom bar subclass. 65 * @param <B> The transient bottom bar subclass. 91 * @param transientBottomBar The transient bottom bar which has been dismissed. 106 * @param transientBottomBar The transient bottom bar which is now visible. 115 * Interface that defines the behavior of the main content of a transient bottom bar. 119 * Animates the content of the transient bottom bar in. 127 * Animates the content of the transient bottom bar out. 211 void onLayoutChange(View view, int left, int top, int right, int bottom); argument 224 * Constructor for the transient bottom ba [all...] |
H A D | FloatingActionButton.java | 202 d + mShadowPadding.top + mShadowPadding.bottom); 491 rect.bottom -= mShadowPadding.bottom; 666 if (rect.bottom <= appBarLayout.getMinimumHeightForVisibleOverlappingContent()) { 667 // If the anchor's bottom is below the seam, we'll animate our FAB out 725 child.getBottom() - shadowPadding.bottom); 751 // If we're on the bottom edge, shift it down 752 offsetTB = padding.bottom; 816 public void setShadowPadding(int left, int top, int right, int bottom) { argument 817 mShadowPadding.set(left, top, right, bottom); [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | BaseCardView.java | 90 * at the bottom of the card, shifting up the info view without affecting 130 * Distance of top of info view to bottom of MainView, it will shift up when extra view appears. 437 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 505 onSizeChanged(0, 0, right - left, bottom - top);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionMenuView.java | 437 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 439 super.onLayout(changed, left, top, right, bottom); 444 final int midVertical = (bottom - top) / 2;
|
H A D | ActivityChooserView.java | 469 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 470 mActivityChooserContent.layout(0, 0, right - left, bottom - top);
|
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ |
H A D | Palette.java | 728 * @param bottom The bottom of the rectangle used for the region. 731 public Builder setRegion(int left, int top, int right, int bottom) { argument 737 if (!mRegion.intersect(left, top, right, bottom)) { 809 region.bottom = Math.min((int) Math.ceil(region.bottom * scale),
|
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.cpp | 349 CameraHardwareInterface::setCrop(int32_t left, int32_t top, int32_t right, int32_t bottom) { argument 359 mPreviewCrop.bottom = bottom; 986 int left, int top, int right, int bottom) 993 hw->mPreviewCrop.bottom = bottom; 985 sSetCrop(struct preview_stream_ops *w, int left, int top, int right, int bottom) argument
|
/frameworks/base/core/java/android/app/ |
H A D | WallpaperManager.java | 228 public void setBounds(int left, int top, int right, int bottom) { argument 230 mDrawTop = top + (bottom-top - mHeight) / 2; 474 * 0 for top-aligned, 0.5 for vertical center-aligned, and 1 for bottom-aligned 494 * 0 for top-aligned, 0.5 for vertical center-aligned, and 1 for bottom-aligned 558 float bottom = top + outHeight; 559 cropRectF = new RectF(left, top, right, bottom); 643 cropRect.bottom = inHeight; 652 cropRect.bottom = cropRect.top + cropHeight; 1356 * on its left, top, right, and bottom sides.
|
/frameworks/base/core/java/android/view/ |
H A D | RecordingCanvas.java | 57 public final void drawArc(float left, float top, float right, float bottom, float startAngle, argument 59 nDrawArc(mNativeCanvasWrapper, left, top, right, bottom, startAngle, sweepAngle, 66 drawArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, useCenter, 100 int left, top, right, bottom; 104 bottom = bitmap.getHeight(); 109 bottom = src.bottom; 112 nDrawBitmap(mNativeCanvasWrapper, bitmap, left, top, right, bottom, 113 dst.left, dst.top, dst.right, dst.bottom, nativePaint, mScreenDensity, 126 float left, top, right, bottom; 238 drawOval(float left, float top, float right, float bottom, @NonNull Paint paint) argument 357 drawRect(float left, float top, float right, float bottom, @NonNull Paint paint) argument 379 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, @NonNull Paint paint) argument 571 nDrawRect(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument 575 nDrawOval(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument 583 nDrawArc(long nativeCanvas, float left, float top, float right, float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint) argument 587 nDrawRoundRect(long nativeCanvas, float left, float top, float right, float bottom, float rx, float ry, long nativePaint) argument [all...] |
H A D | SurfaceView.java | 342 protected boolean setFrame(int left, int top, int right, int bottom) { argument 343 boolean result = super.setFrame(left, top, right, bottom); 523 mScreenRect.bottom = mWindowSpaceTop + getHeight(); 591 mSurfaceFrame.bottom = mSurfaceHeight; 595 mSurfaceFrame.bottom = (int) (mSurfaceHeight * appInvertedScale + 0.5f); 599 final int surfaceHeight = mSurfaceFrame.bottom; 747 mScreenRect.right, mScreenRect.bottom)); 797 int left, int top, int right, int bottom) { 814 && mRTLastReportedPosition.bottom == bottom) { 796 updateSurfacePosition_renderWorker(long frameNumber, int left, int top, int right, int bottom) argument [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | Animation.java | 1016 * @param bottom 1022 public void getInvalidateRegion(int left, int top, int right, int bottom, argument 1028 invalidate.set(left, top, right, bottom); 1049 * @param bottom 1053 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument 1055 region.set(left, top, right, bottom);
|
/frameworks/base/core/java/android/widget/ |
H A D | AdapterView.java | 557 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1192 // Either we hit the bottom, or we are trying to move up
|
H A D | AdapterViewAnimator.java | 760 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
|
H A D | LinearLayout.java | 350 * bottom end of dividers. 418 int bottom = 0; 420 bottom = getHeight() - getPaddingBottom() - mDividerHeight; 423 bottom = child.getBottom() + lp.bottomMargin; 425 drawHorizontalDivider(canvas, bottom); 1560 * @param bottom 1562 void layoutVertical(int left, int top, int right, int bottom) { argument 1583 childTop = mPaddingTop + bottom - top - mTotalLength; 1588 childTop = mPaddingTop + (bottom - top - mTotalLength) / 2; 1665 * @param bottom 1667 layoutHorizontal(int left, int top, int right, int bottom) argument [all...] |
H A D | SimpleMonthView.java | 387 // day to the left, top, right, or bottom). Focus forward and back jumps out of the 880 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 887 final int h = bottom - top;
|
H A D | Switch.java | 1091 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1092 super.onLayout(changed, left, top, right, bottom); 1185 if (thumbInsets.bottom > padding.bottom) { 1186 trackBottom -= thumbInsets.bottom - padding.bottom; 1225 final int switchInnerBottom = switchBottom - padding.bottom;
|
H A D | VideoView.java | 896 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 897 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarOverlayLayout.java | 289 boolean bottom, boolean right) { 304 if (bottom && lp.bottomMargin != insets.bottom) { 306 lp.bottomMargin = insets.bottom; 319 // The top and bottom action bars are always within the content area. 386 // xlarge screen layout doesn't have bottom action bar. 418 // If action bar is split, adjust bottom insets for it. 436 mContentInsets.bottom += bottomInset; 439 mInnerInsets.bottom += bottomInset; 473 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 288 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 122 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, 125 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom); 135 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) { 138 obj->addRect(left, top, right, bottom, dir); 142 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) { 145 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom); 157 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle) { 158 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom); 164 jfloat right, jfloat bottom, jfloat rx, jfloat ry, jint dirHandle) { 165 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom); 121 arcTo(JNIEnv* env, jclass clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean forceMoveTo) argument 134 addRect(JNIEnv* env, jclass clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument 141 addOval(JNIEnv* env, jclass clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument 156 addArc(JNIEnv* env, jclass clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle) argument 163 addRoundRectXY(JNIEnv* env, jclass clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jint dirHandle) argument 171 addRoundRect8(JNIEnv* env, jclass clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray array, jint dirHandle) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_RenderNode.cpp | 121 jint left, jint top, jint right, jint bottom) { 122 android::uirenderer::Rect clipBounds(left, top, right, bottom); 141 jint left, jint top, jint right, jint bottom, jfloat radius, jfloat alpha) { 143 renderNode->mutateStagingProperties().mutableOutline().setRoundRect(left, top, right, bottom, 264 static jboolean android_view_RenderNode_setBottom(jlong renderNodePtr, int bottom) { argument 265 return SET_AND_DIRTY(setBottom, bottom, RenderNode::Y); 269 int left, int top, int right, int bottom) { 271 if (renderNode->mutateStagingProperties().setLeftTopRightBottom(left, top, right, bottom)) { 471 (jint) bounds.right, (jint) bounds.bottom); 503 jint right, jint bottom) { 120 android_view_RenderNode_setClipBounds(jlong renderNodePtr, jint left, jint top, jint right, jint bottom) argument 140 android_view_RenderNode_setOutlineRoundRect(jlong renderNodePtr, jint left, jint top, jint right, jint bottom, jfloat radius, jfloat alpha) argument 268 android_view_RenderNode_setLeftTopRightBottom(jlong renderNodePtr, int left, int top, int right, int bottom) argument 502 doUpdatePositionAsync(jlong frameNumber, jint left, jint top, jint right, jint bottom) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | BaseCanvas.java | 83 public void drawArc(float left, float top, float right, float bottom, float startAngle, argument 86 nDrawArc(mNativeCanvasWrapper, left, top, right, bottom, startAngle, sweepAngle, 93 drawArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, useCenter, 124 int left, top, right, bottom; 128 bottom = bitmap.getHeight(); 133 bottom = src.bottom; 136 nDrawBitmap(mNativeCanvasWrapper, bitmap, left, top, right, bottom, 137 dst.left, dst.top, dst.right, dst.bottom, nativePaint, mScreenDensity, 150 float left, top, right, bottom; 256 drawOval(float left, float top, float right, float bottom, @NonNull Paint paint) argument 338 drawRect(float left, float top, float right, float bottom, @NonNull Paint paint) argument 358 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, @NonNull Paint paint) argument 582 nDrawRect(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument 585 nDrawOval(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument 591 nDrawArc(long nativeCanvas, float left, float top, float right, float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint) argument 594 nDrawRoundRect(long nativeCanvas, float left, float top, float right, float bottom, float rx, float ry, long nativePaint) argument [all...] |
H A D | Path.java | 458 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo); 473 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false); 488 public void arcTo(float left, float top, float right, float bottom, float startAngle, argument 491 nArcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 519 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument 527 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION); 538 addRect(rect.left, rect.top, rect.right, rect.bottom, dir); 547 * @param bottom The bottom of a rectangle to add to the path 550 public void addRect(float left, float top, float right, float bottom, Directio argument 570 addOval(float left, float top, float right, float bottom, Direction dir) argument 605 addArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument 630 addRoundRect(float left, float top, float right, float bottom, float rx, float ry, Direction dir) argument 660 addRoundRect(float left, float top, float right, float bottom, float[] radii, Direction dir) argument 837 nArcTo(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument 840 nAddRect(long nPath, float left, float top, float right, float bottom, int dir) argument 842 nAddOval(long nPath, float left, float top, float right, float bottom, int dir) argument 845 nAddArc(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument 847 nAddRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument 849 nAddRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AdaptiveIconDrawable.java | 72 * getBounds().bottom + getBounds().getHeight() * #getExtraInsetFraction()) 264 * {@link #getExtraInsetFraction()} * getBounds().height on top/bottom sides. 275 * {@link #getExtraInsetFraction()} * getBounds().height on top/bottom sides. 341 // mMask bound [left, top, right, bottom] 615 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 620 dr.setHotspotBounds(left, top, right, bottom); 625 mHotspotBounds = new Rect(left, top, right, bottom); 627 mHotspotBounds.set(left, top, right, bottom);
|
H A D | Drawable.java | 218 public void setBounds(int left, int top, int right, int bottom) { argument 226 oldBounds.right != right || oldBounds.bottom != bottom) { 231 mBounds.set(left, top, right, bottom); 241 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); 694 * @param bottom position in pixels of the bottom bound 697 public void setHotspotBounds(int left, int top, int right, int bottom) {} argument
|