Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/smartspace/data/repository/
DFakeSmartspaceRepository.kt3 import android.app.smartspace.SmartspaceTarget
13 private val _communalSmartspaceTargets: MutableStateFlow<List<SmartspaceTarget>> =
15 override val communalSmartspaceTargets: Flow<List<SmartspaceTarget>> =
18 fun setCommunalSmartspaceTargets(targets: List<SmartspaceTarget>) { in setCommunalSmartspaceTargets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/data/repository/
DSmartspaceRepository.kt19 import android.app.smartspace.SmartspaceTarget in <lambda>()
38 val communalSmartspaceTargets: Flow<List<SmartspaceTarget>> in <lambda>()
52 private val _communalSmartspaceTargets: MutableStateFlow<List<SmartspaceTarget>> =
54 override val communalSmartspaceTargets: Flow<List<SmartspaceTarget>> =
73 _communalSmartspaceTargets.value = targets.filterIsInstance<SmartspaceTarget>() in onSmartspaceTargetsUpdated()
/frameworks/base/core/java/android/app/smartspace/
DSmartspaceTargetEvent.java82 private final SmartspaceTarget mSmartspaceTarget;
90 private SmartspaceTargetEvent(@Nullable SmartspaceTarget smartspaceTarget, in SmartspaceTargetEvent()
99 … mSmartspaceTarget = parcel.readParcelable(null, android.app.smartspace.SmartspaceTarget.class); in SmartspaceTargetEvent()
108 public SmartspaceTarget getSmartspaceTarget() { in getSmartspaceTarget()
176 private SmartspaceTarget mSmartspaceTarget;
191 public Builder setSmartspaceTarget(@NonNull SmartspaceTarget smartspaceTarget) { in setSmartspaceTarget()
DSmartspaceTarget.java55 public final class SmartspaceTarget implements Parcelable { class
279 private SmartspaceTarget(Parcel in) { in SmartspaceTarget() method in SmartspaceTarget
301 private SmartspaceTarget(String smartspaceTargetId, in SmartspaceTarget() method in SmartspaceTarget
485 public static final Creator<SmartspaceTarget> CREATOR = new Creator<SmartspaceTarget>() {
487 public SmartspaceTarget createFromParcel(Parcel source) {
488 return new SmartspaceTarget(source);
492 public SmartspaceTarget[] newArray(int size) {
493 return new SmartspaceTarget[size];
554 SmartspaceTarget that = (SmartspaceTarget) o; in equals()
801 public SmartspaceTarget build() { in build()
[all …]
DSmartspaceSession.java258 void onTargetsAvailable(@NonNull List<SmartspaceTarget> targets); in onTargetsAvailable()
263 private final Consumer<List<SmartspaceTarget>> mCallback;
267 @NonNull Consumer<List<SmartspaceTarget>> callback) { in CallbackWrapper()
DSmartspaceTarget.aidl19 parcelable SmartspaceTarget;
Dflags.aconfig8 description: "Flag to enable the FlaggedApi to include RemoteViews in SmartspaceTarget"
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/
DSmartspaceTargetFilter.kt18 import android.app.smartspace.SmartspaceTarget
48 fun filterSmartspaceTarget(t: SmartspaceTarget): Boolean
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DSmartspaceDedupingCoordinatorTest.kt19 import android.app.smartspace.SmartspaceTarget
74 private lateinit var target1: SmartspaceTarget
75 private lateinit var target2: SmartspaceTarget
76 private lateinit var target4: SmartspaceTarget
349 private fun buildTargetFor(entry: NotificationEntry): SmartspaceTarget { in buildTargetFor()
350 return SmartspaceTarget in buildTargetFor()
377 private fun sendTargets(vararg targets: SmartspaceTarget) { in sendTargets()
/frameworks/base/core/java/android/app/smartspace/uitemplatedata/
DCombinedCardsTemplateData.java22 import android.app.smartspace.SmartspaceTarget;
53 private CombinedCardsTemplateData(@SmartspaceTarget.UiTemplateType int templateType, in CombinedCardsTemplateData()
136 super(SmartspaceTarget.UI_TEMPLATE_COMBINED_CARDS); in Builder()
DSubImageTemplateData.java22 import android.app.smartspace.SmartspaceTarget;
62 private SubImageTemplateData(@SmartspaceTarget.UiTemplateType int templateType, in SubImageTemplateData()
173 super(SmartspaceTarget.UI_TEMPLATE_SUB_IMAGE); in Builder()
DSubListTemplateData.java22 import android.app.smartspace.SmartspaceTarget;
61 private SubListTemplateData(@SmartspaceTarget.UiTemplateType int templateType, in SubListTemplateData()
168 super(SmartspaceTarget.UI_TEMPLATE_SUB_LIST); in Builder()
DHeadToHeadTemplateData.java22 import android.app.smartspace.SmartspaceTarget;
68 private HeadToHeadTemplateData(@SmartspaceTarget.UiTemplateType int templateType, in HeadToHeadTemplateData()
218 super(SmartspaceTarget.UI_TEMPLATE_HEAD_TO_HEAD); in Builder()
DSubCardTemplateData.java22 import android.app.smartspace.SmartspaceTarget;
168 super(SmartspaceTarget.UI_TEMPLATE_SUB_CARD); in Builder()
DCarouselTemplateData.java22 import android.app.smartspace.SmartspaceTarget;
58 private CarouselTemplateData(@SmartspaceTarget.UiTemplateType int templateType, in CarouselTemplateData()
154 super(SmartspaceTarget.UI_TEMPLATE_CAROUSEL); in Builder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/shared/model/
DSmartspaceMediaDataProvider.kt19 import android.app.smartspace.SmartspaceTarget
42 override fun onTargetsAvailable(targets: List<SmartspaceTarget>) { in onTargetsAvailable()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/smartspace/
DCommunalSmartspaceControllerTest.kt20 import android.app.smartspace.SmartspaceTarget
99 override fun setMediaTarget(target: SmartspaceTarget?) {} in setMediaTarget()
142 var target = Mockito.mock(SmartspaceTarget::class.java) in testConnectOnListen()
146 withArgCaptor<List<SmartspaceTarget>> { verify(plugin).onTargetsAvailable(capture()) } in testConnectOnListen()
DDreamSmartspaceControllerTest.kt20 import android.app.smartspace.SmartspaceTarget
132 override fun setMediaTarget(target: SmartspaceTarget?) {} in setMediaTarget()
171 var target = Mockito.mock(SmartspaceTarget::class.java) in testConnectOnListen()
174 var targets = withArgCaptor<List<SmartspaceTarget>> { in testConnectOnListen()
/frameworks/base/packages/SystemUI/plugin/bcsmartspace/src/com/android/systemui/plugins/
DBcSmartspaceDataPlugin.java21 import android.app.smartspace.SmartspaceTarget;
95 default void onTargetsAvailable(List<SmartspaceTarget> targets) { in onTargetsAvailable()
185 default void setMediaTarget(@Nullable SmartspaceTarget target) { in setMediaTarget()
/frameworks/base/core/java/android/service/smartspace/
DSmartspaceService.java29 import android.app.smartspace.SmartspaceTarget;
263 @NonNull List<SmartspaceTarget> targets) { in updateSmartspaceTargets()
281 private static final class CallbackWrapper implements Consumer<List<SmartspaceTarget>>,
309 public void accept(List<SmartspaceTarget> smartspaceTargets) { in accept()
DISmartspaceService.aidl19 import android.app.smartspace.SmartspaceTarget;
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/filters/
DLockscreenTargetFilter.kt18 import android.app.smartspace.SmartspaceTarget
103 override fun filterSmartspaceTarget(t: SmartspaceTarget): Boolean { in filterSmartspaceTarget()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceControllerTest.kt23 import android.app.smartspace.SmartspaceTarget in <lambda>()
463 makeTarget(4, userHandlePrimary, featureType = SmartspaceTarget.FEATURE_WEATHER) in <lambda>()
508 makeTarget(4, userHandlePrimary, featureType = SmartspaceTarget.FEATURE_WEATHER) in <lambda>()
528 makeTarget(2, userHandlePrimary, featureType = SmartspaceTarget.FEATURE_WEATHER) in <lambda>()
921 ): SmartspaceTarget { in <lambda>()
922 return SmartspaceTarget.Builder( in <lambda>()
938 ): SmartspaceTarget { in <lambda>()
951 return SmartspaceTarget.Builder( in <lambda>()
956 .setFeatureType(SmartspaceTarget.FEATURE_WEATHER) in <lambda>()
1073 override fun setMediaTarget(target: SmartspaceTarget?) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
DSmartSpaceComplicationTest.java26 import android.app.smartspace.SmartspaceTarget;
148 final SmartspaceTarget target = Mockito.mock(SmartspaceTarget.class); in testOverlayActive_targetsNonEmpty_addsComplication()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceController.kt24 import android.app.smartspace.SmartspaceTarget in <lambda>()
132 private val recentSmartspaceData: Deque<List<SmartspaceTarget>> = LinkedList() in <lambda>()
202 t.featureType == SmartspaceTarget.FEATURE_WEATHER && in <lambda>()
577 private fun filterSmartspaceTarget(t: SmartspaceTarget): Boolean { in <lambda>()
578 if (isDateWeatherDecoupled() && t.featureType == SmartspaceTarget.FEATURE_WEATHER) { in <lambda>()
582 return t.featureType == SmartspaceTarget.FEATURE_WEATHER in <lambda>()

12