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

1234567891011>>

/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/Gallery2/src/com/android/gallery3d/filtershow/ui/
H A DSelectionRenderer.java24 public static void drawSelection(Canvas canvas, int left, int top, int right, int bottom, argument
26 canvas.drawRect(left, top, right, top + stroke, paint);
28 canvas.drawRect(left, top, left + stroke, bottom, paint);
29 canvas.drawRect(right - stroke, top, right, bottom, paint);
32 public static void drawSelection(Canvas canvas, int left, int top, int right, int bottom, argument
34 canvas.drawRect(left, top, right, top + stroke, selectPaint);
36 canvas.drawRect(left, top, left + stroke, bottom, selectPaint);
37 canvas.drawRect(right - stroke, top, righ
[all...]
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DTextViewCompatUtils.java36 final Drawable start, final Drawable top, final Drawable end, final Drawable bottom) {
38 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom);
42 start, top, end, bottom);
35 setCompoundDrawablesRelativeWithIntrinsicBounds(final TextView textView, final Drawable start, final Drawable top, final Drawable end, final Drawable bottom) argument
H A DViewCompatUtils.java53 public static void setPaddingRelative(final View view, final int start, final int top, argument
56 view.setPadding(start, top, end, bottom);
59 CompatUtils.invoke(view, null, METHOD_setPaddingRelative, start, top, end, bottom);
/packages/apps/Camera2/src/com/android/camera/crop/
H A DCropDrawingUtils.java38 float y = bounds.top + stepY;
40 canvas.drawLine(x, bounds.top, x, bounds.bottom, p);
65 r.set(0,0,w,bounds.top);
67 r.set(0,bounds.top,bounds.left,h);
71 r.set(bounds.right,bounds.top,w,bounds.bottom);
78 int top = (int) centerY - indicatorSize / 2;
79 indicator.setBounds(left, top, left + indicatorSize, top + indicatorSize);
88 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.left, bounds.top);
91 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.right, bounds.top);
[all...]
H A DCropObject.java206 dy = Math.min(crop.top + dY, crop.bottom - minWidthHeight) - crop.top;
213 dy = Math.max(crop.bottom + dY, crop.top + minWidthHeight)
222 crop.right, crop.top
225 l1[1] = crop.top;
246 crop.top += dy;
267 float top = Math.abs(y - cropped.top);
272 if ((left <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top)
276 else if ((right <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top)
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropDrawingUtils.java38 float y = bounds.top + stepY;
40 canvas.drawLine(x, bounds.top, x, bounds.bottom, p);
65 r.set(0,0,w,bounds.top);
67 r.set(0,bounds.top,bounds.left,h);
71 r.set(bounds.right,bounds.top,w,bounds.bottom);
78 int top = (int) centerY - indicatorSize / 2;
79 indicator.setBounds(left, top, left + indicatorSize, top + indicatorSize);
88 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.left, bounds.top);
91 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.right, bounds.top);
[all...]
H A DCropObject.java208 dy = Math.min(crop.top + dY, crop.bottom - minWidthHeight) - crop.top;
215 dy = Math.max(crop.bottom + dY, crop.top + minWidthHeight)
224 crop.right, crop.top
227 l1[1] = crop.top;
248 crop.top += dy;
269 float top = Math.abs(y - cropped.top);
274 if ((left <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top)
278 else if ((right <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top)
[all...]
/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;
/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
/packages/apps/Camera2/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
/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
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DRectUtils.java30 * The top-left of the transformed full rectangle will always be placed at (0, 0).
49 matrix.setTranslate(-fullRectF.left, -fullRectF.top);
53 fullRect.set((int) fullRectF.left, (int) fullRectF.top, (int) fullRectF.right,
55 partialRect.set((int) partialRectF.left, (int) partialRectF.top, (int) partialRectF.right,
64 rect.set((int) rectF.left, (int) rectF.top, (int) rectF.right, (int) rectF.bottom);
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DSoftLandingInterpolator.java35 private final float top; field in class:SoftLandingInterpolator
44 top = mI + epsilon;
55 } else if (input < top) {
56 final float alpha = (input - bottom) / (top - bottom);
/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);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DFolderListLayout.java47 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
49 super.onLayout(changed, left, top, right, bottom);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DInputView.java57 // The touch events that hit the top padding of keyboard should be forwarded to
62 final int y = (int)me.getY() + rect.top;
70 final int forwardingLimitY = forwardingRect.top + mKeyboardTopPadding;
101 translatedY = Math.min(y - receivingRect.top, receivingRect.height() - 1);
103 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);

Completed in 7401 milliseconds

1234567891011>>