OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:iconWidth
(Results
1 - 14
of
14
) sorted by null
/packages/apps/Settings/src/com/android/settings/
ActivityPicker.java
370
int
iconWidth
= icon.getIntrinsicWidth();
373
if (
iconWidth
> 0 && iconHeight > 0) {
374
if (width <
iconWidth
|| height < iconHeight) {
375
final float ratio = (float)
iconWidth
/ iconHeight;
377
if (
iconWidth
> iconHeight) {
379
} else if (iconHeight >
iconWidth
) {
403
} else if (
iconWidth
< width && iconHeight < height) {
409
final int x = (width -
iconWidth
) / 2;
411
icon.setBounds(x, y, x +
iconWidth
, y + iconHeight);
/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);
/external/webkit/Source/WebCore/rendering/
RenderFileUploadControl.cpp
51
const int
iconWidth
= 16;
186
- (m_fileChooser->icon() ?
iconWidth
+ iconFilenameSpacing : 0));
230
+ (m_fileChooser->icon() ?
iconWidth
+ iconFilenameSpacing : 0);
254
iconX = contentLeft + contentWidth() - m_button->renderBox()->width() - afterButtonSpacing -
iconWidth
;
257
m_fileChooser->icon()->paint(paintInfo.context, IntRect(iconX, iconY,
iconWidth
, iconHeight));
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
LatinKeyboard.java
308
final int
iconWidth
= width * SPACE_LED_LENGTH_PERCENT / 100;
310
int x = (width -
iconWidth
) / 2;
312
mAutoCorrectionSpacebarLedIcon.setBounds(x, y, x +
iconWidth
, y + iconHeight);
315
final int
iconWidth
= mSpaceIcon.getIntrinsicWidth();
317
int x = (width -
iconWidth
) / 2;
319
mSpaceIcon.setBounds(x, y, x +
iconWidth
, y + iconHeight);
KeyboardView.java
619
final int
iconWidth
= icon.getIntrinsicWidth();
624
drawIcon(canvas, icon, iconX, iconY,
iconWidth
, iconHeight);
626
final int iconX = (int)(centerX + labelWidth / 2 -
iconWidth
);
627
drawIcon(canvas, icon, iconX, iconY,
iconWidth
, iconHeight);
690
final int
iconWidth
= icon.getIntrinsicWidth();
698
iconX = keyWidth - (int)params.mKeyLabelHorizontalPadding -
iconWidth
;
699
alignX = iconX +
iconWidth
;
701
iconX = (keyWidth -
iconWidth
) / 2;
702
alignX = iconX +
iconWidth
/ 2;
704
drawIcon(canvas, icon, iconX, iconY,
iconWidth
, iconHeight)
[
all
...]
/packages/apps/Camera/src/com/android/camera/
ModePicker.java
255
int
iconWidth
= ((ImageView) mModeSelectionIcon[MODE_CAMERA])
257
int padding = (viewWidth -
iconWidth
) / 2;
261
(l + padding +
iconWidth
),
/bootable/recovery/
ui.c
114
int
iconWidth
= gr_get_width(surface);
116
gr_blit(surface, 0, 0,
iconWidth
, iconHeight,
131
int
iconWidth
= gr_get_width(surface);
133
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
) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
GlobalScreenshot.java
120
int
iconWidth
= data.iconSize;
123
iconWidth
= (int) (((float) iconHeight / imageHeight) * imageWidth);
125
iconHeight = (int) (((float)
iconWidth
/ imageWidth) * imageHeight);
127
Bitmap rawIcon = Bitmap.createScaledBitmap(data.image,
iconWidth
, iconHeight, true);
128
Bitmap croppedIcon = Bitmap.createBitmap(rawIcon, (
iconWidth
- data.iconSize) / 2,
/packages/apps/Contacts/src/com/android/contacts/list/
ShortcutIntentBuilder.java
393
int
iconWidth
= icon.getWidth();
394
dst.set(
iconWidth
- ((int) (20 * density)), -1,
395
iconWidth
, ((int) (19 * density)));
ContactListItemView.java
524
int
iconWidth
= mPresenceIcon.getMeasuredWidth();
528
leftBound +
iconWidth
,
530
statusLeftBound += (
iconWidth
+ mPresenceIconMargin);
[
all
...]
/frameworks/ex/chips/src/com/android/ex/chips/
RecipientEditTextView.java
453
int
iconWidth
= height;
458
calculateAvailableWidth(false) -
iconWidth
);
461
int width = Math.max(
iconWidth
* 2, (int) Math.floor(paint.measureText(ellipsizedText, 0,
463
+ (mChipPadding * 2) +
iconWidth
);
497
RectF dst = new RectF(width -
iconWidth
+ backgroundPadding.left,
507
iconWidth
= 0;
[
all
...]
/frameworks/base/core/java/com/android/internal/widget/
ActionBarView.java
[
all
...]
/packages/apps/Launcher2/src/com/android/launcher2/
Workspace.java
[
all
...]
Completed in 542 milliseconds