Searched refs:mMargin (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
D | IconView.java | 44 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 …]
|
D | CategorySelected.java | 14 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/ |
D | BaseTestingActivity.java | 48 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/ |
D | CropView.java | 67 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/ |
D | ArrowPopup.java | 114 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()
|