/packages/apps/Settings/src/com/android/settings/sim/ |
SimPreferenceDialog.java | 216 holder.icon = (ImageView) rowView.findViewById(R.id.color_icon); 227 holder.icon.setVisibility(View.VISIBLE); 228 holder.icon.setImageDrawable(holder.swatch); 242 holder.icon.setVisibility(View.VISIBLE); 248 ImageView icon; field in class:SimPreferenceDialog.SelectColorAdapter.ViewHolder
|
SimDialogActivity.java | 303 holder.icon = (ImageView) rowView.findViewById(R.id.icon); 314 holder.icon.setImageDrawable(getResources() 316 holder.icon.setAlpha(OPACITY); 320 holder.icon.setImageBitmap(sir.createIconBitmap(mContext)); 328 ImageView icon; field in class:SimDialogActivity.SelectAccountListAdapter.ViewHolder
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
FolderIcon.java | 85 * An icon that can appear on in the workspace representing an {@link Folder}. 184 FolderIcon icon = (FolderIcon) LayoutInflater.from(launcher).inflate(resId, group, false); local 186 icon.setClipToPadding(false); 187 icon.mFolderName = (BubbleTextView) icon.findViewById(R.id.folder_icon_name); 188 icon.mFolderName.setText(folderInfo.title); 189 icon.mFolderName.setCompoundDrawablePadding(0); 190 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) icon.mFolderName.getLayoutParams(); 193 icon.setTag(folderInfo); 194 icon.setOnClickListener(launcher) [all...] |
/frameworks/base/libs/input/ |
PointerController.cpp | 315 const SpriteIcon& icon = c.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE) > 0 local 325 spot->updateSprite(&icon, x, y); 466 void PointerController::setCustomPointerIcon(const SpriteIcon& icon) { 470 mLocked.additionalMouseResources[iconId] = icon; 649 ALOGW("Can't find the resource for icon id %d", mLocked.requestedPointerType); 741 void PointerController::Spot::updateSprite(const SpriteIcon* icon, float x, float y) { 750 if (icon != lastIcon) { 751 lastIcon = icon; 752 if (icon) { 753 sprite->setIcon(*icon); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
KeyboardView.java | 392 final Drawable icon = (keyboard == null) ? null local 487 // Draw key icon. 488 if (label == null && icon != null) { 490 if (key.getCode() == Constants.CODE_SPACE && icon instanceof NinePatchDrawable) { 493 iconWidth = Math.min(icon.getIntrinsicWidth(), keyWidth); 495 final int iconHeight = icon.getIntrinsicHeight(); 503 drawIcon(canvas, icon, iconX, iconY, iconWidth, iconHeight); 530 protected static void drawIcon(@Nonnull final Canvas canvas,@Nonnull final Drawable icon, 533 icon.setBounds(0, 0, width, height); 534 icon.draw(canvas) [all...] |
/frameworks/base/media/java/android/media/tv/ |
TvInputInfo.java | 34 import android.graphics.drawable.Icon; 135 private final Icon mIcon; 136 private final Icon mIconStandby; 137 private final Icon mIconDisconnected; 160 * @param iconUri The {@link android.net.Uri} to load the icon image. See 162 * the application icon of {@code service} will be loaded. 189 * @param icon The {@link android.graphics.drawable.Icon} to load the icon image. If it is 190 * {@code null}, the application icon of {@code service} will be loaded [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
GlobalActionsDialog.java | 612 Drawable icon = user.iconPath != null ? Drawable.createFromPath(user.iconPath) 615 R.drawable.ic_menu_cc, icon, 810 protected SinglePressAction(int iconResId, Drawable icon, CharSequence message) { 814 mIcon = icon; 839 ImageView icon = (ImageView) v.findViewById(R.id.icon); 850 icon.setImageDrawable(mIcon); 851 icon.setScaleType(ScaleType.CENTER_CROP); 853 icon.setImageDrawable(context.getDrawable(mIconResId)); 866 * A toggle action knows whether it is on or off, and displays an icon [all...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
LegacyGlobalActions.java | 613 Drawable icon = user.iconPath != null ? Drawable.createFromPath(user.iconPath) 616 com.android.internal.R.drawable.ic_menu_cc, icon, 813 protected SinglePressAction(int iconResId, Drawable icon, CharSequence message) { 817 mIcon = icon; 842 ImageView icon = (ImageView) v.findViewById(R.id.icon); 853 icon.setImageDrawable(mIcon); 854 icon.setScaleType(ScaleType.CENTER_CROP); 856 icon.setImageDrawable(context.getDrawable(mIconResId)); 869 * A toggle action knows whether it is on or off, and displays an icon [all...] |
/packages/apps/Car/Media/src/com/android/car/media/ |
MediaPlaybackFragment.java | 391 Bitmap icon = getMetadataBitmap(metadata); local 397 icon == null || mReturnFromOnStop ? 0 : mShowTitleDelayMs); 400 if (icon != null) { 401 Bitmap scaledIcon = cropAlbumArt(icon); 402 if (scaledIcon != icon && !icon.isRecycled()) { 403 icon.recycle(); 732 private Bitmap cropAlbumArt(Bitmap icon) { 733 if (icon == null) { 736 int width = icon.getWidth() 779 Drawable icon = resources.getDrawable(resId, null); local [all...] |
/external/okhttp/website/static/ |
bootstrap-combined.min.css | [all...] |
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
DeviceDiscoveryService.java | 290 private Drawable BLUETOOTH_ICON = icon(android.R.drawable.stat_sys_data_bluetooth); 291 private Drawable WIFI_ICON = icon(com.android.internal.R.drawable.ic_wifi_signal_3); 293 private Drawable icon(int drawableRes) { method in class:DeviceDiscoveryService.DevicesAdapter 294 Drawable icon = getResources().getDrawable(drawableRes, null); local 295 icon.setTint(Color.DKGRAY); 296 return icon;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
LockscreenFragment.java | 156 public final ImageView icon; field in class:LockscreenFragment.Holder 162 icon = (ImageView) itemView.findViewById(android.R.id.icon); 181 return mShortcut.icon.loadDrawable(mContext); 280 holder.icon.setImageDrawable(item.getDrawable()); 361 mIconState.drawable = shortcut.icon.loadDrawable(context).mutate();
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
GuidedAction.java | 31 * and a description, and typically also an icon. 316 * Sets the action's icon drawable. 317 * @param icon The drawable for the icon associated with this action. 319 public B icon(Drawable icon) { method in class:GuidedAction.BuilderBase 320 mIcon = icon; 325 * Sets the action's icon drawable by retrieving it by resource ID from the specified 327 * {@link #icon(Drawable)}. 328 * @param iconResourceId The resource ID for the icon associated with this action 343 public B icon(@DrawableRes int iconResourceId) { method in class:GuidedAction.BuilderBase [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
InstallShortcutReceiver.java | 49 public static final String ICON_KEY = "icon"; 89 if (info.icon != null) { 90 byte[] iconByteArray = ItemInfo.flattenBitmap(info.icon); 163 Bitmap icon; field in class:InstallShortcutReceiver.PendingInstallShortcutInfo 195 Bitmap icon = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_ICON); local 204 info.icon = icon;
|
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
UserEventDispatcher.java | 239 public void logDeepShortcutsOpen(View icon) { 240 LogContainerProvider provider = getLaunchProviderRecursive(icon); 241 if (icon == null || !(icon.getTag() instanceof ItemInfo)) { 244 ItemInfo info = (ItemInfo) icon.getTag(); 247 provider.fillInLogContainerData(icon, info, event.srcTarget[0], event.srcTarget[1]);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/ |
AppPermissionsFragment.java | 176 Drawable icon = appInfo.loadIcon(pm); local 178 fragment.setHeader(icon, label, infoIntent, fragment.getString( 211 Drawable icon = Utils.loadDrawable(context.getPackageManager(), local 213 preference.setIcon(Utils.applyTint(getContext(), icon, local 259 * displays the app name and banner icon. It's used in both system and additional permissions 416 Drawable icon = appInfo.loadIcon(pm); local 418 fragment.setHeader(icon, label, infoIntent, fragment.getString(
|
/packages/apps/Settings/src/com/android/settings/ |
MasterClear.java | 309 Drawable icon = null; local 314 icon = context.getPackageManager().getUserBadgedIcon( 320 Log.w(TAG, "Invalid icon id for account type " + desc.type, e); 322 if (icon == null) { 323 icon = context.getPackageManager().getDefaultActivityIcon(); 327 ((ImageView) child.findViewById(android.R.id.icon)).setImageDrawable(icon);
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
AppsAsyncLoader.java | 420 public Drawable icon; field in class:AppsAsyncLoader.PackageInfo 435 Drawable icon, 443 this.icon = icon; 487 public Builder setIcon(Drawable icon) { 488 this.mIcon = icon;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
BaseContentFragment.java | 151 final ImageView iconImageView = (ImageView) view.findViewById(R.id.icon); 177 return (ImageView) mFragment.getView().findViewById(R.id.icon); 272 final ImageView iconImageView = (ImageView) mFragment.getView().findViewById(R.id.icon); 286 final ImageView iconImageView = (ImageView) mFragment.getView().findViewById(R.id.icon); 308 private void addShadow(ImageView icon, View view) { 311 shadowLayout.addShadowView(icon);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
RenderPreview.java | 873 Image icon = IconFactory.getInstance().getIcon("renderError"); //$NON-NLS-1$ local 874 ImageData data = icon.getImageData(); 881 gc.drawImage(icon, x + (width - data.width) / 2, y + (height - data.height) / 2); 901 Image icon = IconFactory.getInstance().getIcon("refreshPreview"); \/\/$NON-NLS-1\$ local 984 Image icon = null; local 1015 Image icon = IconFactory.getInstance().getIcon("android_file"); \/\/$NON-NLS-1\$ local [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
NotificationCompatImplBase.java | 283 contentView.setInt(R.id.icon, 288 contentView.setInt(R.id.icon, 294 // On versions before Jellybean, the large icon was shown by SystemUI, so we need to hide 297 contentView.setViewVisibility(R.id.icon, View.VISIBLE); 298 contentView.setImageViewBitmap(R.id.icon, largeIcon); 300 contentView.setViewVisibility(R.id.icon, View.GONE); 320 } else if (smallIcon != 0) { // small icon at left 321 contentView.setViewVisibility(R.id.icon, View.VISIBLE); 333 contentView.setImageViewBitmap(R.id.icon, smallBit); 335 contentView.setImageViewBitmap(R.id.icon, 416 Drawable icon = ctx.getResources().getDrawable(iconId).mutate(); local [all...] |
/frameworks/base/core/java/android/print/ |
IPrintSpooler.aidl | 20 import android.graphics.drawable.Icon; 73 * Handle that a custom icon for a printer was loaded. 75 * @param printerId the id of the printer the icon belongs to 76 * @param icon the icon that was loaded 77 * @param callbacks the callback to call once icon is stored in case 81 void onCustomPrinterIconLoaded(in PrinterId printerId, in Icon icon, 85 * Get the custom icon for a printer. If the icon is not cached, the icon i [all...] |
/frameworks/base/core/java/android/widget/ |
AppSecurityPermissions.java | 100 if (icon != 0) { 158 Drawable icon = null; local 160 icon = grp.loadGroupIcon(getContext(), pm); 176 permGrpIcon.setImageDrawable(icon); 321 Drawable icon = context.getDrawable(dangerous local 324 description, dangerous, icon); 517 CharSequence grpName, CharSequence permList, boolean dangerous, Drawable icon) { 524 imgView.setImageDrawable(icon);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
TileUtils.java | 28 import android.graphics.drawable.Icon; 63 * <p>The icon may be defined by meta-data named {@link #META_DATA_PREFERENCE_ICON} 64 * otherwise the icon for the activity will be used. 108 * The key used to get the package name of the icon resource for the preference. 121 * to specify the icon that should be displayed for the preference. 123 public static final String META_DATA_PREFERENCE_ICON = "com.android.settings.icon"; 127 * to specify the content provider providing the icon that should be displayed for 130 * Icon provided by the content provider overrides any static icon. 358 int icon = 0 local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
SignalTileView.java | 54 private ImageView addTrafficView(int icon) { 56 traffic.setImageResource(icon);
|