Searched refs:left (Results 251 - 275 of 384) sorted by relevance

<<111213141516

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DDetailsHelper.java57 public void layout(int left, int top, int right, int bottom) { argument
H A DTiledScreenNail.java181 canvas.fillRect(dest.left, dest.top, dest.width(), dest.height(),
/packages/apps/Launcher2/src/com/android/launcher2/
H A DAppWidgetResizeFrame.java122 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 DFaceView.java138 mFaceIndicator.setBounds(Math.round(mRect.left), Math.round(mRect.top),
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
H A DGalleryGridItemView.java87 public void onLayoutChange(View v, int left, int top, int right, int bottom,
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
H A DDialpadKeyButton.java128 mHoverBounds.left = getPaddingLeft();
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DButteryProgressBar.java122 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 DKeyPreviewView.java85 final int maxWidth = background.getIntrinsicWidth() - mBackgroundPadding.left
/packages/apps/Launcher3/src/com/android/launcher3/folder/
H A DFolder.java1124 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 DContactListItemView.java74 * 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 DSlideshowPage.java94 protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
95 mSlideshowView.layout(0, 0, right - left, bottom - top);
H A DAlbumPage.java126 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 DAlbumSetPage.java132 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 DMtpImageView.java185 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 DLauncherAppWidgetHostView.java361 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 DWidgetsBottomSheet.java141 // 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 DVideoThumbnailView.java335 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 DPhotoTable.java367 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 DCarLayoutManager.java789 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 DCropImage.java444 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 DGridViewSpecial.java192 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 DWearableListView.java165 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 DFilmstripView.java161 /** 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 DMonthWeekEventsView.java565 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 DCalculatorResult.java72 // 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...]

Completed in 662 milliseconds

<<111213141516