Home
last modified time | relevance | path

Searched refs:LabeledIntent (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/view/textclassifier/intent/
DLegacyClassificationIntentFactory.java58 public List<LabeledIntent> create(Context context, String text, boolean foreignText, in create()
65 final List<LabeledIntent> actions; in create()
106 private static List<LabeledIntent> createForEmail(Context context, String text) { in createForEmail()
107 final List<LabeledIntent> actions = new ArrayList<>(); in createForEmail()
108 actions.add(new LabeledIntent( in createForEmail()
115 LabeledIntent.DEFAULT_REQUEST_CODE)); in createForEmail()
116 actions.add(new LabeledIntent( in createForEmail()
129 private static List<LabeledIntent> createForPhone(Context context, String text) { in createForPhone()
130 final List<LabeledIntent> actions = new ArrayList<>(); in createForPhone()
135 actions.add(new LabeledIntent( in createForPhone()
[all …]
DClassificationIntentFactory.java35 List<LabeledIntent> create( in create()
46 List<LabeledIntent> actions, Context context, String text) { in insertTranslateAction()
47 actions.add(new LabeledIntent( in insertTranslateAction()
DTemplateIntentFactory.java48 public List<LabeledIntent> create( in create()
53 final List<LabeledIntent> labeledIntents = new ArrayList<>(); in create()
60 new LabeledIntent( in create()
67 ? LabeledIntent.DEFAULT_REQUEST_CODE in create()
DTemplateClassificationIntentFactory.java57 public List<LabeledIntent> create( in create()
73 final List<LabeledIntent> labeledIntents = in create()
DLabeledIntent.java43 public final class LabeledIntent { class
76 public LabeledIntent( in LabeledIntent() method in LabeledIntent
216 CharSequence chooseTitle(LabeledIntent labeledIntent, ResolveInfo resolveInfo); in chooseTitle()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/intent/
DLabeledIntentTest.java64 LabeledIntent labeledIntent = new LabeledIntent( in resolve_preferTitleWithEntity()
73 LabeledIntent.Result result = labeledIntent.resolve( in resolve_preferTitleWithEntity()
87 LabeledIntent labeledIntent = new LabeledIntent( in resolve_useAvailableTitle()
96 LabeledIntent.Result result = labeledIntent.resolve( in resolve_useAvailableTitle()
109 LabeledIntent labeledIntent = new LabeledIntent( in resolve_titleChooser()
118 LabeledIntent.Result result = labeledIntent.resolve( in resolve_titleChooser()
131 LabeledIntent labeledIntent = new LabeledIntent( in resolve_titleChooserReturnsNull()
140 LabeledIntent.Result result = labeledIntent.resolve( in resolve_titleChooserReturnsNull()
156 new LabeledIntent( in resolve_missingTitle()
170 LabeledIntent labeledIntent = new LabeledIntent( in resolve_noIntentHandler()
[all …]
DTemplateIntentFactoryTest.java88 List<LabeledIntent> intents = in create_full()
92 LabeledIntent labeledIntent = intents.get(0); in create_full()
126 List<LabeledIntent> intents = in normalizesScheme()
150 List<LabeledIntent> intents = in create_minimal()
154 LabeledIntent labeledIntent = intents.get(0); in create_minimal()
159 LabeledIntent.DEFAULT_REQUEST_CODE); in create_minimal()
173 List<LabeledIntent> intents = in invalidTemplate_nullTemplate()
196 List<LabeledIntent> intents = in invalidTemplate_nonEmptyPackageName()
219 List<LabeledIntent> intents = in invalidTemplate_emptyTitle()
242 List<LabeledIntent> intents = in invalidTemplate_emptyDescription()
[all …]
DLegacyIntentClassificationFactoryTest.java71 List<LabeledIntent> intents = mLegacyIntentClassificationFactory.create( in create_typeDictionary()
79 LabeledIntent labeledIntent = intents.get(0); in create_typeDictionary()
107 List<LabeledIntent> intents = mLegacyIntentClassificationFactory.create( in create_translateAndDictionary()
DTemplateClassificationIntentFactoryTest.java90 List<LabeledIntent> intents = in create_foreignText()
99 LabeledIntent labeledIntent = intents.get(0); in create_foreignText()
131 List<LabeledIntent> intents = in create_notForeignText()
140 LabeledIntent labeledIntent = intents.get(0); in create_notForeignText()
/frameworks/base/core/java/android/content/pm/
DLabeledIntent.java28 public class LabeledIntent extends Intent { class
43 public LabeledIntent(Intent origIntent, String sourcePackage, in LabeledIntent() method in LabeledIntent
61 public LabeledIntent(Intent origIntent, String sourcePackage, in LabeledIntent() method in LabeledIntent
78 public LabeledIntent(String sourcePackage, int labelRes, int icon) { in LabeledIntent() method in LabeledIntent
93 public LabeledIntent(String sourcePackage, in LabeledIntent() method in LabeledIntent
171 protected LabeledIntent(Parcel in) { in LabeledIntent() method in LabeledIntent
183 public static final @android.annotation.NonNull Creator<LabeledIntent> CREATOR
184 = new Creator<LabeledIntent>() {
185 public LabeledIntent createFromParcel(Parcel source) {
186 return new LabeledIntent(source);
[all …]
DLabeledIntent.aidl19 parcelable LabeledIntent;
/frameworks/base/core/java/android/view/textclassifier/
DActionsSuggestionsHelper.java28 import android.view.textclassifier.intent.LabeledIntent;
129 public static LabeledIntent.Result createLabeledIntentResult( in createLabeledIntentResult()
140 List<LabeledIntent> labeledIntents = templateIntentFactory.create(remoteActionTemplates); in createLabeledIntentResult()
146 LabeledIntent.TitleChooser titleChooser = in createLabeledIntentResult()
155 public static LabeledIntent.TitleChooser createTitleChooser(String actionType) { in createTitleChooser()
DTextClassifierImpl.java34 import android.view.textclassifier.intent.LabeledIntent;
471 LabeledIntent.Result labeledIntentResult = in createConversationActionResult()
663 final List<LabeledIntent> labeledIntents = mClassificationIntentFactory.create( in createClassificationResult()
669 final LabeledIntent.TitleChooser titleChooser = in createClassificationResult()
672 for (LabeledIntent labeledIntent : labeledIntents) { in createClassificationResult()
673 final LabeledIntent.Result result = in createClassificationResult()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DActionsSuggestionsHelperTest.java32 import android.view.textclassifier.intent.LabeledIntent;
253 LabeledIntent.Result labeledIntentResult = in createLabeledIntentResult_null()
274 LabeledIntent.Result labeledIntentResult = in createLabeledIntentResult_emptyList()
307 LabeledIntent.Result labeledIntentResult = in createLabeledIntentResult()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java38 import android.content.pm.LabeledIntent;
1877 if (ii instanceof LabeledIntent) {
1878 LabeledIntent li = (LabeledIntent) ii;
DChooserActivity.java50 import android.content.pm.LabeledIntent;
2675 if (ii instanceof LabeledIntent) {
2676 LabeledIntent li = (LabeledIntent) ii;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt15048 Landroid/content/pm/LabeledIntent;-><init>(Landroid/os/Parcel;)V
15049 Landroid/content/pm/LabeledIntent;->mIcon:I
15050 Landroid/content/pm/LabeledIntent;->mLabelRes:I
15051 Landroid/content/pm/LabeledIntent;->mNonLocalizedLabel:Ljava/lang/CharSequence;
15052 Landroid/content/pm/LabeledIntent;->mSourcePackage:Ljava/lang/String;
77048 …java/time/Instant;Ljava/lang/String;)Landroid/view/textclassifier/TextClassifierImpl$LabeledIntent;
77049 …/content/Context;Ljava/time/Instant;)Landroid/view/textclassifier/TextClassifierImpl$LabeledIntent;
77058 Landroid/view/textclassifier/TextClassifierImpl$LabeledIntent;-><init>(Ljava/lang/String;Ljava/lang…
77059 Landroid/view/textclassifier/TextClassifierImpl$LabeledIntent;->asRemoteAction(Landroid/content/Con…
77060 Landroid/view/textclassifier/TextClassifierImpl$LabeledIntent;->DEFAULT_REQUEST_CODE:I
[all …]
Dboot-image-profile.txt18217 …zcl4YFel0lG4VB3vf7I;->chooseTitle(Landroid/view/textclassifier/intent/LabeledIntent;Landroid/conte…
18232 …ActionsSuggestionsModel$ActionSuggestion;)Landroid/view/textclassifier/intent/LabeledIntent$Result;
18344 PLandroid/view/textclassifier/intent/-$$Lambda$LabeledIntent$LaL7EfxShgNu4lrdo3mv85g49Jg;-><init>()V
18345 PLandroid/view/textclassifier/intent/LabeledIntent;-><init>(Ljava/lang/String;Ljava/lang/String;Lja…
18346LabeledIntent;->resolve(Landroid/content/Context;Landroid/view/textclassifier/intent/LabeledIntent
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8492 public class LabeledIntent extends android.content.Intent {
8493 ctor public LabeledIntent(android.content.Intent, java.lang.String, int, int);
8494 … ctor public LabeledIntent(android.content.Intent, java.lang.String, java.lang.CharSequence, int);
8495 ctor public LabeledIntent(java.lang.String, int, int);
8496 ctor public LabeledIntent(java.lang.String, java.lang.CharSequence, int);
8503 … field public static final android.os.Parcelable.Creator<android.content.pm.LabeledIntent> CREATOR;
/frameworks/base/non-updatable-api/
Dcurrent.txt11255 public class LabeledIntent extends android.content.Intent {
11256 ctor public LabeledIntent(android.content.Intent, String, int, int);
11257 ctor public LabeledIntent(android.content.Intent, String, CharSequence, int);
11258 ctor public LabeledIntent(String, int, int);
11259 ctor public LabeledIntent(String, CharSequence, int);
11266 …onNull public static final android.os.Parcelable.Creator<android.content.pm.LabeledIntent> CREATOR;
/frameworks/base/api/
Dcurrent.txt11255 public class LabeledIntent extends android.content.Intent {
11256 ctor public LabeledIntent(android.content.Intent, String, int, int);
11257 ctor public LabeledIntent(android.content.Intent, String, CharSequence, int);
11258 ctor public LabeledIntent(String, int, int);
11259 ctor public LabeledIntent(String, CharSequence, int);
11266 …onNull public static final android.os.Parcelable.Creator<android.content.pm.LabeledIntent> CREATOR;