/frameworks/wilhelm/src/itf/ |
H A D | IMetadataTraversal.c | 55 SLuint32 count = thiz->mCount; local 57 *pCount = count;
|
/frameworks/av/media/libnbaio/ |
H A D | MonoPipe.cpp | 96 ssize_t MonoPipe::write(const void *buffer, size_t count) argument 102 while (count > 0) { 106 if (CC_LIKELY(written > count)) { 107 written = count; 128 count -= written; 156 ns = count * (1350000000 / Format_sampleRate(mFormat));
|
/frameworks/base/core/java/android/database/ |
H A D | BulkCursorNative.java | 93 int count = requery(observer); 95 reply.writeInt(count); 232 int count; 234 count = -1; 236 count = reply.readInt(); 239 return count;
|
/frameworks/base/services/java/com/android/server/display/ |
H A D | PersistentDataStore.java | 117 int count = displays.length; 118 for (int i = 0; i < count; i++) { 122 results = new WifiDisplay[count]; 123 System.arraycopy(displays, 0, results, 0, count); 160 int count = mRememberedWifiDisplays.size(); 161 for (int i = 0; i < count; i++) {
|
H A D | DisplayManagerService.java | 366 final int count = mDisplayDevices.size(); 367 for (int i = 0; i < count; i++) { 385 final int count = mDisplayDevices.size(); 386 for (int i = 0; i < count; i++) { 420 final int count = mLogicalDisplays.size(); 421 int[] displayIds = new int[count]; 422 for (int i = 0; i < count; i++) { 771 final int count = mDisplayDevices.size(); 772 for (int i = 0; i < count; i++) { 853 final int count [all...] |
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
H A D | PerformanceTest.java | 39 double count = 0; field in class:PerformanceTest.AnimStat 67 statVals.count += 1; 102 int count = (0 == mCount) ? Integer.MAX_VALUE : mCount; 104 b.putDouble(e.getKey(), e.getValue() / count); 111 double avg = statVals.aggVal/statVals.count; 112 double stdDev = Math.sqrt((statVals.aggSqrVal / statVals.count) - avg * avg);
|
/frameworks/base/core/java/android/widget/ |
H A D | LinearLayout.java | 320 final int count = getVirtualChildCount(); 321 for (int i = 0; i < count; i++) { 333 if (hasDividerBeforeChildAt(count)) { 334 final View child = getVirtualChildAt(count - 1); 347 final int count = getVirtualChildCount(); 349 for (int i = 0; i < count; i++) { 366 if (hasDividerBeforeChildAt(count)) { 367 final View child = getVirtualChildAt(count - 1); 639 final int count = getVirtualChildCount(); 652 for (int i = 0; i < count; 924 forceUniformWidth(int count, int heightMeasureSpec) argument 1340 forceUniformHeight(int count, int widthMeasureSpec) argument [all...] |
H A D | TabWidget.java | 180 final int count = getChildCount(); 183 for (int i = 0; i < count; i++) { 190 if (mImposedTabWidths == null || mImposedTabWidths.length != count) { 191 mImposedTabWidths = new int[count]; 193 for (int i = 0; i < count; i++) { 469 final int count = getTabCount(); 470 for (int i = 0; i < count; i++) {
|
H A D | ArrayAdapter.java | 466 results.count = list.size(); 475 final int count = values.size(); 478 for (int i = 0; i < count; i++) { 500 results.count = newValues.size(); 510 if (results.count > 0) {
|
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 595 int count; 599 count = nSaveLayer(mRenderer, nativePaint, saveFlags); 603 return count; 612 int count; 616 count = nSaveLayer(mRenderer, left, top, right, bottom, nativePaint, saveFlags); 620 return count; 884 final int count = (meshWidth + 1) * (meshHeight + 1); 885 checkRange(verts.length, vertOffset, count * 2); 888 checkRange(colors.length, colorOffset, count); 940 public void drawLines(float[] pts, int offset, int count, Pain argument 954 nDrawLines(int renderer, float[] points, int offset, int count, int paint) argument 1001 drawRects(float[] rects, int count, Paint paint) argument 1010 nDrawRects(int renderer, float[] rects, int count, int paint) argument 1065 drawPoints(float[] pts, int offset, int count, Paint paint) argument 1076 nDrawPoints(int renderer, float[] points, int offset, int count, int paint) argument 1081 drawPosText(char[] text, int index, int count, float[] pos, Paint paint) argument 1094 nDrawPosText(int renderer, char[] text, int index, int count, float[] pos, int paint) argument 1159 drawText(char[] text, int index, int count, float x, float y, Paint paint) argument 1172 nDrawText(int renderer, char[] text, int index, int count, float x, float y, int bidiFlags, int paint) argument 1227 drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, float vOffset, Paint paint) argument 1242 nDrawTextOnPath(int renderer, char[] text, int index, int count, int path, float hOffset, float vOffset, int bidiFlags, int nativePaint) argument 1262 drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, int dir, Paint paint) argument 1280 nDrawTextRun(int renderer, char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, int dir, int nativePaint) argument [all...] |
H A D | ViewDebug.java | 520 final int count = group.getChildCount(); 521 for (int i = 0; i < count; i++) { 588 final int count = group.getChildCount(); 589 for (int i = 0; i < count; i++) { 695 int count = group.getChildCount(); 697 for (int i = 0; i < count; i++) { 807 final int count = group.getChildCount(); 808 for (int i = 0; i < count; i++) { 844 final int count = group.getChildCount(); 845 for (int i = 0; i < count; [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
H A D | h264bsd_interpolate_ver_quarter.s | 37 count RN 2 label 137 ADD count, partW, partH, LSL #8 ;// |xx|xx|partH|partW| 139 RSB count, tmp5, count, LSL #8 ;// |xx|partH-1|partW-1|xx| 141 ADD count, count, tmp2 ;// |xx|partH-1|partW-1|verOffset| 144 AND tmp1, count, #0x0000FF00 ;// partWidth 148 ADD count, count, tmp1, LSL #16 ;// partWidth-1 to top byte 189 MOVS tmp1, count, LS [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabaseCursorTest.java | 273 int count = c.getCount(); 274 if (total == count) { 280 assertEquals(count, i); 295 final int count = 36799; 297 for (int i = 0; i < count; i++) { 310 assertEquals(count, i); 311 assertEquals(count, c.getCount()); 313 Log.d("testManyRows", "count " + Integer.toString(i)); 331 final int count = 600; // more than two fillWindow needed 333 for (int i = 0; i < count; [all...] |
/frameworks/base/media/java/android/mtp/ |
H A D | MtpPropertyGroup.java | 77 int count = properties.length; 78 ArrayList<String> columns = new ArrayList<String>(count); 81 mProperties = new Property[count]; 82 for (int i = 0; i < count; i++) { 85 count = columns.size(); 86 mColumns = new String[count]; 87 for (int i = 0; i < count; i++) { 334 int count = (c == null ? 1 : c.getCount()); 335 MtpPropertyList result = new MtpPropertyList(count * mProperties.length, 339 for (int objectIndex = 0; objectIndex < count; objectInde [all...] |
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringBuilder.java | 420 int count = mSpanCount - (i + 1); 421 System.arraycopy(mSpans, i + 1, mSpans, i, count); 422 System.arraycopy(mSpanStarts, i + 1, mSpanStarts, i, count); 423 System.arraycopy(mSpanEnds, i + 1, mSpanEnds, i, count); 424 System.arraycopy(mSpanFlags, i + 1, mSpanFlags, i, count); 641 int count = mSpanCount; 644 for (int i = 0; i < count; i++) { 708 int count = mSpanCount; 711 for (int i = count - 1; i >= 0; i--) { 730 int count [all...] |
/frameworks/native/opengl/tools/glgen/stubs/jsr239/ |
H A D | GLCHeader.cpp | 49 const GLvoid *ptr, GLsizei count); 51 const GLvoid *pointer, GLsizei count); 53 GLsizei stride, const GLvoid *pointer, GLsizei count); 55 GLsizei stride, const GLvoid *pointer, GLsizei count); 57 GLsizei stride, const GLvoid *pointer, GLsizei count); 59 GLsizei stride, const GLvoid *pointer, GLsizei count); 61 GLsizei stride, const GLvoid *pointer, GLsizei count);
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZoneFilterTypeAdapter.java | 181 results.count = 0; 254 results.count = filtered.size(); 402 if (results.values == null || results.count == 0) { 413 Log.d(TAG, "publishResults: " + results.count + " of null [" + constraint); 418 Log.d(TAG, "publishResults: " + results.count + " of " + mLiveResults.size() 422 mLiveResultsCount = results.count; 424 if (results.count > 0) {
|
/frameworks/wilhelm/tools/permute/ |
H A D | permute.c | 243 sf_count_t count; local 244 count = sf_readf_short(sf_in, ptr, sfinfo_in.frames); 245 if (count != sfinfo_in.frames) { 247 (int) sfinfo_in.frames, (int) count); 270 count = sf_writef_short(sf_out, &((short *) ptr)[sfinfo_in.channels * s.mSegmentArray[i] 272 if (count != s.mSegmentArray[i].mFrameLength) { 274 path_out, (int) s.mSegmentArray[i].mFrameLength, (int) count);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Canvas.cpp | 354 jint offset, jint count, jobject jpaint, 366 if ((offset | count) < 0 || offset + count > length) { 372 count >>= 1; // now it is the number of points 373 SkAutoSTMalloc<32, SkPoint> storage(count); 376 for (int i = 0; i < count; i++) { 380 canvas->drawPoints(mode, count, pts, paint); 384 jint offset, jint count, jobject jpaint) { 385 doPoints(env, jcanvas, jptsArray, offset, count, jpaint, 390 jint offset, jint count, jobjec 353 doPoints(JNIEnv* env, jobject jcanvas, jfloatArray jptsArray, jint offset, jint count, jobject jpaint, SkCanvas::PointMode mode) argument 383 drawPoints(JNIEnv* env, jobject jcanvas, jfloatArray jptsArray, jint offset, jint count, jobject jpaint) argument 389 drawLines(JNIEnv* env, jobject jcanvas, jfloatArray jptsArray, jint offset, jint count, jobject jpaint) argument 727 int count = ptCount; // for verts local 762 drawText___CIIFFIPaint(JNIEnv* env, jobject, SkCanvas* canvas, jcharArray text, int index, int count, jfloat x, jfloat y, int flags, SkPaint* paint) argument 783 jint count = end - start; local 787 drawTextWithGlyphs(SkCanvas* canvas, const jchar* textArray, int start, int count, int contextCount, jfloat x, jfloat y, int flags, SkPaint* paint) argument 845 doDrawGlyphs(SkCanvas* canvas, const jchar* glyphArray, int index, int count, jfloat x, jfloat y, int flags, SkPaint* paint) argument 851 doDrawGlyphsPos(SkCanvas* canvas, const jchar* glyphArray, const jfloat* posArray, int index, int count, jfloat x, jfloat y, int flags, SkPaint* paint) argument 862 drawTextRun___CIIIIFFIPaint( JNIEnv* env, jobject, SkCanvas* canvas, jcharArray text, int index, int count, int contextIndex, int contextCount, jfloat x, jfloat y, int dirFlags, SkPaint* paint) argument 878 jint count = end - start; local 886 drawPosText___CII_FPaint(JNIEnv* env, jobject, SkCanvas* canvas, jcharArray text, int index, int count, jfloatArray pos, SkPaint* paint) argument 943 drawTextOnPath___CIIPathFFPaint(JNIEnv* env, jobject, SkCanvas* canvas, jcharArray text, int index, int count, SkPath* path, jfloat hOffset, jfloat vOffset, jint bidiFlags, SkPaint* paint) argument 957 int count = env->GetStringLength(text); local [all...] |
/frameworks/base/libs/hwui/ |
H A D | DisplayListRenderer.h | 118 virtual status_t drawLines(float* points, int count, SkPaint* paint); 119 virtual status_t drawPoints(float* points, int count, SkPaint* paint); 120 virtual status_t drawTextOnPath(const char* text, int bytesCount, int count, SkPath* path, 122 virtual status_t drawPosText(const char* text, int bytesCount, int count, 124 virtual status_t drawText(const char* text, int bytesCount, int count, float x, float y, 127 virtual status_t drawRects(const float* rects, int count, SkPaint* paint); 205 inline T* refBuffer(const T* srcBuffer, int32_t count) { argument 207 T* dstBuffer = (T*) mDisplayListData->allocator.alloc(count * sizeof(T)); 208 memcpy(dstBuffer, srcBuffer, count * sizeof(T));
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | BlockingAudioTrack.java | 198 int count = 0; 199 while (count < bytes.length) { 202 int written = audioTrack.write(bytes, count, bytes.length); 206 count += written; 208 return count;
|
/frameworks/base/core/java/android/text/method/ |
H A D | PasswordTransformationMethod.java | 72 int count, int after) { 77 int before, int count) { 104 if (count > 0) { 107 if (count == 1) { 108 sp.setSpan(new Visible(sp, this), start, start + count, 71 beforeTextChanged(CharSequence s, int start, int count, int after) argument 76 onTextChanged(CharSequence s, int start, int before, int count) argument
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ListMenuPresenter.java | 231 int count = items.size() - mItemIndexOffset; 233 return count; 235 return count - 1; 267 final int count = items.size(); 268 for (int i = 0; i < count; i++) {
|
/frameworks/base/services/java/com/android/server/pm/ |
H A D | PackageSignatures.java | 53 serializer.attribute(null, "count", 80 String countStr = parser.getAttributeValue(null, "count"); 84 + " no count at " + parser.getPositionDescription()); 87 final int count = Integer.parseInt(countStr); 88 mSignatures = new Signature[count]; 103 if (pos < count) { 156 + "many <cert> tags, expected " + count 167 if (pos < count) {
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | RecurrenceProcessor.java | 91 if (rrule.count != 0) { 110 // If there were only "until"s and no "count"s, then return the 398 int generateByList(int count, int freq, int byFreq) argument 403 if (count == 0) { 411 private static boolean useBYX(int freq, int freqConstant, int count) argument 413 return freq > freqConstant && count > 0; 498 int i, count, v; 507 count = r.bydayCount; 508 if (count > 0) { 527 for (i=0; i<count; [all...] |