OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:iconHeight
(Results
1 - 11
of
11
) 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
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
375
int
iconHeight
= icon.getIntrinsicHeight();
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) {
414
final int y = (height -
iconHeight
) / 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
iconHeight
= imageData.height;
94
if (w < iconWidth || h <
iconHeight
) {
101
y += h -
iconHeight
;
/bootable/recovery/
screen_ui.cpp
103
int
iconHeight
= gr_get_height(surface);
111
iconY = (gr_fb_height() - (
iconHeight
+textHeight+40+sh)) / 2;
114
int textY = ((gr_fb_height() - (
iconHeight
+textHeight+40+sh)) / 2) +
iconHeight
+ 40;
116
gr_blit(surface, 0, 0, iconWidth,
iconHeight
, iconX, iconY);
120
int y = iconY +
iconHeight
+ 20;
145
int
iconHeight
= gr_get_height(backgroundIcon[INSTALLING_UPDATE]);
150
int dy = (3*gr_fb_height() +
iconHeight
- 2*height)/4;
/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/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
484
final int
iconHeight
= icon.getIntrinsicHeight();
487
iconY = keyHeight -
iconHeight
;
489
iconY = (keyHeight -
iconHeight
) / 2; // Align vertically center.
492
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) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
KeyguardBottomAreaView.java
389
int
iconHeight
= getResources().getDimensionPixelSize(
393
if (icon.getIntrinsicHeight() !=
iconHeight
|| icon.getIntrinsicWidth() != iconWidth) {
394
icon = new IntrinsicSizeDrawable(icon, iconWidth,
iconHeight
);
/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 2763 milliseconds