Home
last modified time | relevance | path

Searched refs:mArrow (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java71 private final View mArrow; field in ArrowPopup
101 mArrow = new View(context); in ArrowPopup()
102 mArrow.setLayoutParams(new DragLayer.LayoutParams(arrowWidth, arrowHeight)); in ArrowPopup()
176 getPopupContainer().addView(mArrow); in reorderAndShow()
177 DragLayer.LayoutParams arrowLp = (DragLayer.LayoutParams) mArrow.getLayoutParams(); in reorderAndShow()
179 mArrow.setX(getX() + arrowCenterOffset - halfArrowWidth); in reorderAndShow()
181 mArrow.setX(getX() + getMeasuredWidth() - arrowCenterOffset - halfArrowWidth); in reorderAndShow()
187 mArrow.setVisibility(INVISIBLE); in reorderAndShow()
196 mArrow.setBackground(arrowDrawable); in reorderAndShow()
199 mArrow.setClipBounds(new Rect(0, -mArrowOffset, arrowLp.width, arrowLp.height)); in reorderAndShow()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DMaterialProgressDrawable.java494 private Path mArrow; field in MaterialProgressDrawable.Ring
556 if (mArrow == null) { in drawTriangle()
557 mArrow = new android.graphics.Path(); in drawTriangle()
558 mArrow.setFillType(android.graphics.Path.FillType.EVEN_ODD); in drawTriangle()
560 mArrow.reset(); in drawTriangle()
573 mArrow.moveTo(0, 0); in drawTriangle()
574 mArrow.lineTo(mArrowWidth * mArrowScale, 0); in drawTriangle()
575 mArrow.lineTo((mArrowWidth * mArrowScale / 2), (mArrowHeight in drawTriangle()
577 mArrow.offset(x - inset, y); in drawTriangle()
578 mArrow.close(); in drawTriangle()
[all …]