Searched refs:left (Results 76 - 100 of 197) sorted by relevance

12345678

/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java168 //Update the current time line every five minutes if the window is left open that long
544 /** Width of the time line (list of hours) to the left. */
1311 mExpandAllDayRect.left = Math.max((mHoursWidth - allDayIconWidth) / 2,
1313 mExpandAllDayRect.right = Math.min(mExpandAllDayRect.left + allDayIconWidth, mHoursWidth
2180 dest.left = 0;
2263 // This isn't really the upper-left corner. It's the square area just
2264 // below the upper-left corner, above the hours and to the left of the
2293 // Computes the x position for the left side of the given day (base 0)
2304 r.left
2750 saveSelectionPosition(float left, float top, float right, float bottom) argument
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/widget/swipeablelistview/
H A DSwipeHelper.java189 view.invalidate((int) Math.floor(childBounds.left),
194 Log.v(TAG, "INVALIDATE(" + (int) Math.floor(childBounds.left)
214 // Find raw top and left positions for button.
215 int left = button.getLeft();
219 left += parent.getLeft();
231 left -= PROTECTION_PADDING;
237 if (rawX > left && rawY > top && rawY < bottom) {
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDeleteDropTarget.java271 final float x2 = from.left + offsetX;
272 final float x1 = from.left; // drag view t/l
274 final float x3 = to.left; // delete target t/l
344 mFrom.left += xOffset;
348 mFrom.left += (mVelocity.x * (curTime - mPrevTime) / 1000f);
351 dragView.setTranslationX(mFrom.left);
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 DDragView.java67 int left, int top, int width, int height, final float initialScale) {
110 mBitmap = Bitmap.createBitmap(bitmap, left, top, width, height);
128 return mDragRegion.left;
66 DragView(Launcher launcher, Bitmap bitmap, int registrationX, int registrationY, int left, int top, int width, int height, final float initialScale) argument
H A DPagedViewWidget.java73 mOriginalImagePadding.left = image.getPaddingLeft();
133 maxSize[0] = i.getWidth() - mOriginalImagePadding.left - mOriginalImagePadding.right;
148 image.setPadding(mOriginalImagePadding.left + centerAmount,
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DTileImageView.java91 // The offsets of the (left, top) of the upper-left tile to the (left, top)
195 boolean changeSize, int left, int top, int right, int bottom) {
196 super.onLayout(changeSize, left, top, right, bottom);
226 mOffsetX = Math.round(width / 2f + (range.left - centerX) * scale);
272 for (int x = r.left, right = r.right; x < right; x += size) {
298 // rectangle containing visible range. The left-top coordinate returned is
317 int left = (int) FloatMath.floor(cX - width / (2f * scale));
319 int right = (int) FloatMath.ceil(left
194 onLayout( boolean changeSize, int left, int top, int right, int bottom) argument
[all...]
H A DAbstractSlotRenderer.java66 // on the left side.
111 frame.draw(canvas, x - padding.left, y - padding.top, width + padding.left + padding.right,
H A DPaper.java69 float left = mAnimationLeft.getValue();
72 // We linearly interpolate the value [left, right] for the screenX
77 float t = ((range - x) * left - x * right) / range;
H A DGLCanvasImpl.java354 // draw the rect from bottom-left to top-right
401 textureRect(target.left, target.top, target.width(), target.height());
426 source.left /= texWidth;
434 target.right = target.left + target.width() *
435 (xBound - source.left) / source.width();
518 fillRect(target.left, target.top, target.width(), target.height(), toColor);
540 textureRect(target.left, target.top, target.width(), target.height());
707 setTextureCoords(source.left, source.top, source.right, source.bottom);
710 private void setTextureCoords(float left, float top, argument
713 mTextureMatrixValues[0] = right - left;
[all...]
/packages/apps/Browser/src/com/android/browser/view/
H A DBasePieView.java109 * needs to set top, left, width, height
112 public void layout(int anchorX, int anchorY, boolean left, float angle, argument
115 mListener.onLayout(anchorX, anchorY, left);
/packages/apps/Camera/src/com/android/camera/ui/
H A DRotateLayout.java63 boolean change, int left, int top, int right, int bottom) {
64 int width = right - left;
62 onLayout( boolean change, int left, int top, int right, int bottom) argument
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DHandleView.java57 * @param left The left edge left position
58 * @param delta The offset relative to the left of the view
60 public boolean onMove(HandleView view, int left, int delta); argument
66 * @param left The left edge left position
67 * @param delta The offset relative to the left of the view
69 public void onMoveEnd(HandleView view, int left, in argument
[all...]
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/apps/Browser/src/com/android/browser/
H A DPageProgressView.java95 mBounds.left = 0;
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DPyramid.cpp112 void PyramidShort::BorderSpread(PyramidShort *pyr, int left, int right, argument
118 if (left || right) {
119 off = pyr->border - left;
127 for (w = left; w--;)
H A DBlend.cpp146 // Corners of the left-most and right-most frames respectively in the
174 if(x0 < xLeftCorners[0] || x1 < xLeftCorners[1]) // If either of the left corners is lower
212 fullRect.left = (int) floor(global_rect.lft); // min-x
216 Mwidth = (unsigned short) (fullRect.right - fullRect.left + 1);
223 xLeftMost = max(0, max(xLeftCorners[0], xLeftCorners[1]) - fullRect.left + 1);
224 xRightMost = min(Mwidth - 1, min(xRightCorners[0], xRightCorners[1]) - fullRect.left - 1);
274 cropping_rect.left = xLeftMost;
298 mosaicWidth = cropping_rect.right - cropping_rect.left + 1;
613 for (i = cropping_rect.left; i <= cropping_rect.right; i++)
621 for (i = cropping_rect.left;
[all...]
/packages/apps/Contacts/src/com/android/contacts/dialpad/
H A DDialpadImageButton.java77 mHoverBounds.left = getPaddingLeft();
/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) {
119 off = pyr->border - left;
127 for (w = left; w--;)
H A DBlend.cpp146 // Corners of the left-most and right-most frames respectively in the
174 if(x0 < xLeftCorners[0] || x1 < xLeftCorners[1]) // If either of the left corners is lower
212 fullRect.left = (int) floor(global_rect.lft); // min-x
216 Mwidth = (unsigned short) (fullRect.right - fullRect.left + 1);
223 xLeftMost = max(0, max(xLeftCorners[0], xLeftCorners[1]) - fullRect.left + 1);
224 xRightMost = min(Mwidth - 1, min(xRightCorners[0], xRightCorners[1]) - fullRect.left - 1);
274 cropping_rect.left = xLeftMost;
298 mosaicWidth = cropping_rect.right - cropping_rect.left + 1;
606 for (i = cropping_rect.left; i <= cropping_rect.right; i++)
614 for (i = cropping_rect.left;
[all...]
/packages/experimental/Bummer/src/com/android/dreams/bummer/
H A DBummerView.java94 public void onLayoutChange(View v, int left, int top, int right, int bottom,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DMoreKeysKeyboard.java106 // If the left keys fill the left side of the parent key, entire more keys keyboard
107 // should be shifted to the right unless the parent key is on the left edge.
113 // should be shifted to the left unless the parent key is on the right edge.
187 int left = 0;
198 // Assign left key if available.
199 if (left < leftKeys) {
200 left++;
201 pos = -left;
284 // left/righ
[all...]
/packages/inputmethods/LatinIME/native/jni/src/
H A Dproximity_info.cpp161 const int left = mKeyXCoordinates[keyId]; local
163 const int right = left + mKeyWidths[keyId];
165 const int edgeX = x < left ? left : (x > right ? right : x);
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DBummerView.java94 public void onLayoutChange(View v, int left, int top, int right, int bottom,
/packages/apps/LegacyCamera/src/com/android/camera/
H A DFocusManager.java278 int left = Util.clamp(x - focusWidth / 2, 0, previewWidth - focusWidth);
280 p.setMargins(left, top, 0, 0);
451 int left = Util.clamp(x - areaWidth / 2, 0, previewWidth - areaWidth);
454 RectF rectF = new RectF(left, top, left + areaWidth, top + areaHeight);

Completed in 475 milliseconds

12345678