Home
last modified time | relevance | path

Searched refs:mMargin (Results 1 – 4 of 4) 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()