Searched refs:right (Results 101 - 125 of 253) sorted by relevance

1234567891011

/packages/apps/Camera2/jni/feature_mos/src/mosaic/
H A DPyramid.cpp112 void PyramidShort::BorderSpread(PyramidShort *pyr, int left, int right, argument
118 if (left || right) {
120 off2 = pyr->width + off + pyr->border - right - 1;
129 for (w = right; w--;)
H A DDelaunay.h124 #define right(a) orig(rot(a)) macro
/packages/apps/Dialer/src/com/android/dialer/dialpad/
H A DDialpadKeyButton.java81 mHoverBounds.right = w - getPaddingRight();
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DPyramid.cpp112 void PyramidShort::BorderSpread(PyramidShort *pyr, int left, int right, argument
118 if (left || right) {
120 off2 = pyr->width + off + pyr->border - right - 1;
129 for (w = right; w--;)
H A DDelaunay.h124 #define right(a) orig(rot(a)) macro
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DMoreKeysKeyboard.java109 // should be shifted to the right unless the parent key is on the left edge.
114 // If the right keys fill the right side of the parent key, entire more keys
115 // should be shifted to the left unless the parent key is on the right edge.
188 int right = 1; // include default position key.
192 // Assign right key if available.
193 if (right < mRightKeys) {
194 pos = right;
195 right++;
294 // left/right/to
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DBubbleTextView.java101 protected boolean setFrame(int left, int top, int right, int bottom) { argument
102 if (getLeft() != left || getRight() != right || getTop() != top || getBottom() != bottom) {
105 return super.setFrame(left, top, right, bottom);
H A DPagedViewWidget.java78 mOriginalImagePadding.right = image.getPaddingRight();
143 maxSize[0] = i.getWidth() - mOriginalImagePadding.left - mOriginalImagePadding.right;
160 mOriginalImagePadding.right,
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
H A DWallpaperCropActivity.java367 // Extend the crop all the way to the right, for parallax
371 extraSpace = 2f * Math.min(rotatedInSize[0] - cropRect.right, cropRect.left);
373 extraSpace = ltr ? rotatedInSize[0] - cropRect.right : cropRect.left;
381 cropRect.right += extraSpace / 2f;
384 cropRect.right += extraSpace;
660 mCropBounds.right /= scaleDownSampleSize;
666 roundedTrueCrop.right = roundedTrueCrop.left + fullSize.getWidth();
668 if (roundedTrueCrop.right > fullSize.getWidth()) {
671 Math.max(0, roundedTrueCrop.right - roundedTrueCrop.width());
673 roundedTrueCrop.right
[all...]
H A DCropView.java111 edgesOut.right = rightEdge;
299 } else if (edges.right < getWidth()) {
300 adjustment[0] = (edges.right - getWidth()) / scale;
/packages/apps/Launcher3/src/com/android/launcher3/
H A DPagedViewWidget.java77 mOriginalImagePadding.right = image.getPaddingRight();
80 // Ensure we are using the right text size
157 maxSize[0] = i.getWidth() - mOriginalImagePadding.left - mOriginalImagePadding.right;
174 mOriginalImagePadding.right,
H A DBubbleTextView.java86 // Ensure we are using the right text size
119 protected boolean setFrame(int left, int top, int right, int bottom) { argument
120 if (getLeft() != left || getRight() != right || getTop() != top || getBottom() != bottom) {
123 return super.setFrame(left, top, right, bottom);
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DZoomControl.java71 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
72 super.onLayout(changed, left, top, right, bottom);
73 double width = right - left;
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dndldic.c1199 NJ_UINT16 right, mid = 0, left, max; local
1214 right = max - 1;
1236 while (left <= right) {
1237 mid = left + ((right - left) / 2);
1268 printf(" [%d][%d][%d]COMPARE:[%s] = %d\n", left, mid, right, str, ret);
1276 right = mid - 1;
1352 for (right = mid + 1; right < max; right++) {
1386 *to = right
1397 NJ_UINT16 right, mid = 0, left, max = 0; local
2312 NJ_UINT16 right, mid = 0, left, max; local
[all...]
/packages/apps/Gallery2/src/com/android/photos/views/
H A DTiledImageRenderer.java326 for (int x = r.left, right = r.right; x < right; x += size) {
375 int right = (int) Math.ceil(left + width / scale);
382 right = Math.min(mImageWidth, right);
385 out.set(left, top, right, bottom);
444 for (int tx = r.left, j = 0; tx < r.right; tx += size, j++) {
647 source.right /= 2f;
650 source.right
[all...]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/
H A DTiledImageRenderer.java326 for (int x = r.left, right = r.right; x < right; x += size) {
375 int right = (int) Math.ceil(left + width / scale);
382 right = Math.min(mImageWidth, right);
385 out.set(left, top, right, bottom);
444 for (int tx = r.left, j = 0; tx < r.right; tx += size, j++) {
647 source.right /= 2f;
650 source.right
[all...]
/packages/apps/Browser/src/com/android/browser/view/
H A DScrollerView.java1233 return (mTempRect.right + delta) >= getScrollX()
1279 final int right = getChildAt(0).getWidth();
1280 final int maxX = Math.max(0, right - width);
1605 // leave room for right fading edge as long as rect isn't at very right
1606 if (rect.right < getChildAt(0).getWidth()) {
1612 if (rect.right > screenRight && rect.left > screenLeft) {
1613 // need to move right to get it in view: move right just enough so
1621 // get entire rect at right o
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DCommonControllerOverlay.java249 // | Content Area | insets.right = insets.left = 0
266 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
269 int pr = insets.right;
274 int w = right - left;
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoCarousel.java278 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
280 mWidth = right - left;
291 super.onLayout(changed, left, top, right, bottom);
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DDelaunay.h124 #define right(a) orig(rot(a)) macro
/packages/apps/Camera2/src/com/android/camera/ui/
H A DModuleSwitcher.java177 // Set the gravity of the popup, so that it shows up at the right
243 int right = left + mPopup.getWidth();
244 return evt.getX() >= left && evt.getX() < right
329 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
330 super.onLayout(changed, left, top, right, bottom);
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDetailPhotoSetter.java78 rect.right = (int) ((pos[0] + v.getWidth()) * appScale + 0.5f);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageStraighten.java201 float right = (float) (left + ww);
203 outRect.set(left, top, right, bottom);
213 float right = tmp.right;
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DZoomControlBar.java126 boolean changed, int left, int top, int right, int bottom) {
125 onLayout( boolean changed, int left, int top, int right, int bottom) argument
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DPriorityIndicatorSpan.java99 return rect.right + 2 * mPaddingH;

Completed in 8422 milliseconds

1234567891011