Searched refs:count (Results 476 - 500 of 1215) sorted by relevance

<<11121314151617181920>>

/frameworks/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
H A DAppNavHomeActivity.java60 final int count = infos.size();
61 for (int i = 0; i < count; i++) {
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DMenuAdapter.java108 final int count = items.size();
109 for (int i = 0; i < count; i++) {
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DButtonBarLayout.java104 for (int i = 0, count = getChildCount(); i < count; i++) {
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java124 // Row count is one more than the last item's row index.
138 // Column count is one more than the last item's column index.
516 int count = 0;
517 while (count < mSpanCount && layoutState.hasMore(state) && remainingSpan > 0) {
519 outIndices[count] = pos;
523 count++;
525 return count;
542 int count = 0;
550 while (count < mSpanCount && layoutState.hasMore(state) && remainingSpan > 0) {
567 mSet[count]
770 assignSpans(RecyclerView.Recycler recycler, RecyclerView.State state, int count, int consumedSpanCount, boolean layingOutInPrimaryDirection) argument
[all...]
/frameworks/wilhelm/src/android/
H A DBufferQueueSource.cpp72 if (mAndroidBufferQueueSource->mState.count == 0) {
116 mAndroidBufferQueueSource->mState.count--;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java625 int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) {
633 int inc = count > 0 ? 1 : -1;
636 for (int i = index; i != index + count; i += inc, measureIndex++) {
656 // and we need to return a count, we simply return measureIndex;
966 char[] text, int index, int count, int contextIndex, int contextCount,
970 for (int i = advancesIndex; i< advancesIndex+count; i++)
983 RectF bounds = delegate.measureText(text, index, count, advances, advancesIndex, bidiFlags);
992 int count = end - start;
993 char[] buffer = TemporaryBuffer.obtain(count);
996 return nGetTextAdvances(native_object, native_typeface, buffer, 0, count,
624 nBreakText(long nativePaint, long nativeTypeface, char[] text, int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) argument
965 nGetTextAdvances(long native_object, long native_typeface, char[] text, int index, int count, int contextIndex, int contextCount, int bidiFlags, float[] advances, int advancesIndex) argument
1019 nGetTextPath(long native_object, long native_typeface, int bidiFlags, char[] text, int index, int count, float x, float y, long path) argument
1042 nGetCharArrayBounds(long nativePaint, long native_typeface, char[] text, int index, int count, int bidiFlags, Rect bounds) argument
1299 measureText(char[] text, int index, int count, float[] advances, int advancesIndex, int bidiFlags) argument
1305 measureText(char[] text, int index, int count, float[] advances, int advancesIndex, boolean isRtl) argument
[all...]
H A DCanvas_Delegate.java547 public static void native_drawPoints(long nativeCanvas, float[] pts, int offset, int count, argument
569 final float[] pts, final int offset, final int count,
575 for (int i = 0; i < count; i += 4) {
939 public static void native_drawText(long nativeCanvas, char[] text, int index, int count, argument
941 drawText(nativeCanvas, text, index, count, startX, startY, (flags & 1) != 0,
949 int count = end - start;
950 char[] buffer = TemporaryBuffer.obtain(count);
953 native_drawText(nativeCanvas, buffer, 0, count, x, y, flags, paint, typeface);
960 int count = end - start;
961 char[] buffer = TemporaryBuffer.obtain(count);
568 native_drawLines(long nativeCanvas, final float[] pts, final int offset, final int count, long nativePaint) argument
968 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
975 native_drawTextOnPath(long nativeCanvas, char[] text, int index, int count, long path, float hOffset, float vOffset, int bidiFlags, long paint, long typeface) argument
1051 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...]
/frameworks/base/libs/hwui/
H A DOpenGLRenderer.cpp362 int count = mLayerUpdates.size(); local
363 if (count > 0) {
371 for (int i = 0; i < count; i++) {
385 int count = mLayerUpdates.size(); local
386 if (count > 0) {
390 for (int i = 0; i < count; i++) {
477 const int count = mState.saveSnapshot(flags); local
483 return count;
532 const int count = mState.saveSnapshot(flags); local
552 return count;
871 shadeSpan(int x, int y, SkPMColor[], int count) argument
931 size_t count; local
981 size_t count; local
1736 drawLines(const float* points, int count, const SkPaint* paint) argument
1753 drawPoints(const float* points, int count, const SkPaint* paint) argument
1960 drawTextShadow(const SkPaint* paint, const glyph_t* glyphs, int count, const float* positions, FontRenderer& fontRenderer, int alpha, float x, float y) argument
2095 drawText(const glyph_t* glyphs, int bytesCount, int count, float x, float y, const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds, DrawOpMode drawOpMode) argument
2184 drawTextOnPath(const glyph_t* glyphs, int bytesCount, int count, const SkPath* path, float hOffset, float vOffset, const SkPaint* paint) argument
2343 drawRects(const float* rects, int count, const SkPaint* paint) argument
2383 drawColorRects(const float* rects, int count, const SkPaint* paint, bool ignoreTransform, bool dirty, bool clip) argument
[all...]
H A DPatchCache.cpp120 size_t count = mGarbage.size(); local
121 for (size_t i = 0; i < count; i++) {
137 size_t count = mGarbage.size(); local
138 for (size_t i = 0; i < count; i++) {
/frameworks/base/media/java/android/mtp/
H A DMtpDatabase.java177 int count = subDirectories.length;
178 for (int i = 0; i < count; i++) {
181 if (i != count - 1) {
189 mSubDirectoriesWhereArgs = new String[count * 2];
190 for (int i = 0, j = 0; i < count; i++) {
524 int count = c.getCount();
525 if (count > 0) {
526 int[] result = new int[count];
527 for (int i = 0; i < count; i++) {
1018 int count
[all...]
/frameworks/base/core/java/android/widget/
H A DLinearLayout.java359 final int count = getVirtualChildCount();
360 for (int i = 0; i < count; i++) {
371 if (hasDividerBeforeChildAt(count)) {
399 final int count = getVirtualChildCount();
401 for (int i = 0; i < count; i++) {
417 if (hasDividerBeforeChildAt(count)) {
700 final int count = getVirtualChildCount();
715 for (int i = 0; i < count; ++i) {
828 if (mTotalLength > 0 && hasDividerBeforeChildAt(count)) {
836 for (int i = 0; i < count;
984 forceUniformWidth(int count, int heightMeasureSpec) argument
1400 forceUniformHeight(int count, int widthMeasureSpec) argument
[all...]
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbSettingsManager.java153 int count = parser.getAttributeCount();
154 for (int i = 0; i < count; i++) {
250 int count = device.getInterfaceCount();
251 for (int i = 0; i < count; i++) {
397 int count = parser.getAttributeCount();
398 for (int i = 0; i < count; i++) {
540 int count = parser.getAttributeCount();
541 for (int i = 0; i < count; i++) {
710 int count = resolveInfos.size();
711 for (int i = 0; i < count;
[all...]
/frameworks/minikin/libs/minikin/
H A DLayout.cpp113 const uint16_t* chars, size_t start, size_t count, size_t nchars, bool dir)
115 mStart(start), mCount(count), mId(collection->getId()), mStyle(style),
475 BidiText(const uint16_t* buf, size_t start, size_t count, size_t bufSize, int bidiFlags);
543 BidiText::BidiText(const uint16_t* buf, size_t start, size_t count, size_t bufSize, int bidiFlags) argument
544 : mStart(start), mEnd(start + count), mBufSize(bufSize), mBidi(NULL), mRunCount(1),
579 void Layout::doLayout(const uint16_t* buf, size_t start, size_t count, size_t bufSize, argument
588 mAdvances.resize(count, 0);
590 for (const BidiText::Iter::RunInfo& runInfo : BidiText(buf, start, count, bufSize, bidiFlags)) {
597 float Layout::measureText(const uint16_t* buf, size_t start, size_t count, size_t bufSize, argument
607 for (const BidiText::Iter::RunInfo& runInfo : BidiText(buf, start, count, bufSiz
112 LayoutCacheKey(const FontCollection* collection, const MinikinPaint& paint, FontStyle style, const uint16_t* chars, size_t start, size_t count, size_t nchars, bool dir) argument
617 doLayoutRunCached(const uint16_t* buf, size_t start, size_t count, size_t bufSize, bool isRtl, LayoutContext* ctx, size_t dstStart, const FontCollection* collection, Layout* layout, float* advances) argument
656 doLayoutWord(const uint16_t* buf, size_t start, size_t count, size_t bufSize, bool isRtl, LayoutContext* ctx, size_t bufStart, const FontCollection* collection, Layout* layout, float* advances) argument
705 doLayoutRun(const uint16_t* buf, size_t start, size_t count, size_t bufSize, bool isRtl, LayoutContext* ctx) argument
[all...]
/frameworks/av/camera/
H A DCameraBase.cpp213 int32_t count; local
216 &count);
220 count = 0;
222 return count;
/frameworks/av/cmds/screenrecord/
H A DProgram.h62 const float* vertices, const float* texes, size_t count) const;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvlc_decode.cpp1475 int count, len, num[2] = {0, 0} /* 01/30/01 */; local
1501 count = 1;
1502 while (mask && count > 0) /* fix 3/28/01 */
1506 count--;
1514 count = 2;
1515 while (mask && count > 0) /* fix 3/28/01 */
1519 count--;
1521 num[count-1]++; /* number of ones in the middle */
1558 int count, len, num[2] = {0, 0} /* 01/30/01 */; local
1584 count
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DH264SwDecApi.c97 void H264SwDecMemcpy(void *dest, void *src, u32 count) { argument
98 memcpy(dest, src, count);
101 void H264SwDecMemset(void *ptr, i32 value, u32 count) { argument
102 memset(ptr, value, count);
/frameworks/av/services/camera/libcameraservice/common/
H A DFrameProcessorBase.cpp39 if (entry.count > 0) {
135 if (entry.count == 0) {
179 if (entry.count != 0 &&
192 if (entry.count == 0) {
/frameworks/av/services/camera/libcameraservice/utils/
H A DTagMonitor.h66 int type, int count, int indentation);
/frameworks/base/core/java/android/transition/
H A DTransitionUtils.java54 int count = 0;
58 count++;
63 if (count == 0) {
67 if (count == 1) {
/frameworks/base/core/java/android/webkit/
H A DURLUtil.java142 int count = url.length();
143 if (count == 0) {
148 while (index >= 0 && index < count) {
149 if (index < count - 2) {
/frameworks/base/libs/common_time/
H A Dclock_recovery.h94 static uint32_t findMinRTTNdx(DisciplineDataPoint* data, uint32_t count);
/frameworks/base/libs/hwui/hwui/
H A DCanvas.h229 void drawText(const uint16_t* text, int start, int count, int contextCount,
232 void drawTextOnPath(const uint16_t* text, int count, int bidiFlags, const SkPath& path,
239 * drawText: count is of glyphs
242 virtual void drawGlyphs(const uint16_t* glyphs, const float* positions, int count,
246 /** drawTextOnPath: count is of glyphs */
247 virtual void drawGlyphsOnPath(const uint16_t* glyphs, int count, const SkPath& path,
/frameworks/base/libs/hwui/tests/common/
H A DTestScene.h39 int count = 0; member in struct:android::uirenderer::test::TestScene::Options
/frameworks/base/media/mca/filterfw/jni/
H A Djni_util.cpp58 ALOGE("JavaObject: Reference count is NULL! JavaObject may be corrupted.");
75 ALOGE("JavaObject: Reference count is NULL! JavaObject may be corrupted.");
149 const jint count = env->GetArrayLength(static_cast<jintArray>(object)); local
150 result = MakeIntArrayValue(elems, count);
154 const jint count = env->GetArrayLength(static_cast<jfloatArray>(object)); local
155 result = MakeFloatArrayValue(elems, count);

Completed in 2823 milliseconds

<<11121314151617181920>>