Searched refs:top (Results 1 - 25 of 200) sorted by relevance

12345678

/packages/apps/Mms/src/com/android/mms/ui/
H A DAdaptableSlideViewInterface.java27 void setTextRegion(int left, int top, int width, int height); argument
31 void setImageRegion(int left, int top, int width, int height); argument
35 void setVideoRegion(int left, int top, int width, int height); argument
H A DQuickContactDivot.java133 final int top = 0;
144 top + cornerOffset,
146 top + cornerOffset + mDrawableIntrinsicHeight);
152 top + cornerOffset,
154 top + cornerOffset + mDrawableIntrinsicHeight);
/packages/apps/Calendar/src/com/android/calendar/
H A DEventGeometry.java48 public boolean computeEventRect(int date, int left, int top, int cellWidth, Event event) { argument
87 event.top = top;
88 event.top += (int) (startTime * cellMinuteHeight);
89 event.top += startHour * mHourGap;
91 event.bottom = top;
96 if (event.bottom < event.top + mMinEventHeight) {
97 event.bottom = event.top + mMinEventHeight;
111 && event.top < selection.bottom && event.bottom >= selection.top) {
[all...]
/packages/apps/Mms/src/com/android/mms/model/
H A DRegionModel.java30 public RegionModel(String regionId, int left, int top, argument
32 this(regionId, DEFAULT_FIT, left, top, width, height);
35 public RegionModel(String regionId, String fit, int left, int top, argument
37 this(regionId, fit, left, top, width, height, null);
40 public RegionModel(String regionId, String fit, int left, int top, argument
45 mTop = top;
96 * @param top the mTop to set
98 public void setTop(int top) { argument
99 mTop = top;
/packages/apps/Mms/src/org/w3c/dom/smil/
H A DSMILRegionElement.java14 * 2) ADD public void setLeft(int top) throws DOMException;
41 public void setLeft(int top) argument
49 public void setTop(int top) argument
/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);
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DSoftLandingInterpolator.java37 private final float top; field in class:SoftLandingInterpolator
46 top = mI + epsilon;
47 lowerRange = top;
58 } else if (input < top) {
59 final float alpha = (input - bottom) / (top - bottom);
/packages/apps/Browser/src/com/android/browser/view/
H A DPieListView.java60 int top = mTop;
62 view.layout(mLeft, top, mLeft + mChildWidth, top + mChildHeight);
63 top += mChildHeight;
H A DPieStackView.java75 int top = mTop;
79 view.layout(x, top, x + mChildWidth, top + mChildHeight);
80 top += dy;
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;
/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
59 double lft, rgt, top, bot; member in class:BlendRect
H A DGeometry.h37 if (y > brect.top) brect.top = y;
45 if (rrect.top > brect.top) brect.top = rrect.top;
/packages/apps/LegacyCamera/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
59 double lft, rgt, top, bot; member in class:BlendRect
H A DGeometry.h37 if (y > brect.top) brect.top = y;
45 if (rrect.top > brect.top) brect.top = rrect.top;
/packages/apps/Gallery/src/com/android/camera/
H A DEvenlySpacedLayout.java84 int top = 0;
90 child.layout(left, top, left + w, top + h);
110 int top = mKeepEndSpace ? spacing : 0;
117 child.layout(left, top, left + w, top + h);
118 top += h;
119 top += spacing;
H A DActionMenuButton.java78 final int top = getExtendedPaddingTop();
81 top + layout.getLineTop(0) - PADDING_V,
84 top + layout.getLineBottom(0) + PADDING_V);
H A DHighlightView.java93 mDrawRect.top + (height / 2),
117 int y = mDrawRect.top
126 int top = mDrawRect.top + 4;
140 int yMiddle = mDrawRect.top
141 + ((mDrawRect.bottom - mDrawRect.top) / 2);
156 top - heightHeight,
158 top + heightHeight);
211 // verticalCheck makes sure the position is between the top and
213 boolean verticalCheck = (y >= r.top
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DInputView.java60 // The touch events that hit the top padding of keyboard should be forwarded to
66 final int y = (int)me.getY() + rect.top;
74 final int forwardingLimitY = forwardingRect.top + mKeyboardTopPadding;
105 translatedY = Math.min(y - receivingRect.top, receivingRect.height() - 1);
107 translatedY = y - receivingRect.top;
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DPercentageBarChart.java77 final int top = getPaddingTop();
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/Gallery2/src/com/android/gallery3d/ui/
H A DCropView.java185 RectF result = new RectF(rect.left * mImageWidth, rect.top * mImageHeight,
219 canvas.fillRect(r.left, r.top, r.width(), r.height(), Color.TRANSPARENT);
220 canvas.drawRect(r.left, r.top, r.width(), r.height(), mFacePaint);
317 && r.top >= d && r.bottom < height - d) return;
350 offsetY + (input.top * 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);
463 r.top += dy;
473 float top
[all...]
H A DGLView.java195 return mBounds.bottom - mBounds.top;
271 int yoffset = component.mBounds.top - mScrollY;
298 int top = rect.top;
300 event.offsetLocation(-left, -top);
302 event.offsetLocation(left, top);
305 event.offsetLocation(left, top);
347 public void layout(int left, int top, int right, int bottom) { argument
348 boolean sizeChanged = setBounds(left, top, right, bottom);
354 onLayout(sizeChanged, left, top, righ
357 setBounds(int left, int top, int right, int bottom) argument
398 onLayout( boolean changeSize, int left, int top, int right, int bottom) argument
[all...]
/packages/apps/Camera/src/com/android/camera/ui/
H A DRenderOverlay.java38 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);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DButtonDropTarget.java128 int top = to.top + (getMeasuredHeight() - height) / 2;
129 to.set(left, top, left + width, top + height);
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DKenBurnsActivity.java432 + mStartRect.left + ", " + mStartRect.top + ", "
437 mStartRect.top * scale * mImageViewScale);
450 + mEndRect.left + ", " + mEndRect.top + ", "
455 mEndRect.top * scale * mImageViewScale);
483 + ", " + mMatrixRect.top + ", " + mMatrixRect.right
488 final int top = (int)((-mMatrixRect.top/scale) / mImageViewScale);
490 final int bottom = (int)(((-mMatrixRect.top + lp.height)/scale) / mImageViewScale);
492 mStartRect.set(left, top, right, bottom);
494 Log.d(TAG, "START: " + mStartRect.left + ", " + mStartRect.top
[all...]
/packages/inputmethods/LatinIME/native/jni/src/
H A Dproximity_info.h126 const int top = mKeyYCoordinates[keyId]; local
128 const int bottom = top + mKeyHeights[keyId];
129 return left < right && top < bottom && x >= left && x < right && y >= top && y < bottom;

Completed in 724 milliseconds

12345678