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

123456

/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/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 DColorSeekBar.java73 // Draw two half circles in the first and last colors at seek-bar left/right ends.
76 float right = w - radius;
80 canvas.clipRect(left, 0, right, h, Op.DIFFERENCE);
84 canvas.drawCircle(right, cy, radius, paint);
88 float strip = (right - left) / (colors.length - 1);
89 right = left + strip / 2;
91 canvas.drawRect(left, 0, right, h, paint);
92 left = right;
94 right = left + strip;
96 canvas.drawRect(left, 0, right,
[all...]
H A DCropView.java97 bounds.set(bounds.left, 0, bounds.right, 1);
107 cropBounds.right * width, cropBounds.bottom * height);
116 // Check left or right.
118 float right = Math.abs(x - cropped.right);
119 if ((left <= TOUCH_TOLERANCE) && (left < right)) {
122 else if (right <= TOUCH_TOLERANCE) {
147 deltaX = (deltaX > 0) ? Math.min(displayBounds.right - cropped.right, deltaX)
157 cropped.left = Math.min(cropped.left + deltaX, cropped.right
214 drawShadow(Canvas canvas, float left, float top, float right, float bottom) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DColorChipView.java85 int right = getWidth() - 1;
94 c.drawRect(0, 0, right, bottom, p);
109 lines [ptr++] = right;
113 lines [ptr++] = right;
119 lines [ptr++] = right - halfBorderWidth;
121 lines [ptr++] = right - halfBorderWidth;
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...]
/packages/apps/Settings/src/com/android/settings/applications/
H A DLinearColorBar.java98 int right = left + (int)(width*mRedRatio);
99 int right2 = right + (int)(width*mYellowRatio);
107 indicatorLeft = right;
146 if (left < right) {
148 mRect.right = right;
151 width -= (right-left);
152 left = right;
155 right = right2;
157 if (left < right) {
[all...]
/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/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/Settings/src/com/android/settings/deviceinfo/
H A DPercentageBarChart.java68 final int right = getWidth() - getPaddingRight();
72 final int width = right - left;
86 if (nextX > right) {
87 canvas.drawRect(lastX, top, right, bottom, e.paint);
96 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/Gallery2/src/com/android/gallery3d/ui/
H A DGLView.java183 return mBounds.right - mBounds.left;
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
326 boolean sizeChanged = (right - left) != (mBounds.right
366 onLayout( boolean changeSize, int left, int top, int right, int bottom) argument
[all...]
H A DCropView.java183 rect.right * mImageWidth, rect.bottom * mImageHeight);
313 && r.left >= d && r.right < width - d
348 offsetX + (input.right * mImageWidth - x) * s,
385 mImageWidth * (highlight.left + highlight.right) * 0.5f);
392 (highlight.left + highlight.right) * mImageWidth / 2);
458 dx = Utils.clamp(dx, -r.left, 1 - r.right);
463 r.right += dx;
469 float right = r.right - MIN_SELECTION_LENGTH / mImageWidth;
473 r.right
[all...]
/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.java121 final int right = getWidth();
122 final int middle = right / 2;
130 right - mDrawableIntrinsicWidth,
132 right,
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DFace.java39 mPosition.right = Integer.parseInt(tokenizer.nextToken());
49 return mPosition.right - mPosition.left;
/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,
132 float tx = -(right + left) / (right - left);
136 2 / (right - left), 0, 0, 0,
129 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar) argument
/packages/apps/Camera/src/com/android/camera/ui/
H A DIndicatorControlWheelContainer.java101 boolean changed, int left, int top, int right, int bottom) {
106 mCenterX = right - left - Util.dpToPixel(FULL_WHEEL_RADIUS);
108 mShutterButton.layout(right - left - shutterButtonWidth,
110 right - left,
113 mIndicatorControlWheel.layout(0, 0, right - left, bottom - top);
100 onLayout( boolean changed, int left, int top, int right, int bottom) argument
/packages/apps/Contacts/src/com/android/contacts/
H A DTabStripView.java104 selBounds.right = selectedChild.getRight() - getScrollX();
113 selBounds.right,
116 selBounds.right + mBottomRightStrip.getIntrinsicWidth()),
/packages/apps/Contacts/src/com/android/contacts/calllog/
H A DCallTypeIconsView.java103 final int right = left + drawable.getIntrinsicWidth();
104 drawable.setBounds(left, 0, right, drawable.getIntrinsicHeight());
106 left = right + mResources.iconMargin;
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DKenBurnsActivity.java437 / ((float)(mStartRect.right - mStartRect.left));
441 + mStartRect.right + ", " + mStartRect.bottom);
455 / ((float)(mEndRect.right - mEndRect.left));
459 + mEndRect.right + ", " + mEndRect.bottom);
491 + ", " + mMatrixRect.top + ", " + mMatrixRect.right
497 final int right = (int)(((-mMatrixRect.left + lp.width)/scale) / mImageViewScale);
500 mStartRect.set(left, top, right, bottom);
503 + mStartRect.right + ", " + mStartRect.bottom);
518 + ", " + mMatrixRect.top + ", " + mMatrixRect.right
524 final int right
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DPageProgressView.java82 mBounds.right = getWidth() * mCurrentProgress / MAX_PROGRESS;
96 mBounds.right = (r - l) * mCurrentProgress / MAX_PROGRESS;

Completed in 415 milliseconds

123456