Searched refs:left (Results 176 - 200 of 384) sorted by relevance

1234567891011>>

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DGLES11Canvas.java355 // draw the rect from bottom-left to top-right
402 textureRect(target.left, target.top, target.width(), target.height());
427 source.left /= texWidth;
435 target.right = target.left + target.width() *
436 (xBound - source.left) / source.width();
519 fillRect(target.left, target.top, target.width(), target.height(), toColor);
541 textureRect(target.left, target.top, target.width(), target.height());
702 setTextureCoords(source.left, source.top, source.right, source.bottom);
705 private void setTextureCoords(float left, float top, argument
708 mTextureMatrixValues[0] = right - left;
[all...]
H A DGLES20Canvas.java593 int left = 0;
598 left = 1;
603 outRect.set(left, top, right, bottom);
636 mTempTextureMatrix[12] = source.left;
649 source.left /= texWidth;
657 target.right = target.left + target.width() * (xBound - source.left) / source.width();
678 draw(params, GLES20.GL_TRIANGLE_STRIP, COUNT_FILL_VERTEX, target.left, target.top,
780 fillRect(target.left, target.top, target.width(), target.height(), toColor);
998 bounds.left
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFolder.java651 // These represent the visual top and left of drag view if a dragRect was provided.
652 // If a dragRect was not provided, then they correspond to the actual view left and
655 int left = x - xOffset;
659 res[0] = left + dragView.getDragRegion().width() / 2;
804 int centerX = (int) (mTempRect.left + mTempRect.width() * scale / 2);
822 int left = Math.min(Math.max(bounds.left, centeredLeft),
823 bounds.left + bounds.width() - width);
828 left = bounds.left
[all...]
/packages/apps/Camera2/src/com/android/camera/
H A DPhotoUI.java101 public void onPreviewLayoutChanged(View v, int left, int top, int right, argument
103 int width = right - left;
229 params.setMargins((int) previewArea.left, (int) previewArea.top, 0, 0);
H A DFocusOverlayManager.java549 int left = CameraUtil.clamp(x - size / 2, mPreviewRect.left,
554 RectF rectF = new RectF(left, top, left + size, top + size);
/packages/apps/Car/Dialer/src/com/android/car/dialer/
H A DStrequentsFragment.java296 // The left edge of the divider should align with the left edge of text_container.
301 int left = textContainer.getLeft() + container.getLeft() + card.getLeft();
302 int right = left + textContainer.getWidth();
314 c.drawRect(left, top, right, bottom, mPaint);
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DInterpolatingLayout.java279 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
281 int width = right - left;
313 child.layout(mOutRect.left, mOutRect.top, mOutRect.right, mOutRect.bottom);
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/
H A DBandController_GridModelTest.java313 int left = VIEW_PADDING_PX + (j * (width + VIEW_PADDING_PX));
317 left,
319 left + width - 1,
/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
268 int pl = insets.left; // the left paddings
274 int w = right - left;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DEdgeEffect.java427 public void setBounds(int left, int top, int right, int bottom) { argument
428 mBounds.set(left, top, right, bottom);
439 draw(canvas, b.left, b.top, b.width(), b.height());
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
H A DInputStreamProvider.java143 cropBounds.left /= scaleDownSampleSize;
152 roundedTrueCrop.right = roundedTrueCrop.left + fullSize.getWidth();
155 // Adjust the left and right values.
167 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.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/Car/libs/car-apps-common/src/com/android/car/apps/common/
H A DCircleBitmapDrawable.java54 int width = bounds.right - bounds.left;
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/view/
H A DPagedListView.java343 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
361 super.onLayout(changed, left, top, right, bottom);
532 int left = mDividerStartMargin + startChild.getLeft();
540 c.drawRect(left, top, right, bottom, mPaint);
/packages/apps/Dialer/java/com/android/contacts/common/
H A DMoreContactUtils.java177 * Returns the {@link android.graphics.Rect} with left, top, right, and bottom coordinates that
187 rect.left = pos[0];
/packages/apps/Launcher3/src/com/android/launcher3/folder/
H A DPreviewImageView.java67 lp.x = mTempRect.left;
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
H A DIconNormalizer.java163 mMatrix.postTranslate(mBounds.left, mBounds.top);
200 mBounds.left, mBounds.top,
332 mBounds.left = leftX;
339 outBounds.set(((float) mBounds.left) / width, ((float) mBounds.top),
362 * @param direction 1 for left border and -1 for right border.
H A DLauncherIcons.java270 final int left = (textureWidth-width) / 2;
276 Math.min(left, top));
280 icon.setBounds(left, top, left+width, top+height);
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
H A DShortcutDragPreviewProvider.java75 canvas.translate(bounds.left, bounds.top);
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DGridOccupancy.java87 markCells(r.left, r.top, r.width(), r.height(), value);
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DDelaunay.h123 #define left(a) orig(rotinv(a)) macro
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DZoomControlBar.java59 // For left-hand users, as the device is rotated for 180 degree for
119 // layout for the left-hand camera control
126 boolean changed, int left, int top, int right, int bottom) {
130 // For left-hand users, as the device is rotated for 180 degree,
125 onLayout( boolean changed, int left, int top, int right, int bottom) argument
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DOrientedBitmapDrawable.java92 mDstRect.set((int) rotatedRect.left, (int) rotatedRect.top, (int) rotatedRect.right,
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
H A DAttachmentGridItemView.java72 public void onLayoutChange(View v, int left, int top, int right, int bottom,
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
H A DWallpaperCropActivity.java384 cropRect.left = Math.max(0, cropRect.left);
391 // (or all the way to the left, in RTL)
392 float extraSpace = ltr ? rotatedInSize[0] - cropRect.right : cropRect.left;
400 cropRect.left -= extraSpace;

Completed in 557 milliseconds

1234567891011>>