OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:alarmOn
(Results
1 - 6
of
6
) sorted by null
/developers/build/prebuilts/gradle/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/
FindPhoneService.java
72
boolean
alarmOn
= false;
78
alarmOn
= DataMap.fromByteArray(result.get(0).getData())
90
alarmOn
= !
alarmOn
;
91
// Change notification text based on new value of
alarmOn
.
92
String notificationText =
alarmOn
? getString(R.string.turn_alarm_off)
96
// Use
alarmOn
boolean to update the DataItem - phone will respond accordingly
99
putDataMapRequest.getDataMap().putBoolean(FIELD_ALARM_ON,
alarmOn
);
/developers/samples/android/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/
FindPhoneService.java
72
boolean
alarmOn
= false;
78
alarmOn
= DataMap.fromByteArray(result.get(0).getData())
90
alarmOn
= !
alarmOn
;
91
// Change notification text based on new value of
alarmOn
.
92
String notificationText =
alarmOn
? getString(R.string.turn_alarm_off)
96
// Use
alarmOn
boolean to update the DataItem - phone will respond accordingly
99
putDataMapRequest.getDataMap().putBoolean(FIELD_ALARM_ON,
alarmOn
);
/development/samples/browseable/FindMyPhone/Wearable/src/com.example.android.wearable.findphone/
FindPhoneService.java
72
boolean
alarmOn
= false;
78
alarmOn
= DataMap.fromByteArray(result.get(0).getData())
90
alarmOn
= !
alarmOn
;
91
// Change notification text based on new value of
alarmOn
.
92
String notificationText =
alarmOn
? getString(R.string.turn_alarm_off)
96
// Use
alarmOn
boolean to update the DataItem - phone will respond accordingly
99
putDataMapRequest.getDataMap().putBoolean(FIELD_ALARM_ON,
alarmOn
);
/developers/build/prebuilts/gradle/FindMyPhone/Application/src/main/java/com/example/android/wearable/findphone/
SoundAlarmListenerService.java
74
Boolean
alarmOn
=
76
if (
alarmOn
) {
/developers/samples/android/wearable/wear/FindMyPhone/Application/src/main/java/com/example/android/wearable/findphone/
SoundAlarmListenerService.java
74
Boolean
alarmOn
=
76
if (
alarmOn
) {
/development/samples/browseable/FindMyPhone/Application/src/com.example.android.wearable.findphone/
SoundAlarmListenerService.java
74
Boolean
alarmOn
=
76
if (
alarmOn
) {
Completed in 145 milliseconds