/frameworks/base/core/java/android/widget/ |
H A D | CheckedTextView.java | 336 protected void internalSetPadding(int left, int top, int right, int bottom) { argument 337 super.internalSetPadding(left, top, right, bottom); 401 final int bottom = top + height; 411 checkMarkDrawable.setBounds(mScrollX + left, top, mScrollX + right, bottom); 416 background.setHotspotBounds(mScrollX + left, top, mScrollX + right, bottom);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
H A D | PdfManipulationService.java | 154 clip.bottom = (int) (bitmapHeight - paddingBottomPts * displayScale); 301 mediaBox.bottom = dstHeightPts; 322 cropBox.bottom = (int) (cropBox.bottom * scale + 0.5f); 345 clip.bottom -= paddingBottomPts;
|
/frameworks/rs/ |
H A D | rsRuntime.h | 104 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom); 106 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom); 108 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom); 215 float bottom, float top, float near, float far); 217 float bottom, float top, float near, float far);
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceView.java | 311 protected boolean setFrame(int left, int top, int right, int bottom) { argument 312 boolean result = super.setFrame(left, top, right, bottom); 561 mSurfaceFrame.bottom = mWinFrame.height(); 565 mSurfaceFrame.bottom = (int) (mWinFrame.height() * appInvertedScale + 0.5f); 569 final int surfaceHeight = mSurfaceFrame.bottom; 681 mWinFrame.right, mWinFrame.bottom)); 683 mWinFrame.right, mWinFrame.bottom, -1, mWinFrame); 699 int left, int top, int right, int bottom) { 718 && mRTLastReportedPosition.bottom == bottom) { 698 updateWindowPositionRT(long frameNumber, int left, int top, int right, int bottom) argument [all...] |
H A D | DisplayListCanvas.java | 244 CanvasProperty<Float> right, CanvasProperty<Float> bottom, CanvasProperty<Float> rx, 247 right.getNativeContainer(), bottom.getNativeContainer(), 243 drawRoundRect(CanvasProperty<Float> left, CanvasProperty<Float> top, CanvasProperty<Float> right, CanvasProperty<Float> bottom, CanvasProperty<Float> rx, CanvasProperty<Float> ry, CanvasProperty<Paint> paint) argument
|
/frameworks/base/libs/hwui/ |
H A D | DeferredDisplayList.cpp | 87 mOps[i].state->mBounds.right, mOps[i].state->mBounds.bottom); 116 renderer.drawScreenSpaceColorRect(bounds.left, bounds.top, bounds.right, bounds.bottom, 127 Region uncovered(android::Rect(bounds.left, bounds.top, bounds.right, bounds.bottom)); 130 uncovered.subtractSelf(android::Rect(r.left, r.top, r.right, r.bottom)); 215 // right and bottom delta calculation reversed to account for direction 218 boundsDelta = opBounds.bottom - mBounds.bottom; 252 if (newClipSideFlags & kClipSide_Bottom) mClipRect.bottom = state->mClip.bottom; 275 renderer.drawScreenSpaceColorRect(mBounds.left, mBounds.top, mBounds.right, mBounds.bottom, [all...] |
H A D | BakedOpRenderer.cpp | 54 repaintRect.right, repaintRect.bottom)); 112 area.left, mRenderTarget.viewportHeight - area.bottom, width, height); 177 mRenderState.scissor().set(rect.left, mRenderTarget.viewportHeight - rect.bottom, 264 rectangleVertices.push_back(Vertex{bounds.left, bounds.bottom}); 265 rectangleVertices.push_back(Vertex{bounds.right, bounds.bottom}); 363 info.clipBottom = clip.bottom;
|
H A D | BakedOpRenderer.h | 98 void drawRect(float left, float top, float right, float bottom, const SkPaint* paint) { argument 99 float ltrb[4] = { left, top, right, bottom };
|
H A D | Snapshot.h | 151 void setClip(float left, float top, float right, float bottom); 180 void resetClip(float left, float top, float right, float bottom);
|
/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, 857 src.right, src.bottom, 858 src.left, src.bottom, 869 dst.bottom = Math.max(Math.max(corners[1], corners[3]), Math.max(corners[5], corners[7]));
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BaseWrapContentTest.java | 212 padding.right, padding.bottom); 230 assertThat(recyclerView.getHeight(), is(height + padding.top + padding.bottom)); 304 mOffsetY = mRvParentSize.bottom - mRvSize.bottom; 323 && mRawChildrenBox.bottom <= mRvSize.bottom - mRvPadding.bottom; 441 + ",b:" + (postInfo.bottom + mOffsetY) + "]"; 491 int expectedH = mRawChildrenBox.height() + mRvPadding.top + mRvPadding.bottom;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 202 + " bottom=" + mTextMetrics.bottom); 216 mReusableOvalRect.bottom = y + major / 2; 226 final int bottom = mHeaderBottom; 234 canvas.drawRect(0, 0, itemW-1, bottom,mTextBackgroundPaint); 242 canvas.drawRect(itemW, 0, (itemW * 2) - 1, bottom, mTextBackgroundPaint); 246 canvas.drawRect(itemW * 2, 0, (itemW * 3) - 1, bottom, mTextBackgroundPaint); 253 canvas.drawRect(itemW, 0, (itemW * 2) - 1, bottom, 259 canvas.drawRect(itemW * 2, 0, (itemW * 3) - 1, bottom, 267 canvas.drawRect(itemW * 3, 0, (itemW * 4) - 1, bottom, mTextBackgroundPain [all...] |
H A D | ActionBarOverlayLayout.java | 288 boolean bottom, boolean right) { 303 if (bottom && lp.bottomMargin != insets.bottom) { 305 lp.bottomMargin = insets.bottom; 318 // The top and bottom action bars are always within the content area. 381 // xlarge screen layout doesn't have bottom action bar. 413 // If action bar is split, adjust bottom insets for it. 431 mContentInsets.bottom += bottomInset; 434 mInnerInsets.bottom += bottomInset; 468 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 287 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument [all...] |
/frameworks/base/core/java/com/android/internal/transition/ |
H A D | EpicenterTranslateClipReveal.java | 152 final State startStateY = new State(startClip.top, startClip.bottom, startY); 153 final State endStateY = new State(endClip.top, endClip.bottom, endY); 184 final State startStateY = new State(startClip.top, startClip.bottom, startY); 185 final State endStateY = new State(endClip.top, endClip.bottom, endY); 302 tempState.upper = tempRect.bottom + (int) tempState.trans; 316 tempRect.bottom = value.upper - (int) value.trans;
|
/frameworks/support/v4/java/android/support/v4/graphics/drawable/ |
H A D | DrawableCompat.java | 47 void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom); argument 84 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument 218 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument 219 DrawableCompatLollipop.setHotspotBounds(drawable, left, top, right, bottom); 370 int right, int bottom) { 371 IMPL.setHotspotBounds(drawable, left, top, right, bottom); 369 setHotspotBounds(@onNull Drawable drawable, int left, int top, int right, int bottom) argument
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 175 jfloat left, jfloat top, jfloat right, jfloat bottom) { 176 bool result = get_canvas(canvasHandle)->quickRejectRect(left, top, right, bottom); 264 jfloat right, jfloat bottom, jlong paintHandle) { 266 get_canvas(canvasHandle)->drawRect(left, top, right, bottom, *paint); 277 jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) { 279 get_canvas(canvasHandle)->drawRoundRect(left, top, right, bottom, rx, ry, *paint); 289 jfloat right, jfloat bottom, jlong paintHandle) { 291 get_canvas(canvasHandle)->drawOval(left, top, right, bottom, *paint); 295 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, 298 get_canvas(canvasHandle)->drawArc(left, top, right, bottom, startAngl 174 quickRejectRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom) argument 263 drawRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument 276 drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) argument 288 drawOval(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument 294 drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, jlong paintHandle) argument 339 drawNinePatch(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, jlong chunkHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle, jint dstDensity, jint srcDensity) argument [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | MetaData.h | 243 int32_t right, int32_t bottom); 254 int32_t *right, int32_t *bottom);
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | SoftInputWindow.java | 92 mBounds.right - 1, mBounds.bottom - 1)) { 96 mBounds.right - 1, mBounds.bottom - 1);
|
/frameworks/base/core/java/android/transition/ |
H A D | ChangeBounds.java | 119 int bottom = Math.round(bottomRight.y); 120 view.setLeftTopRightBottom(left, top, right, bottom); 136 int bottom = view.getBottom(); 137 view.setLeftTopRightBottom(left, top, right, bottom); 153 int bottom = top + view.getHeight(); 154 view.setLeftTopRightBottom(left, top, right, bottom); 296 final int startBottom = startBounds.bottom; 297 final int endBottom = endBounds.bottom;
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | ScrollingThroughListOfFocusablesTest.java | 98 assertTrue("bottom of view should be just above fading edge", 146 assertTrue("bottom of last row of last item should be at " + 147 "the bottom of the list view (no fading edge)", 148 mListView.getBottom() - mListView.getVerticalFadingEdgeLength() < mTempRect.bottom); 154 // get to bottom of second item 224 assertTrue("bottom of row " + row + " should be on sreen", 225 mTempRect.bottom < mActivity.getScreenHeight());
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfDocument.java | 123 pageInfo.mContentRect.right, pageInfo.mContentRect.bottom)); 354 || contentRect.bottom > mPageInfo.mPageHeight)) {
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | FrameImage2D.java | 83 * top-left of the image and 1,1 is the bottom-right. 163 (int) srcRect.bottom * srcImage.getHeight()); 167 (int) dstRect.bottom * srcImage.getHeight());
|
/frameworks/native/libs/gui/tests/ |
H A D | FillBuffer.cpp | 65 rect.top <= y && y < rect.bottom; 69 rect.top <= 2*y && 2*y < rect.bottom;
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES11Ext.spec | 22 void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 40 void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 77 void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 78 void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
H A D | GlifListLayout.java | 98 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 99 super.onLayout(changed, left, top, right, bottom); 171 mDividerInset /* start */, 0 /* top */, 0 /* end */, 0 /* bottom */, this);
|