/frameworks/base/core/tests/coretests/src/android/service/controls/templates/ |
D | ControlTemplateTest.java | 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 ToggleRangeTemplate(TEST_ID, mControlButton, in testUnparcelingCorrectClass_toggleRange() [all …]
|
/frameworks/base/core/java/android/service/controls/templates/ |
D | ControlTemplate.java | 43 public abstract class ControlTemplate { class 54 public static final @NonNull ControlTemplate NO_TEMPLATE = new ControlTemplate("") { 65 private static final @NonNull ControlTemplate ERROR_TEMPLATE = new ControlTemplate("") { 151 private ControlTemplate() { in ControlTemplate() method in ControlTemplate 159 ControlTemplate(@NonNull Bundle b) { in ControlTemplate() method in ControlTemplate 166 ControlTemplate(@NonNull String templateId) { in ControlTemplate() method in ControlTemplate 178 static ControlTemplate createTemplateFromBundle(@Nullable Bundle bundle) { in createTemplateFromBundle() 212 public static ControlTemplate getErrorTemplate() { in getErrorTemplate() 229 public static ControlTemplate getNoTemplateObject() { in getNoTemplateObject()
|
D | ControlTemplateWrapper.java | 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()));
|
D | TemperatureControlTemplate.java | 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()
|
D | StatelessTemplate.java | 29 public final class StatelessTemplate extends ControlTemplate {
|
D | ToggleTemplate.java | 34 public final class ToggleTemplate extends ControlTemplate {
|
D | ToggleRangeTemplate.java | 31 public final class ToggleRangeTemplate extends ControlTemplate {
|
D | RangeTemplate.java | 30 public final class RangeTemplate extends ControlTemplate {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | TemperatureControlBehavior.kt | 22 import android.service.controls.templates.ControlTemplate in <lambda>() 50 if (subTemplate == ControlTemplate.getNoTemplateObject() || in <lambda>() 51 subTemplate == ControlTemplate.getErrorTemplate()) { in <lambda>()
|
D | TouchBehavior.kt | 23 import android.service.controls.templates.ControlTemplate 36 lateinit var template: ControlTemplate
|
D | ToggleRangeBehavior.kt | 27 import android.service.controls.templates.ControlTemplate in <lambda>() 104 private fun setupTemplate(template: ControlTemplate): Boolean { in <lambda>()
|
/frameworks/base/core/java/android/service/controls/ |
D | Control.java | 30 import android.service.controls.templates.ControlTemplate; 122 private final @NonNull ControlTemplate mControlTemplate; 151 @NonNull ControlTemplate controlTemplate, in Control() 326 public ControlTemplate getControlTemplate() { in getControlTemplate() 587 ControlTemplate.NO_TEMPLATE, in build() 624 private @NonNull ControlTemplate mControlTemplate = ControlTemplate.NO_TEMPLATE; 805 public StatefulBuilder setControlTemplate(@NonNull ControlTemplate controlTemplate) { in setControlTemplate()
|
D | ControlsProviderService.java | 35 import android.service.controls.templates.ControlTemplate; 246 == ControlTemplate.TYPE_NO_TEMPLATE
|
/frameworks/base/core/java/android/service/controls/actions/ |
D | ControlAction.java | 26 import android.service.controls.templates.ControlTemplate;
|
/frameworks/base/api/ |
D | current.txt | 43390 method @NonNull public android.service.controls.templates.ControlTemplate getControlTemplate(); 43415 …ol.StatefulBuilder setControlTemplate(@NonNull android.service.controls.templates.ControlTemplate); 43581 public abstract class ControlTemplate { 43582 …method @NonNull public static android.service.controls.templates.ControlTemplate getErrorTemplate(… 43583 …method @NonNull public static android.service.controls.templates.ControlTemplate getNoTemplateObje… 43595 public final class RangeTemplate extends android.service.controls.templates.ControlTemplate { 43605 public final class StatelessTemplate extends android.service.controls.templates.ControlTemplate { 43610 …final class TemperatureControlTemplate extends android.service.controls.templates.ControlTemplate { 43611 …emplate(@NonNull String, @NonNull android.service.controls.templates.ControlTemplate, int, int, in… 43615 method @NonNull public android.service.controls.templates.ControlTemplate getTemplate(); [all …]
|