/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
IconFactory.java | 31 * Builds an icon with the dimensions iconWidth:iconHeight. If scale is set 36 * @param iconWidth width of the icon bitmap. 39 * @return an icon bitmap with the dimensions iconWidth:iconHeight. 41 public static Bitmap createIcon(Bitmap sourceImage, int iconWidth, int iconHeight, 50 if (sourceWidth == 0 || sourceHeight == 0 || iconWidth == 0 || iconHeight == 0) { 54 Bitmap icon = Bitmap.createBitmap(iconWidth, iconHeight, 76 int iconWidth = dest.getWidth(); 79 if (sourceWidth == 0 || sourceHeight == 0 || iconWidth == 0 || iconHeight == 0) { 83 Rect destRect = new Rect(0, 0, iconWidth, iconHeight); 91 // crop image to aspect ratio iconWidth:iconHeigh [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
SecondLevelIndicatorControlBar.java | 85 int iconWidth = firstIndicatorButton.getMeasuredWidth(); 86 int buttonRange = iconWidth + ICON_SPACING; 178 int iconWidth = mCloseIcon.getMeasuredWidth(); 183 int increment = iconWidth + ICON_SPACING; 185 getChildAt(i).layout(offsetX, 0, offsetX + iconWidth, height); 190 offsetX = width - iconWidth - 2 * padding; 194 offsetX = width - iconWidth - padding; 196 mCloseIcon.layout(offsetX, 0, (offsetX + iconWidth), height);
|
/packages/apps/Settings/src/com/android/settings/ |
ActivityPicker.java | 374 int iconWidth = icon.getIntrinsicWidth(); 377 if (iconWidth > 0 && iconHeight > 0) { 378 if (width < iconWidth || height < iconHeight) { 379 final float ratio = (float) iconWidth / iconHeight; 381 if (iconWidth > iconHeight) { 383 } else if (iconHeight > iconWidth) { 407 } else if (iconWidth < width && iconHeight < height) { 413 final int x = (width - iconWidth) / 2; 415 icon.setBounds(x, y, x + iconWidth, y + iconHeight);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LintOverlay.java | 73 int iconWidth = imageData.width; 95 if (w < iconWidth || h < iconHeight) { 101 x += w - iconWidth;
|
/frameworks/base/core/java/android/app/ |
LauncherActivity.java | 281 final int iconWidth = icon.getIntrinsicWidth(); 291 if (width < iconWidth || height < iconHeight) { 292 final float ratio = (float) iconWidth / iconHeight; 294 if (iconWidth > iconHeight) { 296 } else if (iconHeight > iconWidth) { 318 } else if (iconWidth < width && iconHeight < height) { 324 final int x = (width - iconWidth) / 2; 326 icon.setBounds(x, y, x + iconWidth, y + iconHeight);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
ModePicker.java | 259 int iconWidth = ((ImageView) mModeSelectionIcon[MODE_CAMERA]) 261 int padding = (viewWidth - iconWidth) / 2; 265 (l + padding + iconWidth),
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
KeyboardView.java | 427 final int iconWidth = icon.getIntrinsicWidth(); 432 drawIcon(canvas, icon, iconX, iconY, iconWidth, iconHeight); 434 final int iconX = (int)(centerX + labelWidth / 2.0f - iconWidth); 435 drawIcon(canvas, icon, iconX, iconY, iconWidth, iconHeight); 494 final int iconWidth = Math.min(icon.getIntrinsicWidth(), keyWidth); 502 iconX = keyWidth - mKeyLabelHorizontalPadding - iconWidth; 503 alignX = iconX + iconWidth; 505 iconX = (keyWidth - iconWidth) / 2; 506 alignX = iconX + iconWidth / 2; 508 drawIcon(canvas, icon, iconX, iconY, iconWidth, iconHeight) [all...] |
MainKeyboardView.java | [all...] |
/bootable/recovery/ |
screen_ui.cpp | 103 int iconWidth = gr_get_width(surface); 105 gr_blit(surface, 0, 0, iconWidth, iconHeight, 121 int iconWidth = gr_get_width(surface); 129 int iconX = (gr_fb_width() - iconWidth) / 2; 135 gr_blit(surface, 0, 0, iconWidth, iconHeight, iconX, iconY);
|
/development/samples/Home/src/com/example/android/home/ |
Home.java | 630 final int iconWidth = icon.getIntrinsicWidth(); 639 if (width > 0 && height > 0 && (width < iconWidth || height < iconHeight)) { 640 final float ratio = (float) iconWidth / iconHeight; 642 if (iconWidth > iconHeight) { 644 } else if (iconHeight > iconWidth) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ShortcutIntentBuilder.java | 423 int iconWidth = icon.getWidth(); 424 dst.set(iconWidth - ((int) (20 * density)), -1, 425 iconWidth, ((int) (19 * density)));
|
ContactListItemView.java | 595 int iconWidth = mPresenceIcon.getMeasuredWidth(); 597 rightBound - iconWidth, 601 statusRightBound -= (iconWidth + mPresenceIconMargin); 613 int iconWidth = mPresenceIcon.getMeasuredWidth(); 617 leftBound + iconWidth, 619 statusLeftBound += (iconWidth + mPresenceIconMargin); [all...] |
/frameworks/ex/chips/src/com/android/ex/chips/ |
RecipientEditTextView.java | 594 int iconWidth = height; 598 calculateAvailableWidth() - iconWidth - widths[0]); 601 int width = Math.max(iconWidth * 2, (int) Math.floor(paint.measureText(ellipsizedText, 0, 603 + (mChipPadding * 2) + iconWidth); 643 RectF dst = new RectF(width - iconWidth + backgroundPadding.left, 652 iconWidth = 0; [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ActionBarView.java | [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ActionBarView.java | [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jar | |