Searched refs:count (Results 251 - 275 of 1030) sorted by relevance

<<11121314151617181920>>

/frameworks/native/libs/gui/
H A DBufferQueueCore.cpp171 // will temporarily keep the max buffer count up until the slots no longer
183 status_t BufferQueueCore::setDefaultMaxBufferCountLocked(int count) { argument
185 if (count < minBufferCount || count > BufferQueueDefs::NUM_BUFFER_SLOTS) {
186 BQ_LOGV("setDefaultMaxBufferCount: invalid count %d, should be in "
188 count, minBufferCount, BufferQueueDefs::NUM_BUFFER_SLOTS);
192 BQ_LOGV("setDefaultMaxBufferCount: setting count to %d", count);
193 mDefaultMaxBufferCount = count;
260 bool isInFreeSlots = mFreeSlots.count(slo
[all...]
/frameworks/native/opengl/libs/GLES_CM/
H A Dgl.cpp40 const GLvoid *ptr, GLsizei count);
42 const GLvoid *pointer, GLsizei count);
44 GLsizei stride, const GLvoid *pointer, GLsizei count);
46 GLsizei stride, const GLvoid *pointer, GLsizei count);
48 GLsizei stride, const GLvoid *pointer, GLsizei count);
50 GLsizei stride, const GLvoid *pointer, GLsizei count);
52 GLsizei stride, const GLvoid *pointer, GLsizei count);
56 const GLvoid *ptr, GLsizei /*count*/) {
60 const GLvoid *pointer, GLsizei /*count*/) {
64 GLsizei stride, const GLvoid *pointer, GLsizei /*count*/) {
[all...]
/frameworks/rs/cpp/
H A DAllocation.cpp193 static void copyWithPadding(void* ptr, const void* srcPtr, int mSize, int count) { argument
198 for (int i = 0; i < count; i++) {
205 static void copyWithUnPadding(void* ptr, const void* srcPtr, int mSize, int count) { argument
210 for (int i = 0; i < count; i++) {
218 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const void *data) { argument
220 if(count < 1) {
224 if((off + count) > mCurrentCount) {
225 ALOGE("Overflow, Available count %u, got %zu at offset %u.", mCurrentCount, count, off);
231 void *ptr = malloc(eSize * count);
242 copy1DRangeTo(uint32_t off, size_t count, void *data) argument
265 copy1DRangeFrom(uint32_t off, size_t count, sp<const Allocation> data, uint32_t dataOff) argument
458 createSized(sp<RS> rs, sp<const Element> e, size_t count, uint32_t usage) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DListViewCompat.java149 final int count = adapter.getCount();
153 while (position < count && !adapter.isEnabled(position)) {
157 position = Math.min(position, count - 1);
163 if (position < 0 || position >= count) {
168 if (position < 0 || position >= count) {
283 int count = adapter.getCount();
284 for (int i = 0; i < count; i++) {
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DAsyncListUtilTest.java98 mViewCallback.waitForDataSetChanged("increasing item count");
99 mDataCallback.waitForTiles("increasing item count");
104 mViewCallback.waitForDataSetChanged("decreasing item count");
105 mDataCallback.waitForTiles("decreasing item count");
111 final int count = 20;
113 assertEquals("no new items should be loaded", 0, getLoadedItemCount(position, count));
115 mViewCallback.expectItemRangeChanged(position, count);
119 assertEquals("all new items should be loaded", count, getLoadedItemCount(position, count));
276 void expectRange(int position, int count) { argument
[all...]
/frameworks/base/core/java/android/view/
H A DViewGroup.java1069 final int count = mChildrenCount;
1072 for (int i = 0; i < count; i++) {
1097 final int count = mChildrenCount;
1100 for (int i = 0; i < count; i++) {
1201 final int count = mChildrenCount;
1203 for (int i = 0; i < count; i++) {
1215 final int count = mChildrenCount;
1218 for (int i = 0; i < count; i++) {
1232 final int count = mChildrenCount;
1234 for (int i = 0; i < count;
4438 removeFromArray(int start, int count) argument
4486 attachLayoutAnimationParameters(View child, LayoutParams params, int index, int count) argument
4538 removeViewsInLayout(int start, int count) argument
4567 removeViews(int start, int count) argument
4675 removeViewsInternal(int start, int count) argument
4961 detachViewsFromParent(int start, int count) argument
[all...]
/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/compile/mclinker/unittests/
H A DHashTableTest.cpp141 int count; local
144 count = hashTable->erase(key);
145 EXPECT_EQ(1, count);
189 int count; local
192 count = hashTable->erase(key);
193 EXPECT_EQ(1, count);
303 int count = 0; local
306 count++;
308 ASSERT_EQ(16, count);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_ver_half.s38 count RN 2 label
138 ADD count, partW, partH, LSL #16 ;// |partH|partW|
140 SSUB16 count, count, tmp5; ;// |partH-1|partW-1|
143 AND tmp1, count, #0x000000FF ;// partWidth
147 ADD count, count, tmp1, LSL #24 ;// partWidth-1 to top byte
281 SUBS count, count, #4<<24 ;// (partWidth-1) -= 4;
335 ADDS count, coun
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DHexDump.java71 int count = (16 - lineIndex) * 3;
72 count++;
73 for (int i = 0 ; i < count ; i++)
/frameworks/base/opengl/java/android/opengl/
H A DGLES20.java669 // C function void glDrawArrays ( GLenum mode, GLint first, GLsizei count )
674 int count
677 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset )
681 int count,
686 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices )
690 int count,
903 // C function void glGetAttachedShaders ( GLuint program, GLsizei maxcount, GLsizei *count, GLuint *shaders )
908 int[] count,
914 // C function void glGetAttachedShaders ( GLuint program, GLsizei maxcount, GLsizei *count, GLuint *shaders )
919 java.nio.IntBuffer count,
679 glDrawElements( int mode, int count, int type, int offset ) argument
688 glDrawElements( int mode, int count, int type, java.nio.Buffer indices ) argument
905 glGetAttachedShaders( int program, int maxcount, int[] count, int countOffset, int[] shaders, int shadersOffset ) argument
916 glGetAttachedShaders( int program, int maxcount, java.nio.IntBuffer count, java.nio.IntBuffer shaders ) argument
1517 glUniform1fv( int location, int count, float[] v, int offset ) argument
1526 glUniform1fv( int location, int count, java.nio.FloatBuffer v ) argument
1541 glUniform1iv( int location, int count, int[] v, int offset ) argument
1550 glUniform1iv( int location, int count, java.nio.IntBuffer v ) argument
1566 glUniform2fv( int location, int count, float[] v, int offset ) argument
1575 glUniform2fv( int location, int count, java.nio.FloatBuffer v ) argument
1591 glUniform2iv( int location, int count, int[] v, int offset ) argument
1600 glUniform2iv( int location, int count, java.nio.IntBuffer v ) argument
1617 glUniform3fv( int location, int count, float[] v, int offset ) argument
1626 glUniform3fv( int location, int count, java.nio.FloatBuffer v ) argument
1643 glUniform3iv( int location, int count, int[] v, int offset ) argument
1652 glUniform3iv( int location, int count, java.nio.IntBuffer v ) argument
1670 glUniform4fv( int location, int count, float[] v, int offset ) argument
1679 glUniform4fv( int location, int count, java.nio.FloatBuffer v ) argument
1697 glUniform4iv( int location, int count, int[] v, int offset ) argument
1706 glUniform4iv( int location, int count, java.nio.IntBuffer v ) argument
1714 glUniformMatrix2fv( int location, int count, boolean transpose, float[] value, int offset ) argument
1724 glUniformMatrix2fv( int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument
1733 glUniformMatrix3fv( int location, int count, boolean transpose, float[] value, int offset ) argument
1743 glUniformMatrix3fv( int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument
1752 glUniformMatrix4fv( int location, int count, boolean transpose, float[] value, int offset ) argument
1762 glUniformMatrix4fv( int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DFilteringCursorWrapper.java50 final int count = cursor.getCount();
51 mPosition = new int[count];
54 while (cursor.moveToNext() && mCount < count) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DFakeAdapter.java57 // Need an array to count for each type.
72 int count = dataBindingItem.getCount();
75 typeCount[typeIndex] += count;
77 for (int k = 0 ; k < count ; k++) {
/frameworks/native/services/surfaceflinger/EventLog/
H A DEventLog.cpp69 void EventLog::TagBuffer::startList(int8_t count) { argument
71 const size_t needed = 1 + sizeof(count);
77 mStorage[mPos + 1] = count;
/frameworks/native/services/surfaceflinger/
H A DEventThread.h63 // count >= 1 : continuous event. count is the vsync rate
64 // count == 0 : one-shot event that has not fired
65 // count ==-1 : one-shot event that fired this round / disabled
66 int32_t count; member in class:android::EventThread::Connection
72 virtual void setVsyncRate(uint32_t count);
85 void setVsyncRate(uint32_t count, const sp<Connection>& connection);
/frameworks/base/libs/androidfw/
H A DAsset.cpp442 ssize_t _FileAsset::read(void* buf, size_t count) argument
460 /* adjust count if we're near EOF */
462 if (count > maxLen)
463 count = maxLen;
465 if (!count)
471 memcpy(buf, (char*)mMap->getDataPtr() + mOffset, count);
472 actual = count;
476 memcpy(buf, (char*)mBuf + mOffset, count);
477 actual = count;
494 actual = fread(buf, 1, count, mF
760 read(void* buf, size_t count) argument
[all...]
/frameworks/native/libs/input/
H A DInput.cpp109 uint32_t count = BitSet64::count(bits); local
110 if (count >= MAX_AXES) {
115 for (uint32_t i = count; i > index; i--) {
151 uint32_t count = BitSet64::count(bits); local
152 if (count > MAX_AXES) {
156 for (uint32_t i = 0; i < count; i++) {
165 uint32_t count = BitSet64::count(bit local
182 uint32_t count = BitSet64::count(bits); local
193 uint32_t count = BitSet64::count(bits); local
[all...]
/frameworks/base/libs/hwui/
H A DDisplayListCanvas.cpp415 void DisplayListCanvas::drawLines(const float* points, int count, const SkPaint& paint) { argument
416 points = refBuffer<float>(points, count);
418 addDrawOp(new (alloc()) DrawLinesOp(points, count, refPaint(&paint)));
421 void DisplayListCanvas::drawPoints(const float* points, int count, const SkPaint& paint) { argument
422 points = refBuffer<float>(points, count);
424 addDrawOp(new (alloc()) DrawPointsOp(points, count, refPaint(&paint)));
427 void DisplayListCanvas::drawTextOnPath(const uint16_t* glyphs, int count, argument
429 if (!glyphs || count <= 0) return;
431 int bytesCount = 2 * count;
433 bytesCount, count, refPat
438 drawPosText(const uint16_t* text, const float* positions, int count, int posCount, const SkPaint& paint) argument
460 drawText(const uint16_t* glyphs, const float* positions, int count, const SkPaint& paint, float x, float y, float boundsLeft, float boundsTop, float boundsRight, float boundsBottom, float totalAdvance) argument
499 drawRects(const float* rects, int count, const SkPaint* paint) argument
[all...]
/frameworks/base/tools/aapt/
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);
703 size_t count; local
899 int i, count; local
951 int i, count; local
[all...]
/frameworks/base/tools/aapt2/
H A DZipFile.cpp180 int count = mEntries.size(); local
182 while (--count >= 0)
183 delete mEntries[count];
659 size_t count; local
664 count = fread(tmpBuf, 1, sizeof(tmpBuf), srcFp);
667 if (count == 0)
670 *pCRC32 = crc32(*pCRC32, tmpBuf, count);
672 if (fwrite(tmpBuf, 1, count, dstFp) != count) {
673 ALOGD("fwrite %d bytes failed\n", (int) count);
713 size_t count; local
909 int i, count; local
961 int i, count; local
[all...]
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
H A DSortedListTest.java53 public abstract void onInserted(int position, int count); argument
57 public abstract void onChanged(int position, int count); argument
71 public void onInserted(int position, int count) {
72 mAdditions.add(new Pair(position, count));
74 mInsertedCallback.onInserted(position, count);
79 public void onRemoved(int position, int count) {
80 mRemovals.add(new Pair(position, count));
89 public void onChanged(int position, int count) {
90 mUpdates.add(new Pair(position, count));
92 mChangedCallback.onChanged(position, count);
[all...]
/frameworks/av/include/media/nbaio/
H A DAudioStreamInSource.h48 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
H A DAudioStreamOutSink.h48 virtual ssize_t write(const void *buffer, size_t count);
/frameworks/av/media/libmedia/
H A DIMediaCodecList.cpp118 size_t count = countCodecs(); local
119 if (count > INT32_MAX) {
120 count = INT32_MAX;
122 reply->writeInt32(count);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP.c108 OMX_INT iBlk, i, count = 1; local
140 count = 4;
144 count = 1;
154 for (iBlk = 0; iBlk < count; iBlk++)

Completed in 3034 milliseconds

<<11121314151617181920>>