/packages/apps/Calendar/src/com/android/calendar/ |
H A D | EventGeometry.java | 91 event.bottom = top; 92 event.bottom += (int) (endTime * cellMinuteHeight); 93 event.bottom += endHour * mHourGap - 1; 96 if (event.bottom < event.top + mMinEventHeight) { 97 event.bottom = event.top + mMinEventHeight; 111 && event.top < selection.bottom && event.bottom >= selection.top) { 124 float bottom = event.bottom; 129 if (y <= bottom) { [all...] |
H A D | ColorChipView.java | 97 int bottom = getHeight() - 1; 105 c.drawRect(0, 0, right, bottom, mPaint); 123 lines [ptr++] = bottom - halfBorderWidth; 125 lines [ptr++] = bottom - halfBorderWidth; 129 lines [ptr++] = bottom; 133 lines [ptr++] = bottom;
|
H A D | DayOfMonthDrawable.java | 52 int textHeight = mTextBounds.bottom - mTextBounds.top; 54 canvas.drawText(mDayOfMonth, bounds.right / 2, ((float) bounds.bottom + textHeight + 1) / 2,
|
/packages/apps/Settings/src/com/android/settings/drawable/ |
H A D | InsetBoundsDrawable.java | 34 public void setBounds(int left, int top, int right, int bottom) { argument 35 super.setBounds(left + mInsetBoundsSides, top, right - mInsetBoundsSides, bottom);
|
H A D | DrawableWrapper.java | 48 public void setBounds(int left, int top, int right, int bottom) { argument 49 super.setBounds(left, top, right, bottom); 50 mDrawable.setBounds(left, top, right, bottom);
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | SoftLandingInterpolator.java | 36 private final float bottom; field in class:SoftLandingInterpolator 45 bottom = mI - epsilon; 48 upperRange = 1f - bottom; 53 final float s = slide.getInterpolation((input - bottom) / upperRange) * (1f - mO) + mO; 56 if (input < bottom) { 59 final float alpha = (input - bottom) / (top - bottom);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | PagedViewGridLayout.java | 81 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 82 super.onLayout(changed, left, top, right, bottom); 95 int bottom = child.getBottom(); 96 result = result || (event.getY() < bottom);
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | MosaicTypes.h | 37 left = right = top = bottom = 0.0; 47 return bottom - top; 53 int left, right, top, bottom; member in class:MosaicRect
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | MosaicTypes.h | 37 left = right = top = bottom = 0.0; 47 return bottom - top; 53 int left, right, top, bottom; member in class:MosaicRect
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
H A D | PercentageBarChart.java | 78 final int bottom = getHeight() - getPaddingBottom(); 97 canvas.drawRect(left, top, nextX, bottom, e.paint); 101 canvas.drawRect(lastX, top, nextX, bottom, e.paint); 106 canvas.drawRect(left, top, nextX, bottom, mEmptyPaint); 121 canvas.drawRect(lastX, top, right, bottom, e.paint); 125 canvas.drawRect(lastX, top, nextX, bottom, e.paint); 130 canvas.drawRect(lastX, top, right, bottom, mEmptyPaint);
|
/packages/apps/Browser/src/com/android/browser/view/ |
H A D | StopProgressView.java | 73 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 74 super.onLayout(changed, left, top, right, bottom); 76 mHeight = (bottom - top) * 2 / 3;
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | RenderOverlay.java | 38 public void layout(int left, int top, int right, int bottom); argument 139 public void layout(int left, int top, int right, int bottom) { argument 141 super.layout(left, top, right, bottom); 144 renderer.layout(left, top, right, bottom);
|
H A D | OverlayRenderer.java | 66 public void layout(int left, int top, int right, int bottom) { argument 70 mBottom = bottom;
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | HighlightView.java | 127 int bottom = mDrawRect.bottom + 3; 141 + ((mDrawRect.bottom - mDrawRect.top) / 2); 162 bottom - heightHeight, 164 bottom + heightHeight); 212 // the bottom edge (with some tolerance). Similar for horizCheck. 214 && (y < r.bottom + hysteresis); 228 if ((Math.abs(r.bottom - y) < hysteresis) && horizCheck) { 280 Math.min(0, mImageRect.bottom - mCropRect.bottom)); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | ScrollBarView.java | 53 boolean changed, int left, int top, int right, int bottom) { 55 mBarHeight = bottom - top; 52 onLayout( boolean changed, int left, int top, int right, int bottom) argument
|
H A D | CropView.java | 186 rect.right * mImageWidth, rect.bottom * mImageHeight); 317 && r.top >= d && r.bottom < height - d) return; 352 offsetY + (input.bottom * mImageHeight - y) * s); 390 mImageHeight * (highlight.top + highlight.bottom) * 0.5f); 403 (highlight.top + highlight.bottom) * mImageHeight / 2); 462 dy = Utils.clamp(dy, -r.top , 1 - r.bottom); 464 r.bottom += dy; 474 float bottom = r.bottom - MIN_SELECTION_LENGTH / mImageHeight; 482 r.top = Utils.clamp(point.y, 0, bottom); [all...] |
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/ |
H A D | GLViewMock.java | 58 int right, int bottom) { 64 item.layout(left, top, right, bottom); 57 onLayout(boolean changeSize, int left, int top, int right, int bottom) argument
|
H A D | GLMock.java | 130 float left, float right, float bottom, float top, 133 float ty = -(top + bottom) / (top - bottom); 137 0, 2 / (top - bottom), 0, 0, 129 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar) argument
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | QuickContactDivot.java | 136 final int bottom = getHeight(); 161 (int)(bottom - mDrawableIntrinsicHeight), 163 (int)(bottom));
|
/packages/inputmethods/LatinIME/native/jni/src/ |
H A D | proximity_info.h | 128 const int bottom = top + mKeyHeights[keyId]; local 129 return left < right && top < bottom && x >= left && x < right && y >= top && y < bottom;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | ImageCrop.java | 127 dy1 = mCurrentY - crop.bottom; 140 newCrop = new RectF(crop.right - crop.height(), crop.bottom - crop.width(), 141 crop.right, crop.bottom); 143 newCrop = new RectF(crop.left, crop.bottom - crop.width(), crop.left 144 + crop.height(), crop.bottom); 152 dy2 = mCurrentY - newCrop.bottom; 382 // Check top or bottom. 384 float bottom = Math.abs(y - cropped.bottom); 385 if ((top <= mTouchTolerance) & (top < bottom)) { [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | RotateLayout.java | 49 boolean change, int left, int top, int right, int bottom) { 51 int height = bottom - top; 48 onLayout( boolean change, int left, int top, int right, int bottom) argument
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | ChartView.java | 120 child.layout(childRect.left, childRect.top, childRect.right, childRect.bottom); 124 child.layout(childRect.left, childRect.top, childRect.right, childRect.bottom); 134 sweep.layout(childRect.left, childRect.top, childRect.right, childRect.bottom); 143 parentRect.bottom = parentRect.top; 153 parentRect.bottom += sweepMargins.bottom;
|
H A D | ChartSweepView.java | 182 - mSweepPadding.bottom; 430 acceptDrag = event.getY() > getHeight() - (mSweepPadding.bottom * 8); 486 requestedTargetY, clampRect.top, clampRect.bottom); 610 if (beforeValid) clampRect.bottom = clampRect.top + (int) beforePoint; 648 - mSweepPadding.bottom; 650 mMargins.bottom = 0; 659 mMargins.bottom = mSweepPadding.bottom; 672 final int offset = mSweepPadding.bottom * 2; 673 mContentOffset.bottom 690 onLayout(boolean changed, int left, int top, int right, int bottom) argument [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
H A D | KenBurnsActivity.java | 433 + mStartRect.right + ", " + mStartRect.bottom); 451 + mEndRect.right + ", " + mEndRect.bottom); 484 + ", " + mMatrixRect.bottom); 490 final int bottom = (int)(((-mMatrixRect.top + lp.height)/scale) / mImageViewScale); 492 mStartRect.set(left, top, right, bottom); 495 + mStartRect.right + ", " + mStartRect.bottom); 511 + ", " + mMatrixRect.bottom); 517 final int bottom = (int)(((-mMatrixRect.top + lp.height)/scale) / mImageViewScale); 519 mEndRect.set(left, top, right, bottom); 522 + mEndRect.right + ", " + mEndRect.bottom); [all...] |