/frameworks/base/core/java/android/widget/ |
H A D | SimpleAdapter.java | 155 final int count = to.length; 157 for (int i = 0; i < count; i++) { 336 results.count = list.size(); 341 int count = unfilteredValues.size(); 343 ArrayList<Map<String, ?>> newValues = new ArrayList<Map<String, ?>>(count); 345 for (int i = 0; i < count; i++) { 370 results.count = newValues.size(); 380 if (results.count > 0) {
|
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 | 150 final int count = getChildCount(); 151 for (int i = 0; i < count; i++) { 213 // Displayed is above child count, so float down to top of stack 225 public void removeViews(int start, int count) { argument 226 super.removeViews(start, count); 230 } else if (mWhichChild >= start && mWhichChild < start + count) { 236 public void removeViewsInLayout(int start, int count) { argument 237 removeViews(start, count);
|
/frameworks/base/include/gui/ |
H A D | Sensor.h | 75 int fds[], size_t count) const; 77 int fds[], size_t count);
|
/frameworks/base/libs/hwui/ |
H A D | PathCache.cpp | 61 size_t count = mGarbage.size(); local 62 for (size_t i = 0; i < count; i++) {
|
H A D | GradientCache.cpp | 101 int count, SkShader::TileMode tileMode) { 103 GradientCacheEntry gradient(colors, positions, count, tileMode); 107 texture = addLinearGradient(gradient, colors, positions, count, tileMode); 118 uint32_t* colors, float* positions, int count, SkShader::TileMode tileMode) { 131 reinterpret_cast<const SkColor*>(colors), positions, count, tileMode); 100 get(uint32_t* colors, float* positions, int count, SkShader::TileMode tileMode) argument 117 addLinearGradient(GradientCacheEntry& gradient, uint32_t* colors, float* positions, int count, SkShader::TileMode tileMode) argument
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/inc/ |
H A D | H264SwDecApi.h | 170 void H264SwDecMemcpy(void *dest, void *src, u32 count); 173 void H264SwDecMemset(void *ptr, i32 value, u32 count);
|
/frameworks/base/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 | SensorDevice.cpp | 119 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list); local 120 mActivationCount.setCapacity(count); 122 for (size_t i=0 ; i<size_t(count) ; i++) { 134 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list); local 136 snprintf(buffer, SIZE, "%d h/w sensors:\n", int(count)); 140 for (size_t i=0 ; i<size_t(count) ; i++) { 142 snprintf(buffer, SIZE, "handle=0x%08x, active-count=%d, rates(ms)={ ", 159 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, list); 160 return count; 167 ssize_t SensorDevice::poll(sensors_event_t* buffer, size_t count) { argument [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | NewLayersActivity.java | 65 int count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint, saveFlags); 74 canvas.restoreToCount(count);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | CursorFilter.java | 54 results.count = cursor.getCount(); 57 results.count = 0;
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | omxVCM4P2_MCReconBlock.c | 188 OMX_U8 x,y,count,index; local 191 for (y = 0, count = 0, index = 0; y < 8; y++,index += (srcStep -8), count += (dstStep - 8)) 193 for (x = 0; x < 8; x++, count++,index++) 195 pDst[count] = pSrc[index];
|
/frameworks/base/voip/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/base/core/java/android/view/ |
H A D | ViewGroup.java | 759 final int count = mChildrenCount; 762 for (int i = 0; i < count; i++) { 791 final int count = mChildrenCount; 794 for (int i = 0; i < count; i++) { 852 final int count = mChildrenCount; 854 for (int i = 0; i < count; i++) { 866 final int count = mChildrenCount; 869 for (int i = 0; i < count; i++) { 883 final int count = mChildrenCount; 885 for (int i = 0; i < count; 3444 removeFromArray(int start, int count) argument 3492 attachLayoutAnimationParameters(View child, LayoutParams params, int index, int count) argument 3531 removeViewsInLayout(int start, int count) argument 3552 removeViews(int start, int count) argument 3628 removeViewsInternal(int start, int count) argument 3849 detachViewsFromParent(int start, int count) argument [all...] |
H A D | GLES20RecordingCanvas.java | 165 public void drawLines(float[] pts, int offset, int count, Paint paint) { argument 166 super.drawLines(pts, offset, count, paint); 201 public void drawPoints(float[] pts, int offset, int count, Paint paint) { argument 202 super.drawPoints(pts, offset, count, paint); 213 public void drawPosText(char[] text, int index, int count, float[] pos, Paint paint) { argument 214 super.drawPosText(text, index, count, pos, paint); 249 public void drawText(char[] text, int index, int count, float x, float y, Paint paint) { argument 250 super.drawText(text, index, count, x, y, paint); 273 public void drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, argument 275 super.drawTextOnPath(text, index, count, pat 286 drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, int dir, Paint paint) argument [all...] |
/frameworks/base/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/base/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/core/jni/android/graphics/ |
H A D | Canvas.cpp | 323 jint offset, jint count, jobject jpaint, 335 if ((offset | count) < 0 || offset + count > length) { 341 count >>= 1; // now it is the number of points 342 SkAutoSTMalloc<32, SkPoint> storage(count); 345 for (int i = 0; i < count; i++) { 349 canvas->drawPoints(mode, count, pts, paint); 353 jint offset, jint count, jobject jpaint) { 354 doPoints(env, jcanvas, jptsArray, offset, count, jpaint, 359 jint offset, jint count, jobjec 322 doPoints(JNIEnv* env, jobject jcanvas, jfloatArray jptsArray, jint offset, jint count, jobject jpaint, SkCanvas::PointMode mode) argument 352 drawPoints(JNIEnv* env, jobject jcanvas, jfloatArray jptsArray, jint offset, jint count, jobject jpaint) argument 358 drawLines(JNIEnv* env, jobject jcanvas, jfloatArray jptsArray, jint offset, jint count, jobject jpaint) argument 696 int count = ptCount; // for verts local 731 drawText___CIIFFIPaint(JNIEnv* env, jobject, SkCanvas* canvas, jcharArray text, int index, int count, jfloat x, jfloat y, int flags, SkPaint* paint) argument 760 jint count = end - start; local 764 drawTextWithGlyphs(SkCanvas* canvas, const jchar* textArray, int start, int count, int contextCount, jfloat x, jfloat y, int flags, SkPaint* paint) argument 783 doDrawGlyphs(SkCanvas* canvas, const jchar* glyphArray, int index, int count, jfloat x, jfloat y, int flags, SkPaint* paint) argument 799 drawTextRun___CIIIIFFIPaint( JNIEnv* env, jobject, SkCanvas* canvas, jcharArray text, int index, int count, int contextIndex, int contextCount, jfloat x, jfloat y, int dirFlags, SkPaint* paint) argument 820 jint count = end - start; local 833 drawPosText___CII_FPaint(JNIEnv* env, jobject, SkCanvas* canvas, jcharArray text, int index, int count, jfloatArray pos, SkPaint* paint) argument 880 drawTextOnPath___CIIPathFFPaint(JNIEnv* env, jobject, SkCanvas* canvas, jcharArray text, int index, int count, SkPath* path, jfloat hOffset, jfloat vOffset, jint bidiFlags, SkPaint* paint) argument 894 int count = env->GetStringLength(text); local [all...] |
H A D | TextLayoutCache.h | 71 TextLayoutCacheKey(const SkPaint* paint, const UChar* text, size_t start, size_t count, 93 size_t count; member in class:android::TextLayoutCacheKey 125 void computeValues(SkPaint* paint, const UChar* chars, size_t start, size_t count, 161 size_t start, size_t count, size_t contextCount, int dirFlags, 166 size_t start, size_t count, bool isRTL, 175 static void shapeRun(HB_ShaperItem& shaperItem, size_t start, size_t count, bool isRTL); 204 sp<TextLayoutCacheValue> getValue(SkPaint* paint, const jchar* text, jint start, jint count,
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureOverlayView.java | 468 int count = listeners.size(); 469 for (int i = 0; i < count; i++) { 481 count = otherListeners.size(); 482 for (int i = 0; i < count; i++) { 592 final int count = listeners.size(); 593 for (int i = 0; i < count; i++) { 657 int count = listeners.size(); 658 for (int i = 0; i < count; i++) { 667 final int count = listeners.size(); 668 for (int i = 0; i < count; [all...] |
/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 | 181 throw new IndexOutOfBoundsException("value count " + values.length); 209 * @param count the number of rows to delete. 212 * are out of range (row < 0 || count < 0 || 213 * row + count > size()). 215 public void deleteAt(int row, int count) { argument 216 if (((row | count) < 0) || (row + count > size())) { 217 throw new IndexOutOfBoundsException(row + ", " + count); 220 moveRowGapTo(row + count); 222 mRowGapStart -= count; [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 416 * count reached saveCount. It is an error for saveCount to be less than 1. 419 * int count = canvas.save(); 421 * canvas.restoreToCount(count); 852 * @param count The number of values to process, after skipping offset 854 * "points" that are drawn is really (count >> 1). 857 public native void drawPoints(float[] pts, int offset, int count, argument 896 * @param count The number of values in the array to process, after 899 * (count >> 2). 902 public native void drawLines(float[] pts, int offset, int count, argument 1220 protected static void checkRange(int length, int offset, int count) { argument 1348 drawText(char[] text, int index, int count, float x, float y, Paint paint) argument 1444 drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, int dir, Paint paint) argument 1527 drawPosText(char[] text, int index, int count, float[] pos, Paint paint) argument 1564 drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, float vOffset, Paint paint) argument 1745 native_drawText(int nativeCanvas, char[] text, int index, int count, float x, float y, int flags, int paint) argument 1756 native_drawTextRun(int nativeCanvas, char[] text, int start, int count, int contextStart, int contextCount, float x, float y, int flags, int paint) argument 1760 native_drawPosText(int nativeCanvas, char[] text, int index, int count, float[] pos, int paint) argument 1767 native_drawTextOnPath(int nativeCanvas, char[] text, int index, int count, int path, float hOffset, float vOffset, int bidiFlags, int paint) argument [all...] |
/frameworks/base/core/tests/utillib/src/coretestutils/http/ |
H A D | MockWebServer.java | 137 int count = 0; 139 if (count > 0 && responseQueue.isEmpty()) { 146 count++; 365 int count = in.read(buffer, 0, Math.min(buffer.length, length)); 366 if (count == -1) { 369 out.write(buffer, 0, count); 370 length -= count; 407 super.write(buffer, offset, Math.min(len, bodyLimit - count)); 411 if (count < bodyLimit) {
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | HexDump.java | 71 int count = (16 - lineIndex) * 3; 72 count++; 73 for (int i = 0 ; i < count ; i++)
|