/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | RippleDrawable.java | 635 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 637 mHotspotBounds.set(left, top, right, bottom);
|
/frameworks/base/libs/hwui/ |
H A D | RecordingCanvas.cpp | 118 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...] |
/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderProxy.cpp | 553 int right, int bottom) { 554 args->context->setContentDrawBounds(args->left, args->top, args->right, args->bottom); 558 void RenderProxy::setContentDrawBounds(int left, int top, int right, int bottom) { argument 564 args->bottom = bottom; 624 int right, int bottom, SkBitmap* bitmap) { 629 args->srcRect.set(left, top, right, bottom); 552 CREATE_BRIDGE5(setContentDrawBounds, CanvasContext* context, int left, int top, int right, int bottom) argument 623 copySurfaceInto(sp<Surface>& surface, int left, int top, int right, int bottom, SkBitmap* bitmap) argument
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvView.java | 701 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 704 + ", bottom=" + bottom + ",)"); 710 mSurfaceView.layout(0, 0, right - left, bottom - top); 1247 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument 1250 + right + ", bottom=" + bottom + ",)"); 1259 mSurfaceViewBottom = bottom;
|
/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 369 int32_t left, top, right, bottom; local 370 CHECK(msg->findRect(key, &left, &top, &right, &bottom)); 397 AStringPrintf("%s-bottom", key).c_str(), 398 bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 575 final float bottom = top + mBackground.getHeight() * mScale; 578 c.clipRect(left, top, right, bottom, 584 RectF dest = new RectF(left, top, right, bottom); 598 final float bottom = top + mBackground.getHeight() * mScale; 604 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom); 651 private FloatBuffer createMesh(int left, int top, float right, float bottom) { argument 654 left, bottom, 0.0f, 0.0f, 1.0f, 655 right, bottom, 0.0f, 1.0f, 1.0f,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ExpandableView.java | 105 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();
|
H A D | NotificationShelf.java | 508 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 509 super.onLayout(changed, left, top, right, bottom); 638 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | SignalDrawable.java | 437 void updateRect(float left, float top, float right, float bottom) { argument 441 mSlashRect.bottom = bottom;
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | MagnificationController.java | 108 public void onRectangleOnScreenRequested(int left, int top, int right, int bottom) { 113 args.argi4 = bottom; 703 private void requestRectangleOnScreen(int left, int top, int right, int bottom) { argument 707 if (!magnifiedFrame.intersects(left, top, right, bottom)) { 732 if (bottom - top > magnifFrameInScreenCoords.height()) { 736 } else if (bottom > magnifFrameInScreenCoords.bottom) { 737 scrollY = bottom - magnifFrameInScreenCoords.bottom; 782 final int bottom [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BaseCanvas_Delegate.java | 88 float bottom = top + image.getHeight(); 92 (int)left, (int)top, (int)right, (int)bottom); 208 final float left, final float top, final float right, final float bottom, long paint) { 218 (int)(right-left), (int)(bottom-top)); 224 (int)(right-left), (int)(bottom-top)); 231 final float top, final float right, final float bottom, long paint) { 232 if (right > left && bottom > top) { 241 (int)(right - left), (int)(bottom - top)); 247 (int)(right - left), (int)(bottom - top)); 263 final float left, final float top, final float right, final float bottom, 207 nDrawRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument 230 nDrawOval(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument 262 nDrawArc(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float startAngle, final float sweep, final boolean useCenter, long paint) argument 291 nDrawRoundRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float rx, final float ry, long paint) argument 759 clipRect(float left, float top, float right, float bottom, int regionOp) argument [all...] |
H A D | Path_Delegate.java | 308 float bottom, 315 pathDelegate.arcTo(left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 330 float left, float top, float right, float bottom, int dir) { 336 pathDelegate.addRect(left, top, right, bottom, dir); 341 float bottom, int dir) { 348 left, top, right - left, bottom - top), false); 365 float bottom, float startAngle, float sweepAngle) { 373 left, top, right - left, bottom - top, 379 float bottom, float rx, float ry, int dir) { 387 left, top, right - left, bottom 307 nArcTo(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument 329 nAddRect(long nPath, float left, float top, float right, float bottom, int dir) argument 340 nAddOval(long nPath, float left, float top, float right, float bottom, int dir) argument 364 nAddArc(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument 378 nAddRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument 391 nAddRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument 796 arcTo(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument 829 addRect(float left, float top, float right, float bottom, int dir) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | IWindowManagerImpl.java | 94 public void setOverscan(int displayId, int left, int top, int right, int bottom) argument
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 812 GLfloat bottom, GLfloat top, 817 cmpf(top, bottom) || 826 const GLfloat r_height = reciprocalf(top - bottom); 831 const GLfloat B = (top + bottom) * r_height; 854 GLfloat bottom, GLfloat top, 859 cmpf(top, bottom) || 866 const GLfloat r_height = reciprocalf(top - bottom); 872 const GLfloat ty = -(top + bottom) * r_height; 996 GLfloat bottom, GLfloat top, 1000 frustumf(left, right, bottom, to 810 frustumf( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar, ogles_context_t* c) argument 852 orthof( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar, ogles_context_t* c) argument 994 glFrustumf( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument 1003 glFrustumx( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument 1015 glOrthof( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument 1024 glOrthox( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CollapsingToolbarLayout.java | 424 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 425 super.onLayout(changed, left, top, right, bottom); 465 mTmpRect.bottom + maxOffset - mToolbar.getTitleMarginBottom()); 472 bottom - top - mExpandedMarginBottom); 949 * @param bottom the bottom title margin in pixels 957 public void setExpandedTitleMargin(int start, int top, int end, int bottom) { argument 961 mExpandedMarginBottom = bottom; 1030 * @return the bottom expanded title margin in pixels 1039 * Sets the bottom expande [all...] |
H A D | TextInputLayout.java | 272 // Make sure that the EditText is vertically at the bottom, so that it sits on the 1365 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1366 super.onLayout(changed, left, top, right, bottom); 1377 r, rect.bottom - mEditText.getCompoundPaddingBottom()); 1382 r, bottom - top - getPaddingBottom());
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionBarOverlayLayout.java | 262 boolean bottom, boolean right) { 277 if (bottom && lp.bottomMargin != insets.bottom) { 279 lp.bottomMargin = insets.bottom; 384 mContentInsets.bottom += bottomInset; 387 mInnerInsets.bottom += bottomInset; 423 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 430 final int parentBottom = bottom - top - getPaddingBottom(); 261 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument
|
H A D | LinearLayoutCompat.java | 310 int bottom = 0; 312 bottom = getHeight() - getPaddingBottom() - mDividerHeight; 315 bottom = child.getBottom() + lp.bottomMargin; 317 drawHorizontalDivider(canvas, bottom); 1423 * @param bottom 1425 void layoutVertical(int left, int top, int right, int bottom) { argument 1446 childTop = getPaddingTop() + bottom - top - mTotalLength; 1451 childTop = getPaddingTop() + (bottom - top - mTotalLength) / 2; 1518 * @param bottom 1520 void layoutHorizontal(int left, int top, int right, int bottom) { argument [all...] |
H A D | SwitchCompat.java | 1074 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1075 super.onLayout(changed, left, top, right, bottom); 1168 if (thumbInsets.bottom > padding.bottom) { 1169 trackBottom -= thumbInsets.bottom - padding.bottom; 1209 final int switchInnerBottom = switchBottom - padding.bottom;
|
/frameworks/support/wear/src/android/support/wear/widget/ |
H A D | CircledImageView.java | 369 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 407 super.onLayout(changed, left, top, right, bottom); 646 public void setPadding(@Px int left, @Px int top, @Px int right, @Px int bottom) { argument 650 || bottom != getPaddingBottom()) { 651 mShadowPainter.setBounds(left, top, getWidth() - right, getHeight() - bottom); 653 super.setPadding(left, top, right, bottom); 761 void setBounds(@Px int left, @Px int top, @Px int right, @Px int bottom) { argument 762 mBounds.set(left, top, right, bottom);
|
/frameworks/support/wear/src/android/support/wear/widget/drawer/ |
H A D | WearableDrawerLayout.java | 50 * Top-level container that allows interactive drawers to be pulled from the top and bottom edge of 136 * are up, this will cause the bottom drawer to peek. To prevent this from happening, we prevent 137 * the bottom drawer from peeking until this amount of scroll is exceeded. Note, scroll up 151 * Helper for dragging the bottom drawer. 187 * Tracks whether the bottom drawer should be opened after layout. 195 * Tracks whether the bottom drawer should be peeked after layout. 201 * is scrolled to the bottom of its content. 205 * Tracks whether the bottom drawer is in a state where it can be closed. The content in the 207 * bottom drawer is scrolled to the top of its content. 356 * @param gravity Gravity.TOP to move the top drawer or Gravity.BOTTOM for the bottom 572 onLayoutChange( View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) argument 605 onLayout(boolean changed, int left, int top, int right, int bottom) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaCodec.cpp | 1806 int32_t left, top, right, bottom, width, height; local 1807 if (mOutputFormat->findRect("crop", &left, &top, &right, &bottom)) { 1808 mCrypto->notifyResolution(right - left + 1, bottom - top + 1); 2931 int32_t left, top, right, bottom; local 2932 if (info->mData->format()->findRect("crop", &left, &top, &right, &bottom)) { 2933 info->mData->meta()->setRect("crop-rect", left, top, right, bottom);
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.h | 101 int left, top, right, bottom; member in struct:android::camera2::Parameters::Area 104 Area(int left, int top, int right, int bottom, int weight): argument 105 left(left), top(top), right(right), bottom(bottom), 108 return (left == 0) && (top == 0) && (right == 0) && (bottom == 0);
|
/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 1750 setAppBounds(rect.left, rect.top, rect.right, rect.bottom); 1758 public void setAppBounds(int left, int top, int right, int bottom) { argument 1763 appBounds.set(left, top, right, bottom);
|
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 640 dbottom = sTempRect.bottom; 644 final int bottom = Math.min(getLineTop(getLineCount()), dbottom); 646 if (top >= bottom) return TextUtils.packRangeInLong(0, -1); 647 return TextUtils.packRangeInLong(getLineForVertical(top), getLineForVertical(bottom)); 805 * If bounds is not null, return the top, left, right, bottom extents 816 bounds.bottom = getLineTop(line + 1); 825 * bottom of the last line. 871 * bottom line of the Layout. 1258 * below the bottom of the text, you get the last line. 1446 * Return the vertical position of the bottom o 1659 addSelection(int line, int start, int end, int top, int bottom, Path dest) argument [all...] |