Home
last modified time | relevance | path

Searched refs:mMargin (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DIconView.java44 private int mMargin = 16; field in IconView
73 mMargin = res.getDimensionPixelOffset(R.dimen.category_panel_margin); in setup()
102 int x = (int) (canvas.getWidth() - textWidth - 2*mMargin); in drawText()
109 x = mMargin; in drawText()
111 int y = canvas.getHeight() - 2*mMargin; in drawText()
135 return mMargin; in getMargin()
181 mBitmapBounds = new Rect(mMargin/2, mMargin, getWidth() - mMargin/2, in computeBitmapBounds()
182 getHeight() - mTextSize - 2*mMargin); in computeBitmapBounds()
185 mBitmapBounds = new Rect(mMargin/2, mMargin, getWidth()/2, getHeight()); in computeBitmapBounds()
187 mBitmapBounds = new Rect(mMargin/2, mMargin, getWidth() - mMargin/2, getHeight()); in computeBitmapBounds()
[all …]
DCategorySelected.java14 private int mMargin = 20; field in CategorySelected
18 mMargin = getResources().getDimensionPixelSize(R.dimen.touch_circle_size); in CategorySelected()
23 mPaint.setStrokeWidth(mMargin); in onDraw()
28 getWidth()/2 - mMargin, mPaint); in onDraw()
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DBaseTestingActivity.java48 private int mMargin; field in BaseTestingActivity
62 mMargin = Math.round(TypedValue.applyDimension( in onCreate()
65 mView.setPadding(mMargin, mMargin, mMargin, mMargin); in onCreate()
80 lp.bottomMargin = mMargin; in addButton()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropView.java67 private int mMargin = 32; field in CropView
103 mMargin = (int) rsc.getDimension(R.dimen.preview_margin); in setup()
300 mScreenBounds.inset(mMargin, mMargin); in onDraw()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java114 private final int mMargin; field in ArrowPopup
155 mMargin = resources.getDimensionPixelSize(R.dimen.popup_margin); in ArrowPopup()
267 mlp.bottomMargin = mMargin; in assignMarginsAndBackgrounds()
566 int childMargins = (numVisibleChildren - 1) * mMargin; in orientAboutObject()