Searched refs:icon (Results 176 - 200 of 274) sorted by relevance

1234567891011

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DHotspotTile.java99 state.icon = state.visible && state.value ? mEnable : mDisable;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewLayersActivity.java112 v.setCompoundDrawablesWithIntrinsicBounds(r.getDrawable(R.drawable.icon),
H A DViewLayersActivity5.java131 v.setCompoundDrawablesWithIntrinsicBounds(r.getDrawable(R.drawable.icon),
H A DViewPropertyAlphaActivity.java90 text.setSpan(new ImageSpan(this, R.drawable.icon), 21, 22,
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DBridgeActionBar.java114 /** Setup things like the title, subtitle, icon etc. */
124 protected abstract void setIcon(String icon); argument
/frameworks/base/core/java/android/app/
H A DActionBar.java66 * <p>When using the Holo themes the action bar shows the application icon on
72 * (formerly "Home") takes over the space previously occupied by the application icon.
101 * Standard navigation mode. Consists of either a logo or icon
150 * Use logo instead of icon if available. This flag will cause appropriate
151 * navigation modes to use a wider logo in place of the standard icon.
160 * navigation elements. This includes logo and icon.
212 * Custom navigation views appear between the application icon and
226 * <p>Custom navigation views appear between the application icon and
246 * <p>Custom navigation views appear between the application icon and
262 * Set the icon t
289 setIcon(Drawable icon) argument
1154 setIcon(Drawable icon) argument
[all...]
H A DActivityManager.java581 * @param icon An icon that represents the current state of this task.
584 public TaskDescription(String label, Bitmap icon, int colorPrimary) { argument
590 mIcon = icon;
604 * @param icon An icon that represents the current state of this activity.
606 public TaskDescription(String label, Bitmap icon) { argument
607 this(label, icon, 0);
661 * Sets the icon for this task description.
664 public void setIcon(Bitmap icon) { argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DRecentsTaskLoadPlan.java126 // Load the label, icon, and color
140 Bitmap icon = t.taskDescription != null
151 icon, iconFilename);
237 if (DEBUG) Log.d(TAG, "\tLoading icon: " + taskKey);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialog.java392 row.icon = (ImageButton) row.view.findViewById(R.id.volume_row_icon);
393 row.icon.setImageResource(iconRes);
394 row.icon.setOnClickListener(new OnClickListener() {
705 // update icon
707 row.icon.setEnabled(iconEnabled);
708 row.icon.setAlpha(iconEnabled ? 1 : 0.5f);
722 row.icon.setImageResource(iconRes);
731 row.icon.setContentDescription(ss.name);
1110 private ImageButton icon; field in class:VolumeDialog.VolumeRow
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuItemWrapperICS.java96 public MenuItem setIcon(Drawable icon) { argument
97 mWrappedObject.setIcon(icon);
H A DMenuBuilder.java144 * Header icon for menu types that have a header and support icons (context)
199 * Called when the mode of the menu changes (for example, from icon to expanded).
1183 final Drawable icon, final View view) {
1189 // If using a custom view, then the title and icon aren't used
1201 } else if (icon != null) {
1202 mHeaderIcon = icon;
1205 // If using the title or icon, then a custom view isn't used
1238 * Sets the header's icon. This replaces the header view. Called by the
1241 * @param icon The new icon
1182 setHeaderInternal(final int titleRes, final CharSequence title, final int iconRes, final Drawable icon, final View view) argument
1244 setHeaderIconInt(Drawable icon) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java242 public Drawable icon; field in class:Keyboard.Key
243 /** Preview version of the icon, for the preview popup */
381 icon = a.getDrawable(
383 if (icon != null) {
384 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight());
H A DKeyboardView.java721 } else if (key.icon != null) {
723 - key.icon.getIntrinsicWidth()) / 2 + padding.left;
725 - key.icon.getIntrinsicHeight()) / 2 + padding.top;
727 key.icon.setBounds(0, 0,
728 key.icon.getIntrinsicWidth(), key.icon.getIntrinsicHeight());
729 key.icon.draw(canvas);
909 if (key.icon != null) {
911 key.iconPreview != null ? key.iconPreview : key.icon);
/frameworks/base/core/java/android/preference/
H A DPreference.java567 final ImageView imageView = (ImageView) view.findViewById(com.android.internal.R.id.icon);
687 * Sets the icon for this Preference with a Drawable.
688 * This icon will be placed into the ID
689 * {@link android.R.id#icon} within the View created by
692 * @param icon The optional icon for this Preference.
694 public void setIcon(Drawable icon) { argument
695 if ((icon == null && mIcon != null) || (icon != null && mIcon != icon)) {
[all...]
H A DPreferenceActivity.java261 ImageView icon; field in class:PreferenceActivity.HeaderAdapter.HeaderViewHolder
286 holder.icon = (ImageView) view.findViewById(com.android.internal.R.id.icon);
299 holder.icon.setVisibility(View.GONE);
301 holder.icon.setVisibility(View.VISIBLE);
302 holder.icon.setImageResource(header.iconRes);
305 holder.icon.setImageResource(header.iconRes);
392 * Optional icon resource to show for this header.
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
H A DApplicationsState.java305 if (entry.icon != null) {
854 if (entry.icon == null || !entry.mounted) {
1036 // AppInfo with new label, icon and size information as appropriate
1112 public Drawable icon; field in class:ApplicationsState.AppEntry
1147 if (this.icon == null) {
1149 this.icon = getBadgedIcon(pm);
1153 this.icon = context.getDrawable(
1158 // its icon.
1161 this.icon = getBadgedIcon(pm);
/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java351 * Specifies the icon to display next to the alert title.
353 * @param resId the resource identifier of the drawable to use as the icon,
354 * or 0 for no icon
370 * Specifies the icon to display next to the alert title.
372 * @param icon the drawable to use as the icon or null for no icon
374 public void setIcon(Drawable icon) { argument
375 mIcon = icon;
379 if (icon !
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuBuilder.java127 /** Header icon for menu types that have a header and support icons (context) */
172 * Called when the mode of the menu changes (for example, from icon to expanded).
1127 final Drawable icon, final View view) {
1133 // If using a custom view, then the title and icon aren't used
1145 } else if (icon != null) {
1146 mHeaderIcon = icon;
1149 // If using the title or icon, then a custom view isn't used
1182 * Sets the header's icon. This replaces the header view. Called by the
1185 * @param icon The new icon
1126 setHeaderInternal(final int titleRes, final CharSequence title, final int iconRes, final Drawable icon, final View view) argument
1188 setHeaderIconInt(Drawable icon) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAlertController.java332 * Specifies the icon to display next to the alert title.
334 * @param resId the resource identifier of the drawable to use as the icon,
335 * or 0 for no icon
351 * Specifies the icon to display next to the alert title.
353 * @param icon the drawable to use as the icon or null for no icon
355 public void setIcon(Drawable icon) { argument
356 mIcon = icon;
360 if (icon !
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DScrollingTabContainerView.java432 final Drawable icon = tab.getIcon();
435 if (icon != null) {
445 mIconView.setImageDrawable(icon);
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DQsTuner.java136 state.icon = ResourceIcon.get(R.drawable.ic_delete);
153 state.icon = ResourceIcon.get(R.drawable.ic_add_circle_qs);
414 state.icon = ResourceIcon.get(getIcon());
/frameworks/base/services/core/java/com/android/server/am/
H A DTaskPersister.java258 final Bitmap icon = getImageFromWriteQueue(filename);
259 if (icon != null) {
260 return icon;
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java398 // Custom action labels are discouraged in L; a checkmark icon is shown in place of the
696 // Since the icon is a square, it's width is equal to the maximum height it can be inside
738 // Set the variables that are needed to draw the icon bitmap once it's loaded
750 * Helper function that draws the loaded icon bitmap into the chips bitmap
752 private void drawIcon(ChipBitmapContainer bitMapResult, Bitmap icon) { argument
754 final RectF src = new RectF(0, 0, icon.getWidth(), icon.getHeight());
757 drawIconOnCanvas(icon, canvas, src, dst);
774 * Returns the avatar icon to use for this recipient entry. Returns null if we don't want to
775 * draw an icon fo
870 drawIconOnCanvas(Bitmap icon, Canvas canvas, RectF src, RectF dst) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DScrollingTabContainerView.java470 final Drawable icon = tab.getIcon();
473 if (icon != null) {
483 mIconView.setImageDrawable(icon);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionMenuPresenter.java166 public void setOverflowIcon(Drawable icon) { argument
168 mOverflowButton.setImageDrawable(icon);
171 mPendingOverflowIcon = icon;

Completed in 764 milliseconds

1234567891011