/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/orientation/ |
D | LandscapePagedViewHandlerTest.kt | 128 val iconView = mock<View>() in testIcon_updateSplitIconsPosition() constant 130 `when`(iconView.layoutParams).thenReturn(frameLayout) in testIcon_updateSplitIconsPosition() 132 sut.updateSplitIconsPosition(iconView, expectedTranslationY, false) in testIcon_updateSplitIconsPosition() 135 verify(iconView).translationX = 0f in testIcon_updateSplitIconsPosition() 136 verify(iconView).translationY = 0f in testIcon_updateSplitIconsPosition() 146 val iconView = mock<View>() in testIcon_updateSplitIconsPosition_isRTL() constant 148 `when`(iconView.layoutParams).thenReturn(frameLayout) in testIcon_updateSplitIconsPosition_isRTL() 150 sut.updateSplitIconsPosition(iconView, expectedTranslationY, true) in testIcon_updateSplitIconsPosition_isRTL() 153 verify(iconView).translationX = 0f in testIcon_updateSplitIconsPosition_isRTL() 154 verify(iconView).translationY = 0f in testIcon_updateSplitIconsPosition_isRTL() [all …]
|
D | SeascapePagedViewHandlerTest.kt | 130 val iconView = mock<View>() in testIcon_updateSplitIconsPosition() constant 132 `when`(iconView.layoutParams).thenReturn(frameLayout) in testIcon_updateSplitIconsPosition() 134 sut.updateSplitIconsPosition(iconView, expectedTranslationY, false) in testIcon_updateSplitIconsPosition() 137 verify(iconView).translationX = 0f in testIcon_updateSplitIconsPosition() 138 verify(iconView).translationY = 0f in testIcon_updateSplitIconsPosition() 148 val iconView = mock<View>() in testIcon_updateSplitIconsPosition_isRTL() constant 150 `when`(iconView.layoutParams).thenReturn(frameLayout) in testIcon_updateSplitIconsPosition_isRTL() 152 sut.updateSplitIconsPosition(iconView, expectedTranslationY, true) in testIcon_updateSplitIconsPosition_isRTL() 155 verify(iconView).translationX = 0f in testIcon_updateSplitIconsPosition_isRTL() 156 verify(iconView).translationY = 0f in testIcon_updateSplitIconsPosition_isRTL() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
D | CheckableLabeledButton.java | 48 private ImageView iconView; field in CheckableLabeledButton 89 iconView = new ImageView(context, null, android.R.style.Widget_Material_Button_Colored); in init() 93 iconView.setLayoutParams(iconParams); in init() 94 iconView.setPadding(iconPadding, iconPadding, iconPadding, iconPadding); in init() 95 iconView.setImageDrawable(icon); in init() 96 iconView.setImageTintMode(Mode.SRC_IN); in init() 97 iconView.setImageTintList( in init() 100 iconView.setBackground( in init() 102 iconView.setDuplicateParentStateEnabled(true); in init() 103 iconView.setElevation(getResources().getDimension(R.dimen.incall_button_elevation)); in init() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | TaskMenuViewWithArrow.kt | 96 private var iconView: IconView? = null in <lambda>() variable in com.android.quickstep.views.TaskMenuViewWithArrow 103 popupContainer.getDescendantRectRelativeToSelf(taskContainer.iconView.asView(), outPos) in <lambda>() 174 if (taskContainer.iconView.drawable == null) return false in <lambda>() 252 popupContainer.removeView(iconView) in <lambda>() 260 iconView = in <lambda>() 264 taskContainer.iconView.width, in <lambda>() 265 taskContainer.iconView.height in <lambda>() 269 drawable = taskContainer.iconView.drawable in <lambda>() 271 taskContainer.iconView.drawableWidth, in <lambda>() 272 taskContainer.iconView.drawableHeight in <lambda>() [all …]
|
D | TaskView.kt | 695 val iconView = getOrInflateIconView(iconViewId) in <lambda>() constant 700 iconView, in <lambda>() 701 TransformingTouchDelegate(iconView.asView()), in <lambda>() 718 val iconView = findViewById<View>(iconViewId)!! in <lambda>() constant 719 return iconView as? TaskViewIcon in <lambda>() 720 ?: (iconView as ViewStub) in <lambda>() 744 taskContainers.forEach { it.iconView.setIconOrientation(orientationState, isGridTask) } in <lambda>() 882 setIcon(it.iconView, task.icon) in <lambda>() 884 setText(it.iconView, task.title) in <lambda>() 890 setIcon(it.iconView, null) in <lambda>() [all …]
|
D | GroupedTaskView.kt | 190 (taskContainers[0].iconView as IconAppChipView).setMaxWidth( in setOrientationState() 193 (taskContainers[1].iconView as IconAppChipView).setMaxWidth( in setOrientationState() 215 taskContainers[0].iconView.asView(), in updateIconPlacement() 216 taskContainers[1].iconView.asView(), in updateIconPlacement() 228 taskContainers[0].iconView.asView(), in updateIconPlacement() 229 taskContainers[1].iconView.asView(), in updateIconPlacement() 326 taskContainers[1].iconView.asView().containsPoint(lastTouchDownPosition) || in getLastSelectedChildTaskIndex()
|
D | DesktopTaskView.kt | 62 private lateinit var iconView: TaskViewIcon in <lambda>() variable 83 iconView = in <lambda>() 200 iconView, in <lambda>() 201 TransformingTouchDelegate(iconView.asView()), in <lambda>()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | SplitAnimationController.kt | 91 val iconView: View? in <lambda>() constant in com.android.quickstep.util.SplitAnimationController.Companion.SplitAnimInitProps 112 iconView = null in <lambda>() 119 val drawable = getDrawable(container.iconView, splitSelectSource) in <lambda>() 126 iconView = container.iconView.asView() in <lambda>() 138 val drawable = getDrawable(it.iconView, splitSelectSource) in <lambda>() 145 iconView = it.iconView.asView() in <lambda>() 158 fun getDrawable(iconView: TaskViewIcon, splitSelectSource: SplitSelectSource?): Drawable? { in <lambda>() 159 if (iconView.drawable == null && splitSelectSource != null) { in <lambda>() 162 return iconView.drawable in <lambda>() 186 val iconView: View = taskIdAttributeContainer.iconView.asView() in <lambda>() constant [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | GuidanceRelativeLayout.java | 63 ImageView iconView = getRootView().findViewById(R.id.guidance_icon); in onLayout() local 88 if (iconView != null && iconView.getParent() == this) { in onLayout() 89 iconView.offsetTopAndBottom(offset); in onLayout()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/dialog/ |
D | AlertDialogBuilder.kt | 62 private var iconView: ImageView? = null in <lambda>() variable in com.android.healthconnect.controller.shared.dialog.AlertDialogBuilder 87 iconView = customDialogLayout.findViewById(R.id.dialog_icon) in <lambda>() 90 iconView?.setImageDrawable(it) in <lambda>() 91 iconView?.visibility = View.VISIBLE in <lambda>() 98 iconView = customTitleLayout.findViewById(R.id.dialog_icon) in <lambda>() 101 iconView?.setImageDrawable(it) in <lambda>() 102 iconView?.visibility = View.VISIBLE in <lambda>()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | EntityHeaderPreference.java | 85 ImageView iconView = view.findViewById(id); in setIconView() local 86 if (iconView != null) { in setIconView() 87 iconView.setImageDrawable(icon); in setIconView() 88 iconView.setVisibility(icon == null ? View.GONE : View.VISIBLE); in setIconView()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/ |
D | SearchViewHolder.java | 44 public final ImageView iconView; field in SearchViewHolder 55 iconView = view.findViewById(android.R.id.icon); in SearchViewHolder() 78 iconView.setImageDrawable(appResult.info.loadIcon(pm)); in onBind() 81 iconView.setImageDrawable(result.icon); in onBind()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/stylus/ |
D | StylusUsiHeaderController.java | 71 ImageView iconView = mHeaderPreference.findViewById(R.id.entity_header_icon); in displayPreference() local 72 if (iconView != null) { in displayPreference() 73 iconView.setImageResource(R.drawable.ic_stylus); in displayPreference() 74 iconView.setContentDescription("Icon for stylus"); in displayPreference()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/ |
D | PermissionHeaderPreference.kt | 36 private lateinit var iconView: ImageView variable 47 iconView = holder.findViewById(R.id.permission_header_icon) as ImageView in onBindViewHolder() 48 iconView.setImageDrawable(getIcon()) in onBindViewHolder()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SeekBarDialogPreference.java | 61 final ImageView iconView = (ImageView) view.findViewById(android.R.id.icon); in onBindDialogView() local 63 iconView.setImageDrawable(mMyIcon); in onBindDialogView() 65 iconView.setVisibility(View.GONE); in onBindDialogView()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarViewController.java | 332 for (View iconView : mTaskbarView.getIconViews()) { in animateAwayNotificationDotsDuringTaskbarPinningAnimation() 333 if (iconView instanceof BubbleTextView && ((BubbleTextView) iconView).hasDot()) { in animateAwayNotificationDotsDuringTaskbarPinningAnimation() 334 ((BubbleTextView) iconView).animateDotScale(0); in animateAwayNotificationDotsDuringTaskbarPinningAnimation() 372 View iconView = iconViews[iconIndex]; in updateTaskbarIconTranslationXForPinning() local 374 ((Reorderable) iconView).getTranslateDelegate(); in updateTaskbarIconTranslationXForPinning() 376 iconView.getLeft() + (iconView.getRight() - iconView.getLeft()) / 2.0f; in updateTaskbarIconTranslationXForPinning() 385 if (iconView.equals(mTaskbarView.getAllAppsButtonView())) { in updateTaskbarIconTranslationXForPinning() 386 ((IconButtonView) iconView).setTranslationXForTaskbarAllAppsIcon( in updateTaskbarIconTranslationXForPinning() 520 for (View iconView : getIconViews()) { in updateIconViewsRunningStates() 521 if (iconView instanceof BubbleTextView btv) { in updateIconViewsRunningStates()
|
D | KeyboardQuickSwitchTaskView.java | 198 private void applyIcon(@Nullable ImageView iconView, @Nullable Task task) { in applyIcon() argument 199 if (iconView == null || task == null || task.icon == null) { in applyIcon() 206 if (iconView.getVisibility() != VISIBLE) { in applyIcon() 207 iconView.setVisibility(VISIBLE); in applyIcon() 210 iconView.setImageDrawable( in applyIcon()
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ViewPagerTabs.java | 144 View iconView = layout.findViewById(R.id.icon); in addTab() local 145 iconView.setBackgroundResource(mTabIcons[position]); in addTab() 146 iconView.setContentDescription(tabTitle); in addTab() 151 iconView.setContentDescription( in addTab() 160 iconView.setContentDescription(getResources().getString(R.string.tab_title, tabTitle)); in addTab()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/ |
D | DeletionAppDataConfirmationDialogFragment.kt | 47 val iconView = view.findViewById(R.id.dialog_icon) as ImageView in <lambda>() constant 55 iconView.setImageDrawable(it) in <lambda>() 56 iconView.visibility = View.VISIBLE in <lambda>()
|
D | TimeRangeDialogFragment.kt | 51 val iconView = view.findViewById(R.id.dialog_icon) as ImageView in <lambda>() constant 57 iconView.setImageDrawable(it) in <lambda>() 58 iconView.visibility = View.VISIBLE in <lambda>()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/orientation/ |
D | SeascapePagedViewHandler.kt | 385 override fun updateSplitIconsPosition(iconView: View, translationY: Int, isRtl: Boolean) { in updateSplitIconsPosition() 386 val layoutParams = iconView.layoutParams as FrameLayout.LayoutParams in updateSplitIconsPosition() 389 val appChipView = iconView as IconAppChipView in updateSplitIconsPosition() 397 iconView.translationX = 0f in updateSplitIconsPosition() 398 iconView.translationY = 0f in updateSplitIconsPosition() 400 iconView.layoutParams = layoutParams in updateSplitIconsPosition()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderPagedView.java | 169 View iconView = container.getChildAt(j); in unbindItems() local 170 iconView.setVisibility(View.VISIBLE); in unbindItems() 171 if (iconView instanceof BubbleTextView) { in unbindItems() 172 mViewCache.recycleView(R.layout.folder_application, iconView); in unbindItems() 515 View iconView = parent.getChildAt(i); in verifyVisibleHighResIcons() local 517 if (iconView instanceof BubbleTextView btv) { in verifyVisibleHighResIcons() 520 } else if (iconView instanceof AppPairIcon api) { in verifyVisibleHighResIcons() 528 d.setCallback(iconView); in verifyVisibleHighResIcons()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | RemoteActionShortcut.java | 56 public void setIconAndLabelFor(View iconView, TextView labelView) { in setIconAndLabelFor() argument 57 mAction.getIcon().loadDrawableAsync(iconView.getContext(), in setIconAndLabelFor() 58 iconView::setBackground, in setIconAndLabelFor()
|
/packages/apps/Contacts/src/com/android/contacts/drawer/ |
D | DrawerAdapter.java | 224 final ImageView iconView = (ImageView) result.findViewById(R.id.icon); in getPrimaryItemView() local 225 iconView.setImageResource(item.icon); in getPrimaryItemView() 231 updateSelectedStatus(titleView, iconView, item.contactsView == mSelectedView); in getPrimaryItemView() 301 final ImageView iconView = (ImageView) result.findViewById(R.id.icon); in getDrawerItemView() local 302 iconView.setImageResource(item.icon); in getDrawerItemView() 304 updateSelectedStatus(textView, iconView, false); in getDrawerItemView()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/ |
D | PromotionCardViewHolder.java | 42 ImageView iconView = itemView.findViewById(R.id.new_call_log_promotion_card_icon); in PromotionCardViewHolder() local 43 iconView.setImageResource(promotion.getIconRes()); in PromotionCardViewHolder()
|