Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 25 of 35) sorted by relevance

12

/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/
DMidiEventScheduler.java40 public void onSend(byte[] msg, int offset, int count, long timestamp) in onSend() argument
42 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); in onSend()
58 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() argument
59 super(timestamp); in MidiEvent()
79 long timestamp) { in createScheduledEvent() argument
82 event = new MidiEvent(msg, offset, count, timestamp); in createScheduledEvent()
90 event.setTimestamp(timestamp); in createScheduledEvent()
DMidiFramer.java49 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
70 offset - sysExStartOffset + 1, timestamp); in onSend()
84 offset - sysExStartOffset, timestamp); in onSend()
87 mReceiver.send(data, offset, 1, timestamp); in onSend()
96 mReceiver.send(mBuffer, 0, mCount, timestamp); in onSend()
108 offset - sysExStartOffset, timestamp); in onSend()
DEventScheduler.java100 public SchedulableEvent(long timestamp) { in SchedulableEvent() argument
101 mTimestamp = timestamp; in SchedulableEvent()
115 public void setTimestamp(long timestamp) { in setTimestamp() argument
116 mTimestamp = timestamp; in setTimestamp()
DMidiDispatcher.java78 public void onSend(byte[] msg, int offset, int count, long timestamp) throws IOException { in onSend() argument
81 receiver.send(msg, offset, count, timestamp); in onSend()
/developers/samples/android/common/src/java/com/example/android/common/midi/
DMidiEventScheduler.java40 public void onSend(byte[] msg, int offset, int count, long timestamp) in onSend() argument
42 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); in onSend()
58 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() argument
59 super(timestamp); in MidiEvent()
79 long timestamp) { in createScheduledEvent() argument
82 event = new MidiEvent(msg, offset, count, timestamp); in createScheduledEvent()
90 event.setTimestamp(timestamp); in createScheduledEvent()
DMidiFramer.java49 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
70 offset - sysExStartOffset + 1, timestamp); in onSend()
84 offset - sysExStartOffset, timestamp); in onSend()
87 mReceiver.send(data, offset, 1, timestamp); in onSend()
96 mReceiver.send(mBuffer, 0, mCount, timestamp); in onSend()
108 offset - sysExStartOffset, timestamp); in onSend()
DEventScheduler.java100 public SchedulableEvent(long timestamp) { in SchedulableEvent() argument
101 mTimestamp = timestamp; in SchedulableEvent()
115 public void setTimestamp(long timestamp) { in setTimestamp() argument
116 mTimestamp = timestamp; in setTimestamp()
DMidiDispatcher.java78 public void onSend(byte[] msg, int offset, int count, long timestamp) throws IOException { in onSend() argument
81 receiver.send(msg, offset, count, timestamp); in onSend()
/developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/
DMidiEventScheduler.java40 public void onSend(byte[] msg, int offset, int count, long timestamp) in onSend() argument
42 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); in onSend()
58 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() argument
59 super(timestamp); in MidiEvent()
79 long timestamp) { in createScheduledEvent() argument
82 event = new MidiEvent(msg, offset, count, timestamp); in createScheduledEvent()
90 event.setTimestamp(timestamp); in createScheduledEvent()
DMidiFramer.java49 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
70 offset - sysExStartOffset + 1, timestamp); in onSend()
84 offset - sysExStartOffset, timestamp); in onSend()
87 mReceiver.send(data, offset, 1, timestamp); in onSend()
96 mReceiver.send(mBuffer, 0, mCount, timestamp); in onSend()
108 offset - sysExStartOffset, timestamp); in onSend()
DEventScheduler.java100 public SchedulableEvent(long timestamp) { in SchedulableEvent() argument
101 mTimestamp = timestamp; in SchedulableEvent()
115 public void setTimestamp(long timestamp) { in setTimestamp() argument
116 mTimestamp = timestamp; in setTimestamp()
DMidiDispatcher.java78 public void onSend(byte[] msg, int offset, int count, long timestamp) throws IOException { in onSend() argument
81 receiver.send(msg, offset, count, timestamp); in onSend()
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/data/
DMessage.kt26 val timestamp: Long constant in com.example.android.bubbles.data.Message
37 var timestamp: Long? = null variable in com.example.android.bubbles.data.Message.Builder
38 fun build() = Message(id!!, sender!!, text!!, photo, timestamp!!)
/developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/
DConversations.java65 private final long timestamp; field in Conversations.Conversation
72 this.timestamp = System.currentTimeMillis(); in Conversation()
88 return timestamp; in getTimestamp()
95 ", timestamp=" + timestamp + "]"; in toString()
/developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/
DConversations.java65 private final long timestamp; field in Conversations.Conversation
72 this.timestamp = System.currentTimeMillis(); in Conversation()
88 return timestamp; in getTimestamp()
95 ", timestamp=" + timestamp + "]"; in toString()
/developers/samples/android/media/MidiScope/Application/src/main/java/com/example/android/midiscope/
DLoggingReceiver.java45 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
48 if (timestamp == 0) { in onSend()
51 long monoTime = timestamp - mStartTime; in onSend()
DMidiScope.java54 long timestamp) throws IOException { in onSend() argument
57 mDeviceFramer.send(data, offset, count, timestamp); in onSend()
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/midiscope/
DLoggingReceiver.java45 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
48 if (timestamp == 0) { in onSend()
51 long monoTime = timestamp - mStartTime; in onSend()
DMidiScope.java54 long timestamp) throws IOException { in onSend() argument
57 mDeviceFramer.send(data, offset, count, timestamp); in onSend()
/developers/samples/android/wearable/wear/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/
DMainActivity.java148 detectJump(event.values[0], event.timestamp); in onSensorChanged()
166 private void detectJump(float xGravity, long timestamp) { in detectJump() argument
171 if (timestamp - mLastTime < TIME_THRESHOLD_NS) { in detectJump()
176 mLastTime = timestamp; in detectJump()
/developers/build/prebuilts/gradle/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/
DMainActivity.java147 detectJump(event.values[0], event.timestamp); in onSensorChanged()
163 private void detectJump(float xValue, long timestamp) { in detectJump() argument
165 if(timestamp - mLastTime < TIME_THRESHOLD_NS && mUp != (xValue > 0)) { in detectJump()
169 mLastTime = timestamp; in detectJump()
/developers/build/prebuilts/gradle/JumpingJack/
DREADME.md20 detectJump(event.values[0], event.timestamp);
23 private void detectJump(float xValue, long timestamp) {
25 if(timestamp - mLastTime < TIME_THRESHOLD_NS && mUp != (xValue > 0)) {
29 mLastTime = timestamp;
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/synth/
DSynthEngine.java70 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
75 timestamp); in onSend()
82 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
/developers/samples/android/common/src/java/com/example/android/common/midi/synth/
DSynthEngine.java70 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
75 timestamp); in onSend()
82 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
/developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/synth/
DSynthEngine.java70 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
75 timestamp); in onSend()
82 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument

12