/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
H A D | SelectionRenderer.java | 24 public static void drawSelection(Canvas canvas, int left, int top, int right, int bottom, argument 26 canvas.drawRect(left, top, right, top + stroke, paint); 28 canvas.drawRect(left, top, left + stroke, bottom, paint); 29 canvas.drawRect(right - stroke, top, right, bottom, paint); 32 public static void drawSelection(Canvas canvas, int left, int top, int right, int bottom, argument 34 canvas.drawRect(left, top, right, top + stroke, selectPaint); 36 canvas.drawRect(left, top, left + stroke, bottom, selectPaint); 37 canvas.drawRect(right - stroke, top, righ [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | EventGeometry.java | 48 public boolean computeEventRect(int date, int left, int top, int cellWidth, Event event) { argument 87 event.top = top; 88 event.top += (int) (startTime * cellMinuteHeight); 89 event.top += startHour * mHourGap; 91 event.bottom = top; 96 if (event.bottom < event.top + mMinEventHeight) { 97 event.bottom = event.top + mMinEventHeight; 111 && event.top < selection.bottom && event.bottom >= selection.top) { [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/animation/ |
H A D | RectEvaluatorCompat.java | 40 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction); 43 return new Rect(left, top, right, bottom);
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
H A D | NinePatchDrawHelper.java | 42 public void draw(Bitmap bitmap, Canvas canvas, float left, float top, float right) { argument 45 mSrc.top = 0; 47 mDst.top = top; 48 mDst.bottom = top + height; 58 public void drawVerticallyStretched(Bitmap bitmap, Canvas canvas, float left, float top, argument 60 draw(bitmap, canvas, left, top, right); 64 mSrc.top = height - EXTENSION_PX / 4; 66 mDst.top = top [all...] |
H A D | TintedDrawableSpan.java | 43 int iconSize = fm.bottom - fm.top; 50 int start, int end, float x, int top, int y, int bottom, Paint paint) { 56 super.draw(canvas, text, start, end, x, top, y, bottom, paint); 49 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
H A D | TextViewCompatUtils.java | 36 final Drawable start, final Drawable top, final Drawable end, final Drawable bottom) { 38 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom); 42 start, top, end, bottom); 35 setCompoundDrawablesRelativeWithIntrinsicBounds(final TextView textView, final Drawable start, final Drawable top, final Drawable end, final Drawable bottom) argument
|
H A D | ViewCompatUtils.java | 49 public static void setPaddingRelative(final View view, final int start, final int top, argument 52 view.setPadding(start, top, end, bottom); 55 CompatUtils.invoke(view, null, METHOD_setPaddingRelative, start, top, end, bottom);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | MarginDrawable.java | 59 if (s.top < s.bottom && s.left < s.right) { 61 if (s.top > 0) { 62 canvas.drawRect(0, 0, cb.right, s.top + 1, mPaint); 65 canvas.drawRect(0, s.top, s.left + 1, s.bottom, mPaint); 68 canvas.drawRect(s.right - 1, s.top, cb.right, s.bottom, mPaint);
|
H A D | ProgressOverlay.java | 45 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 46 super.onLayout(changed, left, top, right, bottom); 49 mCenterY = (bottom - top) / 2; 62 params.setMargins((int) area.left, (int) area.top, 0, 0);
|
H A D | GridLines.java | 53 canvas.drawLine(mDrawBounds.left + x, mDrawBounds.top, 57 canvas.drawLine(mDrawBounds.left, mDrawBounds.top + y, 58 mDrawBounds.right, mDrawBounds.top + y, mPaint);
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
H A D | OverlayRenderer.java | 29 private int top; field in class:OverlayRenderer 69 public void layout(int left, int top, int right, int bottom) { argument 72 this.top = top; 89 return bottom - top;
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
H A D | RoundedRectRevealOutlineProvider.java | 53 mOutline.top = (int) ((1 - progress) * mStartRect.top + progress * mEndRect.top);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
H A D | CropDrawingUtils.java | 38 float y = bounds.top + stepY; 40 canvas.drawLine(x, bounds.top, x, bounds.bottom, p); 65 r.set(0,0,w,bounds.top); 67 r.set(0,bounds.top,bounds.left,h); 71 r.set(bounds.right,bounds.top,w,bounds.bottom); 78 int top = (int) centerY - indicatorSize / 2; 79 indicator.setBounds(left, top, left + indicatorSize, top + indicatorSize); 88 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.left, bounds.top); 91 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.right, bounds.top); [all...] |
H A D | CropObject.java | 208 dy = Math.min(crop.top + dY, crop.bottom - minWidthHeight) - crop.top; 215 dy = Math.max(crop.bottom + dY, crop.top + minWidthHeight) 224 crop.right, crop.top 227 l1[1] = crop.top; 248 crop.top += dy; 269 float top = Math.abs(y - cropped.top); 274 if ((left <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top) 278 else if ((right <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/ |
H A D | ViewGroupFocusHelper.java | 39 outRect.top = 0; 46 outRect.top += (1 - v.getScaleY()) * v.getHeight() / 2; 49 outRect.bottom = outRect.top + (int) (v.getScaleY() * v.getHeight()); 55 outRect.top += child.getY();
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | MosaicTypes.h | 37 left = right = top = bottom = 0.0; 47 return bottom - top; 53 int left, right, top, bottom; member in class:MosaicRect 59 double lft, rgt, top, bot; member in class:BlendRect
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | SoftLandingInterpolator.java | 35 private final float top; field in class:SoftLandingInterpolator 44 top = mI + epsilon; 55 } else if (input < top) { 56 final float alpha = (input - bottom) / (top - bottom);
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | EvenlySpacedLayout.java | 84 int top = 0; 90 child.layout(left, top, left + w, top + h); 110 int top = mKeepEndSpace ? spacing : 0; 117 child.layout(left, top, left + w, top + h); 118 top += h; 119 top += spacing;
|
H A D | ActionMenuButton.java | 78 final int top = getExtendedPaddingTop(); 81 top + layout.getLineTop(0) - PADDING_V, 84 top + layout.getLineBottom(0) + PADDING_V);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | FolderListLayout.java | 47 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 49 super.onLayout(changed, left, top, right, bottom);
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
H A D | Cling.java | 38 public void onLayoutChange(View v, int left, int top, int right, int bottom, 56 * Layout on top of a reference view. 77 * Adjust the translation of the cling to stay on top of the reference view. 86 // Align center with the reference view and move on top 88 int top = refTopY - getHeight(); 95 setTranslationY(top - currentTop);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherAppTransitionManager.java | 38 int left = 0, top = 0; 46 top = v.getPaddingTop(); 51 return ActivityOptions.makeClipRevealAnimation(v, left, top, width, height);
|
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/ |
H A D | PointMeteringParameters.java | 45 * normalized portrait coordinates such that (0, 0) is top left 48 * normalized portrait coordinates such that (0, 0) is top left 107 int yCenterSensor = (int) (cropRegion.top + nsc.y * cropRegion.height()); 117 meteringRegion.top = clamp(meteringRegion.top, cropRegion.top, cropRegion.bottom); 120 meteringRegion.bottom = clamp(meteringRegion.bottom, cropRegion.top,
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
H A D | WidgetImageView.java | 104 mDstRectF.top = 0; 107 mDstRectF.top = (myHeight - scaledHeight) / 2; 116 int top = Utilities.boundToRange( 119 mBadge.setBounds(left, top, bounds.width() + left, bounds.height() + top);
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
H A D | PercentageBarChart.java | 77 final int top = getPaddingTop(); 97 canvas.drawRect(left, top, nextX, bottom, e.paint); 101 canvas.drawRect(lastX, top, nextX, bottom, e.paint); 106 canvas.drawRect(left, top, nextX, bottom, mEmptyPaint); 121 canvas.drawRect(lastX, top, right, bottom, e.paint); 125 canvas.drawRect(lastX, top, nextX, bottom, e.paint); 130 canvas.drawRect(lastX, top, right, bottom, mEmptyPaint);
|