Searched refs:right (Results 1 - 25 of 253) sorted by relevance

1234567891011

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DWnnPOS.java28 /** The part of speech at right side */
29 public int right = 0; field in class:WnnPOS
40 * @param right The part of speech at right side
42 public WnnPOS(int left, int right) { argument
44 this.right = right;
H A DWnnClause.java67 new WnnPOS(stem.partOfSpeech.left, fzk.partOfSpeech.right),
/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);
27 canvas.drawRect(left, bottom - stroke, right, 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);
35 canvas.drawRect(left, bottom - stroke, right, bottom, selectPaint);
37 canvas.drawRect(right - stroke, top, right, botto
[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);
/packages/apps/Settings/src/com/android/settings/applications/
H A DLinearColorBar.java194 int right = left + (int)(width*mRedRatio);
195 int right2 = right + (int)(width*mYellowRatio);
203 indicatorLeft = right;
242 if (left < right) {
244 mRect.right = right;
247 width -= (right-left);
248 left = right;
251 mLastLeftDiv = right;
254 right
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DEventGeometry.java102 event.right = event.left + colWidth;
110 if (event.left < selection.right && event.right >= selection.left
122 float right = event.right;
127 if (x <= right) {
140 // x > right
141 float dx = x - right;
143 // the upper right corner
148 // the lower right corne
[all...]
H A DColorChipView.java96 int right = getWidth() - 1;
105 c.drawRect(0, 0, right, bottom, mPaint);
120 lines [ptr++] = right;
124 lines [ptr++] = right;
130 lines [ptr++] = right - halfBorderWidth;
132 lines [ptr++] = right - halfBorderWidth;
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DProgressBar.java93 dest.right = width;
100 dest.right = width;
106 dest.right = ((width - left) * progress) / 100;
115 dest.left = dest.right;
116 dest.right = width;
/packages/apps/Camera2/src/com/android/camera/crop/
H A DCropDrawingUtils.java44 canvas.drawLine(bounds.left, y, bounds.right, y, p);
71 r.set(bounds.right,bounds.top,w,bounds.bottom);
91 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.right, bounds.top);
97 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.right, bounds.bottom);
110 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.right, bounds.centerY());
134 path.lineTo(r1.right, r1.top);
138 path.lineTo(r1.right, r1.bottom);
139 path.moveTo(r1.right, r1.top);
140 path.lineTo(r1.right, r1.bottom);
142 path.lineTo(r2.right, r
[all...]
H A DCropObject.java203 dx = Math.min(crop.left + dX, crop.right - minWidthHeight) - crop.left;
209 dx = Math.max(crop.right + dX, crop.left + minWidthHeight)
210 - crop.right;
222 crop.right, crop.top
249 crop.right += dx;
266 float right = Math.abs(x - cropped.right);
271 // Check left or right.
273 && ((y - mTouchTolerance) <= cropped.bottom) && (left < right)) {
276 else if ((right <
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropDrawingUtils.java44 canvas.drawLine(bounds.left, y, bounds.right, y, p);
71 r.set(bounds.right,bounds.top,w,bounds.bottom);
91 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.right, bounds.top);
97 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.right, bounds.bottom);
110 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.right, bounds.centerY());
134 path.lineTo(r1.right, r1.top);
138 path.lineTo(r1.right, r1.bottom);
139 path.moveTo(r1.right, r1.top);
140 path.lineTo(r1.right, r1.bottom);
142 path.lineTo(r2.right, r
[all...]
H A DCropObject.java205 dx = Math.min(crop.left + dX, crop.right - minWidthHeight) - crop.left;
211 dx = Math.max(crop.right + dX, crop.left + minWidthHeight)
212 - crop.right;
224 crop.right, crop.top
251 crop.right += dx;
268 float right = Math.abs(x - cropped.right);
273 // Check left or right.
275 && ((y - mTouchTolerance) <= cropped.bottom) && (left < right)) {
278 else if ((right <
[all...]
/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/apps/Camera/jni/feature_mos/src/mosaic/
H A DMosaicTypes.h37 left = right = top = bottom = 0.0;
42 return right - left;
53 int left, right, top, bottom; member in class:MosaicRect
/packages/apps/Camera2/jni/feature_mos/src/mosaic/
H A DMosaicTypes.h37 left = right = top = bottom = 0.0;
42 return right - left;
53 int left, right, top, bottom; member in class:MosaicRect
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DMosaicTypes.h37 left = right = top = bottom = 0.0;
42 return right - left;
53 int left, right, top, bottom; member in class:MosaicRect
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DRectUtils.java53 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/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DFilterCropRepresentation.java70 || mCrop.right != crop.mCrop.right
99 crop.right *= bitmapWidth;
110 crop.right /= bitmapWidth;
157 writer.name(BOUNDS[2]).value(mCrop.right);
172 mCrop.right = (float) reader.nextDouble();
/packages/apps/Launcher2/src/com/android/launcher2/
H A DButtonDropTarget.java135 final int right;
138 right = to.right - getPaddingRight();
139 left = right - width;
142 right = left + width;
148 to.set(left, top, right, bottom);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DButtonDropTarget.java137 final int right;
140 right = to.right - getPaddingRight();
141 left = right - width;
144 right = left + width;
150 to.set(left, top, right, bottom);
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DPercentageBarChart.java76 final int right = getWidth() - getPaddingRight();
80 final int width = right - left;
84 float nextX = right;
120 if (nextX > right) {
121 canvas.drawRect(lastX, top, right, bottom, e.paint);
130 canvas.drawRect(lastX, top, right, bottom, mEmptyPaint);
/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);
75 mWidth = (right - left) * 2 / 3;
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
H A DTinyPlanetPreview.java103 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
104 super.onLayout(changed, left, top, right, bottom);
106 int width = right - left;
/packages/apps/Gallery/src/com/android/camera/
H A DHighlightView.java125 int right = mDrawRect.right + 1;
139 + ((mDrawRect.right - mDrawRect.left) / 2);
149 mResizeDrawableWidth.setBounds(right - widthWidth,
151 right + widthWidth,
216 && (x < r.right + hysteresis);
222 if ((Math.abs(r.right - x) < hysteresis) && verticalCheck) {
279 Math.min(0, mImageRect.right - mCropRect.right),
334 } else if (r.right > mImageRec
[all...]
/packages/apps/Mms/src/com/android/mms/ui/
H A DQuickContactDivot.java134 final int right = getWidth();
135 final int middle = right / 2;
143 right - mDrawableIntrinsicWidth,
145 right,

Completed in 515 milliseconds

1234567891011