Searched refs:ControlTemplate (Results 1 – 19 of 19) sorted by relevance
58 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 …]
44 public abstract class ControlTemplate { class55 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 ControlTemplate166 ControlTemplate(@NonNull Bundle b) { in ControlTemplate() method in ControlTemplate173 ControlTemplate(@NonNull String templateId) { in ControlTemplate() method in ControlTemplate192 static ControlTemplate createTemplateFromBundle(@Nullable Bundle bundle) { in createTemplateFromBundle()228 public static ControlTemplate getErrorTemplate() { in getErrorTemplate()245 public static ControlTemplate getNoTemplateObject() { in getNoTemplateObject()
31 private final @NonNull ControlTemplate mControlTemplate;33 public ControlTemplateWrapper(@NonNull ControlTemplate template) { in ControlTemplateWrapper()44 public ControlTemplate getWrappedTemplate() { in getWrappedTemplate()58 ControlTemplate.createTemplateFromBundle(source.readBundle()));
37 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()
29 public final class StatelessTemplate extends ControlTemplate {
34 public final class ToggleTemplate extends ControlTemplate {
31 public final class ToggleRangeTemplate extends ControlTemplate {
31 public final class ThumbnailTemplate extends ControlTemplate {
30 public final class RangeTemplate extends ControlTemplate {
22 import android.service.controls.templates.ControlTemplate in <lambda>()50 if (subTemplate == ControlTemplate.getNoTemplateObject() || in <lambda>()51 subTemplate == ControlTemplate.getErrorTemplate()) { in <lambda>()
23 import android.service.controls.templates.ControlTemplate36 lateinit var template: ControlTemplate
36 import android.service.controls.templates.ControlTemplate117 val controlTemplate: ControlTemplate118 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()
27 import android.service.controls.templates.ControlTemplate in <lambda>()104 private fun setupTemplate(template: ControlTemplate): Boolean { in <lambda>()
30 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()
39 import android.service.controls.templates.ControlTemplate;319 == ControlTemplate.TYPE_NO_TEMPLATE
26 import android.service.controls.templates.ControlTemplate118 .setControlTemplate(ControlTemplate.NO_TEMPLATE) in chevronIcon()
26 import android.service.controls.templates.ControlTemplate;
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
40552 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 …]