Searched refs:iconHeight (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Settings/src/com/android/settings/ |
D | ActivityPicker.java | 371 int iconHeight = icon.getIntrinsicHeight(); in createIconThumbnail() local 373 if (iconWidth > 0 && iconHeight > 0) { in createIconThumbnail() 374 if (width < iconWidth || height < iconHeight) { in createIconThumbnail() 375 final float ratio = (float) iconWidth / iconHeight; in createIconThumbnail() 377 if (iconWidth > iconHeight) { in createIconThumbnail() 379 } else if (iconHeight > iconWidth) { in createIconThumbnail() 403 } else if (iconWidth < width && iconHeight < height) { in createIconThumbnail() 410 final int y = (height - iconHeight) / 2; in createIconThumbnail() 411 icon.setBounds(x, y, x + iconWidth, y + iconHeight); in createIconThumbnail()
|
/packages/apps/Camera/src/com/android/camera/ |
D | ModePicker.java | 295 int iconHeight = ((ImageView) mModeSelectionIcon[MODE_CAMERA]) in onLayout() local 297 int padding = (viewHeight - iconHeight) / 2; in onLayout() 302 (l + padding + iconHeight)); in onLayout()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardView.java | 629 final int iconHeight = icon.getIntrinsicHeight(); in onDrawKeyTopVisuals() local 630 final int iconY = (keyHeight - iconHeight) / 2; in onDrawKeyTopVisuals() 633 drawIcon(canvas, icon, iconX, iconY, iconWidth, iconHeight); in onDrawKeyTopVisuals() 636 drawIcon(canvas, icon, iconX, iconY, iconWidth, iconHeight); in onDrawKeyTopVisuals() 702 final int iconHeight = icon.getIntrinsicHeight(); in onDrawKeyTopVisuals() local 704 final int iconY = (keyHeight - iconHeight) / 2; in onDrawKeyTopVisuals() 715 drawIcon(canvas, icon, iconX, iconY, iconWidth, iconHeight); in onDrawKeyTopVisuals() 720 drawRectangle(canvas, iconX, iconY, iconWidth, iconHeight, 0x80c00000, line); in onDrawKeyTopVisuals()
|
D | LatinKeyboardView.java | 963 final int iconHeight = mAutoCorrectionSpacebarLedIcon.getIntrinsicHeight(); in drawSpacebar() local 965 int y = height - iconHeight; in drawSpacebar() 966 drawIcon(canvas, mAutoCorrectionSpacebarLedIcon, x, y, iconWidth, iconHeight); in drawSpacebar() 969 final int iconHeight = mSpaceIcon.getIntrinsicHeight(); in drawSpacebar() local 971 int y = height - iconHeight; in drawSpacebar() 972 drawIcon(canvas, mSpaceIcon, x, y, iconWidth, iconHeight); in drawSpacebar()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | SecondLevelIndicatorControlBar.java | 101 int iconHeight = firstIndicatorButton.getMeasuredHeight(); in getTouchViewIndex() local 102 int buttonRange = iconHeight + ICON_SPACING; in getTouchViewIndex()
|