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.java47 private int mMargin; field in BaseTestingActivity
61 mMargin = Math.round(TypedValue.applyDimension( in onCreate()
64 mView.setPadding(mMargin, mMargin, mMargin, mMargin); in onCreate()
78 lp.bottomMargin = mMargin; in addButton()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DFastScroller.java76 private final int mMargin; field in FastScroller
146 mMargin = margin; in FastScroller()
533 mVerticalRange[0] = mMargin; in getVerticalRange()
534 mVerticalRange[1] = mRecyclerViewHeight - mMargin; in getVerticalRange()
542 mHorizontalRange[0] = mMargin; in getHorizontalRange()
543 mHorizontalRange[1] = mRecyclerViewWidth - mMargin; in getHorizontalRange()
/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()