/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
IconFactory.java | 31 * Builds an icon with the dimensions iconWidth:iconHeight. If scale is set 37 * @param iconHeight height 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, 77 int iconHeight = dest.getHeight(); 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:iconHeight [all...] |
/packages/apps/Settings/src/com/android/settings/ |
ActivityPicker.java | 379 int iconHeight = icon.getIntrinsicHeight(); 381 if (iconWidth > 0 && iconHeight > 0) { 382 if (width < iconWidth || height < iconHeight) { 383 final float ratio = (float) iconWidth / iconHeight; 385 if (iconWidth > iconHeight) { 387 } else if (iconHeight > iconWidth) { 411 } else if (iconWidth < width && iconHeight < height) { 418 final int y = (height - iconHeight) / 2; 419 icon.setBounds(x, y, x + iconWidth, y + iconHeight);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
AddAccessoryPreferenceFragment.java | 92 final int iconHeight = 94 tempDrawable.setBounds(0, 0, iconWidth, iconHeight); 96 Bitmap.createBitmap(iconWidth, iconHeight, Bitmap.Config.ARGB_8888);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LintOverlay.java | 73 int iconHeight = imageData.height; 94 if (w < iconWidth || h < iconHeight) { 101 y += h - iconHeight;
|
/frameworks/base/core/java/android/app/ |
LauncherActivity.java | 282 final int iconHeight = icon.getIntrinsicHeight(); 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) { 325 final int y = (height - iconHeight) / 2; 326 icon.setBounds(x, y, x + iconWidth, y + iconHeight);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ClickShadowView.java | 99 int iconHeight = view.getBottom() - view.getTop(); 110 setClipBounds(new Rect(clipLeft, clipTop, clipLeft + iconWidth, clipTop + iconHeight));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
LockIcon.java | 167 int iconHeight = getResources().getDimensionPixelSize( 171 if (!anyFingerprintIcon && (icon.getIntrinsicHeight() != iconHeight 173 icon = new IntrinsicSizeDrawable(icon, iconWidth, iconHeight);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
MoreKeysKeyboardView.java | 97 final int iconHeight = mDivider.getIntrinsicHeight(); 99 final int iconY = (keyHeight - iconHeight) / 2; // Align vertically center 100 drawIcon(canvas, mDivider, iconX, iconY, iconWidth, iconHeight);
|
KeyboardView.java | 495 final int iconHeight = icon.getIntrinsicHeight(); 498 iconY = keyHeight - iconHeight; 500 iconY = (keyHeight - iconHeight) / 2; // Align vertically center. 503 drawIcon(canvas, icon, iconX, iconY, iconWidth, iconHeight);
|
/development/samples/Home/src/com/example/android/home/ |
Home.java | 631 final int iconHeight = icon.getIntrinsicHeight(); 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) {
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
FileURLConnection.java | 185 int iconHeight;
|
/packages/apps/Settings/src/com/android/settings/display/ |
ConversationMessageView.java | 132 final int iconHeight = mContactIconView.getMeasuredHeight(); 159 mContactIconView.layout(iconLeft, iconTop, iconLeft + iconWidth, iconTop + iconHeight);
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
AllAppsRecyclerView.java | 156 final int iconHeight = icon.getLayoutParams().height; 157 mViewHeights.put(AllAppsGridAdapter.VIEW_TYPE_ICON, iconHeight); 158 mViewHeights.put(AllAppsGridAdapter.VIEW_TYPE_PREDICTION_ICON, iconHeight);
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
PopupContainerWithArrow.java | 500 int iconHeight = icon.getIcon() != null 506 y = mTempRect.top + icon.getPaddingTop() + iconHeight; [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ActionBarView.java | [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
ConversationMessageView.java | 196 final int iconHeight = mContactIconView.getMeasuredHeight(); 222 mContactIconView.layout(iconLeft, iconTop, iconLeft + iconWidth, iconTop + iconHeight); [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
RecipientEditTextView.java | [all...] |
/external/robolectric/v3/runtime/ |
android-all-4.1.2_r1-robolectric-0.jar | |
android-all-4.2.2_r1.2-robolectric-0.jar | |
android-all-4.3_r2-robolectric-0.jar | |
android-all-4.4_r1-robolectric-1.jar | |
/prebuilts/misc/common/robolectric/lib/ |
android-all-4.1.2_r1-robolectric-0.jar | |
android-all-4.2.2_r1.2-robolectric-0.jar | |
android-all-4.3_r2-robolectric-0.jar | |
android-all-4.4_r1-robolectric-1.jar | |