/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AdaptiveIconDrawable.java | 71 * getBounds().right + getBounds().getWidth() * #getExtraInsetFraction(), 263 * extended by {@link #getExtraInsetFraction()} * getBounds().width on left/right sides and by 274 * extended by {@link #getExtraInsetFraction()} * getBounds().width on left/right sides and by 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); 693 * @param right position in pixels of the right bound 697 public void setHotspotBounds(int left, int top, int right, int bottom) {} argument 870 * (right-to left). See {@link android.util.LayoutDirection}. 879 * right [all...] |
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 { argument 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), 310 float right 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 563 args->right = right; 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 703 Log.d(TAG, "onLayout (left=" + left + ", top=" + top + ", right=" + right 710 mSurfaceView.layout(0, 0, right - left, bottom - top); 1247 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument 1249 Log.d(TAG, "onLayoutSurface (left=" + left + ", top=" + top + ", right=" 1250 + right + ", bottom=" + bottom + ",)"); 1258 mSurfaceViewRight = right;
|
/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)); 390 AStringPrintf("%s-right", key).c_str(), 391 right);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 574 final float right = left + mBackground.getWidth() * mScale; 578 c.clipRect(left, top, right, bottom, 584 RectF dest = new RectF(left, top, right, bottom); 597 final float right = left + mBackground.getWidth() * mScale; 604 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom); 651 private FloatBuffer createMesh(int left, int top, float right, float bottom) { argument 655 right, bottom, 0.0f, 1.0f, 1.0f, 657 right, top, 0.0f, 1.0f, 0.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); 330 outRect.right += getTranslationX();
|
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); 574 * if the current state would be applied right now 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 | KeyguardAffordanceHelper.java | 241 public void startHintAnimation(boolean right, argument 244 startHintAnimationPhase1(right, onFinishedListener); 247 private void startHintAnimationPhase1(final boolean right, final Runnable onFinishedListener) { argument 248 final KeyguardAffordanceView targetView = right ? mRightIcon : mLeftIcon; 249 ValueAnimator animator = getAnimatorToRadius(right, mHintGrowAmount); 265 startUnlockHintAnimationPhase2(right, onFinishedListener); 279 private void startUnlockHintAnimationPhase2(boolean right, final Runnable onFinishedListener) { argument 280 ValueAnimator animator = getAnimatorToRadius(right, 0); 296 private ValueAnimator getAnimatorToRadius(final boolean right, int radius) { argument 297 final KeyguardAffordanceView targetView = right 344 fling(float vel, final boolean snapBack, boolean right) argument 371 startFinishingCircleAnimation(float velocity, Runnable mAnimationEndRunnable, boolean right) argument [all...] |
H A D | SignalDrawable.java | 437 void updateRect(float left, float top, float right, float bottom) { argument 440 mSlashRect.right = right;
|
/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) { 112 args.argi3 = right; 703 private void requestRectangleOnScreen(int left, int top, int right, int bottom) { argument 707 if (!magnifiedFrame.intersects(left, top, right, bottom)) { 716 if (right - left > magnifFrameInScreenCoords.width()) { 722 scrollX = right - magnifFrameInScreenCoords.right; 726 } else if (right > magnifFrameInScreenCoords.right) { 727 scrollX = right [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BaseCanvas_Delegate.java | 87 float right = left + image.getWidth(); 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, fina 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 | 307 /*package*/ static void nArcTo(long nPath, float left, float top, float right, argument 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); 340 /*package*/ static void nAddOval(long nPath, float left, float top, float right, argument 348 left, top, right - left, bottom - top), false); 364 /*package*/ static void nAddArc(long nPath, float left, float top, float right, argument 373 left, top, right - left, bottom - top, 378 /*package*/ static void nAddRoundRect(long nPath, float left, float top, float right, argument 387 left, top, right 329 nAddRect(long nPath, float left, float top, float right, float bottom, 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/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
H A D | ExprModel.java | 160 public ComparisonExpr comparison(String op, Expr left, Expr right) { argument 161 return register(new ComparisonExpr(op, left, right)); 252 public MathExpr math(Expr left, String op, Expr right) { argument 253 return register(new MathExpr(left, op, right)); 256 public TernaryExpr logical(Expr left, String op, Expr right) { argument 258 // left && right 259 // left ? right : false 260 return register(new TernaryExpr(left, right, symbol("false", boolean.class))); 262 // left || right 263 // left ? true : right 268 bitshift(Expr left, String op, Expr right) argument [all...] |
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 811 GLfloat left, GLfloat right, 816 if (cmpf(left,right) || 825 const GLfloat r_width = reciprocalf(right - left); 830 const GLfloat A = mul2f((right + left) * r_width); 853 GLfloat left, GLfloat right, 858 if (cmpf(left,right) || 865 const GLfloat r_width = reciprocalf(right - left); 871 const GLfloat tx = -(right + left) * r_width; 995 GLfloat left, GLfloat right, 1000 frustumf(left, right, botto 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); 462 mTmpRect.right + (isRtl 471 right - left - (isRtl ? mExpandedMarginStart : mExpandedMarginEnd),
|
H A D | TextInputLayout.java | 91 * (start/end), opposed to absolutely (left/right).</p> 582 // Add a flexible spacer in the middle so that the left/right views stay pinned 1365 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1366 super.onLayout(changed, left, top, right, bottom); 1373 final int r = rect.right - mEditText.getCompoundPaddingRight();
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionBarOverlayLayout.java | 262 boolean bottom, boolean right) { 273 if (right && lp.rightMargin != insets.right) { 275 lp.rightMargin = insets.right; 423 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 427 final int parentRight = right - left - getPaddingRight(); 261 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument
|
H A D | LinearLayoutCompat.java | 903 // FIXME: this may not be right for something like wrapping text? 1326 // FIXME: this may not be right for something like wrapping text? 1422 * @param right 1425 void layoutVertical(int left, int top, int right, int bottom) { argument 1431 // Where right end of child should go 1432 final int width = right - left; 1517 * @param right 1520 void layoutHorizontal(int left, int top, int right, int bottom) { argument 1548 childLeft = getPaddingLeft() + right - left - mTotalLength; 1553 childLeft = getPaddingLeft() + (right [all...] |
H A D | SwitchCompat.java | 811 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right; 837 // Adjust left and right padding to ensure there's enough room for the 840 int paddingRight = padding.right; 844 paddingRight = Math.max(paddingRight, inset.right); 897 mTempRect.left + mTempRect.right + mTouchSlop; 1074 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1075 super.onLayout(changed, left, top, right, bottom); 1089 opticalInsetRight = Math.max(0, insets.right - trackPadding.right); 1165 if (thumbInsets.right > paddin [all...] |
/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 649 || right != getPaddingRight() 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 | 576 int right, 605 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 606 super.onLayout(changed, left, top, right, bottom); 572 onLayoutChange( View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) argument
|