/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | DetailsHelper.java | 57 public void layout(int left, int top, int right, int bottom) { argument
|
H A D | TiledScreenNail.java | 181 canvas.fillRect(dest.left, dest.top, dest.width(), dest.height(),
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | AppWidgetResizeFrame.java | 122 mWidgetPaddingLeft = p.left; 343 widgetView.updateAppWidgetSize(null, mTmpRect.left, mTmpRect.top, 356 int cellWidth = landMetrics.left; 364 cellWidth = portMetrics.left;
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | FaceView.java | 138 mFaceIndicator.setBounds(Math.round(mRect.left), Math.round(mRect.top),
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
H A D | GalleryGridItemView.java | 87 public void onLayoutChange(View v, int left, int top, int right, int bottom,
|
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/ |
H A D | DialpadKeyButton.java | 128 mHoverBounds.left = getPaddingLeft();
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | ButteryProgressBar.java | 122 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 148 // Because the left-most segment doesn't start all the way on the left, and because it moves 149 // towards the right as it animates, we need to offset all drawing towards the left. This 150 // ensures that the left-most detent starts at the left origin, and that the left portion
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | KeyPreviewView.java | 85 final int maxWidth = background.getIntrinsicWidth() - mBackgroundPadding.left
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
H A D | Folder.java | 1124 int left = Math.min(Math.max(sTempRect.left, centeredLeft), 1135 left = (grid.availableWidthPx - width) / 2; 1138 left = sTempRect.left + (sTempRect.width() - width) / 2; 1147 left = Math.max(folderBounds.left, Math.min(left, folderBounds.right - width)); 1151 int folderPivotX = width / 2 + (centeredLeft - left); 1163 lp.x = left; [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
H A D | ContactListItemView.java | 74 * to the left of the photo, the text lines are aligned to the left and the presence icon (if 75 * present) is set to the left of the status line. 113 // Set in onLayout. Represent left and right position of the View on the screen. 156 * the photo should have horizontal padding on those left assuming there is a photo. 539 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 541 final int width = right - left; 550 // Put the section header on the left side of the contact view. 552 // Align the text view all the way left, to be consistent with Contacts. 575 mBoundsWithoutHeader.set(left [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | SlideshowPage.java | 94 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { 95 mSlideshowView.layout(0, 0, right - left, bottom - top);
|
H A D | AlbumPage.java | 126 rect.offset(bounds.left - mSlotView.getScrollX(), 153 boolean changed, int left, int top, int right, int bottom) { 157 int slotViewRight = right - left; 160 mDetailsHelper.layout(left, slotViewTop, right, bottom); 169 (right - left) / 2, (bottom - top) / 2, -mUserDistance);
|
H A D | AlbumSetPage.java | 132 boolean changed, int left, int top, int right, int bottom) { 137 int slotViewRight = right - left; 140 mDetailsHelper.layout(left, slotViewTop, right, bottom); 186 center[0] = offset.left + (r.left + r.right) / 2 - scrollX;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
H A D | MtpImageView.java | 185 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 186 super.onLayout(changed, left, top, right, bottom);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherAppWidgetHostView.java | 361 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 363 super.onLayout(changed, left, top, right, bottom);
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
H A D | WidgetsBottomSheet.java | 141 // If there is only one widget, we want to center it instead of left-align. 258 // Extend behind left, right, and bottom insets. 259 int leftInset = insets.left - mInsets.left;
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | VideoThumbnailView.java | 335 protected void onLayout(final boolean changed, final int left, final int top, final int right, argument 340 child.layout(0, 0, right - left, bottom - top);
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | PhotoTable.java | 367 final double[] left = { Math.sin(alpha - beta), 379 if (cross(delta, left) > 0.0 && cross(delta, right) < 0.0) { 425 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 426 super.onLayout(changed, left, top, right, bottom); 427 log("onLayout (%d, %d, %d, %d)", left, top, right, bottom); 430 mWidth = right - left; 532 public void onLayoutChange(View v, int left, int top, int right, int bottom, 708 /** On deck is to the left or right of the selected photo. */ 830 hit.right < 0f || hit.left > getWidth());
|
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/view/ |
H A D | CarLayoutManager.java | 789 int left = getPaddingLeft() + params.leftMargin; 791 int right = left + getDecoratedMeasuredWidth(anchor); 793 layoutDecorated(anchor, left, top, right, bottom); 827 int left = getPaddingLeft() + newRowParams.leftMargin; 828 int right = left + getDecoratedMeasuredWidth(newRow); 838 layoutDecorated(newRow, left, top, right, bottom);
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | CropImage.java | 444 if (faceRect.left < 0) { 445 faceRect.inset(-faceRect.left, -faceRect.left); 565 protected void onLayout(boolean changed, int left, int top, argument 567 super.onLayout(changed, left, top, right, bottom); 740 int panDeltaX1 = Math.max(0, mLeft - r.left);
|
H A D | GridViewSpecial.java | 192 public void onLayout(boolean changed, int left, int top, argument 194 super.onLayout(changed, left, top, right, bottom); 202 int width = right - left; 208 // We determine number of cells (columns) first, then the left and right 209 // padding are derived. We make left and right paddings the same size. 506 int left = mSpec.mLeftEdgePadding 510 return new Rect(left, top, 511 left + mSpec.mCellWidth + mSpec.mCellSpacing,
|
/packages/apps/PackageInstaller/src/android/support/wearable/view/ |
H A D | WearableListView.java | 165 public void onLayoutChange(View v, int left, int top, int right, int bottom, 984 final int left = getPaddingLeft(); 997 v.layout(left, top, right, bottom); 1046 final int left = getPaddingLeft(); 1063 v.layout(left, top, right, bottom); 1093 v.layout(left, top, right, bottom);
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
H A D | FilmstripView.java | 161 /** The position of the left of the view in the whole filmstrip. */ 258 /** Sets the left position of the view in the whole filmstrip. */ 263 /** Returns the left position of the view in the whole filmstrip. */ 470 private void layoutAt(int left, int top) { argument 471 mView.layout(left, top, left + mView.getMeasuredWidth(), 480 r.left = mView.getX(); 482 r.right = r.left + mView.getWidth() * mView.getScaleX(); 504 int left = 507 layoutAt(left, to [all...] |
/packages/apps/Calendar/src/com/android/calendar/month/ |
H A D | MonthWeekEventsView.java | 565 r.left = computeDayLeftPosition(mTodayIndex) + (TODAY_HIGHLIGHT_WIDTH / 2); 574 // Computes the x position for the left side of the given day 637 r.left = 0; 640 // compute left edge for i, set up r, draw 645 // compute left edge for i, set up r, draw 647 r.left = computeDayLeftPosition(i - offset); 653 r.left = computeDayLeftPosition(mTodayIndex); 665 r.left = computeDayLeftPosition(mClickedDayIndex); 790 // left side of box 812 * @param x the top left corne [all...] |
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
H A D | CalculatorResult.java | 72 // left of the display. Zero means decimal point is barely displayed 75 private int mMinPos; // Minimum position to avoid unnecessary blanks on the left. Pixels. 81 // the left. 1 = tenths position, -1 = units. Integer.MAX_VALUE is sometimes used 349 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 350 super.onLayout(changed, left, top, right, bottom); 424 * @param msd Position of most significant digit. Offset from left of string. 640 * We add an ellipsis on the left if the result was truncated. 699 // with one digit to the left of the decimal point. Insert decimal point and 758 // Add commas to the whole number section, and then truncate on left to fit, 1032 outRect.left [all...] |