Home
last modified time | relevance | path

Searched refs:onOff (Results 1 – 7 of 7) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DAlarmItemViewHolder.kt40 val onOff: CompoundButton = itemView.findViewById(R.id.onoff) as CompoundButton in <lambda>() constant
52 onOff.setOnCheckedChangeListener { _, checked -> in <lambda>()
67 if (onOff.isChecked() != alarm.enabled) { in <lambda>()
68 onOff.isChecked = alarm.enabled in <lambda>()
DCollapsedAlarmViewHolder.kt158 onOff.visibility = View.VISIBLE in <lambda>()
170 onOff.visibility = View.INVISIBLE in <lambda>()
220 onOff.visibility = View.VISIBLE in <lambda>()
DExpandedAlarmViewHolder.kt304 onOff.visibility = View.VISIBLE in <lambda>()
317 onOff.visibility = View.INVISIBLE in <lambda>()
403 onOff.visibility = View.VISIBLE in <lambda>()
/packages/services/Car/service/src/com/android/car/hal/
DClusterHalService.java86 void onDisplayState(int onOff, Rect bounds, Insets insets); in onDisplayState() argument
242 int onOff = value.getInt32Value(0); in onHalEvents() local
257 callback.onDisplayState(onOff, bounds, insets); in onHalEvents()
292 public void reportState(int onOff, Rect bounds, Insets insets, in reportState() argument
300 onOff, in reportState()
/packages/services/Car/service/src/com/android/car/cluster/
DClusterHomeService.java237 public void onDisplayState(int onOff, Rect bounds, Insets insets) { in onDisplayState() argument
238 Slogf.d(TAG, "onDisplayState: onOff=%d, bounds=%s, insets=%s", onOff, bounds, insets); in onDisplayState()
240 if (onOff != DONT_CARE && mOnOff != onOff) { in onDisplayState()
241 mOnOff = onOff; in onDisplayState()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DClusterHalServiceTest.java99 public void onDisplayState(int onOff, Rect bounds, Insets insets) {
100 mOnOff = onOff;
335 private static HalPropValue createDisplayStateEvent(int onOff, in createDisplayStateEvent() argument
339 new int[]{onOff, boundsLeft, boundsTop, boundsRight, boundsBottom, insetsLeft, in createDisplayStateEvent()
/packages/services/Car/tests/carservice_test/src/com/android/car/cluster/
DClusterHomeManagerTest.java503 private static VehiclePropValue createDisplayStateEvent(int onOff, in createDisplayStateEvent() argument
509 event.value.int32Values = new int[]{onOff, boundsLeft, boundsTop, boundsRight, in createDisplayStateEvent()