HomeSort by relevance Sort by last modified time
    Searched refs:iconWidth (Results 1 - 19 of 19) sorted by null

  /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/Launcher3/src/com/android/launcher3/
ClickShadowView.java 94 int iconWidth = view.getRight() - view.getLeft();
95 int iconHSpace = iconWidth - view.getCompoundPaddingRight() - view.getCompoundPaddingLeft();
102 + iconWidth * (1 - view.getScaleX()) / 2 /* gap due to scale */
  /frameworks/base/wifi/java/android/net/wifi/passpoint/
WifiPasspointOsuProvider.java 57 public int iconWidth;
97 sb.append(" icon: <").append(iconWidth).append("x")
120 out.writeInt(iconWidth);
138 osu.iconWidth = in.readInt();
  /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 72 int iconWidth = imageData.width;
94 if (w < iconWidth || h < iconHeight) {
100 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);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
LockIcon.java 120 int iconWidth = getResources().getDimensionPixelSize(
123 || icon.getIntrinsicWidth() != iconWidth)) {
124 icon = new IntrinsicSizeDrawable(icon, iconWidth, 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/
MoreKeysKeyboardView.java 96 final int iconWidth = Math.min(mDivider.getIntrinsicWidth(), keyWidth);
98 final int iconX = (keyWidth - iconWidth) / 2; // Align horizontally center
100 drawIcon(canvas, mDivider, iconX, iconY, iconWidth, iconHeight);
KeyboardView.java 489 final int iconWidth;
491 iconWidth = (int)(keyWidth * mSpacebarIconWidthRatio);
493 iconWidth = Math.min(icon.getIntrinsicWidth(), keyWidth);
502 final int iconX = (keyWidth - iconWidth) / 2; // Align horizontally center.
503 drawIcon(canvas, icon, iconX, iconY, iconWidth, iconHeight);
  /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 408 int iconWidth = icon.getWidth();
409 dst.set(iconWidth - ((int) (20 * density)), -1,
410 iconWidth, ((int) (19 * density)));
ContactListItemView.java 598 int iconWidth = mPresenceIcon.getMeasuredWidth();
600 rightBound - iconWidth,
604 statusRightBound -= (iconWidth + mPresenceIconMargin);
616 int iconWidth = mPresenceIcon.getMeasuredWidth();
620 leftBound + iconWidth,
622 statusLeftBound += (iconWidth + mPresenceIconMargin);
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/conversation/
ConversationMessageView.java 195 final int iconWidth = mContactIconView.getMeasuredWidth();
198 final int contentWidth = (right -left) - iconWidth - getPaddingLeft() - getPaddingRight();
206 iconLeft = (right - left) - getPaddingRight() - iconWidth;
210 contentLeft = iconLeft + iconWidth;
215 contentLeft = iconLeft + iconWidth;
217 iconLeft = (right - left) - getPaddingRight() - iconWidth;
222 mContactIconView.layout(iconLeft, iconTop, iconLeft + iconWidth, iconTop + iconHeight);
    [all...]
  /bootable/recovery/
screen_ui.cpp 99 int iconWidth = gr_get_width(surface);
107 iconX = (gr_fb_width() - iconWidth) / 2;
113 gr_blit(surface, 0, 0, iconWidth, iconHeight, iconX, iconY);
  /frameworks/opt/chips/src/com/android/ex/chips/
RecipientEditTextView.java 697 // the chip. Don't include iconWidth for invalid contacts.
698 int iconWidth = contact.isValid() ?
703 calculateAvailableWidth() - iconWidth - widths[0] - backgroundPadding.left
711 int width = Math.max(iconWidth * 2, textWidth + startPadding + mChipTextEndPadding
712 + iconWidth + backgroundPadding.left + backgroundPadding.right);
739 int iconX = shouldPositionAvatarOnRight() ? width - backgroundPadding.right - iconWidth :
743 result.right = iconX + iconWidth;
    [all...]
  /frameworks/base/core/java/com/android/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 

Completed in 1043 milliseconds