/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ShapeDrawable.java | 139 * @param right padding for the right side (in pixels) 142 public void setPadding(int left, int top, int right, int bottom) { argument 143 if ((left | top | right | bottom) == 0) { 149 mShapeState.mPadding.set(left, top, right, bottom); 156 * in the Rect object as: left, top, right, bottom.
|
/frameworks/base/libs/hwui/ |
H A D | OpenGLRenderer.h | 138 float left, float top, float right, float bottom, bool opaque); 155 virtual int saveLayer(float left, float top, float right, float bottom, argument 157 return saveLayer(left, top, right, bottom, paint, flags, nullptr); 162 int saveLayer(float left, float top, float right, float bottom, 165 int saveLayerDeferred(float left, float top, float right, float bottom, 180 float left, float top, float right, float bottom, const SkPaint* paint); 182 void drawRect(float left, float top, float right, float bottom, 184 void drawRoundRect(float left, float top, float right, float bottom, 187 void drawOval(float left, float top, float right, float bottom, 189 void drawArc(float left, float top, float right, floa 269 drawScreenSpaceColorRect(float left, float top, float right, float bottom, int color) argument 313 quickRejectConservative(float left, float top, float right, float bottom) const argument [all...] |
H A D | RecordedOp.h | 334 float* left, float* top, float* right, float* bottom, float *rx, float *ry) 338 , right(right) 344 const float* right; member in struct:android::uirenderer::RoundRectPropsOp 333 RoundRectPropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, float* left, float* top, float* right, float* bottom, float *rx, float *ry) argument
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderProxy.cpp | 556 int right, int bottom) { 557 args->context->setContentDrawBounds(args->left, args->top, args->right, args->bottom); 561 void RenderProxy::setContentDrawBounds(int left, int top, int right, int bottom) { argument 566 args->right = right; 555 CREATE_BRIDGE5(setContentDrawBounds, CanvasContext* context, int left, int top, int right, int bottom) argument
|
/frameworks/base/media/java/android/media/ |
H A D | ImageWriter.java | 335 crop.right, crop.bottom); 521 image.getTimestamp(), crop.left, crop.top, crop.right, crop.bottom); 819 long timestampNs, int left, int top, int right, int bottom); 823 int top, int right, int bottom); 818 nativeQueueInputImage(long nativeCtx, Image image, long timestampNs, int left, int top, int right, int bottom) argument 821 nativeAttachAndQueueImage(long nativeCtx, long imageNativeBuffer, int imageFormat, long timestampNs, int left, int top, int right, int bottom) argument
|
/frameworks/base/media/jni/ |
H A D | android_media_ImageWriter.cpp | 419 jlong timestampNs, jint left, jint top, jint right, jint bottom) { 455 cropRect.right = right; 485 jint right, jint bottom) { 547 cropRect.right = right; 418 ImageWriter_queueImage(JNIEnv* env, jobject thiz, jlong nativeCtx, jobject image, jlong timestampNs, jint left, jint top, jint right, jint bottom) argument 483 ImageWriter_attachAndQueueImage(JNIEnv* env, jobject thiz, jlong nativeCtx, jlong nativeBuffer, jint imageFormat, jlong timestampNs, jint left, jint top, jint right, jint bottom) argument
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PageAdapter.java | 126 public void setPadding(int left, int top, int right, int bottom); argument
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | PrintContentView.java | 272 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 273 mStaticContent.layout(left, top, right, mStaticContent.getMeasuredHeight()); 276 mSummaryContent.layout(left, mStaticContent.getMeasuredHeight(), right, 283 mDynamicContent.layout(left, dynContentTop, right, dynContentBottom); 289 printButtonLeft = right - mPrintButton.getMeasuredWidth() - params.getMarginStart(); 303 mEmbeddedContentContainer.layout(left, embContentTop, right, embContentBottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | BatteryMeterDrawable.java | 260 public void setBounds(int left, int top, int right, int bottom) { argument 261 super.setBounds(left, top, right, bottom); 263 mWidth = right - left; 344 mFrame.right - Math.round(width * 0.25f), 349 mButtonFrame.right -= mSubpixelSmoothingRight; 355 mFrame.right -= mSubpixelSmoothingRight; 373 mShapePath.lineTo(mButtonFrame.right, mButtonFrame.top); 374 mShapePath.lineTo(mButtonFrame.right, mFrame.top); 375 mShapePath.lineTo(mFrame.right, mFrame.top); 376 mShapePath.lineTo(mFrame.right, mFram [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | RecentsView.java | 365 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 372 int leftRightInsets = mSystemInsets.left + mSystemInsets.right; 377 Math.max(0, (right - left - leftRightInsets - childWidth)) / 2; 387 mStackActionButton.layout(buttonBounds.left, buttonBounds.top, buttonBounds.right, 497 buttonBounds.right, buttonBounds.bottom); 789 : actionButtonRect.right + mStackActionButton.getPaddingRight()
|
H A D | TaskViewHeader.java | 312 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 313 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyguardAffordanceView.java | 141 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 142 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 448 private void ortho(float left, float right, float bottom, float top, float znear, float zfar) { argument 449 mProjMatrix[0] = 2f / (right - left); 461 mProjMatrix[12] = -(right + left) / (right - left);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeWindowSession.java | 99 public void repositionChild(IWindow window, int left, int top, int right, int bottom, argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 65 public int saveLayer(float left, float top, float right, float bottom, Paint paint, argument 71 public int saveLayer(float left, float top, float right, float bottom, Paint paint) { argument 86 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument 92 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { argument 162 public void drawRect(float left, float top, float right, float bottom, Paint paint) { argument 170 public void drawOval(float left, float top, float right, float bottom, Paint paint) { argument 183 public void drawArc(float left, float top, float right, float bottom, float startAngle, argument 192 public void drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 338 mLayerBounds.right, mLayerBounds.bottom, 527 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument 528 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp); 745 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom, 757 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom, 758 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom, 856 src.right, src.top, 857 src.right, src.bottom, 866 dst.right = Math.max(Math.max(corners[0], corners[2]), Math.max(corners[4], corners[6]));
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
H A D | ExprModel.java | 131 public ComparisonExpr comparison(String op, Expr left, Expr right) { argument 132 return register(new ComparisonExpr(op, left, right)); 210 public MathExpr math(Expr left, String op, Expr right) { argument 211 return register(new MathExpr(left, op, right)); 214 public TernaryExpr logical(Expr left, String op, Expr right) { argument 216 // left && right 217 // left ? right : false 218 return register(new TernaryExpr(left, right, symbol("false", boolean.class))); 220 // left || right 221 // left ? true : right 226 bitshift(Expr left, String op, Expr right) argument [all...] |
/frameworks/native/include/ui/ |
H A D | mat4.h | 134 static tmat44 ortho(T left, T right, T bottom, T top, T near, T far); 136 static tmat44 frustum(T left, T right, T bottom, T top, T near, T far); 232 tmat44<T> tmat44<T>::ortho(T left, T right, T bottom, T top, T near, T far) { argument 234 m[0][0] = 2 / (right - left); 237 m[3][0] = -(right + left) / (right - left); 244 tmat44<T> tmat44<T>::frustum(T left, T right, T bottom, T top, T near, T far) { argument 246 T A = (right + left) / (right - left); 250 m[0][0] = (2 * near) / (right [all...] |
/frameworks/native/libs/ui/ |
H A D | Region.cpp | 129 int right = current->right; local 138 if (prev.right <= left) break; 140 if (prev.right > left && prev.right < right) { 141 dst.add(Rect(prev.right, top, right, bottom)); 142 right = prev.right; [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | RenderEngine.cpp | 209 position[i*6 + 2].x = r->right; 213 position[i*6 + 4].x = r->right; 215 position[i*6 + 5].x = r->right; 232 uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) { 233 glScissor(left, bottom, right, top); 231 setScissor( uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) argument
|
/frameworks/rs/ |
H A D | rsFont.h | 55 int32_t right; member in struct:android::renderscript::Font::Rect 59 right = r;
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | FloatingActionButton.java | 197 d + mShadowPadding.left + mShadowPadding.right, 473 rect.right -= mShadowPadding.right; 715 // If we're on the left edge, shift it the right 716 offsetLR = padding.right; 783 public void setShadowPadding(int left, int top, int right, int bottom) { argument 784 mShadowPadding.set(left, top, right, bottom); 786 right + mImagePadding, bottom + mImagePadding);
|
H A D | Snackbar.java | 513 public void onLayoutChange(View view, int left, int top, int right, int bottom) { 654 void onLayoutChange(View view, int left, int top, int right, int bottom); argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | BaseCardView.java | 415 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 483 onSizeChanged(0, 0, right - left, bottom - top);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionMenuView.java | 436 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 438 super.onLayout(changed, left, top, right, bottom); 448 int widthRemaining = right - left - getPaddingRight() - getPaddingLeft(); 495 final int midHorizontal = (right - left) / 2;
|