/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | GLES11Canvas.java | 355 // 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 D | GLES20Canvas.java | 593 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 D | Folder.java | 651 // 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 D | PhotoUI.java | 101 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 D | FocusOverlayManager.java | 549 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 D | StrequentsFragment.java | 296 // 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 D | InterpolatingLayout.java | 279 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 D | BandController_GridModelTest.java | 313 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 D | CommonControllerOverlay.java | 249 // | 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 D | EdgeEffect.java | 427 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 D | InputStreamProvider.java | 143 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 D | PhotoCarousel.java | 278 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 D | CircleBitmapDrawable.java | 54 int width = bounds.right - bounds.left;
|
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/view/ |
H A D | PagedListView.java | 343 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 D | MoreContactUtils.java | 177 * 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 D | PreviewImageView.java | 67 lp.x = mTempRect.left;
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
H A D | IconNormalizer.java | 163 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 D | LauncherIcons.java | 270 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 D | ShortcutDragPreviewProvider.java | 75 canvas.translate(bounds.left, bounds.top);
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | GridOccupancy.java | 87 markCells(r.left, r.top, r.width(), r.height(), value);
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Delaunay.h | 123 #define left(a) orig(rotinv(a)) macro
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | ZoomControlBar.java | 59 // 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 D | OrientedBitmapDrawable.java | 92 mDstRect.set((int) rotatedRect.left, (int) rotatedRect.top, (int) rotatedRect.right,
|
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/ |
H A D | AttachmentGridItemView.java | 72 public void onLayoutChange(View v, int left, int top, int right, int bottom,
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
H A D | WallpaperCropActivity.java | 384 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;
|