/frameworks/base/core/java/com/android/internal/os/ |
H A D | KernelWakelockReader.java | 38 Process.PROC_TAB_TERM|Process.PROC_OUT_LONG, // 1: count 48 Process.PROC_OUT_LONG, // 1: count 115 int count; 151 count = (int) wlData[1]; 163 staleStats.put(name, new KernelWakelockStats.Entry(count, totalTime, 168 kwlStats.mCount += count; 171 kwlStats.mCount = count;
|
/frameworks/base/libs/hwui/ |
H A D | SkiaCanvasProxy.cpp | 41 void SkiaCanvasProxy::onDrawPoints(PointMode pointMode, size_t count, const SkPoint pts[], argument 43 if (!pts || count == 0) { 49 const size_t floatCount = count << 1; 66 for (size_t i = 0; i < count - 1; i++) { 222 count = byteLength >> 1; 227 count = paint.textToGlyphs(text, byteLength, storage.get()); 234 int count; member in class:android::uirenderer::GlyphIDConverter 245 std::unique_ptr<SkPoint[]> pointStorage(new SkPoint[glyphs.count]); 246 std::unique_ptr<SkScalar[]> glyphWidths(new SkScalar[glyphs.count]); 247 glyphs.paint.getTextWidths(glyphs.glyphIDs, glyphs.count << [all...] |
/frameworks/compile/libbcc/lib/Support/ |
H A D | CompilerConfig.cpp | 41 if (features.count("f16c") && features["f16c"]) 135 if (features.count("hwdiv-arm") && features["hwdiv-arm"]) 138 if (features.count("hwdiv") && features["hwdiv"]) 145 if (features.count("fp16") && features["fp16"]) 153 if (features.count("neon") && features["neon"])
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
H A D | h264bsd_interpolate_hor_ver_quarter.s | 39 count RN 2 label 153 ;// pack values to count register 159 MOV count, width 163 ADD count, count, tmp5, LSL #16 169 AND tmp4, count, #0x000F0000 ;// partHeight-1 170 AND tmp6, count, #0x00F00000 ;// partWidth-1 171 ADD count, count, tmp4, LSL #8 ;// partH-1 to lower part of top byte 177 ADD count, coun [all...] |
H A D | h264bsd_interpolate_ver_half.s | 38 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/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES20.spec | 41 void glDrawArrays ( GLenum mode, GLint first, GLsizei count ) 42 void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset ) 43 void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) 58 void glGetAttachedShaders ( GLuint program, GLsizei maxcount, GLsizei *count, GLuint *shaders ) 114 void glUniform1fv ( GLint location, GLsizei count, const GLfloat *v ) 116 void glUniform1iv ( GLint location, GLsizei count, const GLint *v ) 118 void glUniform2fv ( GLint location, GLsizei count, const GLfloat *v ) 120 void glUniform2iv ( GLint location, GLsizei count, const GLint *v ) 122 void glUniform3fv ( GLint location, GLsizei count, const GLfloat *v ) 124 void glUniform3iv ( GLint location, GLsizei count, cons [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES30.java | 344 // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices ) 350 int count, 355 // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLsizei offset ) 361 int count, 613 // C function void glUniformMatrix2x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 617 int count, 623 // C function void glUniformMatrix2x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 627 int count, 632 // C function void glUniformMatrix3x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 636 int count, 346 glDrawRangeElements( int mode, int start, int end, int count, int type, java.nio.Buffer indices ) argument 357 glDrawRangeElements( int mode, int start, int end, int count, int type, int offset ) argument 615 glUniformMatrix2x3fv( int location, int count, boolean transpose, float[] value, int offset ) argument 625 glUniformMatrix2x3fv( int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 634 glUniformMatrix3x2fv( int location, int count, boolean transpose, float[] value, int offset ) argument 644 glUniformMatrix3x2fv( int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 653 glUniformMatrix2x4fv( int location, int count, boolean transpose, float[] value, int offset ) argument 663 glUniformMatrix2x4fv( int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 672 glUniformMatrix4x2fv( int location, int count, boolean transpose, float[] value, int offset ) argument 682 glUniformMatrix4x2fv( int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 691 glUniformMatrix3x4fv( int location, int count, boolean transpose, float[] value, int offset ) argument 701 glUniformMatrix3x4fv( int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 710 glUniformMatrix4x3fv( int location, int count, boolean transpose, float[] value, int offset ) argument 720 glUniformMatrix4x3fv( int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 1120 glUniform1uiv( int location, int count, int[] value, int offset ) argument 1129 glUniform1uiv( int location, int count, java.nio.IntBuffer value ) argument 1137 glUniform2uiv( int location, int count, int[] value, int offset ) argument 1146 glUniform2uiv( int location, int count, java.nio.IntBuffer value ) argument 1154 glUniform3uiv( int location, int count, int[] value, int offset ) argument 1163 glUniform3uiv( int location, int count, java.nio.IntBuffer value ) argument 1171 glUniform4uiv( int location, int count, int[] value, int offset ) argument 1180 glUniform4uiv( int location, int count, java.nio.IntBuffer value ) argument 1366 glDrawArraysInstanced( int mode, int first, int count, int instanceCount ) argument 1375 glDrawElementsInstanced( int mode, int count, int type, java.nio.Buffer indices, int instanceCount ) argument 1385 glDrawElementsInstanced( int mode, int count, int type, int indicesOffset, int instanceCount ) argument 1501 glGenSamplers( int count, int[] samplers, int offset ) argument 1509 glGenSamplers( int count, java.nio.IntBuffer samplers ) argument 1516 glDeleteSamplers( int count, int[] samplers, int offset ) argument 1524 glDeleteSamplers( int count, java.nio.IntBuffer samplers ) argument [all...] |
/frameworks/native/vulkan/libvulkan/ |
H A D | driver.cpp | 102 VkResult QueryExtensionCount(uint32_t& count) const; 103 VkResult EnumerateExtensions(uint32_t& count, 159 uint32_t count; local 160 if (dev_->EnumerateInstanceExtensionProperties(nullptr, &count, nullptr) != 162 ALOGE("failed to get HAL instance extension count"); 167 malloc(sizeof(VkExtensionProperties) * count)); 173 if (dev_->EnumerateInstanceExtensionProperties(nullptr, &count, exts) != 180 for (uint32_t i = 0; i < count; i++) { 312 VkResult CreateInfoWrapper::QueryExtensionCount(uint32_t& count) const { 315 nullptr, &count, nullpt 323 EnumerateExtensions( uint32_t& count, VkExtensionProperties* props) const argument 338 uint32_t count; local 612 uint32_t count = std::min( local [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | GestureOverlayView.java | 476 int count = listeners.size(); 477 for (int i = 0; i < count; i++) { 489 count = otherListeners.size(); 490 for (int i = 0; i < count; i++) { 601 final int count = listeners.size(); 602 for (int i = 0; i < count; i++) { 666 int count = listeners.size(); 667 for (int i = 0; i < count; i++) { 676 final int count = listeners.size(); 677 for (int i = 0; i < count; [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 478 const jchar *text, jint start, jint count, jint contextCount, jint bidiFlags, 482 if ((start | count | contextCount | advancesIndex) < 0 || contextCount < count) { 486 if (count == 0) { 491 if ((size_t)(count + advancesIndex) > advancesLength) { 498 advancesArray.reset(new jfloat[count]); 501 start, count, contextCount, advancesArray.get()); 503 env->SetFloatArrayRegion(advances, advancesIndex, count, advancesArray.get()); 510 jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, 516 index - contextIndex, count, contextCoun 477 doTextAdvances(JNIEnv *env, Paint *paint, Typeface* typeface, const jchar *text, jint start, jint count, jint contextCount, jint bidiFlags, jfloatArray advances, jint advancesIndex) argument 508 getTextAdvances___CIIIII_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jint bidiFlags, jfloatArray advances, jint advancesIndex) argument 535 doTextRunCursor(JNIEnv *env, Paint* paint, const jchar *text, jint start, jint count, jint flags, jint offset, jint opt) argument 593 getTextPath(JNIEnv* env, Paint* paint, Typeface* typeface, const jchar* text, jint count, jint bidiFlags, jfloat x, jfloat y, SkPath* path) argument 612 getTextPath___C(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jint bidiFlags, jcharArray text, jint index, jint count, jfloat x, jfloat y, jlong pathHandle) argument 651 breakText(JNIEnv* env, const Paint& paint, Typeface* typeface, const jchar text[], int count, float maxWidth, jint bidiFlags, jfloatArray jmeasured, const bool forwardScan) argument 683 breakTextC(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray jtext, jint index, jint count, jfloat maxWidth, jint bidiFlags, jfloatArray jmeasuredWidth) argument 719 int count = env->GetStringLength(jtext); local 726 doTextBounds(JNIEnv* env, const jchar* text, int count, jobject bounds, const Paint& paint, Typeface* typeface, jint bidiFlags) argument 752 getCharArrayBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint bidiFlags, jobject bounds) argument 863 doRunAdvance(const Paint* paint, Typeface* typeface, const jchar buf[], jint start, jint count, jint bufSize, jboolean isRtl, jint offset) argument 889 doOffsetForAdvance(const Paint* paint, Typeface* typeface, const jchar buf[], jint start, jint count, jint bufSize, jboolean isRtl, jfloat advance) argument [all...] |
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_alloc_copyPadded.java | 714 int count = width - offset; 715 alloc.copy1DRangeFrom(offset, count, inArray); 716 alloc.copy1DRangeTo(offset, count, outArray); 719 for (int i = 0; i < count * 3; i++) { 726 for (int i = count * 3; i < arr_len; i++) { 757 int count = width - offset; 758 alloc.copy1DRangeFrom(offset, count, inArray); 759 alloc.copy1DRangeTo(offset, count, outArray); 762 for (int i = 0; i < count * 3; i++) { 769 for (int i = count * [all...] |
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
H A D | UT_alloc_copyPadded.java | 714 int count = width - offset; 715 alloc.copy1DRangeFrom(offset, count, inArray); 716 alloc.copy1DRangeTo(offset, count, outArray); 719 for (int i = 0; i < count * 3; i++) { 726 for (int i = count * 3; i < arr_len; i++) { 757 int count = width - offset; 758 alloc.copy1DRangeFrom(offset, count, inArray); 759 alloc.copy1DRangeTo(offset, count, outArray); 762 for (int i = 0; i < count * 3; i++) { 769 for (int i = count * [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | reverb.c | 322 SLuint32 count = 0; local 324 mix_req[count] = SL_BOOLEAN_TRUE; 325 mix_ids[count++] = SL_IID_PRESETREVERB; 328 mix_req[count] = SL_BOOLEAN_TRUE; 329 mix_ids[count++] = SL_IID_ENVIRONMENTALREVERB; 332 result = (*engineEngine)->CreateOutputMix(engineEngine, &mixObject, count, mix_ids, mix_req); 409 count = 0; 411 player_req[count] = SL_BOOLEAN_TRUE; 412 player_ids[count++] = SL_IID_PRESETREVERB; 415 player_req[count] [all...] |
/frameworks/av/media/img_utils/src/ |
H A D | TiffEntry.cpp | 128 uint32_t count = getCount(); local 129 output.appendFormat("[id: %x, type: %d, count: %u, value: '", getTag(), getType(), count); 131 size_t cappedCount = count; 132 if (count > MAX_PRINT_STRING_LENGTH) { 148 size_t len = count; 149 if (count > MAX_PRINT_STRING_LENGTH) { 226 if (count > MAX_PRINT_STRING_LENGTH) {
|
/frameworks/base/core/java/android/test/ |
H A D | InstrumentationTestCase.java | 255 final int count = keys.length; 259 for (int i = 0; i < count; i++) { 267 Log.w("ActivityTestCase", "Invalid repeat count: " + key); 306 final int count = keys.length; 309 for (int i = 0; i < count; i++) { 330 final int count = keys.length; 331 if ((count & 0x1) == 0x1) { 338 for (int i = 0; i < count; i += 2) {
|
/frameworks/base/core/java/android/text/ |
H A D | PackedIntVector.java | 182 throw new IndexOutOfBoundsException("value count " + values.length); 210 * @param count the number of rows to delete. 213 * are out of range (row < 0 || count < 0 || 214 * row + count > size()). 216 public void deleteAt(int row, int count) { argument 217 if (((row | count) < 0) || (row + count > size())) { 218 throw new IndexOutOfBoundsException(row + ", " + count); 221 moveRowGapTo(row + count); 223 mRowGapStart -= count; [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ViewAnimator.java | 151 final int count = getChildCount(); 152 for (int i = 0; i < count; i++) { 218 // Displayed is above child count, so float down to top of stack 230 public void removeViews(int start, int count) { argument 231 super.removeViews(start, count); 235 } else if (mWhichChild >= start && mWhichChild < start + count) { 241 public void removeViewsInLayout(int start, int count) { argument 242 removeViews(start, count);
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
H A D | OptimizingLineBreaker.java | 123 int count = opt[idx].mPrevCount; 124 resize(breakInfo, count); 126 count--; 127 assert count >=0; 129 breakInfo.breaks[count] = mPrimitives.get(idx).location; 130 breakInfo.widths[count] = opt[idx].mWidth; 131 breakInfo.flags [count] = opt[idx].mHasTabs ? TAB_MASK : 0;
|
/frameworks/native/opengl/libs/GLES_CM/ |
H A D | gl.cpp | 40 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 D | Allocation.cpp | 192 static void copyWithPadding(void* ptr, const void* srcPtr, int mSize, int count) { argument 197 for (int i = 0; i < count; i++) { 204 static void copyWithUnPadding(void* ptr, const void* srcPtr, int mSize, int count) { argument 209 for (int i = 0; i < count; i++) { 217 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const void *data) { argument 219 if(count < 1) { 223 if((off + count) > mCurrentCount) { 224 ALOGE("Overflow, Available count %u, got %zu at offset %u.", mCurrentCount, count, off); 230 void *ptr = malloc(eSize * count); 241 copy1DRangeTo(uint32_t off, size_t count, void *data) argument 264 copy1DRangeFrom(uint32_t off, size_t count, sp<const Allocation> data, uint32_t dataOff) argument 457 createSized(sp<RS> rs, sp<const Element> e, size_t count, uint32_t usage) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewGroup.java | 1067 final int count = mChildrenCount; 1070 for (int i = 0; i < count; i++) { 1092 final int count = mChildrenCount; 1095 for (int i = 0; i < count; i++) { 1193 final int count = mChildrenCount; 1195 for (int i = 0; i < count; i++) { 1204 final int count = mChildrenCount; 1207 for (int i = 0; i < count; i++) { 1221 final int count = mChildrenCount; 1223 for (int i = 0; i < count; 4587 removeFromArray(int start, int count) argument 4635 attachLayoutAnimationParameters(View child, LayoutParams params, int index, int count) argument 4688 removeViewsInLayout(int start, int count) argument 4717 removeViews(int start, int count) argument 4828 removeViewsInternal(int start, int count) argument 5121 detachViewsFromParent(int start, int count) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | SmartCamera.java | 77 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 D | HashTableTest.cpp | 141 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/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | FilteringCursorWrapper.java | 51 final int count = cursor.getCount(); 52 mPosition = new int[count]; 55 while (cursor.moveToNext() && mCount < count) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | AutoSizingList.java | 63 int count = Math.min(requestedHeight / mItemSize, getDesiredCount()); 64 if (mCount != count) { 66 mCount = count;
|