Home
last modified time | relevance | path

Searched refs:ControlTemplate (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/service/controls/templates/
DControlTemplateTest.java58 ControlTemplate toParcel = ControlTemplate.NO_TEMPLATE; in testUnparcelingCorrectClass_none()
60 ControlTemplate fromParcel = parcelAndUnparcel(toParcel); in testUnparcelingCorrectClass_none()
62 assertEquals(ControlTemplate.NO_TEMPLATE, fromParcel); in testUnparcelingCorrectClass_none()
67 ControlTemplate toParcel = new ToggleTemplate(TEST_ID, mControlButton); in testUnparcelingCorrectClass_toggle()
69 ControlTemplate fromParcel = parcelAndUnparcel(toParcel); in testUnparcelingCorrectClass_toggle()
71 assertEquals(ControlTemplate.TYPE_TOGGLE, fromParcel.getTemplateType()); in testUnparcelingCorrectClass_toggle()
77 ControlTemplate toParcel = new RangeTemplate(TEST_ID, 0, 2, 1, 1, "%f"); in testUnparcelingCorrectClass_range()
79 ControlTemplate fromParcel = parcelAndUnparcel(toParcel); in testUnparcelingCorrectClass_range()
81 assertEquals(ControlTemplate.TYPE_RANGE, fromParcel.getTemplateType()); in testUnparcelingCorrectClass_range()
107 ControlTemplate toParcel = new ThumbnailTemplate(TEST_ID, false, mIcon, in testUnparcelingCorrectClass_thumbnail()
[all …]
/frameworks/base/core/java/android/service/controls/templates/
DControlTemplate.java44 public abstract class ControlTemplate { class
55 public static final @NonNull ControlTemplate NO_TEMPLATE = new ControlTemplate("") {
66 private static final @NonNull ControlTemplate ERROR_TEMPLATE = new ControlTemplate("") {
158 private ControlTemplate() { in ControlTemplate() method in ControlTemplate
166 ControlTemplate(@NonNull Bundle b) { in ControlTemplate() method in ControlTemplate
173 ControlTemplate(@NonNull String templateId) { in ControlTemplate() method in ControlTemplate
192 static ControlTemplate createTemplateFromBundle(@Nullable Bundle bundle) { in createTemplateFromBundle()
228 public static ControlTemplate getErrorTemplate() { in getErrorTemplate()
245 public static ControlTemplate getNoTemplateObject() { in getNoTemplateObject()
DControlTemplateWrapper.java31 private final @NonNull ControlTemplate mControlTemplate;
33 public ControlTemplateWrapper(@NonNull ControlTemplate template) { in ControlTemplateWrapper()
44 public ControlTemplate getWrappedTemplate() { in getWrappedTemplate()
58 ControlTemplate.createTemplateFromBundle(source.readBundle()));
DTemperatureControlTemplate.java37 public final class TemperatureControlTemplate extends ControlTemplate {
146 private final @NonNull ControlTemplate mTemplate;
164 @NonNull ControlTemplate controlTemplate, in TemperatureControlTemplate()
202 mTemplate = ControlTemplate.createTemplateFromBundle(b.getBundle(KEY_TEMPLATE)); in TemperatureControlTemplate()
224 public ControlTemplate getTemplate() { in getTemplate()
DStatelessTemplate.java29 public final class StatelessTemplate extends ControlTemplate {
DToggleTemplate.java34 public final class ToggleTemplate extends ControlTemplate {
DToggleRangeTemplate.java31 public final class ToggleRangeTemplate extends ControlTemplate {
DThumbnailTemplate.java31 public final class ThumbnailTemplate extends ControlTemplate {
DRangeTemplate.java30 public final class RangeTemplate extends ControlTemplate {
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DTemperatureControlBehavior.kt22 import android.service.controls.templates.ControlTemplate in <lambda>()
50 if (subTemplate == ControlTemplate.getNoTemplateObject() || in <lambda>()
51 subTemplate == ControlTemplate.getErrorTemplate()) { in <lambda>()
DTouchBehavior.kt23 import android.service.controls.templates.ControlTemplate
36 lateinit var template: ControlTemplate
DControlViewHolder.kt36 import android.service.controls.templates.ControlTemplate
117 val controlTemplate: ControlTemplate
118 get() = cws.control?.let { it.controlTemplate } ?: ControlTemplate.NO_TEMPLATE in <lambda>()
133 template: ControlTemplate, in findBehaviorClass()
138 template == ControlTemplate.NO_TEMPLATE -> Supplier { TouchBehavior() } in findBehaviorClass()
253 controlTemplate == ControlTemplate.NO_TEMPLATE in usePanel()
DToggleRangeBehavior.kt27 import android.service.controls.templates.ControlTemplate in <lambda>()
104 private fun setupTemplate(template: ControlTemplate): Boolean { in <lambda>()
/frameworks/base/core/java/android/service/controls/
DControl.java30 import android.service.controls.templates.ControlTemplate;
122 private final @NonNull ControlTemplate mControlTemplate;
154 @NonNull ControlTemplate controlTemplate, in Control()
332 public ControlTemplate getControlTemplate() { in getControlTemplate()
602 ControlTemplate.NO_TEMPLATE, in build()
641 private @NonNull ControlTemplate mControlTemplate = ControlTemplate.NO_TEMPLATE;
824 public StatefulBuilder setControlTemplate(@NonNull ControlTemplate controlTemplate) { in setControlTemplate()
DControlsProviderService.java39 import android.service.controls.templates.ControlTemplate;
319 == ControlTemplate.TYPE_NO_TEMPLATE
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DControlViewHolderTest.kt26 import android.service.controls.templates.ControlTemplate
118 .setControlTemplate(ControlTemplate.NO_TEMPLATE) in chevronIcon()
/frameworks/base/core/java/android/service/controls/actions/
DControlAction.java26 import android.service.controls.templates.ControlTemplate;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt40552 method @NonNull public android.service.controls.templates.ControlTemplate getControlTemplate();
40579 …ol.StatefulBuilder setControlTemplate(@NonNull android.service.controls.templates.ControlTemplate);
40750 public abstract class ControlTemplate {
40751 …method @NonNull public static android.service.controls.templates.ControlTemplate getErrorTemplate(…
40752 …method @NonNull public static android.service.controls.templates.ControlTemplate getNoTemplateObje…
40765 public final class RangeTemplate extends android.service.controls.templates.ControlTemplate {
40775 public final class StatelessTemplate extends android.service.controls.templates.ControlTemplate {
40780 …final class TemperatureControlTemplate extends android.service.controls.templates.ControlTemplate {
40781 …emplate(@NonNull String, @NonNull android.service.controls.templates.ControlTemplate, int, int, in…
40785 method @NonNull public android.service.controls.templates.ControlTemplate getTemplate();
[all …]