/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...] |
H A D | IntArray.java | 84 final int count = values.mSize; 85 ensureCapacity(count); 87 System.arraycopy(values.mValues, 0, mValues, mSize, count); 88 mSize += count; 92 * Ensures capacity to append at least <code>count</code> values. 94 private void ensureCapacity(int count) { argument 96 final int minCapacity = currentSize + count;
|
H A D | LogWriter.java | 64 @Override public void write(char[] buf, int offset, int count) { argument 65 for(int i = 0; i < count; i++) {
|
H A D | LongArray.java | 83 final int count = values.mSize; 84 ensureCapacity(count); 86 System.arraycopy(values.mValues, 0, mValues, mSize, count); 87 mSize += count; 91 * Ensures capacity to append at least <code>count</code> values. 93 private void ensureCapacity(int count) { argument 95 final int minCapacity = currentSize + count;
|
/frameworks/base/core/java/android/view/ |
H A D | FocusFinder.java | 181 final int count = focusables.size(); 184 return getNextFocusable(focused, focusables, count); 186 return getPreviousFocusable(focused, focusables, count); 188 return focusables.get(count - 1); 243 private static View getNextFocusable(View focused, ArrayList<View> focusables, int count) { argument 246 if (position >= 0 && position + 1 < count) { 256 private static View getPreviousFocusable(View focused, ArrayList<View> focusables, int count) { argument 264 return focusables.get(count - 1);
|
H A D | GLES20Canvas.java | 692 final int count = (meshWidth + 1) * (meshHeight + 1); 693 checkRange(verts.length, vertOffset, count * 2); 696 checkRange(colors.length, colorOffset, count); 762 public void drawLines(float[] pts, int offset, int count, Paint paint) { argument 763 if (count < 4) return; 765 if ((offset | count) < 0 || offset + count > pts.length) { 768 nDrawLines(mRenderer, pts, offset, count, paint.mNativePaint); 772 int offset, int count, long paint); 828 public void drawPoints(float[] pts, int offset, int count, Pain argument 771 nDrawLines(long renderer, float[] points, int offset, int count, long paint) argument 834 nDrawPoints(long renderer, float[] points, int offset, int count, long paint) argument 873 drawText(char[] text, int index, int count, float x, float y, Paint paint) argument 882 nDrawText(long renderer, char[] text, int index, int count, float x, float y, int bidiFlags, long paint, long typeface) argument 925 drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, float vOffset, Paint paint) argument 935 nDrawTextOnPath(long renderer, char[] text, int index, int count, long path, float hOffset, float vOffset, int bidiFlags, long nativePaint, long typeface) argument 952 drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, boolean isRtl, Paint paint) argument 962 nDrawTextRun(long renderer, char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, boolean isRtl, long nativePaint, long nativeTypeface) argument [all...] |
H A D | KeyEvent.java | 1240 * @param count Number of pairs as returned by event.getRepeatCount(). 1246 boolean onKeyMultiple(int keyCode, int count, KeyEvent event); argument 1279 * @param repeat A repeat count for down events (> 0 if this is after the 1280 * initial down) or event count for multiple events. 1302 * @param repeat A repeat count for down events (> 0 if this is after the 1303 * initial down) or event count for multiple events. 1327 * @param repeat A repeat count for down events (> 0 if this is after the 1328 * initial down) or event count for multiple events. 1356 * @param repeat A repeat count for down events (> 0 if this is after the 1357 * initial down) or event count fo [all...] |
H A D | ViewGroup.java | 930 final int count = mChildrenCount; 933 for (int i = 0; i < count; i++) { 958 final int count = mChildrenCount; 961 for (int i = 0; i < count; i++) { 1056 final int count = mChildrenCount; 1058 for (int i = 0; i < count; i++) { 1070 final int count = mChildrenCount; 1073 for (int i = 0; i < count; i++) { 1087 final int count = mChildrenCount; 1089 for (int i = 0; i < count; 4055 removeFromArray(int start, int count) argument 4103 attachLayoutAnimationParameters(View child, LayoutParams params, int index, int count) argument 4155 removeViewsInLayout(int start, int count) argument 4184 removeViews(int start, int count) argument 4284 removeViewsInternal(int start, int count) argument 4570 detachViewsFromParent(int start, int count) argument [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | LayoutAnimationController.java | 378 final float totalDelay = delay * params.count; 404 return params.count - 1 - params.index; 409 return (int) (params.count * mRandomizer.nextFloat()); 427 public int count; field in class:LayoutAnimationController.AnimationParameters
|
/frameworks/base/core/java/android/webkit/ |
H A D | FindActionModeCallback.java | 258 int count, 267 int count) { 256 beforeTextChanged(CharSequence s, int start, int count, int after) argument 264 onTextChanged(CharSequence s, int start, int before, int count) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsListView.java | 251 * Running count of how many items are currently checked 699 * Track the item count from the last time we handled a data change. 993 final int count = idStates.size(); 994 final long[] ids = new long[count]; 996 for (int i = 0; i < count; i++) { 1159 final int count = getChildCount(); 1162 for (int i = 0; i < count; i++) { 1472 // child count have not changed we will avoid sending duplicate accessibility 1852 final int count = mCheckedIdStates.size(); 1853 for (int i = 0; i < count; 5544 sendToTextFilter(int keyCode, int count, KeyEvent event) argument 5863 beforeTextChanged(CharSequence s, int start, int count, int after) argument 5872 onTextChanged(CharSequence s, int start, int before, int count) argument 5908 onFilterComplete(int count) argument [all...] |
H A D | AutoCompleteTextView.java | 750 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument 753 public void onTextChanged(CharSequence s, int start, int before, int count) { argument 955 public void onFilterComplete(int count) { argument 956 updateDropDownForFilter(count); 959 private void updateDropDownForFilter(int count) { argument 972 if ((count > 0 || dropDownAlwaysVisible) && enoughToFilter) { 979 // count (when the query is being performed on the network). Future updates when some 1125 final int count = Math.min(adapter.getCount(), 20); 1126 CompletionInfo[] completions = new CompletionInfo[count]; 1129 for (int i = 0; i < count; [all...] |