/packages/apps/Gallery/src/com/android/camera/ |
H A D | ImageViewTouchBase.java | 77 protected void onLayout(boolean changed, int left, int top, argument 79 super.onLayout(changed, left, top, right, bottom); 80 mThisWidth = right - left; 218 deltaX = (viewWidth - width) / 2 - rect.left; 219 } else if (rect.left > 0) { 220 deltaX = -rect.left;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | ButtonDropTarget.java | 271 final int left; 276 left = right - width; 278 left = to.left + getPaddingLeft(); 279 right = left + width; 285 to.set(left, top, right, bottom);
|
H A D | InsettableFrameLayout.java | 34 lp.leftMargin += (newInsets.left - oldInsets.left);
|
H A D | LauncherRootView.java | 50 mDrawSideInsetBar = (insets.right > 0 || insets.left > 0) && 54 mLeftInsetBarWidth = insets.left; 67 // Apply margins on aligned view to handle left/right insets.
|
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
H A D | PageIndicatorDots.java | 90 * 0.77 => Active dot has left position 0 and is collapsing towards position 1 134 // scroll is within the left page's threshold 137 // scroll is far enough from left page to go to the right page 140 // scroll is between left and right page 279 sTempRect.left = startX + startCircle * circleGap; 280 sTempRect.right = sTempRect.left + diameter; 286 // Dot is leaving the left circle. 290 sTempRect.left += delta * circleGap * 2; 295 sTempRect.right = getWidth() - sTempRect.left; 296 sTempRect.left [all...] |
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
H A D | CropView.java | 109 edgesOut.left = leftEdge; 124 float cropLeft = -edges.left / scale; 199 mCenterX = screenWidth / 2 + offset * (crop.width() - screenWidth) + crop.left; 216 mCenterX += Math.ceil(edges.left / scale); 307 if (edges.left > 0) { 308 adjustment[0] = edges.left / scale;
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
H A D | ProportionalLayout.java | 122 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 128 child.layout(0, 0, right-left, bottom-top);
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
H A D | PieItem.java | 165 public void setBounds(int left, int top, int right, int bottom) { argument 166 mDrawable.setBounds(left, top, right, bottom);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | EdgeView.java | 54 boolean changeSize, int left, int top, int right, int bottom) { 57 int w = right - left; 62 } else { // left or right 53 onLayout( boolean changeSize, int left, int top, int right, int bottom) argument
|
H A D | PhotoView.java | 479 boolean changeSize, int left, int top, int right, int bottom) { 480 int w = right - left; 525 int l = mCameraRelativeFrame.left; 692 int left = r.left; 694 float progress = calculateMoveOutProgress(left, right, viewW); 709 if (right - left <= viewW) { 715 // zoomed-in), keep the left edge of the object align 716 // the the left edge of the view. 717 cxPage = (right - left) * scal 478 onLayout( boolean changeSize, int left, int top, int right, int bottom) argument 1717 calculateMoveOutProgress(int left, int right, int viewWidth) argument [all...] |
H A D | MeasureHelper.java | 48 getLength(widthSpec, mPreferredWidth + p.left + p.right),
|
H A D | ScrollBarView.java | 33 private int mGripPosition; // left side of the grip 56 boolean changed, int left, int top, int right, int bottom) { 55 onLayout( boolean changed, int left, int top, int right, int bottom) argument
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | IndicatorControlBar.java | 88 boolean changed, int left, int top, int right, int bottom) { 92 // We have (equal) paddings at left and right, but no padding at top or 95 int width = right - left; 87 onLayout( boolean changed, int left, int top, int right, int bottom) argument
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
H A D | PieItem.java | 187 public void setBounds(int left, int top, int right, int bottom) { argument 188 mDrawable.setBounds(left, top, right, bottom);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
H A D | AppNotificationSettings.java | 366 public int compare(NotificationChannel left, NotificationChannel right) { 367 if (left.isDeleted() != right.isDeleted()) { 368 return Boolean.compare(left.isDeleted(), right.isDeleted()); 370 return left.getId().compareTo(right.getId()); 378 public int compare(NotificationChannelGroup left, NotificationChannelGroup right) { 380 if (left.getId() == null && right.getId() != null) { 382 } else if (right.getId() == null && left.getId() != null) { 385 return left.getId().compareTo(right.getId());
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
H A D | StopwatchFragment.java | 226 public void onLeftButtonClick(@NonNull Button left) { argument 274 public void onUpdateFabButtons(@NonNull Button left, @NonNull Button right) { argument 276 left.setClickable(true); 277 left.setText(R.string.sw_reset_button); 278 left.setContentDescription(resources.getString(R.string.sw_reset_button)); 282 left.setVisibility(INVISIBLE); 287 left.setVisibility(VISIBLE); 295 left.setVisibility(VISIBLE); 435 final int left = sceneRoot.getPaddingLeft(); 437 sceneRoot.setPadding(left, to 653 onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | DayOfMonthCursor.java | 28 * <li>Provides methods to move the cursor up / down / left / right.</li> 138 * Move left one box, potentially flipping to the previous month. 142 public boolean left() { method in class:DayOfMonthCursor
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | DeskClockFragment.java | 34 /** The container that houses the fab and its left and right buttons. */ 57 public void onLeftButtonClick(@NonNull Button left) { argument 79 * @param fabContainer the container that houses the fab and its left and right buttons
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
H A D | DialpadTextView.java | 52 // standard origin such as 0, 0, we need to use negative of the left/top bounds. 54 canvas.drawText(mTextStr, -mTextBounds.left, -mTextBounds.top, paint);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | TimeBar.java | 118 mPlayedBar.left + (int) ((mProgressBar.width() * (long) mCurrentTime) / mTotalTime); 120 mPlayedBar.right = mProgressBar.left; 163 int min = mProgressBar.left - half; 168 return (int) ((long) (mScrubberLeft + mScrubber.getWidth() / 2 - mProgressBar.left)
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | Face.java | 37 mPosition.left = Integer.parseInt(tokenizer.nextToken());
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | ImageFilterRedEye.java | 70 rect[0] = (short) r.left;
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | NinePatchChunk.java | 68 chunk.mPaddings.left = byteBuffer.getInt();
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Pyramid.h | 47 static void BorderSpread(PyramidShort *pyr, int left, int right, int top, int bot);
|
/packages/apps/Messaging/jni/ |
H A D | GifTranscoder.h | 71 int left,
|