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

  /packages/apps/Gallery3D/src/com/cooliris/media/
PathBarLayer.java 167 float iconWidth = (component.icon == 0) ? 0 : component.getIconWidth();
168 if (iconWidth == 0) {
169 iconWidth = 8 * App.PIXEL_DENSITY;
172 float thisComponentWidth = (i != numComponents - 1) ? iconWidth + offset : component.texture.computeTextWidth()
173 + iconWidth + offset;
238 float iconWidth = component.getIconWidth();
239 if (texture.computeTextWidth() <= (width - iconWidth)) {
240 float textOffset = (iconWidth == 0) ? 8 * App.PIXEL_DENSITY : iconWidth;
MenuBar.java 156 int iconWidth = icon != null ? icon.getWidth() : 0;
157 int width = iconWidth + menu.titleWidth;
164 view.draw2D(titleTexture, menu.x + offset + iconWidth, titleY);
  /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) {
402 } else if (iconWidth < width && iconHeight < height) {
408 final int x = (width - iconWidth) / 2;
410 icon.setBounds(x, y, x + iconWidth, y + iconHeight);
  /frameworks/base/core/java/android/app/
LauncherActivity.java 276 final int iconWidth = icon.getIntrinsicWidth();
286 if (width < iconWidth || height < iconHeight) {
287 final float ratio = (float) iconWidth / iconHeight;
289 if (iconWidth > iconHeight) {
291 } else if (iconHeight > iconWidth) {
312 } else if (iconWidth < width && iconHeight < height) {
318 final int x = (width - iconWidth) / 2;
320 icon.setBounds(x, y, x + iconWidth, y + iconHeight);
  /external/webkit/WebCore/rendering/
RenderFileUploadControl.cpp 48 const int iconWidth = 16;
163 - (m_fileChooser->icon() ? iconWidth + iconFilenameSpacing : 0));
206 + (m_fileChooser->icon() ? iconWidth + iconFilenameSpacing : 0);
230 iconX = contentLeft + contentWidth() - m_button->renderBox()->width() - afterButtonSpacing - iconWidth;
233 m_fileChooser->icon()->paint(paintInfo.context, IntRect(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) {
  /bootable/recovery/
ui.c 101 int iconWidth = gr_get_width(icon);
103 int iconX = (gr_fb_width() - iconWidth) / 2;
105 gr_blit(icon, 0, 0, iconWidth, iconHeight, iconX, iconY);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
LatinKeyboard.java 589 final int iconWidth = width * SPACE_LED_LENGTH_PERCENT / 100;
591 int x = (width - iconWidth) / 2;
593 mSpaceAutoCompletionIndicator.setBounds(x, y, x + iconWidth, y + iconHeight);
596 final int iconWidth = mSpaceIcon.getIntrinsicWidth();
598 int x = (width - iconWidth) / 2;
600 mSpaceIcon.setBounds(x, y, x + iconWidth, y + iconHeight);
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
ContactListItemView.java 247 int iconWidth = mPresenceIcon.getMeasuredWidth();
248 rightBound -= mPresenceIconMargin + iconWidth;
252 rightBound + iconWidth,
ContactsListActivity.java     [all...]

Completed in 1499 milliseconds