Searched refs:left (Results 101 - 125 of 384) sorted by relevance

1234567891011>>

/packages/apps/Gallery/src/com/android/camera/
H A DImageViewTouchBase.java77 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 DButtonDropTarget.java271 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 DInsettableFrameLayout.java34 lp.leftMargin += (newInsets.left - oldInsets.left);
H A DLauncherRootView.java50 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 DPageIndicatorDots.java90 * 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 DCropView.java109 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 DProportionalLayout.java122 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 DPieItem.java165 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 DEdgeView.java54 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 DPhotoView.java479 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 DMeasureHelper.java48 getLength(widthSpec, mPreferredWidth + p.left + p.right),
H A DScrollBarView.java33 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 DIndicatorControlBar.java88 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 DPieItem.java187 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 DAppNotificationSettings.java366 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 DStopwatchFragment.java226 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 DDayOfMonthCursor.java28 * <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 DDeskClockFragment.java34 /** 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 DDialpadTextView.java52 // 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 DTimeBar.java118 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 DFace.java37 mPosition.left = Integer.parseInt(tokenizer.nextToken());
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DImageFilterRedEye.java70 rect[0] = (short) r.left;
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DNinePatchChunk.java68 chunk.mPaddings.left = byteBuffer.getInt();
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DPyramid.h47 static void BorderSpread(PyramidShort *pyr, int left, int right, int top, int bot);
/packages/apps/Messaging/jni/
H A DGifTranscoder.h71 int left,

Completed in 1144 milliseconds

1234567891011>>