Home
last modified time | relevance | path

Searched refs:mIconSize (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Camera/src/com/android/camera/ui/
DZoomControlBar.java48 private int mIconSize; field in ZoomControlBar
95 mIconSize = mZoomIn.getMeasuredHeight(); in onSizeChanged()
98 mIconSize = mZoomIn.getMeasuredWidth(); in onSizeChanged()
100 mTotalIconSize = mIconSize + ICON_SPACING; in onSizeChanged()
176 mZoomOut.layout(0, 0, size, mIconSize); in onLayout()
177 mZoomIn.layout(0, mSize - mIconSize, size, mSize); in onLayout()
180 mZoomIn.layout(0, 0, size, mIconSize); in onLayout()
181 mZoomOut.layout(0, mSize - mIconSize, size, mSize); in onLayout()
189 mZoomIn.layout(0, 0, mIconSize, size); in onLayout()
190 mZoomOut.layout(mSize - mIconSize, 0, mSize, size); in onLayout()
[all …]
/packages/apps/Contacts/src/com/android/contacts/list/
DShortcutIntentBuilder.java83 private int mIconSize; field in ShortcutIntentBuilder
117 mIconSize = r.getDimensionPixelSize(R.dimen.shortcut_icon_size); in ShortcutIntentBuilder()
118 if (mIconSize == 0) { in ShortcutIntentBuilder()
119 mIconSize = am.getLauncherLargeIconSize(); in ShortcutIntentBuilder()
330 Bitmap icon = Bitmap.createBitmap(mIconSize, mIconSize, Bitmap.Config.ARGB_8888); in generateQuickContactIcon()
338 Rect dst = new Rect(0,0, mIconSize, mIconSize); in generateQuickContactIcon()
366 Bitmap icon = Bitmap.createBitmap(mIconSize, mIconSize, Bitmap.Config.ARGB_8888); in generatePhoneNumberIcon()
374 Rect dst = new Rect(0, 0, mIconSize, mIconSize); in generatePhoneNumberIcon()
397 dst.set(0 + mBorderWidth, mIconSize - textBandHeight, mIconSize - mBorderWidth, in generatePhoneNumberIcon()
398 mIconSize - mBorderWidth); in generatePhoneNumberIcon()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DUndoBarView.java39 private final int mIconSize; field in UndoBarView
62 mIconSize = (int) GalleryUtils.dpToPixel(32); in UndoBarView()
78 + mIconMargin + mIconSize + mSeparatorRightMargin; in UndoBarView()
109 x -= mIconMargin + mIconSize; in render()
110 y = (mBarHeight - mIconSize) / 2; in render()
111 mUndoIcon.draw(canvas, x, y, mIconSize, mIconSize); in render()