Home
last modified time | relevance | path

Searched refs:GENERIC (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DDiagonalClassifierTest.java19 import static com.android.systemui.classifier.Classifier.GENERIC;
73 assertThat(mClassifier.classifyGesture(GENERIC, 0.5, 0).isFalse()).isFalse(); in testPass_UnknownAngle()
79 assertThat(mClassifier.classifyGesture(GENERIC, 0.5, 0).isFalse()).isFalse(); in testPass_VerticalSwipe()
82 assertThat(mClassifier.classifyGesture(GENERIC, 0.5, 0).isFalse()).isFalse(); in testPass_VerticalSwipe()
88 assertThat(mClassifier.classifyGesture(GENERIC, 0.5, 0).isFalse()).isFalse(); in testPass_MostlyVerticalSwipe()
91 assertThat(mClassifier.classifyGesture(GENERIC, 0.5, 0).isFalse()).isFalse(); in testPass_MostlyVerticalSwipe()
94 assertThat(mClassifier.classifyGesture(GENERIC, 0.5, 0).isFalse()).isFalse(); in testPass_MostlyVerticalSwipe()
97 assertThat(mClassifier.classifyGesture(GENERIC, 0.5, 0).isFalse()).isFalse(); in testPass_MostlyVerticalSwipe()
104 assertThat(mClassifier.classifyGesture(GENERIC, 0.5, 0).isFalse()).isFalse(); in testPass_BarelyVerticalSwipe()
108 assertThat(mClassifier.classifyGesture(GENERIC, 0.5, 0).isFalse()).isFalse(); in testPass_BarelyVerticalSwipe()
[all …]
DProximityClassifierTest.java20 import static com.android.systemui.classifier.Classifier.GENERIC;
76 assertThat(mClassifier.classifyGesture(GENERIC, 0.5, 0).isFalse()).isFalse(); in testPass_uncovered()
85 assertThat(mClassifier.classifyGesture(GENERIC, 0.5, 0).isFalse()).isFalse(); in testPass_mostlyUncovered()
113 assertThat(mClassifier.classifyGesture(GENERIC, 0.5, 0).isFalse()).isTrue(); in testFail_covered()
124 assertThat(mClassifier.classifyGesture(GENERIC, 0.5, 0).isFalse()).isTrue(); in testFail_mostlyCovered()
134 assertThat(mClassifier.classifyGesture(GENERIC, 0.5, 0).isFalse()).isFalse(); in testPass_coveredWithLongSwipe()
DBrightLineFalsingManagerTest.java110 assertThat(mBrightLineFalsingManager.isFalseTouch(Classifier.GENERIC)).isTrue(); in testA11yDisablesGesture()
112 assertThat(mBrightLineFalsingManager.isFalseTouch(Classifier.GENERIC)).isFalse(); in testA11yDisablesGesture()
194 assertThat(mBrightLineFalsingManager.isFalseTouch(Classifier.GENERIC)).isTrue(); in testSkipUnfolded()
196 assertThat(mBrightLineFalsingManager.isFalseTouch(Classifier.GENERIC)).isFalse(); in testSkipUnfolded()
201 assertThat(mBrightLineFalsingManager.isFalseTouch(Classifier.GENERIC)).isTrue(); in testTrackpadGesture()
203 assertThat(mBrightLineFalsingManager.isFalseTouch(Classifier.GENERIC)).isFalse(); in testTrackpadGesture()
DPointerCountClassifierTest.java79 assertThat(mClassifier.classifyGesture(Classifier.GENERIC, 0.5, 1).isFalse()) in testFail_multiPointer()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_RenderNode.cpp93 return SET_AND_DIRTY(mutateLayerProperties().setType, layerType, RenderNode::GENERIC); in android_view_RenderNode_setLayerType()
98 return SET_AND_DIRTY(mutateLayerProperties().setFromPaint, paint, RenderNode::GENERIC); in android_view_RenderNode_setLayerPaint()
103 return SET_AND_DIRTY(setStaticMatrix, matrix, RenderNode::GENERIC); in android_view_RenderNode_setStaticMatrix()
108 return SET_AND_DIRTY(setAnimationMatrix, matrix, RenderNode::GENERIC); in android_view_RenderNode_setAnimationMatrix()
113 return SET_AND_DIRTY(setClipToBounds, clipToBounds, RenderNode::GENERIC); in android_view_RenderNode_setClipToBounds()
119 return SET_AND_DIRTY(setClipBounds, clipBounds, RenderNode::GENERIC); in android_view_RenderNode_setClipBounds()
123 return SET_AND_DIRTY(setClipBoundsEmpty,, RenderNode::GENERIC); in android_view_RenderNode_setClipBoundsEmpty()
128 return SET_AND_DIRTY(setProjectBackwards, shouldProject, RenderNode::GENERIC); in android_view_RenderNode_setProjectBackwards()
133 return SET_AND_DIRTY(setProjectionReceiver, shouldRecieve, RenderNode::GENERIC); in android_view_RenderNode_setProjectionReceiver()
141 renderNode->setPropertyFieldsDirty(RenderNode::GENERIC); in android_view_RenderNode_setOutlineRoundRect()
[all …]
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/registry/
DBenchmarkCategory.java28 @IntDef({BenchmarkCategory.GENERIC, BenchmarkCategory.UI, BenchmarkCategory.COMPUTE})
30 int GENERIC = 0; field
DBenchmarkRegistry.java104 return BenchmarkCategory.GENERIC; in getCategory()
138 BenchmarkCategory.GENERIC); in parseBenchmarkGroup()
199 case BenchmarkCategory.GENERIC: in getCategoryString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DClassifier.java37 public static final int GENERIC = 7; field in Classifier
58 GENERIC,
DBrightLineFalsingManager.java20 import static com.android.systemui.classifier.Classifier.GENERIC;
159 mPriorInteractionType = Classifier.GENERIC;
178 private @Classifier.InteractionType int mPriorInteractionType = Classifier.GENERIC;
265 if (skipFalsing(GENERIC)) { in isFalseTap()
329 if (skipFalsing(GENERIC)) { in isFalseLongTap()
377 if (skipFalsing(GENERIC)) { in isFalseDoubleTap()
384 Classifier.GENERIC, in isFalseDoubleTap()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DTestUtil.java62 return createSoundModel(SoundModelType.GENERIC); in createGenericSoundModel()
110 validateSoundModel_2_1(model, android.hardware.soundtrigger.V2_0.SoundModelType.GENERIC); in validateGenericSoundModel_2_1()
115 validateSoundModel_2_0(model, android.hardware.soundtrigger.V2_0.SoundModelType.GENERIC); in validateGenericSoundModel_2_0()
324 halEvent.type = SoundModelType.GENERIC; in createRecognitionEvent_2_0()
353 event.type = SoundModelType.GENERIC; in createRecognitionEvent()
383 assertEquals(SoundModelType.GENERIC, event.type); in validateRecognitionEvent()
DSoundTriggerDuplicateModelHandlerTest.java286 model.type = SoundModelType.GENERIC; in createSoundModelOne()
298 model.type = SoundModelType.GENERIC; in createSoundModelTwo()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DAidlUtil.java59 recognitionEvent.type = SoundModelType.GENERIC; in newAbortEvent()
DConversionUtil.java128 case SoundModelType.GENERIC: in aidl2hidlSoundModelType()
129 return android.hardware.soundtrigger.V2_0.SoundModelType.GENERIC; in aidl2hidlSoundModelType()
139 case android.hardware.soundtrigger.V2_0.SoundModelType.GENERIC: in hidl2aidlSoundModelType()
140 return SoundModelType.GENERIC; in hidl2aidlSoundModelType()
DSoundTriggerHalConcurrentCaptureHandler.java197 mLoadedModels.put(handle, new LoadedModel(SoundModelType.GENERIC, callback)); in loadSoundModel()
403 case SoundModelType.GENERIC: in notifyAbort()
DValidationUtil.java52 validateModel(model, SoundModelType.GENERIC); in validateGenericModel()
DFakeSoundTriggerHal.java643 event.type = SoundModelType.GENERIC; in createDefaultEvent()
/frameworks/base/core/jni/
Dandroid_os_HwBlob.h31 GENERIC, enumerator
Dandroid_os_HwBlob.cpp87 mType(BlobType::GENERIC), in JHwBlob()
166 CHECK_EQ(static_cast<int>(mType), static_cast<int>(BlobType::GENERIC)); in specializeBlobTo()
187 CHECK_EQ(static_cast<int>(mType), static_cast<int>(BlobType::GENERIC)); in writeToParcel()
207 case BlobType::GENERIC: { in writeEmbeddedToParcel()
/frameworks/base/libs/hwui/tests/common/scenes/
DOpPropAnimation.cpp69 content->setPropertyFieldsDirty(RenderNode::GENERIC); in doFrame()
DStretchyListViewAnimation.cpp213 mListView->setPropertyFieldsDirty(RenderNode::GENERIC); in doFrame()
/frameworks/base/libs/hwui/
DRenderNode.h82 GENERIC = 1 << 1, enumerator
DAnimator.cpp456 return RenderNode::GENERIC; in dirtyMask()
/frameworks/wilhelm/tests/sandbox/
Dreverb.c42 _(GENERIC)
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp993 node->setPropertyFieldsDirty(RenderNode::GENERIC); in buildLayer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationPanelViewController.java31 import static com.android.systemui.classifier.Classifier.GENERIC;
3870 @Classifier.InteractionType int interactionType = vel == 0 ? GENERIC