Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 159) sorted by relevance

1234567

/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()
50 public int count = 0; field in MidiEventScheduler.MidiEvent
53 private MidiEvent(int count) { in MidiEvent() argument
55 data = new byte[count]; in MidiEvent()
58 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() argument
60 data = new byte[count]; in MidiEvent()
61 System.arraycopy(msg, offset, data, 0, count); in MidiEvent()
62 this.count = count; in MidiEvent()
68 for (int i = 0; i < count; i++) { in toString()
[all …]
DMidiConstants.java90 int count) { in isAllActiveSensing() argument
93 for (int i = 0; i < count; i++) { in isAllActiveSensing()
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()
50 public int count = 0; field in MidiEventScheduler.MidiEvent
53 private MidiEvent(int count) { in MidiEvent() argument
55 data = new byte[count]; in MidiEvent()
58 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() argument
60 data = new byte[count]; in MidiEvent()
61 System.arraycopy(msg, offset, data, 0, count); in MidiEvent()
62 this.count = count; in MidiEvent()
68 for (int i = 0; i < count; i++) { in toString()
[all …]
DMidiConstants.java90 int count) { in isAllActiveSensing() argument
93 for (int i = 0; i < count; i++) { in isAllActiveSensing()
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/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()
50 public int count = 0; field in MidiEventScheduler.MidiEvent
53 private MidiEvent(int count) { in MidiEvent() argument
55 data = new byte[count]; in MidiEvent()
58 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() argument
60 data = new byte[count]; in MidiEvent()
61 System.arraycopy(msg, offset, data, 0, count); in MidiEvent()
62 this.count = count; in MidiEvent()
68 for (int i = 0; i < count; i++) { in toString()
[all …]
DMidiConstants.java90 int count) { in isAllActiveSensing() argument
93 for (int i = 0; i < count; i++) { in isAllActiveSensing()
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/dummydata/
DCheeses.java173 public static ArrayList<String> randomList(int count) { in randomList() argument
178 count = Math.min(count, CHEESES.length); in randomList()
180 while (items.size() < count) { in randomList()
/developers/build/prebuilts/gradle/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/common/dummydata/
DCheeses.java173 public static ArrayList<String> randomList(int count) { in randomList() argument
178 count = Math.min(count, CHEESES.length); in randomList()
180 while (items.size() < count) { in randomList()
/developers/build/prebuilts/gradle/SwipeRefreshLayoutBasic/Application/src/main/java/com/example/android/common/dummydata/
DCheeses.java173 public static ArrayList<String> randomList(int count) { in randomList() argument
178 count = Math.min(count, CHEESES.length); in randomList()
180 while (items.size() < count) { in randomList()
/developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/src/main/java/com/example/android/common/dummydata/
DCheeses.java173 public static ArrayList<String> randomList(int count) { in randomList() argument
178 count = Math.min(count, CHEESES.length); in randomList()
180 while (items.size() < count) { in randomList()
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
DUpdateRecommendationsService.java45 int count = 0; in onHandleIntent() local
59 .setId(count + 1) in onHandleIntent()
60 .setPriority(MAX_RECOMMENDATIONS - count) in onHandleIntent()
67 if (++count >= MAX_RECOMMENDATIONS) { in onHandleIntent()
71 if (++count >= MAX_RECOMMENDATIONS) { in onHandleIntent()
DMovie.java29 private static long count = 0; field in Movie
43 return count; in getCount()
47 count++; in incCount()
/developers/samples/android/ui/graphics/PdfRendererBasic/Application/src/main/java/com/example/android/pdfrendererbasic/
DPdfRendererBasicViewModel.java189 final int count = mPdfRenderer.getPageCount(); in showPage() local
190 mPageInfo.postValue(new PageInfo(index, count)); in showPage()
192 mNextEnabled.postValue(index + 1 < count); in showPage()
197 final int count; field in PdfRendererBasicViewModel.PageInfo
199 PageInfo(int index, int count) { in PageInfo() argument
201 this.count = count; in PageInfo()
/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
73 if (!MidiConstants.isAllActiveSensing(data, offset, count)) { in onSend()
74 mEventScheduler.getReceiver().send(data, offset, count, in onSend()
82 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
102 logMidiMessage(data, offset, count); in onSend()
156 public void logMidiMessage(byte[] data, int offset, int count) { in logMidiMessage() argument
158 for (int i = 0; i < count; i++) { in logMidiMessage()
172 mFramer.send(event.data, 0, event.count, event.getTimestamp()); in processMidiEvents()
/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
73 if (!MidiConstants.isAllActiveSensing(data, offset, count)) { in onSend()
74 mEventScheduler.getReceiver().send(data, offset, count, in onSend()
82 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
102 logMidiMessage(data, offset, count); in onSend()
156 public void logMidiMessage(byte[] data, int offset, int count) { in logMidiMessage() argument
158 for (int i = 0; i < count; i++) { in logMidiMessage()
172 mFramer.send(event.data, 0, event.count, event.getTimestamp()); in processMidiEvents()
/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
73 if (!MidiConstants.isAllActiveSensing(data, offset, count)) { in onSend()
74 mEventScheduler.getReceiver().send(data, offset, count, in onSend()
82 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
102 logMidiMessage(data, offset, count); in onSend()
156 public void logMidiMessage(byte[] data, int offset, int count) { in logMidiMessage() argument
158 for (int i = 0; i < count; i++) { in logMidiMessage()
172 mFramer.send(event.data, 0, event.count, event.getTimestamp()); in processMidiEvents()
/developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/
DEasyTextWatcher.java29 public void beforeTextChanged(CharSequence s, int start, int count, int after) { in beforeTextChanged() argument
34 public void onTextChanged(CharSequence s, int start, int before, int count) { in onTextChanged() argument
/developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/
DEasyTextWatcher.java29 public void beforeTextChanged(CharSequence s, int start, int count, int after) { in beforeTextChanged() argument
34 public void onTextChanged(CharSequence s, int start, int before, int count) { in onTextChanged() argument
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/
DFeedProvider.java152 int count; in delete() local
155 count = builder.table(FeedContract.Entry.TABLE_NAME) in delete()
161 count = builder.table(FeedContract.Entry.TABLE_NAME) in delete()
173 return count; in delete()
184 int count; in update() local
187 count = builder.table(FeedContract.Entry.TABLE_NAME) in update()
193 count = builder.table(FeedContract.Entry.TABLE_NAME) in update()
204 return count; in update()
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/
DFeedProvider.java152 int count; in delete() local
155 count = builder.table(FeedContract.Entry.TABLE_NAME) in delete()
161 count = builder.table(FeedContract.Entry.TABLE_NAME) in delete()
173 return count; in delete()
184 int count; in update() local
187 count = builder.table(FeedContract.Entry.TABLE_NAME) in update()
193 count = builder.table(FeedContract.Entry.TABLE_NAME) in update()
204 return count; in update()
/developers/samples/android/admin/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/
DTextWatcherWrapper.java37 public void beforeTextChanged(CharSequence s, int start, int count, int after) { in beforeTextChanged() argument
42 public void onTextChanged(CharSequence s, int start, int before, int count) { in onTextChanged() argument
/developers/build/prebuilts/gradle/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/
DTextWatcherWrapper.java37 public void beforeTextChanged(CharSequence s, int start, int count, int after) { in beforeTextChanged() argument
42 public void onTextChanged(CharSequence s, int start, int before, int count) { in onTextChanged() argument

1234567