/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
RequestRectangleVisibleTest.java | 90 assertTrue("bottom blob needs to be taller than the screen for many of the " 108 // should be on screen, positioned at the bottom (with room for 138 // go to bottom button 167 // blob should have moved so bottom of it is at bottom of screen 190 fail("couldn't move down to bottom button within " 197 * Assert that view overlaps the bottom edge of the screen 208 int bottom = xy[1] + view.getHeight(); local 211 assertTrue(bottom > bottomOfRoot); 214 assertTrue(bottom > bottomOfRoot) 229 int bottom = xy[1] + view.getHeight(); local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Rect.java | 30 * represented by the coordinates of its 4 edges (left, top, right bottom). 33 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom). 35 * Note that the right and bottom coordinates are exclusive. This means a Rect 38 * those of its bottom and right. 44 public int bottom; field in class:Rect 69 * top <= bottom. 74 * @param bottom The Y coordinate of the bottom of the rectangle 76 public Rect(int left, int top, int right, int bottom) { 80 this.bottom = bottom [all...] |
RectF.java | 27 * represented by the coordinates of its 4 edges (left, top, right bottom). 30 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom). 36 public float bottom; field in class:RectF 46 * top <= bottom. 51 * @param bottom The Y coordinate of the bottom of the rectangle 53 public RectF(float left, float top, float right, float bottom) { 57 this.bottom = bottom; 69 left = top = right = bottom = 0.0f [all...] |
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
NumPadKey.java | 149 int bottom = top + digitHeight; local 150 mDigitText.layout(left, top, left + mDigitText.getMeasuredWidth(), bottom); 151 top = (int) (bottom - klondikeHeight * 0.35f); 152 bottom = top + klondikeHeight; 155 mKlondikeText.layout(left, top, left + mKlondikeText.getMeasuredWidth(), bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationBackgroundView.java | 48 int bottom = mActualHeight - mClipBottomAmount; local 49 if (drawable != null && bottom > mClipTopAmount) { 50 drawable.setBounds(0, mClipTopAmount, getWidth(), bottom);
|
ScrimView.java | 101 canvas.drawRect(0, mExcludedRect.top, mExcludedRect.left, mExcludedRect.bottom, 108 mExcludedRect.bottom, 111 if (mExcludedRect.bottom < getHeight()) { 112 canvas.drawRect(0, mExcludedRect.bottom, getWidth(), getHeight(), mPaint); 187 int bottom = Math.min(area.bottom, getHeight()); local 188 mExcludedRect.set(left, top, right, bottom); 189 mHasExcludedArea = left < right && top < bottom;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GradientsActivity.java | 86 Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM)); 224 float bottom = 40.0f + mDrawHeight; local 234 bottom += 40.0f + mDrawHeight; 245 bottom -= 40.0f + mDrawHeight; 249 mMatrix.postTranslate(left, bottom); 252 canvas.drawRect(left, bottom - mDrawHeight, right, bottom, mPaint); 255 bottom += 40.0f + mDrawHeight; 262 canvas.drawRect(left, top, left + mDrawWidth, bottom, mPaint); 266 top = bottom + 20.0f [all...] |
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
TouchLatencyActivity.java | 134 float bottom = mBallY + BALL_RADIUS; local 135 if (bottom > height) { 136 bottom = height; 142 canvas.drawOval(left, top, right, bottom, mYellowPaint);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BidiRenderer.java | 268 float bottom = (float) (top + awtRec.getHeight()); local 269 RectF androidRect = new RectF(left, top, right, bottom);
|
/frameworks/ex/framesequence/jni/ |
FrameSequence_webp.cpp | 45 const int bottom = top + frame.height; local 46 return x >= left && x < right && y >= top && y < bottom;
|
/frameworks/rs/ |
rsMatrix4x4.cpp | 276 void Matrix4x4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { 279 m[5] = 2.f / (top - bottom); 282 m[13]= -(top + bottom) / (top - bottom); 286 void Matrix4x4::loadFrustum(float left, float right, float bottom, float top, float near, float far) { 289 m[5] = 2.f * near / (top - bottom); 291 m[9] = (top + bottom) / (top - bottom); 300 float bottom = -top; local 301 float left = bottom * aspect [all...] |
/frameworks/support/compat/java/android/support/v4/app/ |
SharedElementCallback.java | 232 int bottom = existingBounds.bottom; local 235 drawable.setBounds(left, top, right, bottom);
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
RecyclerViewActivity.java | 118 int bottom; local 123 for (int i = 0; mFirstPosition + i < count && top < parentBottom; i++, top = bottom) { 127 bottom = top + getDecoratedMeasuredHeight(v); 128 layoutDecorated(v, left, top, right, bottom); 165 final int bottom = getDecoratedTop(topView); local 166 final int top = bottom - getDecoratedMeasuredHeight(v); 167 layoutDecorated(v, left, top, right, bottom); 186 final int bottom = top + getDecoratedMeasuredHeight(v); local 187 layoutDecorated(v, left, top, right, bottom); 215 final int bottom = getDecoratedTop(getChildAt(0)) local 233 final int bottom = top + getDecoratedMeasuredHeight(v); local [all...] |
/frameworks/support/transition/src/android/support/transition/ |
ChangeImageTransform.java | 95 int bottom = view.getBottom(); local 97 Rect bounds = new Rect(left, top, right, bottom);
|
Explode.java | 64 int bottom = top + view.getHeight(); local 65 transitionValues.values.put(PROPNAME_SCREEN_BOUNDS, new Rect(left, top, right, bottom));
|
TransitionUtils.java | 52 int bottom = Math.round(bounds.bottom); local 61 int heightSpec = View.MeasureSpec.makeMeasureSpec(bottom - top, View.MeasureSpec.EXACTLY); 63 copy.layout(left, top, right, bottom);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
DividerItemDecoration.java | 132 final int bottom = mBounds.bottom + Math.round(child.getTranslationY()); local 133 final int top = bottom - mDivider.getIntrinsicHeight(); 134 mDivider.setBounds(left, top, right, bottom); 143 final int bottom; local 147 bottom = parent.getHeight() - parent.getPaddingBottom(); 149 parent.getWidth() - parent.getPaddingRight(), bottom); local 152 bottom = parent.getHeight(); 161 mDivider.setBounds(left, top, right, bottom);
|
LinearSmoothScroller.java | 58 * Align child view's right or bottom with parent view's right or bottom 212 * or the bottom edge of the child with the parent RecyclerView. 309 final int bottom = layoutManager.getDecoratedBottom(view) + params.bottomMargin; local 312 return calculateDtToFit(top, bottom, start, end, snapPreference);
|
/hardware/qcom/display/msm8996/sdm/include/core/ |
layer_stack.h | 207 float bottom = 0.0f; //!< Bottom-most pixel coordinate. member in struct:sdm::LayerRect 211 LayerRect(float l, float t, float r, float b) : left(l), top(t), right(r), bottom(b) { } 214 return left == rect.left && right == rect.right && top == rect.top && bottom == rect.bottom;
|
/packages/apps/Camera2/src/com/android/camera/ |
CaptureLayoutHelper.java | 29 * This class centralizes the logic of how bottom bar should be laid out and how 30 * preview should be transformed. The two things that could affect bottom bar layout 32 * things are set, the layout of bottom bar and preview rect will be calculated 57 * PositionConfiguration contains the layout info for bottom bar and preview 58 * rect, as well as whether bottom bar should be overlaid on top of preview. 66 * This specifies the rect where bottom bar should be laid out in. 70 * This indicates whether bottom bar should overlay itself on top of preview. 92 * Sets whether bottom bar will show or not. This will affect the calculation 101 * Updates bottom bar rect and preview rect. This gets called whenever 113 * Returns the rect that bottom bar should be laid out in. If not enough inf 306 float bottom = height; local 341 float bottom = height - barSize; local 376 float bottom = Math.round(rect.bottom); local [all...] |
/packages/apps/Car/Dialer/src/com/android/car/dialer/ |
StrequentsFragment.java | 311 int bottom = child.getBottom() + lp.bottomMargin local 313 int top = bottom - mDividerHeight; 320 c.drawRect(left, top, right, bottom, mPaint);
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
StopwatchLandscapeLayout.java | 122 final int bottom = getHeight() - getPaddingBottom(); local 124 final int height = bottom - top;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterTinyPlanet.java | 143 int bottom = top + croppedAreaHeight; local 144 RectF destRect = new RectF(left * scale, top * scale, right * scale, bottom * scale);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ButtonDropTarget.java | 117 outRect.bottom += mBottomDragPadding; 146 final int bottom = top + height; local 148 to.set(left, top, right, bottom);
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
ShadowGenerator.java | 107 int bottom = center + height / 2; local 111 canvas.drawRoundRect(left, top, right, bottom, radius, radius, blurPaint); 113 // Draw key shadow, bottom aligned within size 115 canvas.drawRoundRect(left, top + shadowYOffset, right, bottom + shadowYOffset, 121 canvas.drawRoundRect(left, top, right, bottom, radius, radius, drawPaint); 150 if (bounds.bottom < bottomSpace) { 151 scale = Math.min(scale, (HALF_DISTANCE - bottomSpace) / (HALF_DISTANCE - bounds.bottom));
|