/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/ |
D | MidiEventScheduler.java | 40 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 …]
|
D | MidiConstants.java | 90 int count) { in isAllActiveSensing() argument 93 for (int i = 0; i < count; i++) { in isAllActiveSensing()
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/ |
D | MidiEventScheduler.java | 40 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 …]
|
D | MidiConstants.java | 90 int count) { in isAllActiveSensing() argument 93 for (int i = 0; i < count; i++) { in isAllActiveSensing()
|
/development/tools/axl/ |
D | udpServer.py | 21 count = 0 22 while count < 500: 23 print 'Sending packet', count, 'to', address[0] 24 svrsocket.sendto("%3.3s%s" % (count, buf), address) 26 count += 1
|
D | udpEater.py | 38 count = 0 39 while count < 400: 41 print 'Received packet', count, data[:34] 42 count += 1
|
D | axl.py | 188 self.count = 0 192 self.count += len(data) 193 if self.count == 190890: 201 self.count = 0 205 if self.count == 0: self.write("HTTP/1.1 200 OK\r\n\r\n") 206 self.count += 1 213 self.count = 0 217 if self.count == 0: self.write("HTTP/1.1 200 OK\r\n\r\n") 220 def sendPack(self, count): argument 221 if count > 10: [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | FixedGridLayout.java | 62 int count = getChildCount(); in onMeasure() local 63 for (int index=0; index<count; index++) { in onMeasure() 69 int minCount = count > 3 ? count : 3; in onMeasure() 85 int count = getChildCount(); in onLayout() local 86 for (int index=0; index<count; index++) { in onLayout()
|
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/dummydata/ |
D | Cheeses.java | 173 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()
|
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/dummydata/ |
D | Cheeses.java | 173 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()
|
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/dummydata/ |
D | Cheeses.java | 173 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()
|
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/ |
D | FixedGridLayout.java | 75 int count = getChildCount(); in onMeasure() local 76 for (int index=0; index<count; index++) { in onMeasure() 81 setMeasuredDimension(resolveSize(mCellWidth*count, widthMeasureSpec), in onMeasure() 82 resolveSize(mCellHeight*count, heightMeasureSpec)); in onMeasure() 96 int count = getChildCount(); in onLayout() local 97 for (int index=0; index<count; index++) { in onLayout()
|
/development/tools/findunused/ |
D | findunusedstrings | 7 -p option prints out unused strings, otherwise a total count is printed 41 count=$(wc -l) 42 if [ "$count" != "0" ] 44 echo $app: $count unused strings
|
/development/tools/idegen/src/ |
D | Eclipse.java | 123 int count = 0; in constructExcluding() local 126 if (count == 0) { in constructExcluding() 127 count++; in constructExcluding() 136 if (count > 1) { in constructExcluding() 142 count++; in constructExcluding() 153 if (count > 1) { in constructExcluding() 159 count++; in constructExcluding()
|
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
D | EasyTextWatcher.java | 29 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
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/ |
D | SynthEngine.java | 70 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()
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/ |
D | SynthEngine.java | 70 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()
|
/development/samples/browseable/MidiScope/src/com.example.android.midiscope/ |
D | LoggingReceiver.java | 44 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument 54 sb.append(MidiPrinter.formatBytes(data, offset, count)); in onSend() 56 sb.append(MidiPrinter.formatMessage(data, offset, count)); in onSend()
|
/development/samples/Vault/src/com/example/android/vault/ |
D | Utils.java | 63 int count; in readFully() local 64 while ((count = in.read(buffer)) != -1) { in readFully() 65 bytes.write(buffer, 0, count); in readFully()
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/ |
D | FeedProvider.java | 152 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()
|
/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/ |
D | TextWatcherWrapper.java | 37 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
|
/development/tools/bugreport/src/com/android/bugreport/util/ |
D | ArgParser.java | 42 public boolean hasData(int count) { in hasData() argument 43 for (int i=mPos; i<mPos+count; i++) { in hasData()
|
/development/tools/repo_diff/ |
D | repo_diff_android.py | 81 count = 0 82 while count < retry: 83 count += 1 85 (count, retry, workspace)) 95 if count == retry and not ignore_error:
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | MeasureText.java | 74 int count = mPaint.getTextWidths(text, 0, text.length(), widths); in showText() local 83 float[] pts = new float[2 + count*2]; in showText() 88 for (int i = 0; i < count; i++) { in showText() 97 canvas.drawPoints(pts, 0, (count + 1) << 1, mPaint); in showText()
|
/development/apps/Development/src/com/android/development/ |
D | Details.java | 84 int count = mData.size(); in addDataViews() local 85 for (int i=0; i<count; i++) { in addDataViews() 89 contents.setPadding(3, 0, 0, i==count-1?0:3); in addDataViews() 143 int count = mData.size(); 144 for (int i=0; i<count; i++) {
|