Searched refs:count (Results 226 - 250 of 1215) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/hwui/
H A DMinikinUtils.cpp54 Typeface* typeface, const uint16_t* buf, size_t start, size_t count,
60 layout->doLayout(buf, start, count, bufSize, bidiFlags, minikinStyle, minikinPaint);
64 const uint16_t* buf, size_t start, size_t count, size_t bufSize, float *advances) {
68 return Layout::measureText(buf, start, count, bufSize, bidiFlags, minikinStyle, minikinPaint,
53 doLayout(Layout* layout, const Paint* paint, int bidiFlags, Typeface* typeface, const uint16_t* buf, size_t start, size_t count, size_t bufSize) argument
63 measureText(const Paint* paint, int bidiFlags, Typeface* typeface, const uint16_t* buf, size_t start, size_t count, size_t bufSize, float *advances) argument
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
H A DSoundPoolTest.java132 int count = mSounds.length;
133 for (int index = 0; index < count; index++) {
154 int count = mScale.length;
155 for (int step = 0; step < count; step++) {
176 int count = mScale.length;
186 for (int step = 1; step < count; step++) {
261 for (int count = 0; count < 5; count++) {
288 for (int count
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayTransformManager.java120 final int count = mColorMatrix.size();
121 if (count == 0) {
127 for (int i = 0; i < count; i++) {
131 return result[count % 2];
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java326 * Assert the specified group's integrity. The children count should be >= 0 and each
332 final int count = parent.getChildCount();
333 assertTrue("child count should be >= 0", count >= 0);
335 for (int i = 0; i < count; i++) {
348 final int count = parent.getChildCount();
349 assertTrue("Child count should be >= 0", count >= 0);
352 for (int i = 0; i < count; i++) {
372 final int count
[all...]
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
H A DFlowLayout.java41 final int count = getChildCount();
54 for (int i = 0; i < count; i++) {
92 final int count = getChildCount();
97 for (int i = 0; i < count; i++) {
/frameworks/base/tools/aapt/
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++) {
/frameworks/minikin/include/minikin/
H A DLayout.h93 void doLayout(const uint16_t* buf, size_t start, size_t count, size_t bufSize,
96 static float measureText(const uint16_t* buf, size_t start, size_t count, size_t bufSize,
117 // buffer must match the length of the string (count arg to doLayout).
120 // The i parameter is an offset within the buf relative to start, it is < count, where
121 // start and count are the parameters to doLayout
143 static float doLayoutWord(const uint16_t* buf, size_t start, size_t count, size_t bufSize,
148 void doLayoutRun(const uint16_t* buf, size_t start, size_t count, size_t bufSize,
/frameworks/native/cmds/installd/
H A Dglobals.h39 size_t count; member in struct:android::installd::dir_rec_array_t
/frameworks/native/include/gui/
H A DIDisplayEventConnection.h50 virtual void setVsyncRate(uint32_t count) = 0;
/frameworks/native/services/sensorservice/
H A DBatteryService.cpp49 info.count++;
50 return info.count == 1;
58 info.count--;
59 return info.count == 0;
H A DCorrectedGyroSensor.h38 CorrectedGyroSensor(sensor_t const* list, size_t count);
H A DGravitySensor.h38 GravitySensor(sensor_t const* list, size_t count);
H A DLinearAccelerationSensor.h41 LinearAccelerationSensor(sensor_t const* list, size_t count);
H A DSensorEventConnection.cpp211 int count = 0; local
259 scratch[count++] = buffer[i];
264 scratch[count++] = buffer[i++];
273 count = numEvents;
278 if (count == 0) {
283 mEventsReceived += count;
288 if (mCacheSize + count <= mMaxCacheSize) {
289 memcpy(&mEventCache[mCacheSize], scratch, count * sizeof(sensors_event_t));
290 mCacheSize += count;
294 if (mCacheSize + count < computeMaxCacheSizeLocke
364 reAllocateCacheLocked(sensors_event_t const* scratch, int count) argument
487 findWakeUpSensorEventLocked( sensors_event_t const* scratch, const int count) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DFakeSmsContentProvider.java57 "count INTEGER," + // the number of parts
94 int count = 0;
99 count = db.update(RAW_TABLE_NAME, cv, selection, selectionArgs);
103 count = db.delete(RAW_TABLE_NAME, selection, selectionArgs);
106 return count;
/frameworks/support/design/src/android/support/design/internal/
H A DBaselineLayout.java47 final int count = getChildCount();
54 for (int i = 0; i < count; i++) {
85 final int count = getChildCount();
91 for (int i = 0; i < count; i++) {
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DAsyncListUtilTest.java103 mViewCallback.waitForDataSetChanged("increasing item count");
104 mDataCallback.waitForTiles("increasing item count");
109 mViewCallback.waitForDataSetChanged("decreasing item count");
110 mDataCallback.waitForTiles("decreasing item count");
116 final int count = 20;
118 assertLoadedItemsOnUiThread("no new items should be loaded", 0, position, count);
120 mViewCallback.expectItemRangeChanged(position, count);
124 assertLoadedItemsOnUiThread("all new items should be loaded", count, position, count);
162 final int count) throw
159 assertLoadedItemsOnUiThread(final String message, final int expectedCount, final int position, final int count) argument
315 expectRange(int position, int count) argument
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dintbufq.c171 uintptr_t count = 0; local
182 count = count * 10 + (ch - '0');
184 count = ch - '0';
203 expectedContext = (void *) count;
216 for (i = 0; i < (in_count ? count : 1); ++i) {
227 if (bufqstate.count != 0)
228 printf("\rcount=%u\r\n", (unsigned) bufqstate.count);
239 printf("count=%u\r\n", (unsigned) bufqstate.count);
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1696 * @param count THe number of characters to measure, beginning with start
1699 public float measureText(char[] text, int index, int count) { argument
1703 if ((index | count) < 0 || index + count > text.length) {
1707 if (text.length == 0 || count == 0) {
1712 index, count, index, count, mBidiFlags, null, 0));
1717 float w = nGetTextAdvances(mNativePaint, mNativeTypeface, text, index, count, index,
1718 count, mBidiFlags, null, 0);
1811 * @param count Th
1819 breakText(char[] text, int index, int count, float maxWidth, float[] measuredWidth) argument
1845 nBreakText(long nObject, long nTypeface, char[] text, int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) argument
1951 getTextWidths(char[] text, int index, int count, float[] widths) argument
2085 getTextRunAdvances(char[] chars, int index, int count, int contextIndex, int contextCount, boolean isRtl, float[] advances, int advancesIndex) argument
2391 getTextPath(char[] text, int index, int count, float x, float y, Path path) argument
2452 getTextBounds(char[] text, int index, int count, Rect bounds) argument
2680 nGetTextAdvances(long paintPtr, long typefacePtr, char[] text, int index, int count, int contextIndex, int contextCount, int bidiFlags, float[] advances, int advancesIndex) argument
2692 nGetTextPath(long paintPtr, long typefacePtr, int bidiFlags, char[] text, int index, int count, float x, float y, long path) argument
2698 nGetCharArrayBounds(long nativePaint, long typefacePtr, char[] text, int index, int count, int bidiFlags, Rect bounds) argument
[all...]
/frameworks/base/core/java/android/content/
H A DUndoManager.java226 * Perform undo of last/top <var>count</var> undo states. The states impacted
231 * @param count Number of undo states to pop.
234 public int undo(UndoOwner[] owners, int count) { argument
249 while (count > 0 && (i=findPrevState(mUndos, owners, i)) >= 0) {
253 count--;
263 * Perform redo of last/top <var>count</var> undo states in the transient redo stack.
268 * @param count Number of undo states to pop.
271 public int redo(UndoOwner[] owners, int count) { argument
281 while (count > 0 && (i=findPrevState(mRedos, owners, i)) >= 0) {
285 count
303 forgetUndos(UndoOwner[] owners, int count) argument
324 forgetRedos(UndoOwner[] owners, int count) argument
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java135 final int count = strokes.size();
139 for (int index = 0; index < count; index++) {
284 int count = pts.length / 2;
285 while (i < count) {
288 if (i >= count) {
333 int count = points.length;
334 for (int i = 0; i < count; i++) {
340 center[0] = 2 * centerX / count;
341 center[1] = 2 * centerY / count;
358 int count
[all...]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DEventRecurrence.java53 public int count; field in class:EventRecurrence
296 int count, int[] values)
298 if (count > 0) {
300 count--;
301 for (int i=0; i<count; i++) {
305 s.append(values[count]);
356 if (this.count != 0) {
358 s.append(this.count);
376 int count = this.bydayCount;
377 if (count >
295 appendNumbers(StringBuilder s, String label, int count, int[] values) argument
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DAllocation.java1040 int count = data_length / eSize;
1041 if ((eSize * count) != data_length) {
1045 copy1DRangeFromUnchecked(xoff, count, data);
1100 private void data1DChecks(int off, int count, int len, int dataSize, boolean usePadding) { argument
1105 if(count < 1) {
1108 if((off + count) > mCurrentCount) {
1109 throw new RSIllegalArgumentException("Overflow, Available count " + mCurrentCount +
1110 ", got " + count + " at offset " + off + ".");
1137 private void copy1DRangeFromUnchecked(int off, int count, Object array, argument
1141 final int dataSize = mType.mElement.getBytesSize() * count;
1178 copy1DRangeFromUnchecked(int off, int count, Object array) argument
1206 copy1DRangeFromUnchecked(int off, int count, int[] d) argument
1232 copy1DRangeFromUnchecked(int off, int count, short[] d) argument
1258 copy1DRangeFromUnchecked(int off, int count, byte[] d) argument
1284 copy1DRangeFromUnchecked(int off, int count, float[] d) argument
1312 copy1DRangeFrom(int off, int count, Object array) argument
1342 copy1DRangeFrom(int off, int count, int[] d) argument
1371 copy1DRangeFrom(int off, int count, short[] d) argument
1400 copy1DRangeFrom(int off, int count, byte[] d) argument
1429 copy1DRangeFrom(int off, int count, float[] d) argument
1443 copy1DRangeFrom(int off, int count, Allocation data, int dataOff) argument
2091 copy1DRangeToUnchecked(int off, int count, Object array, Element.DataType dt, int arrayLen) argument
2131 copy1DRangeToUnchecked(int off, int count, Object array) argument
2159 copy1DRangeToUnchecked(int off, int count, int[] d) argument
2185 copy1DRangeToUnchecked(int off, int count, short[] d) argument
2211 copy1DRangeToUnchecked(int off, int count, byte[] d) argument
2237 copy1DRangeToUnchecked(int off, int count, float[] d) argument
2265 copy1DRangeTo(int off, int count, Object array) argument
2295 copy1DRangeTo(int off, int count, int[] d) argument
2324 copy1DRangeTo(int off, int count, short[] d) argument
2353 copy1DRangeTo(int off, int count, byte[] d) argument
2382 copy1DRangeTo(int off, int count, float[] d) argument
2721 createSized(RenderScript rs, Element e, int count, int usage) argument
2749 createSized(RenderScript rs, Element e, int count) argument
[all...]
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES30.spec2 void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices )
3 void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLsizei offset )
23 void glUniformMatrix2x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
24 void glUniformMatrix3x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
25 void glUniformMatrix2x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
26 void glUniformMatrix4x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
27 void glUniformMatrix3x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
28 void glUniformMatrix4x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
43 void glTransformFeedbackVaryings ( GLuint program, GLsizei count, const GLchar *varyings, GLenum bufferMode )
59 void glUniform1uiv ( GLint location, GLsizei count, cons
[all...]
/frameworks/base/core/java/android/util/
H A DBase64.java574 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...]

Completed in 670 milliseconds

1234567891011>>