Searched refs:bottom (Results 1 - 25 of 131) sorted by relevance

123456

/packages/apps/Calendar/src/com/android/calendar/
H A DEventGeometry.java91 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 DColorChipView.java86 int bottom = getHeight() - 1;
94 c.drawRect(0, 0, right, bottom, p);
112 lines [ptr++] = bottom - halfBorderWidth;
114 lines [ptr++] = bottom - halfBorderWidth;
118 lines [ptr++] = bottom;
122 lines [ptr++] = bottom;
H A DDayView.java1254 mExpandAllDayRect.bottom = mFirstCell - EXPAND_ALL_DAY_BOTTOM_MARGIN;
1255 mExpandAllDayRect.top = mExpandAllDayRect.bottom
1885 // bottom of the screen, then don't scroll the view.
2089 dest.bottom = (int) (mViewHeight - yTranslate);
2213 r.bottom = DAY_HEADER_HEIGHT;
2221 r.bottom = mFirstCell - 1;
2240 r.bottom = mFirstCell - 1;
2252 mRect.bottom = mRect.top + mAlldayHeight + ALLDAY_TOP_MARGIN - 2;
2265 // r.bottom = DAY_HEADER_HEIGHT;
2347 r.bottom
2657 saveSelectionPosition(float left, float top, float right, float bottom) argument
3436 drawEventText(StaticLayout eventLayout, Rect rect, Canvas canvas, int top, int bottom) argument
[all...]
/packages/apps/Settings/src/com/android/settings/drawable/
H A DInsetBoundsDrawable.java34 public void setBounds(int left, int top, int right, int bottom) { argument
35 super.setBounds(left + mInsetBoundsSides, top, right - mInsetBoundsSides, bottom);
H A DDrawableWrapper.java48 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/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/
H A DCropView.java94 bounds.set(0, bounds.top, 1, bounds.bottom);
107 cropBounds.right * width, cropBounds.bottom * height);
126 // Check top or bottom.
128 float bottom = Math.abs(y - cropped.bottom);
129 if ((top <= TOUCH_TOLERANCE) & (top < bottom)) {
132 else if (bottom <= TOUCH_TOLERANCE) {
149 deltaY = (deltaY > 0) ? Math.min(displayBounds.bottom - cropped.bottom, deltaY)
160 cropped.top = Math.min(cropped.top + deltaY, cropped.bottom
214 drawShadow(Canvas canvas, float left, float top, float right, float bottom) argument
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewGridLayout.java81 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 DMosaicTypes.h37 left = right = top = bottom = 0.0;
47 return bottom - top;
53 int left, right, top, bottom; member in class:MosaicRect
/packages/apps/Browser/src/com/android/browser/view/
H A DStopProgressView.java73 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;
H A DScrollerView.java724 final int bottom = getScrollRange();
726 if (mScroller.springBack(mScrollX, mScrollY, 0, bottom, 0, 0)) {
730 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, bottom)) {
929 * or at the bottom of the bounds if topFocus is false
966 * if topFocus is true, or at the bottom of the bounds if topFocus is
970 * @param bottom the bottom offset of the bounds in which a focusable must
975 private View findFocusableViewInBounds(boolean topFocus, int top, int bottom) { argument
982 * top, and its bottom is above the bound's bottom
1125 scrollAndFocus(int direction, int top, int bottom) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DGLView.java187 return mBounds.bottom - mBounds.top;
310 public void setPaddings(int left, int top, int right, int bottom) { argument
311 mPaddings.set(left, top, right, bottom);
314 public void layout(int left, int top, int right, int bottom) { argument
315 boolean sizeChanged = setBounds(left, top, right, bottom);
318 onLayout(true, left, top, right, bottom);
321 onLayout(false, left, top, right, bottom);
325 private boolean setBounds(int left, int top, int right, int bottom) { argument
327 || (bottom - top) != (mBounds.bottom
366 onLayout( boolean changeSize, int left, int top, int right, int bottom) argument
[all...]
H A DCropView.java183 rect.right * mImageWidth, rect.bottom * mImageHeight);
314 && r.top >= d && r.bottom < height - d) return;
349 offsetY + (input.bottom * mImageHeight - y) * s);
387 mImageHeight * (highlight.top + highlight.bottom) * 0.5f);
400 (highlight.top + highlight.bottom) * mImageHeight / 2);
459 dy = Utils.clamp(dy, -r.top , 1 - r.bottom);
461 r.bottom += dy;
471 float bottom = r.bottom - MIN_SELECTION_LENGTH / mImageHeight;
479 r.top = Utils.clamp(point.y, 0, bottom);
[all...]
H A DScrollBarView.java64 boolean changed, int left, int top, int right, int bottom) {
66 mBarHeight = bottom - top;
63 onLayout( boolean changed, int left, int top, int right, int bottom) argument
H A DTileImageView.java178 boolean changeSize, int left, int top, int right, int bottom) {
179 super.onLayout(changeSize, left, top, right, bottom);
253 for (int y = r.top, bottom = r.bottom; y < bottom; y += size) {
299 int bottom = (int) Math.ceil(top + height / scale);
306 bottom = Math.min(mImageHeight, bottom);
308 out.set(left, top, right, bottom);
382 for (int ty = r.top, i = 0; ty < r.bottom; t
177 onLayout( boolean changeSize, int left, int top, int right, int bottom) argument
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DHighlightView.java127 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/Settings/src/com/android/settings/deviceinfo/
H A DPercentageBarChart.java70 final int bottom = getHeight() - getPaddingBottom();
87 canvas.drawRect(lastX, top, right, bottom, e.paint);
91 canvas.drawRect(lastX, top, nextX, bottom, e.paint);
96 canvas.drawRect(lastX, top, right, bottom, mEmptyPaint);
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DFace.java40 mPosition.bottom = Integer.parseInt(tokenizer.nextToken());
53 return mPosition.bottom - mPosition.top;
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
H A DGLViewMock.java58 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 DGLMock.java130 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 DQuickContactDivot.java123 final int bottom = getHeight();
148 (int)(bottom - mDrawableIntrinsicHeight),
150 (int)(bottom));
/packages/apps/Camera/src/com/android/camera/ui/
H A DRotateLayout.java49 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 DChartView.java120 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 DChartSweepView.java182 - 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 DKenBurnsActivity.java441 + mStartRect.right + ", " + mStartRect.bottom);
459 + mEndRect.right + ", " + mEndRect.bottom);
492 + ", " + mMatrixRect.bottom);
498 final int bottom = (int)(((-mMatrixRect.top + lp.height)/scale) / mImageViewScale);
500 mStartRect.set(left, top, right, bottom);
503 + mStartRect.right + ", " + mStartRect.bottom);
519 + ", " + mMatrixRect.bottom);
525 final int bottom = (int)(((-mMatrixRect.top + lp.height)/scale) / mImageViewScale);
527 mEndRect.set(left, top, right, bottom);
530 + mEndRect.right + ", " + mEndRect.bottom);
[all...]
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DTransitionAnimationView.java80 mClipMargins.bottom = a.getDimensionPixelOffset(
106 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
107 super.onLayout(changed, left, top, right, bottom);
114 int height = bottom - top;
121 width - mClipMargins.right, height - mClipMargins.bottom);

Completed in 1494 milliseconds

123456