Searched refs:left (Results 1 - 25 of 384) sorted by relevance

1234567891011>>

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DWnnPOS.java25 /** The part of speech at left side */
26 public int left = 0; field in class:WnnPOS
39 * @param left The part of speech at left side
42 public WnnPOS(int left, int right) { argument
43 this.left = left;
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
H A DSortingCursorWrapper.java197 int left = 0;
200 while (left < right) {
201 int mid = (left + right) >>> 1;
234 left = mid + 1;
238 int n = start - left;
241 positions[left + 2] = positions[left + 1];
242 sortKey[left + 2] = sortKey[left + 1];
243 isDirs[left
[all...]
/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);
28 canvas.drawRect(left, top, left + stroke, 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);
36 canvas.drawRect(left, top, left
[all...]
/packages/apps/Messaging/src/com/android/messaging/ui/animation/
H A DRectEvaluatorCompat.java39 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction);
43 return new Rect(left, top, right, bottom);
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/
H A Dsuggested_word.h31 bool operator()(const SuggestedWord &left, const SuggestedWord &right) { argument
32 if (left.getScore() != right.getScore()) {
33 return left.getScore() > right.getScore();
35 return left.getCodePointCount() < right.getCodePointCount();
/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
101 event.left = left + col * (colWidth + mCellMargin);
102 event.right = event.left + colWidth;
110 if (event.left < selection.right && event.right >= selection.left
121 float left = event.left;
126 if (x >= left) {
155 // x < left
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
H A DViewGroupFocusHelper.java39 outRect.left = 0;
46 outRect.left += (1 - v.getScaleX()) * v.getWidth() / 2;
49 outRect.right = outRect.left + (int) (v.getScaleX() * v.getWidth());
55 outRect.left += child.getLeft();
61 outRect.left -= page.getScrollForPage(page.indexOfChild(child));
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
H A Dver4_patricia_trie_writing_helper.h111 bool operator()(const DictProbability &left, const DictProbability &right) { argument
112 if (left.getProbability() != right.getProbability()) {
113 return left.getProbability() > right.getProbability();
115 if (left.getTimestamp() != right.getTimestamp()) {
116 return left.getTimestamp() < right.getTimestamp();
118 return left.getDictPos() > right.getDictPos();
/packages/apps/DeskClock/src/com/android/deskclock/
H A DFabController.java10 * {@link #onUpdateFabButtons left/right buttons} including setting them {@link View#INVISIBLE} if
12 * {@link #onFabClick fab}, {@link #onLeftButtonClick left button} and
32 * Configures the display of the buttons to the left and right of the fab to match the current
35 * @param left button to the left of the fab to configure based on current state
38 void onUpdateFabButtons(@NonNull Button left, @NonNull Button right); argument
48 * Handles a click on the button to the left of the fab component.
50 * @param left the button to the left of the fab component
52 void onLeftButtonClick(@NonNull Button left); argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropDrawingUtils.java37 float x = bounds.left + stepX;
44 canvas.drawLine(bounds.left, y, bounds.right, y, p);
67 r.set(0,bounds.top,bounds.left,h);
69 r.set(bounds.left,bounds.bottom,w,h);
77 int left = (int) centerX - indicatorSize / 2;
79 indicator.setBounds(left, top, left + indicatorSize, top + indicatorSize);
88 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.left, bounds.top);
94 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.left, bounds.bottom);
107 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.left, bound
[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)
221 crop.left, crop.bottom
245 crop.left += dx;
267 float left = Math.abs(x - cropped.left);
273 // Check left or right.
274 if ((left <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top)
275 && ((y - mTouchTolerance) <= cropped.bottom) && (left < righ
[all...]
/packages/apps/Camera2/src/com/android/camera/ui/
H A DProgressOverlay.java45 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
46 super.onLayout(changed, left, top, right, bottom);
48 mCenterX = (right - left) / 2;
62 params.setMargins((int) area.left, (int) area.top, 0, 0);
H A DGridLines.java53 canvas.drawLine(mDrawBounds.left + x, mDrawBounds.top,
54 mDrawBounds.left + x, mDrawBounds.bottom, mPaint);
57 canvas.drawLine(mDrawBounds.left, mDrawBounds.top + y,
H A DMarginDrawable.java59 if (s.top < s.bottom && s.left < s.right) {
64 if (s.left > 0) {
65 canvas.drawRect(0, s.top, s.left + 1, s.bottom, mPaint);
/packages/apps/Settings/src/com/android/settings/applications/
H A DLinearColorBar.java192 int left = 0;
194 int right = left + (int)(width*mRedRatio);
242 if (left < right) {
243 mRect.left = left;
247 width -= (right-left);
248 left = right;
256 if (left < right) {
257 mRect.left = left;
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DEvenlySpacedLayout.java83 int left = mKeepEndSpace ? spacing : 0;
90 child.layout(left, top, left + w, top + h);
91 left += w;
92 left += spacing;
111 int left = 0;
117 child.layout(left, top, left + w, top + h);
H A DActionMenuButton.java77 final int left = getCompoundPaddingLeft();
80 rect.set(left + layout.getLineLeft(0) - PADDING_H,
82 Math.min(left + layout.getLineRight(0) + PADDING_H,
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
H A DWindowLocationUtil.java96 sTmpFloat4[0] = rect.left;
101 rect.left = sTmpFloat4[0];
124 sTmpFloat8[0] = clippedBounds.left;
128 sTmpFloat8[4] = unclippedBitmapRect.left;
133 clippedBounds.left = sTmpFloat8[0];
137 unclippedBitmapRect.left = sTmpFloat8[4];
143 sTmpFloat4[0] = clippedBounds.left;
148 clippedBounds.left = sTmpFloat4[0];
/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/native/jni/src/suggest/core/dicnode/
H A Ddic_node_priority_queue.h102 AK_FORCE_INLINE static bool compareDicNode(const DicNode *const left, argument
104 return left->compare(right);
108 bool operator ()(const DicNode *left, const DicNode *right) const { argument
109 return compareDicNode(left, right);
/packages/apps/Camera2/src/com/android/camera/widget/
H A DCling.java38 public void onLayoutChange(View v, int left, int top, int right, int bottom,
87 int left = refCenterX - getWidth() / 2;
94 setTranslationX(left - currentLeft);
/packages/apps/Launcher3/src/com/android/launcher3/anim/
H A DRoundedRectRevealOutlineProvider.java66 mOutline.left = (int) ((1 - progress) * mStartRect.left + progress * mEndRect.left);
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
H A DEmojiCategoryPageIndicatorView.java64 final float left = unitWidth * mCurrentCategoryPageId + mOffset * unitWidth;
66 final float right = left + unitWidth;
68 canvas.drawRect(left, top, right, bottom, mPaint);
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
H A DPointMeteringParameters.java45 * normalized portrait coordinates such that (0, 0) is top left
48 * normalized portrait coordinates such that (0, 0) is top left
106 int xCenterSensor = (int) (cropRegion.left + nsc.x * cropRegion.width());
115 meteringRegion.left = clamp(meteringRegion.left, cropRegion.left,
118 meteringRegion.right = clamp(meteringRegion.right, cropRegion.left,

Completed in 932 milliseconds

1234567891011>>