/frameworks/native/include/ui/ |
H A D | Fence.h | 99 status_t flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const; 100 status_t unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count);
|
/frameworks/native/services/sensorservice/ |
H A D | LinearAccelerationSensor.cpp | 32 LinearAccelerationSensor::LinearAccelerationSensor(sensor_t const* list, size_t count) argument 34 mGravitySensor(list, count)
|
H A D | SensorService.cpp | 84 ssize_t count = dev.getSensorList(&list); local 85 if (count > 0) { 93 mLastEventSeen.setCapacity(count); 94 for (ssize_t i=0 ; i<count ; i++) { 137 aSensor = registerVirtualSensor( new GravitySensor(list, count) ); 142 aSensor = registerVirtualSensor( new LinearAccelerationSensor(list, count) ); 155 registerVirtualSensor( new CorrectedGyroSensor(list, count) ); 443 sensors_event_t const* buffer, const int count) { 444 for (int i=0 ; i<count ; i++) { 478 ssize_t count local 442 cleanupAutoDisabledSensorLocked(const sp<SensorEventConnection>& connection, sensors_event_t const* buffer, const int count) argument 662 recordLastValueLocked( const sensors_event_t* buffer, size_t count) argument 675 sortEventBuffer(sensors_event_t* buffer, size_t count) argument 688 size_t count = mUserSensorList.size(); local 1535 int count = 0; local 1687 reAllocateCacheLocked(sensors_event_t const* scratch, int count) argument 1805 findWakeUpSensorEventLocked( sensors_event_t const* scratch, const int count) argument [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | CursorFilter.java | 54 results.count = cursor.getCount(); 57 results.count = 0;
|
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerFirProcess.h | 181 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/base/graphics/java/android/graphics/ |
H A D | Paint.java | 1478 * @param count THe number of characters to measure, beginning with start 1481 public float measureText(char[] text, int index, int count) { argument 1485 if ((index | count) < 0 || index + count > text.length) { 1489 if (text.length == 0 || count == 0) { 1493 return (float) Math.ceil(native_measureText(text, index, count, mBidiFlags)); 1498 float w = native_measureText(text, index, count, mBidiFlags); 1503 private native float native_measureText(char[] text, int index, int count, int bidiFlags); argument 1608 * @param count The number of maximum number of entries to measure. If count 1616 breakText(char[] text, int index, int count, float maxWidth, float[] measuredWidth) argument 1642 native_breakText(long native_object, long native_typeface, char[] text, int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) argument 1748 getTextWidths(char[] text, int index, int count, float[] widths) argument 1876 getTextRunAdvances(char[] chars, int index, int count, int contextIndex, int contextCount, boolean isRtl, float[] advances, int advancesIndex) argument 2180 getTextPath(char[] text, int index, int count, float x, float y, Path path) argument 2241 getTextBounds(char[] text, int index, int count, Rect bounds) argument 2477 native_getTextWidths(long native_object, long native_typeface, char[] text, int index, int count, int bidiFlags, float[] widths) argument 2486 native_getTextRunAdvances(long native_object, long native_typeface, char[] text, int index, int count, int contextIndex, int contextCount, boolean isRtl, float[] advances, int advancesIndex) argument 2498 native_getTextPath(long native_object, long native_typeface, int bidiFlags, char[] text, int index, int count, float x, float y, long path) argument 2504 nativeGetCharArrayBounds(long nativePaint, long native_typeface, char[] text, int index, int count, int bidiFlags, Rect bounds) argument [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | omxVCM4P2_MCReconBlock.c | 203 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 D | DayPickerViewPager.java | 56 int count = getChildCount(); 66 for (int i = 0; i < count; i++) { 102 count = mMatchParentChildren.size(); 103 if (count > 1) { 104 for (int i = 0; i < count; i++) {
|
H A D | Filter.java | 194 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 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/core/java/com/android/internal/os/ |
H A D | KernelWakelockReader.java | 36 Process.PROC_TAB_TERM|Process.PROC_OUT_LONG, // 1: count 46 Process.PROC_OUT_LONG, // 1: count 112 int count; 150 count = (int) wlData[1]; 162 staleStats.put(name, new KernelWakelockStats.Entry(count, totalTime, 168 kwlStats.mCount += count; 171 kwlStats.mCount = count;
|
/frameworks/base/libs/hwui/ |
H A D | Canvas.h | 115 virtual void drawPoints(const float* points, int count, const SkPaint& paint) = 0; 118 virtual void drawLines(const float* points, int count, const SkPaint& paint) = 0; 146 * drawText: count is of glyphs 150 virtual void drawText(const uint16_t* glyphs, const float* positions, int count, 154 /** drawPosText: count is of UTF16 characters, posCount is floats (2 * glyphs) */ 155 virtual void drawPosText(const uint16_t* text, const float* positions, int count, 157 /** drawTextOnPath: count is of glyphs */ 158 virtual void drawTextOnPath(const uint16_t* glyphs, int count, const SkPath& path,
|
H A D | SkiaCanvas.cpp | 92 virtual void drawPoints(const float* points, int count, const SkPaint& paint) override; 95 virtual void drawLines(const float* points, int count, const SkPaint& paint) override; 120 virtual void drawText(const uint16_t* text, const float* positions, int count, 124 virtual void drawPosText(const uint16_t* text, const float* positions, int count, 126 virtual void drawTextOnPath(const uint16_t* glyphs, int count, const SkPath& path, 141 void drawPoints(const float* points, int count, const SkPaint& paint, 228 int count = mCanvas->save(); local 230 return count; 281 int count = mCanvas->saveLayer(&bounds, paint, flags | SkCanvas::kMatrixClip_SaveFlag); local 283 return count; 289 int count = mCanvas->saveLayerAlpha(&bounds, alpha, flags | SkCanvas::kMatrixClip_SaveFlag); local 473 drawPoints(const float* points, int count, const SkPaint& paint, SkCanvas::PointMode mode) argument 491 drawPoints(const float* points, int count, const SkPaint& paint) argument 500 drawLines(const float* points, int count, const SkPaint& paint) argument 669 drawText(const uint16_t* text, const float* positions, int count, const SkPaint& paint, float x, float y, float boundsLeft, float boundsTop, float boundsRight, float boundsBottom, float totalAdvance) argument 683 drawPosText(const uint16_t* text, const float* positions, int count, int posCount, const SkPaint& paint) argument 699 drawTextOnPath(const uint16_t* glyphs, int count, const SkPath& path, float hOffset, float vOffset, const SkPaint& paint) argument [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AmrCodec.cpp | 55 int decode(int16_t *samples, int count, void *payload, int length); 131 int AmrCodec::decode(int16_t *samples, int count, void *payload, int length) argument 216 int decode(int16_t *samples, int count, void *payload, int length); 242 int GsmEfrCodec::decode(int16_t *samples, int count, void *payload, int length) argument 246 while (n + 160 <= count && length >= 31 && (bytes[0] >> 4) == 0x0C) {
|
/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...] |
/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 1105 glUniform1uiv( int location, int count, int[] value, int offset ) argument 1114 glUniform1uiv( int location, int count, java.nio.IntBuffer value ) argument 1122 glUniform2uiv( int location, int count, int[] value, int offset ) argument 1131 glUniform2uiv( int location, int count, java.nio.IntBuffer value ) argument 1139 glUniform3uiv( int location, int count, int[] value, int offset ) argument 1148 glUniform3uiv( int location, int count, java.nio.IntBuffer value ) argument 1156 glUniform4uiv( int location, int count, int[] value, int offset ) argument 1165 glUniform4uiv( int location, int count, java.nio.IntBuffer value ) argument 1351 glDrawArraysInstanced( int mode, int first, int count, int instanceCount ) argument 1360 glDrawElementsInstanced( int mode, int count, int type, java.nio.Buffer indices, int instanceCount ) argument 1370 glDrawElementsInstanced( int mode, int count, int type, int indicesOffset, int instanceCount ) argument 1486 glGenSamplers( int count, int[] samplers, int offset ) argument 1494 glGenSamplers( int count, java.nio.IntBuffer samplers ) argument 1501 glDeleteSamplers( int count, int[] samplers, int offset ) argument 1509 glDeleteSamplers( int count, java.nio.IntBuffer samplers ) argument [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/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 | 249 final int count = keys.length; 253 for (int i = 0; i < count; i++) { 261 Log.w("ActivityTestCase", "Invalid repeat count: " + key); 300 final int count = keys.length; 303 for (int i = 0; i < count; i++) { 324 final int count = keys.length; 325 if ((count & 0x1) == 0x1) { 332 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/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;
|