Home
last modified time | relevance | path

Searched refs:iconView (Results 1 – 22 of 22) sorted by relevance

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DIconMixin.java60 final ImageView iconView = getView(); in setIcon() local
61 if (iconView != null) { in setIcon()
62 iconView.setImageDrawable(icon); in setIcon()
63 iconView.setVisibility(icon != null ? View.VISIBLE : View.GONE); in setIcon()
73 final ImageView iconView = getView(); in setIcon() local
74 if (iconView != null) { in setIcon()
77 iconView.setImageResource(icon); in setIcon()
78 iconView.setVisibility(icon != 0 ? View.VISIBLE : View.GONE); in setIcon()
84 final ImageView iconView = getView(); in getIcon() local
85 return iconView != null ? iconView.getDrawable() : null; in getIcon()
[all …]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItem.java152 final ImageView iconView = (ImageView) view.findViewById(R.id.suw_items_icon); in onBindView() local
155 iconView.setImageDrawable(null); in onBindView()
156 onMergeIconStateAndLevels(iconView, icon); in onBindView()
157 iconView.setImageDrawable(icon); in onBindView()
171 protected void onMergeIconStateAndLevels(ImageView iconView, Drawable icon) { in onMergeIconStateAndLevels() argument
172 iconView.setImageState(icon.getState(), false /* merge */); in onMergeIconStateAndLevels()
173 iconView.setImageLevel(icon.getLevel()); in onMergeIconStateAndLevels()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubble.java48 BubbleView iconView; field in Bubble
111 if (iconView != null) { in updateDotVisibility()
112 iconView.updateDotVisibility(true /* animate */); in updateDotVisibility()
120 iconView = (BubbleView) inflater.inflate( in inflate()
122 iconView.setNotif(entry); in inflate()
144 iconView.update(entry); in setEntry()
DBubbleStackView.java457 b.iconView.updateViews(); in onThemeChanged()
646 return mExpandedBubble != null ? mExpandedBubble.iconView : null; in getExpandedBubbleView()
691 mBubbleContainer.addView(bubble.iconView, 0, in addBubble()
693 ViewClippingUtil.setClippingDeactivated(bubble.iconView, true, mClippingParameters); in addBubble()
694 if (bubble.iconView != null) { in addBubble()
695 bubble.iconView.setSuppressDot(mSuppressNewDot, false /* animate */); in addBubble()
709 int removedIndex = mBubbleContainer.indexOfChild(bubble.iconView); in removeBubble()
729 mBubbleContainer.reorderView(bubble.iconView, i); in updateBubbleOrder()
1355 if (bubble.iconView != null) { in animateInFlyoutForBubble()
1357 bubble.iconView.setSuppressDot( in animateInFlyoutForBubble()
[all …]
/frameworks/base/core/java/android/preference/
DSeekBarDialogPreference.java77 final ImageView iconView = (ImageView) view.findViewById(R.id.icon); in onBindDialogView() local
79 iconView.setImageDrawable(mMyIcon); in onBindDialogView()
81 iconView.setVisibility(View.GONE); in onBindDialogView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorListView.kt112 appControlRow.iconView.setImageDrawable(appIcon) in <lambda>()
124 lateinit var iconView: ImageView variable
129 iconView = findViewById(R.id.icon) in onFinishInflate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusIconContainer.java277 StatusIconDisplayable iconView = (StatusIconDisplayable) child; in calculateIconTranslations() local
280 if (!iconView.isIconVisible() || iconView.isIconBlocked() in calculateIconTranslations()
281 || mIgnoredSlots.contains(iconView.getSlot())) { in calculateIconTranslations()
283 if (DEBUG) Log.d(TAG, "skipping child (" + iconView.getSlot() + ") not visible"); in calculateIconTranslations()
DNotificationIconAreaController.java314 StatusBarIconView iconView = function.apply(ent); in updateIconsForLayout() local
315 if (iconView != null) { in updateIconsForLayout()
316 toShow.add(iconView); in updateIconsForLayout()
DNotificationIconContainer.java302 StatusBarIconView iconView = (StatusBarIconView) child; in isReplacingIcon() local
303 Icon sourceIcon = iconView.getSourceIcon(); in isReplacingIcon()
304 String groupKey = iconView.getNotification().getGroupKey(); in isReplacingIcon()
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DSwitchItemTest.java234 ImageView iconView = new ImageView(application); in createLayout() local
235 iconView.setId(R.id.suw_items_icon); in createLayout()
236 iconContainer.addView(iconView); in createLayout()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifLayoutTest.java110 final View iconView = glifLayout.findManagedViewById(R.id.suw_layout_icon); in testGlifV2Theme() local
111 final LinearLayout parent = (LinearLayout) iconView.getParent(); in testGlifV2Theme()
/frameworks/base/core/java/android/widget/
DTabHost.java670 final ImageView iconView = tabIndicator.findViewById(R.id.icon); in createIndicatorView() local
673 final boolean exclusive = iconView.getVisibility() == View.GONE; in createIndicatorView()
679 iconView.setImageDrawable(mIcon); in createIndicatorView()
680 iconView.setVisibility(VISIBLE); in createIndicatorView()
DActivityChooserView.java782 ImageView iconView = convertView.findViewById(R.id.icon); in getView() local
784 iconView.setImageDrawable(activity.loadIcon(packageManager)); in getView()
/frameworks/base/core/java/com/android/internal/app/
DAccessibilityButtonChooserActivity.java166 ImageView iconView = root.findViewById(R.id.accessibility_button_target_icon); in getView() local
168 iconView.setImageDrawable(target.getDrawable()); in getView()
DResolverActivity.java1341 final ImageView iconView = findViewById(R.id.icon);
1343 if (iconView != null && iconInfo != null) {
1344 new LoadIconTask(iconInfo, iconView).execute();
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java447 ImageView iconView = new ImageView(getContext()); in update() local
451 iconView.setLayoutParams(lp); in update()
452 addView(iconView, 0); in update()
453 mIconView = iconView; in update()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DAppOpsInfoTest.java108 final ImageView iconView = mAppOpsInfo.findViewById(R.id.pkgicon); in testBindNotification_SetsPackageIcon() local
109 assertEquals(iconDrawable, iconView.getDrawable()); in testBindNotification_SetsPackageIcon()
DNotificationInfoTest.java239 final ImageView iconView = mNotificationInfo.findViewById(R.id.pkgicon); in testBindNotification_SetsPackageIcon() local
240 assertEquals(iconDrawable, iconView.getDrawable()); in testBindNotification_SetsPackageIcon()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DSaveUi.java433 final ImageView iconView = view.findViewById(R.id.autofill_save_icon); in setServiceIcon() local
447 iconView.setImageDrawable(serviceIcon); in setServiceIcon()
452 ((ViewGroup)iconView.getParent()).removeView(iconView); in setServiceIcon()
DFillUi.java159 final ImageView iconView = decor.findViewById(R.id.autofill_dataset_icon); in FillUi() local
160 if (iconView != null) { in FillUi()
161 iconView.setImageDrawable(serviceIcon); in FillUi()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DSelectPrinterActivity.java729 ImageView iconView = (ImageView) convertView.findViewById(R.id.icon);
731 iconView.setVisibility(View.VISIBLE);
739 iconView.setImageDrawable(icon);
741 iconView.setVisibility(View.GONE);
DPrintActivity.java2511 ImageView iconView = (ImageView) convertView.findViewById(R.id.icon); in getView() local
2513 iconView.setVisibility(View.VISIBLE); in getView()
2521 iconView.setImageDrawable(icon); in getView()
2523 iconView.setVisibility(View.INVISIBLE); in getView()