Searched defs:count (Results 276 - 300 of 430) sorted by path

<<1112131415161718

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFilter.java473 * @param count the minimum number of frames required to process.
478 protected final void setMinimumAvailableInputs(int count) { argument
479 mMinimumAvailableInputs = count;
499 * @param count the minimum number of frames required to process.
504 protected final void setMinimumAvailableOutputs(int count) { argument
505 mMinimumAvailableOutputs = count;
H A DImageShader.java144 // count depends on the drawing step. GL should catch such errors then, and
549 public void setVertexCount(int count) { argument
550 mVertexCount = count;
680 private static void checkTexCount(int count) { argument
681 if (count > maxTextureUnits()) {
682 throw new RuntimeException("Number of textures passed (" + count + ") exceeds the "
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DSmartCamera.java77 private static int count = -1; field in class:SmartCamera
83 if (count == numImages-1) countHasReachedMax = true;
84 count = (count+1) % numImages;
85 return mImages.get(count);
119 Log.v(TAG, "numImages: " + numImages + " count: " + count +
121 int maxI = countHasReachedMax ? numImages : count+1;
135 count = -1;
210 if (count
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DLowLevelNetRunner.java24 private int count = 0; field in class:LowLevelNetRunner
30 count++;
34 * Decrement the run count. If this returns to zero notify any
38 count--;
39 if (count <= 0) {
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp718 ssize_t count = 0; local
748 count += res;
756 count++;
764 return count;
994 int count; local
1033 count = assetAaptDir->slurpFullTree(bundle, assetRoot, group,
1035 if (count < 0) {
1036 totalCount = count;
1039 if (count > 0) {
1042 totalCount += count;
1165 status_t count = 0; local
1246 int count = 0; local
[all...]
H A DCommand.cpp160 int count, i; local
172 count = zip->getNumEntries();
173 for (i = 0; i < count; i++) {
H A DPackage.cpp61 int count; local
112 count = processAssets(bundle, zip, outputSet);
113 if (count < 0) {
116 result = count;
121 printf("Generated %d file%s\n", count, (count==1) ? "" : "s");
124 count = processJarFiles(bundle, zip);
125 if (count < 0) {
128 result = count;
133 printf("Included %d file%s from jar/zip files.\n", count, (coun
220 ssize_t count = 0; local
407 size_t count = 0; local
431 ssize_t count = 0; local
[all...]
H A DResourceTable.cpp2685 if (configSrcMap.count(defaultLocale) == 0) {
2729 configSrcMap.count(defaultLocale) == 0) {
3227 const size_t count = libs.size(); local
3234 libHeader->header.size = htodl(sizeof(*libHeader) + (sizeof(ResTable_lib_entry) * count));
3235 libHeader->count = htodl(count);
3238 for (size_t i = 0; i < count; i++) {
3674 mapHeader.count = htodl(N);
3956 printf("Internal error: remaining private symbol count mismatch\n");
H A DWorkQueue.cpp82 size_t count = mWorkUnits.size(); local
83 for (size_t i = 0; i < count; i++) {
107 size_t count = mWorkThreads.size(); local
108 for (size_t i = 0; i < count; i++) {
H A DZipFile.cpp177 int count = mEntries.size(); local
179 while (--count >= 0)
180 delete mEntries[count];
649 size_t count; local
654 count = fread(tmpBuf, 1, sizeof(tmpBuf), srcFp);
657 if (count == 0)
660 *pCRC32 = crc32(*pCRC32, tmpBuf, count);
662 if (fwrite(tmpBuf, 1, count, dstFp) != count) {
663 ALOGD("fwrite %d bytes failed\n", (int) count);
679 size_t count; local
705 size_t count; local
901 int i, count; local
953 int i, count; local
[all...]
/frameworks/base/tools/aidl/
H A Doptions_test.cpp23 int count = 0; local
24 while (expected[count] != NULL) {
25 count++;
27 if (got.size() != count) {
30 for (int i=0; i<count; i++) {
50 size_t count = got.size(); local
51 for (size_t i=0; i<count; i++) {
240 const int count = sizeof(g_tests)/sizeof(g_tests[0]); local
241 int matches[count];
244 for (int i=0; i<count;
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java533 /*package*/ static void native_drawPoints(long nativeCanvas, float[] pts, int offset, int count, argument
555 final float[] pts, final int offset, final int count,
561 for (int i = 0; i < count; i += 4) {
845 /*package*/ static void native_drawText(long nativeCanvas, char[] text, int index, int count, argument
847 drawText(nativeCanvas, text, index, count, startX, startY, flags == Canvas.DIRECTION_RTL,
855 int count = end - start;
856 char[] buffer = TemporaryBuffer.obtain(count);
859 native_drawText(nativeCanvas, buffer, 0, count, x, y, flags, paint, typeface);
866 int count = end - start;
867 char[] buffer = TemporaryBuffer.obtain(count);
554 native_drawLines(long nativeCanvas, final float[] pts, final int offset, final int count, long nativePaint) argument
874 native_drawTextRun(long nativeCanvas, char[] text, int start, int count, int contextStart, int contextCount, float x, float y, boolean isRtl, long paint, long typeface) argument
881 native_drawTextOnPath(long nativeCanvas, char[] text, int index, int count, long path, float hOffset, float vOffset, int bidiFlags, long paint, long typeface) argument
956 drawText(long nativeCanvas, final char[] text, final int index, final int count, final float startX, final float startY, final boolean isRtl, long paint, final long typeface) argument
[all...]
H A DPaint_Delegate.java600 int count, int bidiFlags) {
607 RectF bounds = delegate.measureText(text, index, count, null, 0, bidiFlags);
624 int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) {
632 int inc = count > 0 ? 1 : -1;
635 for (int i = index; i != index + count; i += inc, measureIndex++) {
655 // and we need to return a count, we simply return measureIndex;
955 char[] text, int index, int count, int bidiFlags, float[] widths) {
958 for (int i = 0; i< count; i++) {
973 RectF bounds = delegate.measureText(text, index, count, widths, 0, bidiFlags);
993 char[] text, int index, int count, in
599 native_measureText(Paint thisPaint, char[] text, int index, int count, int bidiFlags) argument
623 native_breakText(long nativePaint, long nativeTypeface, char[] text, int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) argument
954 native_getTextWidths(long native_object, long native_typeface, char[] text, int index, int count, int bidiFlags, float[] widths) argument
992 native_getTextRunAdvances(long native_object, long native_typeface, char[] text, int index, int count, int contextIndex, int contextCount, boolean isRtl, float[] advances, int advancesIndex) argument
1046 native_getTextPath(long native_object, long native_typeface, int bidiFlags, char[] text, int index, int count, float x, float y, long path) argument
1069 nativeGetCharArrayBounds(long nativePaint, long native_typeface, char[] text, int index, int count, int bidiFlags, Rect bounds) argument
1199 measureText(char[] text, int index, int count, float[] advances, int advancesIndex, int bidiFlags) argument
1205 measureText(char[] text, int index, int count, float[] advances, int advancesIndex, boolean isRtl) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/text/
H A DAndroidBidi_Delegate.java35 /*package*/ static int runBidi(int dir, char[] chars, byte[] charInfo, int count, argument
56 Bidi bidi = new Bidi(chars, 0, null, 0, count, dir);
58 for (int i = 0; i < count; ++i)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
H A DUnsafeByteSequence.java32 private int count; field in class:UnsafeByteSequence
39 return count;
47 count = 0;
51 if (count + length >= bytes.length) {
52 byte[] newBytes = new byte[(count + length) * 2];
53 System.arraycopy(bytes, 0, newBytes, 0, count);
56 System.arraycopy(buffer, offset, bytes, count, length);
57 count += length;
61 if (count == bytes.length) {
62 byte[] newBytes = new byte[count *
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java1716 /** Interface for callback invocation on a TX packet count poll action {@hide} */
1720 * @param count TX packet counter
1722 public void onSuccess(int count); argument
2095 * reference count, and the radio will remain locked as long as the reference count is
2126 * reference count, and the radio will be unlocked only when the reference count reaches
2127 * zero. If the reference count goes below zero (that is, if {@code release} is called
2161 * @param refCounted true if this WifiLock should keep a reference count
2318 * {@code acquire} will increment the reference count, an
[all...]
/frameworks/compile/libbcc/include/bcc/Renderscript/
H A DRSInfo.h58 uint32_t count; member in struct:bcc::rsinfo::ListHeader
/frameworks/compile/libbcc/lib/Support/
H A DInputFile.cpp26 ssize_t InputFile::read(void *pBuf, size_t count) { argument
31 if ((count <= 0) || (pBuf == NULL)) {
33 ALOGW("InputFile::read: count = %zu, buffer = %p", count, pBuf);
37 while (count > 0) {
38 ssize_t read_size = ::read(mFD, pBuf, count);
H A DOutputFile.cpp30 ssize_t OutputFile::write(const void *pBuf, size_t count) { argument
35 if ((count <= 0) || (pBuf == NULL)) {
37 ALOGW("OutputFile::write: count = %zu, buffer = %p", count, pBuf);
41 while (count > 0) {
42 ssize_t write_size = ::write(mFD, pBuf, count);
H A Dsha1.h11 uint32_t count[2]; member in struct:__anon1069
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectWriter.cpp191 // getOutputSize - count the final output size
684 uint64_t count = size / align_frag.getValueSize(); local
689 count);
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMLDBackend.cpp382 uint64_t count = size / align_frag.getValueSize(); local
385 std::memset(out_offset, align_frag.getValue(), count);
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp827 // count the number of dynsym to hash
1214 // count the number of dynsym to hash
1276 size_t count = 0; local
1295 ++count;
1298 if (count == 0)
1301 bucket[idx] = hashedidx - count;
2696 /// getHashBucketCount - calculate hash bucket count.
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.cpp213 uint64_t count = size / align_frag.getValueSize(); local
216 std::memset(out_offset, align_frag.getValue(), count);
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsGOT.cpp136 // FIXME: (simon) Do not count local entries for non-pic.
137 size_t count = it->m_GlobalNum + it->m_LocalNum; local
138 for (size_t i = 0; i < count; ++i)
243 if (m_InputLocalSymbols.count(entry))
248 if (m_MergedLocalSymbols.count(entry)) {
266 if (m_InputGlobalSymbols.count(&pInfo))
269 if (m_MergedGlobalSymbols.count(&pInfo)) {
322 if (it->m_Inputs.count(&pInput))

Completed in 642 milliseconds

<<1112131415161718