Home
last modified time | relevance | path

Searched refs:isLaunchable (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DAppPairInfo.kt72 fun isLaunchable(context: Context): Pair<Boolean, Boolean> { in <lambda>() method in com.android.launcher3.model.data.AppPairInfo
96 return isDisabled || !isLaunchable(context).first || !isLaunchable(context).second in <lambda>()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/recyclerview/
DAppItemViewHolder.java188 boolean isLaunchable = isLaunchableDistractionOptimized || isDisabledByTos; in bind()
190 int opacity = getOpacity(isLaunchable, isDisabledByTos); in bind()
193 if (isLaunchable) { in bind()
669 private int getOpacity(boolean isLaunchable, boolean isDisabledByTos) {
673 if (isLaunchable) {
/packages/apps/Launcher3/src/com/android/launcher3/apppairs/
DAppPairIconGraphic.kt60 val (isApp1Launchable, isApp2Launchable) = appPairInfo.isLaunchable(p.context) in composeDrawable()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemClickHandler.java171 boolean isApp1Launchable = info.isLaunchable(launcher).getFirst(), in onClickAppPairIcon()
172 isApp2Launchable = info.isLaunchable(launcher).getSecond(); in onClickAppPairIcon()