/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 70 int count; member in struct:android::BootAnimation::Animation::Part
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothOutputStream.java | 60 * Writes {@code count} bytes from the byte array {@code buffer} starting 67 * @param count 73 * if {@code offset < 0} or {@code count < 0}, or if 74 * {@code offset + count} is bigger than the length of 78 public void write(byte[] b, int offset, int count) throws IOException { argument 82 if ((offset | count) < 0 || count > b.length - offset) { 85 mSocket.write(b, offset, count);
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderOperation.java | 83 final int count = source.readInt(); 84 for (int i = 0; i < count; i++) { 231 * if the number of rows affected didn't match the expected count 396 backRefValue = backRef.count; 605 * this count {@link OperationApplicationException} will be throw. 609 public Builder withExpectedCount(int count) { argument 614 mExpectedCount = count;
|
H A D | ContentProviderResult.java | 27 * to have exactly one of {@link #uri} or {@link #count} set. 31 public final Integer count; field in class:ContentProviderResult 36 this.count = null; 39 public ContentProviderResult(int count) { argument 40 this.count = count; 47 count = source.readInt(); 50 count = null; 58 count = cpr.count; [all...] |
H A D | UndoManager.java | 228 * Perform undo of last/top <var>count</var> undo states. The states impacted 233 * @param count Number of undo states to pop. 236 public int undo(UndoOwner[] owners, int count) { argument 251 while (count > 0 && (i=findPrevState(mUndos, owners, i)) >= 0) { 255 count--; 265 * Perform redo of last/top <var>count</var> undo states in the transient redo stack. 270 * @param count Number of undo states to pop. 273 public int redo(UndoOwner[] owners, int count) { argument 283 while (count > 0 && (i=findPrevState(mRedos, owners, i)) >= 0) { 287 count 305 forgetUndos(UndoOwner[] owners, int count) argument 323 forgetRedos(UndoOwner[] owners, int count) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | MacAuthenticatedInputStream.java | 71 public int read(byte[] buffer, int offset, int count) throws IOException { argument 72 int numRead = super.read(buffer, offset, count);
|
/frameworks/base/core/java/android/content/res/ |
H A D | AssetFileDescriptor.java | 225 public int read(byte[] buffer, int offset, int count) throws IOException { argument 228 if (count > mRemaining) count = (int)mRemaining; 229 int res = super.read(buffer, offset, count); 234 return super.read(buffer, offset, count); 243 public long skip(long count) throws IOException { argument 246 if (count > mRemaining) count = mRemaining; 247 long res = super.skip(count); 252 return super.skip(count); 300 write(byte[] buffer, int offset, int count) argument [all...] |
/frameworks/base/core/java/android/database/ |
H A D | BulkCursorDescriptor.java | 47 public int count; field in class:BulkCursorDescriptor 60 out.writeInt(count); 73 count = in.readInt();
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | InputMethodService.java | 1831 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { argument 1832 return doMovementKey(keyCode, event, count); 1900 void reportExtractedMovement(int keyCode, int count) { argument 1904 dx = -count; 1907 dx = count; 1910 dy = -count; 1913 dy = count; 1919 boolean doMovementKey(int keyCode, KeyEvent event, int count) { argument 1930 if (count == MOVEMENT_DOWN) { 1936 } else if (count [all...] |
H A D | SoftInputWindow.java | 153 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { argument 154 if (mKeyEventCallback != null && mKeyEventCallback.onKeyMultiple(keyCode, count, event)) { 157 return super.onKeyMultiple(keyCode, count, event);
|
/frameworks/base/core/java/android/net/http/ |
H A D | RequestHandle.java | 125 * @return true if we've hit the max redirect count 135 public void setRedirectCount(int count) { argument 136 mRedirectCount = count; 146 * count exceeded, body provider unable to rewind on 307 redirect)
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 215 * Returns the count associated with this Counter for the 234 * Returns the count associated with this Counter for the 253 * Returns the count associated with this Timer for the 1207 * Return count of number of times radio was up that could not be blamed on apps. 1805 int count = timer.getCountLocked(which); 1814 sb.append(count); 1836 int count = 0; 1839 count = timer.getCountLocked(which); 1845 sb.append(count); 1967 0 /*legacy input event count*/, getMobileRadioActiveTim 3728 dumpTimeEstimate(PrintWriter pw, String label, long[] steps, int count, long modesOfInterest, long modeValues) argument 3767 dumpDurationSteps(PrintWriter pw, String header, long[] steps, int count, boolean checkin) argument [all...] |
H A D | MemoryFile.java | 51 int srcOffset, int destOffset, int count, boolean isUnpinned) throws IOException; 53 int srcOffset, int destOffset, int count, boolean isUnpinned) throws IOException; 194 * @param count number of bytes to read. 198 public int readBytes(byte[] buffer, int srcOffset, int destOffset, int count) argument 203 if (destOffset < 0 || destOffset > buffer.length || count < 0 204 || count > buffer.length - destOffset 206 || count > mLength - srcOffset) { 209 return native_read(mFD, mAddress, buffer, srcOffset, destOffset, count, mAllowPurging); 219 * @param count number of bytes to write. 222 public void writeBytes(byte[] buffer, int srcOffset, int destOffset, int count) argument 50 native_read(FileDescriptor fd, long address, byte[] buffer, int srcOffset, int destOffset, int count, boolean isUnpinned) argument 52 native_write(FileDescriptor fd, long address, byte[] buffer, int srcOffset, int destOffset, int count, boolean isUnpinned) argument 303 read(byte buffer[], int offset, int count) argument 336 write(byte buffer[], int offset, int count) argument [all...] |
/frameworks/base/core/java/android/service/voice/ |
H A D | VoiceInteractionSession.java | 678 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { argument
|
/frameworks/base/core/java/android/test/ |
H A D | PerformanceTestCase.java | 32 void setInternalIterations(int count); argument 46 * <p>If you return a non-zero iteration count, you should call
|
/frameworks/base/core/java/android/text/ |
H A D | AndroidCharacter.java | 33 * Fill in the first <code>count</code> bytes of <code>dest</code> with the 34 * directionalities from the first <code>count</code> chars of <code>src</code>. 39 int count); 55 * Fill the first <code>count</code> bytes of <code>dest</code> with the 56 * East Asian Width from <code>count</code> chars of <code>src</code> 66 * @param count maximum number of characters to measure 70 int count, byte[] dest); 79 * @param count maximum number of characters to mirror 82 public native static boolean mirror(char[] text, int start, int count); argument 38 getDirectionalities(char[] src, byte[] dest, int count) argument 69 getEastAsianWidths(char[] src, int start, int count, byte[] dest) argument
|
H A D | PackedIntVector.java | 182 throw new IndexOutOfBoundsException("value count " + values.length); 210 * @param count the number of rows to delete. 213 * are out of range (row < 0 || count < 0 || 214 * row + count > size()). 216 public void deleteAt(int row, int count) { argument 217 if (((row | count) < 0) || (row + count > size())) { 218 throw new IndexOutOfBoundsException(row + ", " + count); 221 moveRowGapTo(row + count); 223 mRowGapStart -= count; [all...] |
H A D | PackedObjectVector.java | 85 deleteAt(int row, int count) argument 87 moveRowGapTo(row + count); 89 mRowGapStart -= count; 90 mRowGapLength += count;
|
H A D | TextDirectionHeuristic.java | 28 * @param count the length to check, must not be negative and not greater than 33 boolean isRtl(char[] array, int start, int count); argument 40 * @param count the length to check, must not be negative and not greater than 45 boolean isRtl(CharSequence cs, int start, int count); argument
|
H A D | TextDirectionHeuristics.java | 130 public boolean isRtl(char[] array, int start, int count) { argument 131 return isRtl(CharBuffer.wrap(array), start, count); 135 public boolean isRtl(CharSequence cs, int start, int count) { argument 136 if (cs == null || start < 0 || count < 0 || cs.length() - count < start) { 142 return doCheck(cs, start, count); 145 private boolean doCheck(CharSequence cs, int start, int count) { argument 146 switch(mAlgorithm.checkRtl(cs, start, count)) { 179 int checkRtl(CharSequence cs, int start, int count); argument 188 public int checkRtl(CharSequence cs, int start, int count) { argument 211 checkRtl(CharSequence cs, int start, int count) argument [all...] |
H A D | TextWatcher.java | 26 * the <code>count</code> characters beginning at <code>start</code> 32 int count, int after); 35 * the <code>count</code> characters beginning at <code>start</code> 40 public void onTextChanged(CharSequence s, int start, int before, int count); argument 31 beforeTextChanged(CharSequence s, int start, int count, int after) argument
|
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 441 int count; 443 for (int i = 0; i < length; i += count) { 444 count = 1; 448 count = skipQuotedText(inFormat, i, length); 462 int count = 1; 470 count++; 479 count++; 483 return count; 495 int count; 501 for (int i = 0; i < len; i += count) { 588 getDayOfWeekString(LocaleData ld, int day, int count, int kind) argument 599 getMonthString(LocaleData ld, int month, int count, int kind) argument 613 getTimeZoneString(Calendar inDate, int count) argument 625 formatZoneOffset(int offset, int count) argument 644 getYearString(int year, int count) argument [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | PasswordTransformationMethod.java | 71 int count, int after) { 76 int before, int count) { 103 if (count > 0) { 106 if (count == 1) { 107 sp.setSpan(new Visible(sp, this), start, start + count, 70 beforeTextChanged(CharSequence s, int start, int count, int after) argument 75 onTextChanged(CharSequence s, int start, int before, int count) argument
|
H A D | QwertyKeyListener.java | 114 int count = event.getRepeatCount(); 115 if (count > 0 && selStart == selEnd && selStart > 0) { 119 if (showCharacterPicker(view, content, c, false, count)) { 497 boolean insert, int count) { 503 if (count == 1) { 496 showCharacterPicker(View view, Editable content, char c, boolean insert, int count) argument
|
/frameworks/base/core/java/android/util/ |
H A D | Base64.java | 574 private int count; field in class:Base64.Encoder 592 count = do_newline ? LINE_GROUPS : -1; 608 int count = this.count; 650 if (--count == 0) { 653 count = LINE_GROUPS; 672 if (--count == 0) { 675 count = LINE_GROUPS; 714 } else if (do_newline && op > 0 && count != LINE_GROUPS) { 734 this.count [all...] |