/frameworks/base/core/java/android/text/ |
H A D | TextDirectionHeuristics.java | 90 public boolean isRtl(char[] chars, int start, int count) { argument 91 if (chars == null || start < 0 || count < 0 || chars.length - count < start) { 97 return doCheck(chars, start, count); 100 private boolean doCheck(char[] chars, int start, int count) { argument 101 switch(mAlgorithm.checkRtl(chars, start, count)) { 164 TriState checkRtl(char[] text, int start, int count); argument 175 public TriState checkRtl(char[] text, int start, int count) { argument 177 for (int i = start, e = start + count; i < e && result == TriState.UNKNOWN; ++i) { 199 public TriState checkRtl(char[] text, int start, int count) { argument [all...] |
/frameworks/base/services/java/com/android/server/location/ |
H A D | GpsXtraDownloader.java | 57 int count = 0; 61 if (server1 != null) count++; 62 if (server2 != null) count++; 63 if (server3 != null) count++; 65 if (count == 0) { 69 mXtraServers = new String[count]; 70 count = 0; 71 if (server1 != null) mXtraServers[count++] = server1; 72 if (server2 != null) mXtraServers[count++] = server2; 73 if (server3 != null) mXtraServers[count [all...] |
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 51 size_t count; member in struct:android::region_operator::region 55 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) { } 57 : rects(r), count(c), dx(), dy() { } 59 : rects(r), count(c), dx(dx), dy(dy) { } 168 if (lhs.count) { 172 if (rhs.count) { 179 return !rhs.count && !lhs.count; 200 size_t count local [all...] |
/frameworks/av/include/media/nbaio/ |
H A D | LibsndfileSink.h | 45 virtual ssize_t write(const void *buffer, size_t count);
|
H A D | MonoPipeReader.h | 50 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
|
/frameworks/av/media/libnbaio/ |
H A D | MonoPipeReader.cpp | 46 ssize_t MonoPipeReader::read(void *buffer, size_t count, int64_t readPTS) argument 50 // with a count (which is the number of audio frames they are going to 52 // by the duration of count will give us the readPTS which will be passed to 57 nextReadPTS = mPipe->offsetTimestampByAudioFrames(readPTS, count); 59 // count == 0 is unlikely and not worth checking for explicitly; will be handled automatically 67 if (CC_LIKELY((size_t) red > count)) { 68 red = count;
|
H A D | NBAIO.cpp | 110 size_t count = total - accumulator; local 111 if (count > block) { 112 count = block; 114 ssize_t ret = via(user, buffer, count); 116 ALOG_ASSERT((size_t) ret <= count); 147 size_t count = total - accumulator; local 148 if (count > block) { 149 count = block; 151 ssize_t ret = read(buffer, count, readPTS); 153 ALOG_ASSERT((size_t) ret <= count); [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | Learner.java | 52 int count = instances.size(); 53 for (int i = 0; i < count; i++) { 70 final int count = instances.size(); 72 for (int i = 0; i < count; i++) {
|
/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/libs/hwui/ |
H A D | DisplayListLogBuffer.cpp | 89 uint32_t count = (level + 1) * 2; local 90 char indent[count + 1]; 91 for (uint32_t i = 0; i < count; i++) { 94 indent[count] = '\0';
|
/frameworks/base/voip/jni/rtp/ |
H A D | AudioCodec.h | 33 virtual int decode(int16_t *samples, int count, void *payload, int length) = 0;
|
/frameworks/compile/libbcc/include/bcc/Support/ |
H A D | InputFile.h | 30 ssize_t read(void *pBuf, size_t count);
|
/frameworks/compile/libbcc/lib/Support/ |
H A D | sha1.h | 9 unsigned long count[2]; member in struct:__anon1222
|
H A D | OutputFile.cpp | 83 ssize_t OutputFile::write(const void *pBuf, size_t count) { argument 88 if ((count <= 0) || (pBuf == NULL)) { 90 ALOGW("OutputFile::write: count = %zu, buffer = %p", count, pBuf); 94 while (count > 0) { 95 ssize_t write_size = ::write(mFD, pBuf, count);
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
H A D | UiCollection.java | 45 int count = getChildCount(childPattern); 46 for (int x = 0; x < count; x++) { 100 int count = getChildCount(childPattern); 101 for (int x = 0; x < count; x++) { 119 * currently visible. The count does not include items of a scrollable list 123 * elements to count
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
H A D | EnergyProbe.java | 58 int count = 0; 85 count++; 94 if (count == 0) { 97 return energy/count;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | armVCM4P2_BlockMatch_Half.c | 75 OMX_INT outer, inner, count, index; local 95 for (outer = 0, count = 0,index = 0; 99 for (inner = 0; inner < BlockSize; inner++, count++, index++) 101 refSAD += armAbs (pTempSrcRefBuf[index] - pSrcCurrBuf[count]); 150 for (outer = 0, count = 0, candSAD = 0,index = 0; 154 for (inner = 0; inner < BlockSize; inner++, count++,index++) 164 candSAD += armAbs (tempPel - pSrcCurrBuf[count]);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
H A D | h264bsd_interpolate_chroma_hor.s | 41 count RN 2 label 149 ;// pack values to count register 158 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1 159 ADD count, count, tmp2, LSL #24 ;// loop_y 160 ADD count, count, tmp1, LSL #20 ;// chromaPartWidth-1 161 AND tmp2, count, #0x00F00000 ;// loop_x 175 ADD count, coun [all...] |
H A D | h264bsd_interpolate_chroma_hor_ver.s | 42 count RN 2 label 155 ;// pack values to count register 164 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1 165 ADD count, count, tmp2, LSL #24 ;// loop_y 166 ADD count, count, tmp1, LSL #20 ;// chromaPartWidth-1 167 AND tmp2, count, #0x00F00000 ;// loop_x 190 ADD count, coun [all...] |
H A D | h264bsd_interpolate_chroma_ver.s | 40 count RN 2 label 147 ;// pack values to count register 156 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1 157 ADD count, count, tmp2, LSL #24 ;// loop_y 158 ADD count, count, tmp1, LSL #20 ;// chromaPartWidth-1 159 AND tmp2, count, #0x00F00000 ;// loop_x 173 ADD count, coun [all...] |
/frameworks/opt/mailcommon/java/com/android/mailcommon/ |
H A D | MergedAdapter.java | 91 int count = 0; 93 count += adapter.getCount(); 95 return count; 110 int count = 0; 114 int newCount = count + a.getCount(); 116 return new LocalAdapterPosition<T>(a, position - count); 118 count = newCount; 140 int count = 0; 142 count += adapter.getViewTypeCount(); 144 return count; [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | MemInfoReader.java | 73 int count = 0; 74 for (int i=0; i<len && count < 3; i++) { 78 count++; 82 count++; 86 count++;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 386 static jfloat measureText_CII(JNIEnv* env, jobject jpaint, jcharArray text, int index, int count) { argument 391 if ((index | count) < 0 || (size_t)(index + count) > textLength) { 395 if (count == 0) { 403 TextLayout::getTextRunAdvances(paint, textArray, index, count, textLength, 415 int count = end - start; local 416 if ((start | count) < 0 || (size_t)end > textLength) { 420 if (count == 0) { 428 TextLayout::getTextRunAdvances(paint, textArray, start, count, textLength, 455 static int dotextwidths(JNIEnv* env, SkPaint* paint, const jchar text[], int count, jfloatArra argument 481 getTextWidths___CII_F(JNIEnv* env, jobject clazz, SkPaint* paint, jcharArray text, int index, int count, jfloatArray widths) argument 492 int count = dotextwidths(env, paint, textArray + start, end - start, widths); local 497 doTextGlyphs(JNIEnv* env, SkPaint* paint, const jchar* text, jint start, jint count, jint contextCount, jint flags, jcharArray glyphs) argument 531 int count = doTextGlyphs(env, paint, textArray + contextStart, start - contextStart, local 537 doTextRunAdvances(JNIEnv *env, SkPaint *paint, const jchar *text, jint start, jint count, jint contextCount, jint flags, jfloatArray advances, jint advancesIndex) argument 569 doTextRunAdvancesICU(JNIEnv *env, SkPaint *paint, const jchar *text, jint start, jint count, jint contextCount, jint flags, jfloatArray advances, jint advancesIndex) argument 602 getTextRunAdvances___CIIIII_FII(JNIEnv* env, jobject clazz, SkPaint* paint, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jint flags, jfloatArray advances, jint advancesIndex, jint reserved) argument 628 doTextRunCursor(JNIEnv *env, SkPaint* paint, const jchar *text, jint start, jint count, jint flags, jint offset, jint opt) argument 690 getTextPath(JNIEnv* env, SkPaint* paint, const jchar* text, jint count, jint bidiFlags, jfloat x, jfloat y, SkPath *path) argument 695 getTextPath___C(JNIEnv* env, jobject clazz, SkPaint* paint, jint bidiFlags, jcharArray text, int index, int count, jfloat x, jfloat y, SkPath* path) argument 725 breakText(JNIEnv* env, SkPaint& paint, const jchar text[], int count, float maxWidth, jfloatArray jmeasured, SkPaint::TextBufferDirection tbd) argument 746 breakTextC(JNIEnv* env, jobject jpaint, jcharArray jtext, int index, int count, float maxWidth, jfloatArray jmeasuredWidth) argument 784 int count = env->GetStringLength(jtext); local 792 doTextBounds(JNIEnv* env, const jchar* text, int count, jobject bounds, const SkPaint& paint) argument 816 getCharArrayBounds(JNIEnv* env, jobject, const SkPaint* paint, jcharArray text, int index, int count, jobject bounds) argument [all...] |
H A D | TextLayout.cpp | 68 jint count, jint contextCount, jint dirFlags, 71 chars, start, count, contextCount, dirFlags); 84 jint count, jint contextCount, jint dirFlags, 87 computeAdvancesWithICU(paint, chars, start, count, contextCount, dirFlags, 97 void TextLayout::drawTextOnPath(SkPaint* paint, const jchar* text, int count, argument 105 text, 0, count, count, bidiFlags); 115 size_t start, size_t count, size_t contextCount, int dirFlags, 127 // Use fixed length since we need to keep start and count valid 134 for (int i = start, e = i + count; 67 getTextRunAdvances(SkPaint* paint, const jchar* chars, jint start, jint count, jint contextCount, jint dirFlags, jfloat* resultAdvances, jfloat* resultTotalAdvance) argument 83 getTextRunAdvancesICU(SkPaint* paint, const jchar* chars, jint start, jint count, jint contextCount, jint dirFlags, jfloat* resultAdvances, jfloat& resultTotalAdvance) argument 114 computeAdvancesWithICU(SkPaint* paint, const UChar* chars, size_t start, size_t count, size_t contextCount, int dirFlags, jfloat* outAdvances, jfloat* outTotalAdvance) argument [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/ |
H A D | ObjectFormat.java | 29 public static MutableFrameFormat fromClass(Class clazz, int count, int target) { argument 33 if (count != FrameFormat.SIZE_UNSPECIFIED) { 34 result.setDimensions(count); 50 public static MutableFrameFormat fromObject(Object object, int count, int target) { argument 53 : fromClass(object.getClass(), count, target);
|