Home
last modified time | relevance | path

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

12

/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/statusbar/notification/icon/
DIconManager.kt240 iconView: StatusBarIconView in <lambda>()
242 iconView.setShowsConversation(showsConversation(entry, iconView, iconDescriptor)) in <lambda>()
243 iconView.setTag(R.id.icon_is_pre_L, entry.targetSdk < Build.VERSION_CODES.LOLLIPOP) in <lambda>()
244 if (!iconView.set(iconDescriptor)) { in <lambda>()
298 iconView: StatusBarIconView, in <lambda>()
302 iconView === entry.icons.shelfIcon || iconView === entry.icons.aodIcon in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashScreenExitAnimation.java87 View iconView = view.getIconView(); in SplashScreenExitAnimation() local
90 if (iconView == null || iconView.getLayoutParams().width == 0 in SplashScreenExitAnimation()
91 || iconView.getLayoutParams().height == 0) { in SplashScreenExitAnimation()
96 iconView.setLayerType(View.LAYER_TYPE_HARDWARE, null); in SplashScreenExitAnimation()
101 mIconStartAlpha = iconView.getAlpha(); in SplashScreenExitAnimation()
333 View iconView = mSplashScreenView.getIconView(); in onAnimationProgress() local
334 if (iconView != null) { in onAnimationProgress()
337 iconView.setAlpha(mIconStartAlpha * (1 - iconProgress)); in onAnimationProgress()
/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/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleOverflowContainerView.java309 vh.iconView.setRenderedBubble(b); in onBindViewHolder()
310 vh.iconView.removeDotSuppressionFlag(BadgedImageView.SuppressionFlag.FLYOUT_VISIBLE); in onBindViewHolder()
311 vh.iconView.setOnClickListener(view -> { in onBindViewHolder()
321 vh.iconView.setContentDescription(mContext.getResources().getString( in onBindViewHolder()
324 vh.iconView.setAccessibilityDelegate( in onBindViewHolder()
352 public BadgedImageView iconView; field in BubbleOverflowAdapter.ViewHolder
357 iconView = v.findViewById(R.id.bubble_view); in ViewHolder()
358 iconView.initialize(positioner); in ViewHolder()
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DButtonTargetAdapter.java62 final ImageView iconView = root.findViewById(R.id.accessibility_button_target_icon); in getView() local
64 iconView.setImageDrawable(target.getIcon()); in getView()
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerPickerActivity.java252 viewHolder.iconView.setImageDrawable( in onBindViewHolder()
255 viewHolder.iconView.setImageResource(R.drawable.gm_device_24); in onBindViewHolder()
274 public ImageView iconView; field in BatteryConsumerPickerActivity.BatteryConsumerViewHolder
284 iconView = view.findViewById(android.R.id.icon); in BatteryConsumerViewHolder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DSystemUIToast.java179 final ImageView iconView = toastView.findViewById(com.android.systemui.R.id.icon); in inflateToastView() local
200 iconView.setVisibility(View.GONE); in inflateToastView()
202 iconView.setImageDrawable(icon); in inflateToastView()
208 iconView.setContentDescription(res.getString(appInfo.labelRes)); in inflateToastView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthBiometricFaceViewTest.java100 TestableIconController(Context context, ImageView iconView) { in TestableIconController() argument
101 super(context, iconView, mock(TextView.class)); in TestableIconController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorListView.kt129 appControlRow.iconView.setImageDrawable(appIcon) in <lambda>()
141 lateinit var iconView: ImageView variable
146 iconView = findViewById(R.id.icon) in onFinishInflate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusIconContainer.java310 StatusIconDisplayable iconView = (StatusIconDisplayable) child; in calculateIconTranslations() local
313 if (!iconView.isIconVisible() || iconView.isIconBlocked() in calculateIconTranslations()
314 || mIgnoredSlots.contains(iconView.getSlot())) { in calculateIconTranslations()
316 if (DEBUG) Log.d(TAG, "skipping child (" + iconView.getSlot() + ") not visible"); in calculateIconTranslations()
/frameworks/base/packages/SettingsLib/BannerMessagePreference/src/com/android/settingslib/widget/
DBannerMessagePreference.java177 final ImageView iconView = (ImageView) holder.findViewById(R.id.banner_icon); in onBindViewHolder() local
178 if (iconView != null) { in onBindViewHolder()
180 iconView.setImageDrawable( in onBindViewHolder()
184 iconView.setColorFilter( in onBindViewHolder()
/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/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthBiometricFaceToFingerprintView.java50 @NonNull Context context, @NonNull ImageView iconView, @NonNull TextView textView) { in UdfpsIconController() argument
51 super(context, iconView, textView); in UdfpsIconController()
DAuthBiometricFaceView.java54 protected IconController(Context context, ImageView iconView, TextView textView) { in IconController() argument
56 mIconView = iconView; in IconController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaControlPanel.java358 ImageView iconView = mPlayerViewHolder.getSeamlessIcon(); in bindPlayer() local
380 iconView.setImageDrawable(null); in bindPlayer()
383 iconView.setVisibility(View.VISIBLE); in bindPlayer()
387 iconView.setImageDrawable(aIcon); in bindPlayer()
389 iconView.setImageDrawable(icon); in bindPlayer()
395 iconView.setVisibility(View.GONE); in bindPlayer()
/frameworks/base/core/java/android/widget/
DTabHost.java694 final ImageView iconView = tabIndicator.findViewById(R.id.icon); in createIndicatorView() local
697 final boolean exclusive = iconView.getVisibility() == View.GONE; in createIndicatorView()
703 iconView.setImageDrawable(mIcon); in createIndicatorView()
704 iconView.setVisibility(VISIBLE); in createIndicatorView()
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java448 ImageView iconView = new ImageView(getContext()); in update() local
452 iconView.setLayoutParams(lp); in update()
453 addView(iconView, 0); in update()
454 mIconView = iconView; in update()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileViewImplTest.kt45 private lateinit var iconView: QSIconView variable in com.android.systemui.qs.tileimpl.QSTileViewImplTest
58 tileView = FakeTileView(context, iconView, false) in setUp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedTutorialHandler.java239 final ImageView iconView = mTutorialView.findViewById(R.id.one_handed_tutorial_image); in updateThemeColor() local
240 iconView.setImageTintList(ColorStateList.valueOf(textColorPrimary)); in updateThemeColor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DFeedbackInfoTest.java137 final ImageView iconView = mFeedbackInfo.findViewById(R.id.pkg_icon); in testBindNotification_SetsPackageIcon() local
138 assertEquals(iconDrawable, iconView.getDrawable()); in testBindNotification_SetsPackageIcon()
DPartialConversationInfoTest.java197 final ImageView iconView = mInfo.findViewById(R.id.icon); in testBindNotification_setsIcon() local
198 assertEquals(mDrawable.hashCode() + "", mDrawable, iconView.getDrawable()); in testBindNotification_setsIcon()
/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);

12