/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...] |
H A D | TextDirectionHeuristics.java | 130 public boolean isRtl(char[] array, int start, int count) { argument 131 return isRtl(CharBuffer.wrap(array), start, count); 135 public boolean isRtl(CharSequence cs, int start, int count) { argument 136 if (cs == null || start < 0 || count < 0 || cs.length() - count < start) { 142 return doCheck(cs, start, count); 145 private boolean doCheck(CharSequence cs, int start, int count) { argument 146 switch(mAlgorithm.checkRtl(cs, start, count)) { 179 int checkRtl(CharSequence cs, int start, int count); argument 188 public int checkRtl(CharSequence cs, int start, int count) { argument 211 checkRtl(CharSequence cs, int start, int count) argument [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | QwertyKeyListener.java | 114 int count = event.getRepeatCount(); 115 if (count > 0 && selStart == selEnd && selStart > 0) { 119 if (showCharacterPicker(view, content, c, false, count)) { 497 boolean insert, int count) { 503 if (count == 1) { 496 showCharacterPicker(View view, Editable content, char c, boolean insert, int count) argument
|
/frameworks/base/core/java/android/view/animation/ |
H A D | LayoutAnimationController.java | 378 final float totalDelay = delay * params.count; 404 return params.count - 1 - params.index; 409 return (int) (params.count * mRandomizer.nextFloat()); 427 public int count; field in class:LayoutAnimationController.AnimationParameters
|
/frameworks/base/core/java/android/widget/ |
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);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | RestrictionsPinActivity.java | 107 // Do the count down timer for less than a minute, otherwise just say try again later. 144 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument 148 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | PathEffect.cpp | 38 int count = autoInterval.length() & ~1; // even number local 44 SkPathEffect* effect = SkDashPathEffect::Create(intervals, count, phase);
|
/frameworks/base/core/jni/ |
H A D | android_os_MemoryFile.cpp | 75 jint count, jboolean unpinned) 84 env->SetByteArrayRegion(buffer, destOffset, count, (const jbyte *)address + srcOffset); 89 return count; 94 jint count, jboolean unpinned) 103 env->GetByteArrayRegion(buffer, srcOffset, count, (jbyte *)address + destOffset); 108 return count; 73 android_os_MemoryFile_read(JNIEnv* env, jobject clazz, jobject fileDescriptor, jlong address, jbyteArray buffer, jint srcOffset, jint destOffset, jint count, jboolean unpinned) argument 92 android_os_MemoryFile_write(JNIEnv* env, jobject clazz, jobject fileDescriptor, jlong address, jbyteArray buffer, jint srcOffset, jint destOffset, jint count, jboolean unpinned) argument
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | SpannedTest.java | 175 public void beforeTextChanged(CharSequence s, int start, int count, argument 178 int count) { 177 onTextChanged(CharSequence s, int start, int before, int count) argument
|
/frameworks/base/libs/common_time/ |
H A D | utils.cpp | 96 ++last->count; 100 mRingBuffer[mWr].count = 1; 125 size_t count = mIsFull ? mSize : mWr; local 132 for (size_t i = 0; i < count; ++i) { 138 if (1 != mRingBuffer[ndx].count) { 143 mRingBuffer[ndx].count,
|
/frameworks/base/libs/hwui/ |
H A D | AssetAtlas.cpp | 31 void AssetAtlas::init(sp<GraphicBuffer> buffer, int64_t* map, int count) { argument 45 createEntries(caches, map, count); 117 void AssetAtlas::createEntries(Caches& caches, int64_t* map, int count) { argument 121 for (int i = 0; i < count; ) {
|
H A D | GammaFontRenderer.cpp | 208 int count = 0; local 214 count++; 222 if (count <= 1 || min < 0) return;
|
H A D | GradientCache.h | 35 count = 0; 40 GradientCacheEntry(uint32_t* colors, float* positions, uint32_t count) { argument 41 copy(colors, positions, count); 45 copy(entry.colors, entry.positions, entry.count); 58 copy(entry.colors, entry.positions, entry.count); 78 uint32_t count; member in struct:android::uirenderer::GradientCacheEntry 81 void copy(uint32_t* colors, float* positions, uint32_t count) { argument 82 this->count = count; 83 this->colors = new uint32_t[count]; [all...] |
H A D | LayerCache.cpp | 92 size_t count = mCache.size(); local 93 for (size_t i = 0; i < count; i++) {
|
H A D | RenderBufferCache.cpp | 103 size_t count = mCache.size(); local 104 for (size_t i = 0; i < count; i++) {
|
/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | hid.c | 95 int count = desc_length - offset; local 96 if (count > max_packet) count = max_packet; 98 fprintf(stderr, "sending ACCESSORY_SET_HID_REPORT_DESC offset: %d count: %d desc_length: %d\n", 99 offset, count, desc_length); 101 ACCESSORY_SET_HID_REPORT_DESC, id, offset, &desc.value[offset], count, 1000); 103 offset += count; 167 int count = read(inotify_fd, event_buf, sizeof(event_buf)); local 168 if (count < (int)sizeof(*event)) { 174 while (count > [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | AllocationAdapter.java | 49 public void subData1D(int off, int count, int[] d) { argument 50 super.copy1DRangeFrom(off, count, d); 55 public void subData1D(int off, int count, short[] d) { argument 56 super.copy1DRangeFrom(off, count, d); 61 public void subData1D(int off, int count, byte[] d) { argument 62 super.copy1DRangeFrom(off, count, d); 67 public void subData1D(int off, int count, float[] d) { argument 68 super.copy1DRangeFrom(off, count, d);
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsPLT.cpp | 131 size_t count = 0; local 158 uint64_t gotEntryAddr = pGOTPLT.getEntryAddr(count++);
|
/frameworks/ex/common/tests/src/com/android/common/widget/ |
H A D | CompositeCursorAdapterTest.java | 250 private Cursor makeCursor(String name, int count) { argument 252 for (int i = 0; i < count; i++) {
|
/frameworks/native/libs/gui/ |
H A D | BufferQueueCore.cpp | 162 // will temporarily keep the max buffer count up until the slots no longer 174 status_t BufferQueueCore::setDefaultMaxBufferCountLocked(int count) { argument 176 if (count < minBufferCount || count > BufferQueueDefs::NUM_BUFFER_SLOTS) { 177 BQ_LOGV("setDefaultMaxBufferCount: invalid count %d, should be in " 179 count, minBufferCount, BufferQueueDefs::NUM_BUFFER_SLOTS); 183 BQ_LOGV("setDefaultMaxBufferCount: setting count to %d", count); 184 mDefaultMaxBufferCount = count;
|
H A D | SensorEventQueue.cpp | 74 size_t count = numEvents < mAvailable ? numEvents : mAvailable; local 75 memcpy(events, mRecBuffer + mConsumed, count*sizeof(ASensorEvent)); 76 mAvailable -= count; 77 mConsumed += count; 78 return count; 149 void SensorEventQueue::sendAck(const ASensorEvent* events, int count) { argument 150 for (int i = 0; i < count; ++i) {
|
/frameworks/native/libs/ui/ |
H A D | Fence.cpp | 137 status_t Fence::flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const { 138 if (size < getFlattenedSize() || count < getFdCount()) { 144 count--; 149 status_t Fence::unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count) { argument 166 if (count < numFds) { 172 count--;
|
/frameworks/native/opengl/libs/EGL/ |
H A D | trace.cpp | 102 static void TraceGLShaderSource(GLuint shader, GLsizei count, argument 105 for (GLsizei i = 0; i < count; i++) { 106 const char* comma = i < count-1 ? "," : ""; 118 for (GLsizei i = 0; i < count; i++) { 119 const char* comma = i < count-1 ? "," : ""; 125 shader, count); 128 shader, count); 135 GLsizei count = chunkCount * chunkSize; 139 for (GLsizei i = 0; i < count; i++) { 145 if (i == count [all...] |
/frameworks/native/services/sensorservice/ |
H A D | SensorDevice.cpp | 63 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list); local 64 mActivationCount.setCapacity(count); 66 for (size_t i=0 ; i<size_t(count) ; i++) { 80 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list); local 83 result.appendFormat("%d h/w sensors:\n", int(count)); 86 for (size_t i=0 ; i<size_t(count) ; i++) { 88 result.appendFormat("handle=0x%08x, active-count=%zu, batch_period(ms)={ ", list[i].handle, 97 result.appendFormat("handle=0x%08x, active-count=%zu, batch_timeout(ms)={ ", list[i].handle, 110 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, list); 111 return count; 118 poll(sensors_event_t* buffer, size_t count) argument [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Client.cpp | 44 const size_t count = mLayers.size(); local 45 for (size_t i=0 ; i<count ; i++) { 67 const size_t count = mLayers.size(); local 68 for (size_t i=0 ; i<count ; i++) {
|