/frameworks/base/core/java/android/view/textclassifier/ |
D | ExtrasUtils.java | 49 public static Bundle getForeignLanguageExtra(@Nullable TextClassification classification) { in getForeignLanguageExtra() argument 50 if (classification == null) { in getForeignLanguageExtra() 53 return classification.getExtras().getBundle(FOREIGN_LANGUAGE); in getForeignLanguageExtra() 68 public static ArrayList<Intent> getActionsIntents(@Nullable TextClassification classification) { in getActionsIntents() argument 69 if (classification == null) { in getActionsIntents() 72 …return classification.getExtras().getParcelableArrayList(ACTIONS_INTENTS, android.content.Intent.c… in getActionsIntents() 81 @Nullable TextClassification classification, @Nullable String intentAction) { in findAction() 82 if (classification == null || intentAction == null) { in findAction() 85 final ArrayList<Intent> actionIntents = getActionsIntents(classification); in findAction() 91 return classification.getActions().get(i); in findAction() [all …]
|
D | SelectionEvent.java | 256 int start, int end, @NonNull TextClassification classification) { in createSelectionModifiedEvent() argument 258 Objects.requireNonNull(classification); in createSelectionModifiedEvent() 259 final String entityType = classification.getEntityCount() > 0 in createSelectionModifiedEvent() 260 ? classification.getEntity(0) in createSelectionModifiedEvent() 264 entityType, INVOCATION_UNKNOWN, classification.getId()); in createSelectionModifiedEvent() 328 @NonNull TextClassification classification) { in createSelectionActionEvent() argument 330 Objects.requireNonNull(classification); in createSelectionActionEvent() 332 final String entityType = classification.getEntityCount() > 0 in createSelectionActionEvent() 333 ? classification.getEntity(0) in createSelectionActionEvent() 336 classification.getId()); in createSelectionActionEvent()
|
D | SystemTextClassifier.java | 117 final TextClassification classification = callback.get(); in classifyText() local 118 if (classification != null) { in classifyText() 119 return classification; in classifyText()
|
/frameworks/base/services/tests/servicestests/res/raw-watch/ |
D | a11y_three_finger_swipe_down_gesture.log | 2 … x[0]=150.0, y[0]=50.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 3 … x[1]=214.0, y[1]=70.0, toolType[1]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 4 … x[1]=214.0, y[1]=70.0, toolType[1]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 5 … x[2]=94.0, y[2]=100.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 6 … x[2]=94.0, y[2]=100.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 7 … x[2]=94.0, y[2]=110.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 8 … x[2]=94.0, y[2]=120.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 9 … x[2]=94.0, y[2]=130.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 10 … x[2]=94.0, y[2]=140.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 11 … x[2]=94.0, y[2]=150.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… [all …]
|
/frameworks/base/services/tests/servicestests/res/raw/ |
D | a11y_three_finger_swipe_down_gesture.log | 2 …x[0]=500.0, y[0]=696.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 3 …x[1]=764.0, y[1]=801.0, toolType[1]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 4 …x[1]=764.0, y[1]=801.0, toolType[1]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 5 …x[2]=294.0, y[2]=849.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 6 …x[2]=294.0, y[2]=849.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 7 …x[2]=294.0, y[2]=849.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 8 …x[2]=305.0, y[2]=876.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 9 …x[2]=313.0, y[2]=911.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 10 …x[2]=323.0, y[2]=941.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 11 …x[2]=333.0, y[2]=976.0, toolType[2]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… [all …]
|
D | a11y_touch_explore_gesture.log | 2 …[0]=825.0, y[0]=2028.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 3 …[0]=825.0, y[0]=2028.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat… 4 …[0]=825.0, y[0]=2028.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaStat…
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextClassificationTest.java | 238 final TextClassification classification = new TextClassification.Builder() in testToBuilder() local 253 final TextClassification fromBuilder = classification.toBuilder().build(); in testToBuilder() 255 assertEquals(classification.getId(), fromBuilder.getId()); in testToBuilder() 256 assertEquals(classification.getText(), fromBuilder.getText()); in testToBuilder() 257 assertEquals(classification.getIcon(), fromBuilder.getIcon()); in testToBuilder() 258 assertEquals(classification.getLabel(), fromBuilder.getLabel()); in testToBuilder() 259 assertEquals(classification.getIntent(), fromBuilder.getIntent()); in testToBuilder() 260 assertEquals(classification.getOnClickListener(), fromBuilder.getOnClickListener()); in testToBuilder() 261 assertEquals(classification.getExtras(), fromBuilder.getExtras()); in testToBuilder() 262 assertEquals(classification.getActions(), fromBuilder.getActions()); in testToBuilder() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | SelectionActionModeHelper.java | 604 @Nullable TextClassification classification) { in onSelectionUpdated() argument 610 mLogger.logSelectionModified(selectionStart, selectionEnd, classification, null); in onSelectionUpdated() 631 @Nullable TextClassification classification) { in onSelectionAction() argument 635 selectionStart, selectionEnd, action, actionLabel, classification); in onSelectionAction() 667 public void onTextChanged(int start, int end, TextClassification classification) { in onTextChanged() argument 671 /* actionLabel= */ null, classification); in onTextChanged() 786 @Nullable TextClassification classification, @Nullable TextSelection selection) { in logSelectionModified() argument 796 } else if (classification != null) { in logSelectionModified() 799 wordIndices[0], wordIndices[1], classification)); in logSelectionModified() 805 maybeGenerateTranslateViewEvent(classification); in logSelectionModified() [all …]
|
/frameworks/base/core/java/android/service/assist/classification/ |
D | IFieldClassificationService.aidl | 18 package android.service.assist.classification; 22 import android.service.assist.classification.IFieldClassificationCallback; 23 import android.service.assist.classification.FieldClassificationRequest;
|
D | IFieldClassificationCallback.aidl | 17 package android.service.assist.classification; 22 import android.service.assist.classification.FieldClassificationResponse;
|
D | FieldClassificationResponse.aidl | 17 package android.service.assist.classification;
|
D | FieldClassificationRequest.aidl | 17 package android.service.assist.classification;
|
D | FieldClassification.aidl | 17 package android.service.assist.classification;
|
/frameworks/native/services/inputflinger/ |
D | InputProcessor.cpp | 60 static MotionClassification getMotionClassification(common::Classification classification) { in getMotionClassification() argument 67 return static_cast<MotionClassification>(classification); in getMotionClassification() 216 common::Classification classification; in processEvents() local 217 ndk::ScopedAStatus response = mService->classify(motionEvent, &classification); in processEvents() 220 getMotionClassification(classification)); in processEvents() 264 MotionClassification classification) { in updateClassification() argument 274 mClassifications[deviceId] = classification; in updateClassification() 277 void MotionClassifier::setClassification(int32_t deviceId, MotionClassification classification) { in setClassification() argument 279 mClassifications[deviceId] = classification; in setClassification() 346 const MotionClassification classification = in dump() local [all …]
|
D | NotifyArgs.cpp | 68 int32_t flags, int32_t metaState, int32_t buttonState, MotionClassification classification, in NotifyMotionArgs() argument 84 classification(classification), in NotifyMotionArgs() 108 buttonState == rhs.buttonState && classification == rhs.classification && in operator ==()
|
D | InputProcessor.h | 204 void setClassification(int32_t deviceId, MotionClassification classification); 210 MotionClassification classification);
|
/frameworks/native/libs/input/tests/ |
D | InputChannel_test.cpp | 215 for (MotionClassification classification : classifications) { in TEST_F() local 217 serverMsg.body.motion.classification = classification; in TEST_F() 224 EXPECT_EQ(classification, clientMsg.body.motion.classification) << in TEST_F() 225 "Expected to receive " << motionClassificationToString(classification); in TEST_F()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | RemoteFieldClassificationService.java | 35 import android.service.assist.classification.FieldClassificationRequest; 36 import android.service.assist.classification.FieldClassificationResponse; 37 import android.service.assist.classification.FieldClassificationService; 38 import android.service.assist.classification.IFieldClassificationCallback; 39 import android.service.assist.classification.IFieldClassificationService;
|
/frameworks/native/services/inputflinger/tests/ |
D | NotifyArgs_test.cpp | 46 MotionClassification classification = MotionClassification::DEEP_PRESS; in TEST() local 74 action, actionButton, flags, metaState, buttonState, classification, in TEST()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
D | ClipboardOverlayUtils.java | 84 TextClassification classification = mTextClassifier.classifyText( in getActions() local 86 actions.addAll(classification.getActions()); in getActions()
|
/frameworks/native/services/inputflinger/include/ |
D | NotifyArgsBuilders.h | 98 MotionArgsBuilder& classification(MotionClassification classification) { in classification() argument 99 mClassification = classification; in classification()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewContextMenuTest.java | 121 TextClassification classification = new TextClassification.Builder() in testAddMenuForTextClassification() local 123 when(mMockHelper.getTextClassification()).thenReturn(classification); in testAddMenuForTextClassification() 149 TextClassification classification = new TextClassification.Builder() in testAddMenuForLegacyTextClassification() local 154 when(mMockHelper.getTextClassification()).thenReturn(classification); in testAddMenuForLegacyTextClassification()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Entry.cpp | 192 int32_t buttonState, MotionClassification classification, in MotionEntry() argument 206 classification(classification), in MotionEntry() 232 motionClassificationToString(classification), edgeFlags, xPrecision, in getDescription()
|
/frameworks/base/telephony/java/android/telephony/ |
D | CallState.java | 351 public CallState.Builder setCallClassification(int classification) { in setCallClassification() argument 352 this.mCallClassification = classification; in setCallClassification()
|
/frameworks/proto_logging/stats/atoms/input/ |
D | input_atoms.proto | 131 * Logs gesture classification and timing information for touch events. 138 // The source of the classification (e.g. Java class name). 149 // The classification of the gesture. 150 optional Classification classification = 2; field 153 // classification was made. 157 // location of the touch event when the classification was made.
|