Searched refs:count (Results 276 - 300 of 1215) sorted by relevance

<<11121314151617181920>>

/frameworks/native/services/sensorservice/
H A DGravitySensor.cpp32 GravitySensor::GravitySensor(sensor_t const* list, size_t count) { argument
33 for (size_t i=0 ; i<count ; i++) {
H A DLinearAccelerationSensor.cpp32 LinearAccelerationSensor::LinearAccelerationSensor(sensor_t const* list, size_t count) : argument
33 mGravitySensor(list, count) {
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DCursorFilter.java54 results.count = cursor.getCount();
57 results.count = 0;
/frameworks/support/design/base/android/support/design/widget/
H A DStateListAnimator.java58 final int count = mTuples.size();
59 for (int i = 0; i < count; i++) {
/frameworks/av/services/audioflinger/
H A DAudioResamplerFirProcess.h181 size_t count,
197 for (size_t i = 0; i < count; ++i) {
198 TC c = TFUNC::interpolatep(coefsP[0], coefsP[count], lerpP);
206 c = TFUNC::interpolaten(coefsN[count], coefsN[0], lerpP);
221 for (size_t i = 0; i < count; ++i) {
222 mac(l, r, TFUNC::interpolatep(coefsP[0], coefsP[count], lerpP), sP);
225 mac(l, r, TFUNC::interpolaten(coefsN[count], coefsN[0], lerpP), sN);
233 for (size_t i = 0; i < count; ++i) {
234 mac(l, TFUNC::interpolatep(coefsP[0], coefsP[count], lerpP), sP);
237 mac(l, TFUNC::interpolaten(coefsN[count], coefs
180 ProcessBase(TO* const out, size_t count, const TC* coefsP, const TC* coefsN, const TI* sP, const TI* sN, TINTERP lerpP, const TO* const volumeLR) argument
251 ProcessL(TO* const out, int count, const TC* coefsP, const TC* coefsN, const TI* sP, const TI* sN, const TO* const volumeLR) argument
297 Process(TO* const out, int count, const TC* coefsP, const TC* coefsN, const TC* coefsP1 __unused, const TC* coefsN1 __unused, const TI* sP, const TI* sN, TINTERP lerpP, const TO* const volumeLR) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_MCReconBlock.c203 OMX_U8 x,y,count,index; local
206 for (y = 0, count = 0, index = 0; y < 8; y++,index += (srcStep -8), count += (dstStep - 8))
208 for (x = 0; x < 8; x++, count++,index++)
210 pDst[count] = pSrc[index];
/frameworks/base/core/java/android/widget/
H A DDayPickerViewPager.java62 int count = getChildCount();
72 for (int i = 0; i < count; i++) {
108 count = mMatchParentChildren.size();
109 if (count > 1) {
110 for (int i = 0; i < count; i++) {
H A DFilter.java194 public int count; field in class:Filter.FilterResults
205 * @param count the number of values computed by the filter
207 public void onFilterComplete(int count); argument
284 int count = args.results != null ? args.results.count : -1;
285 args.listener.onFilterComplete(count);
H A DViewAnimator.java151 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/core/java/com/android/internal/os/
H A DKernelWakelockReader.java38 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 DSkiaCanvasProxy.cpp41 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 DCompilerConfig.cpp41 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 Dh264bsd_interpolate_hor_ver_quarter.s39 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...]
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES20.spec41 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/core/jni/android/graphics/
H A DPaint.cpp478 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
776 size_t count = 0; local
878 doRunAdvance(const Paint* paint, Typeface* typeface, const jchar buf[], jint start, jint count, jint bufSize, jboolean isRtl, jint offset) argument
904 doOffsetForAdvance(const Paint* paint, Typeface* typeface, const jchar buf[], jint start, jint count, jint bufSize, jboolean isRtl, jfloat advance) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES30.java344 // 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 Ddriver.cpp102 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 DGestureOverlayView.java476 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/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_alloc_copyPadded.java714 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 DUT_alloc_copyPadded.java714 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 Dreverb.c322 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 DTiffEntry.cpp128 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 DInstrumentationTestCase.java255 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 DPackedIntVector.java182 throw new IndexOutOfBoundsException("value count " + values.length);
210 * @param count the number of rows to delete.
213 * are out of range (row &lt; 0 || count &lt; 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/tools/layoutlib/bridge/src/android/text/
H A DOptimizingLineBreaker.java123 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;

Completed in 782 milliseconds

<<11121314151617181920>>