Home
last modified time | relevance | path

Searched refs:ChooserTarget (Results 1 – 14 of 14) sorted by relevance

/aosp14/frameworks/base/core/java/android/service/chooser/
H A DChooserTarget.java48 public final class ChooserTarget implements Parcelable { class
108 public ChooserTarget(CharSequence title, Icon icon, float score, in ChooserTarget() method in ChooserTarget
121 ChooserTarget(Parcel in) { in ChooserTarget() method in ChooserTarget
210 public static final @android.annotation.NonNull Creator<ChooserTarget> CREATOR
211 = new Creator<ChooserTarget>() {
213 public ChooserTarget createFromParcel(Parcel source) {
214 return new ChooserTarget(source);
218 public ChooserTarget[] newArray(int size) {
219 return new ChooserTarget[size];
H A DIChooserTargetResult.aidl19 import android.service.chooser.ChooserTarget;
26 void sendResult(in List<ChooserTarget> targets); in sendResult()
H A DChooserTargetService.java126 public abstract List<ChooserTarget> onGetChooserTargets(ComponentName targetActivityName, in onGetChooserTargets()
147 List<ChooserTarget> targets = null; in getChooserTargets()
H A DChooserTarget.aidl19 parcelable ChooserTarget;
/aosp14/frameworks/base/core/java/com/android/internal/app/chooser/
H A DChooserTargetInfo.java19 import android.service.chooser.ChooserTarget;
29 ChooserTarget getChooserTarget(); in getChooserTarget()
38 ChooserTarget ct1 = getChooserTarget(); in isSimilar()
39 ChooserTarget ct2 = other.getChooserTarget(); in isSimilar()
H A DNotSelectableTargetInfo.java25 import android.service.chooser.ChooserTarget;
81 public ChooserTarget getChooserTarget() { in getChooserTarget()
H A DSelectableTargetInfo.java36 import android.service.chooser.ChooserTarget;
59 private final ChooserTarget mChooserTarget;
76 ChooserTarget chooserTarget, in SelectableTargetInfo()
171 private Drawable getChooserTargetIconDrawable(ChooserTarget target, in getChooserTargetIconDrawable()
312 public ChooserTarget getChooserTarget() { in getChooserTarget()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/app/
H A DChooserListAdapterTest.kt30 import android.service.chooser.ChooserTarget
151 val targets = mutableListOf<ChooserTarget>()
157 targets += ChooserTarget("Title $i", icon, score, componentName, extras)
159 val directShareToShortcutInfos = mapOf<ChooserTarget, ShortcutInfo>()
195 private fun createChooserTarget(): ChooserTarget =
196 ChooserTarget("Title", null, 1f, ComponentName("package", "package.Class"), Bundle())
H A DChooserActivityTest.java83 import android.service.chooser.ChooserTarget;
1461 List<ChooserTarget> serviceTargets = createDirectShareTargets(1, ""); in testDirectTargetSelectionLogging()
1470 Map<ChooserTarget, ShortcutInfo> directShareToShortcutInfos = new HashMap<>(); in testDirectTargetSelectionLogging()
1539 List<ChooserTarget> serviceTargets = createDirectShareTargets(1, in testDirectTargetLoggingWithRankedAppTarget()
1618 List<ChooserTarget> serviceTargets = createDirectShareTargets(2, in testShortcutTargetWithApplyAppLimits()
1692 List<ChooserTarget> serviceTargets = createDirectShareTargets(2, in testShortcutTargetWithoutApplyAppLimits()
1805 List<ChooserTarget> serviceTargets = createDirectShareTargets(1, in testDirectTargetLoggingWithAppTargetNotRanked()
2202 List<ChooserTarget> serviceTargets = createDirectShareTargets(1, in testDirectTargetLogging()
3098 List<ChooserTarget> targets = new ArrayList<>(); in createDirectShareTargets()
3106 ChooserTarget tempTarget = new ChooserTarget( in createDirectShareTargets()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DChooserListAdapter.java37 import android.service.chooser.ChooserTarget;
554 public void addServiceResults(DisplayResolveInfo origTarget, List<ChooserTarget> targets, in addServiceResults()
556 Map<ChooserTarget, ShortcutInfo> directShareToShortcutInfos) { in addServiceResults() argument
577 final ChooserTarget target = targets.get(i); in addServiceResults()
702 public ChooserTarget getChooserTargetForValue(int value) { in getChooserTargetForValue()
H A DChooserActivity.java98 import android.service.chooser.ChooserTarget;
291 private ChooserTarget[] mCallerChooserTargets;
680 ChooserTarget[] targets = new ChooserTarget[count]; in onCreate()
682 if (!(pa[i] instanceof ChooserTarget)) { in onCreate()
687 targets[i] = (ChooserTarget) pa[i]; in onCreate()
2230 public List<ChooserTarget> convertToChooserTarget(
2265 ChooserTarget chooserTarget = new ChooserTarget(
2280 Comparator<ChooserTarget> byScore =
2281 (ChooserTarget a, ChooserTarget b) -> -Float.compare(a.getScore(), b.getScore());
2832 public int compare(ChooserTarget lhs, ChooserTarget rhs) {
[all …]
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt49128 Landroid/service/chooser/ChooserTarget;-><init>(Landroid/os/Parcel;)V
49129 Landroid/service/chooser/ChooserTarget;->mComponentName:Landroid/content/ComponentName;
49130 Landroid/service/chooser/ChooserTarget;->mIcon:Landroid/graphics/drawable/Icon;
49131 Landroid/service/chooser/ChooserTarget;->mIntentExtras:Landroid/os/Bundle;
49132 Landroid/service/chooser/ChooserTarget;->mScore:F
49133 Landroid/service/chooser/ChooserTarget;->mTitle:Ljava/lang/CharSequence;
49134 Landroid/service/chooser/ChooserTarget;->TAG:Ljava/lang/String;
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt40275 @Deprecated public final class ChooserTarget implements android.os.Parcelable {
40276 …ctor @Deprecated public ChooserTarget(CharSequence, android.graphics.drawable.Icon, float, android…
40284 …l public static final android.os.Parcelable.Creator<android.service.chooser.ChooserTarget> CREATOR;
40290 …method @Deprecated public abstract java.util.List<android.service.chooser.ChooserTarget> onGetChoo…