/frameworks/base/core/java/android/inputmethodservice/ |
H A D | SoftInputWindow.java | 153 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { argument 154 if (mKeyEventCallback != null && mKeyEventCallback.onKeyMultiple(keyCode, count, event)) { 157 return super.onKeyMultiple(keyCode, count, event);
|
/frameworks/base/core/java/android/os/health/ |
H A D | HealthStatsWriter.java | 92 public void addTimer(int timerId, int count, long time) { argument 96 mTimerCounts[index] = count; 225 int count = 0; 229 count++; 232 return count; 239 int count = 0; 243 count++; 246 return count;
|
/frameworks/base/core/java/android/text/ |
H A D | PackedIntVector.java | 186 throw new IndexOutOfBoundsException("value count " + values.length); 214 * @param count the number of rows to delete. 217 * are out of range (row < 0 || count < 0 || 218 * row + count > size()). 220 public void deleteAt(int row, int count) { argument 221 if (((row | count) < 0) || (row + count > size())) { 222 throw new IndexOutOfBoundsException(row + ", " + count); 225 moveRowGapTo(row + count); 227 mRowGapStart -= count; [all...] |
H A D | TextDirectionHeuristics.java | 148 public boolean isRtl(char[] array, int start, int count) { argument 149 return isRtl(CharBuffer.wrap(array), start, count); 153 public boolean isRtl(CharSequence cs, int start, int count) { argument 154 if (cs == null || start < 0 || count < 0 || cs.length() - count < start) { 160 return doCheck(cs, start, count); 163 private boolean doCheck(CharSequence cs, int start, int count) { argument 164 switch(mAlgorithm.checkRtl(cs, start, count)) { 197 int checkRtl(CharSequence cs, int start, int count); argument 207 public int checkRtl(CharSequence cs, int start, int count) { argument 242 checkRtl(CharSequence cs, int start, int count) argument [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | QwertyKeyListener.java | 119 int count = event.getRepeatCount(); 120 if (count > 0 && selStart == selEnd && selStart > 0) { 124 if (showCharacterPicker(view, content, c, false, count)) { 502 boolean insert, int count) { 508 if (count == 1) { 501 showCharacterPicker(View view, Editable content, char c, boolean insert, int count) argument
|
/frameworks/base/core/java/android/view/animation/ |
H A D | LayoutAnimationController.java | 380 final float totalDelay = delay * params.count; 406 return params.count - 1 - params.index; 411 return (int) (params.count * mRandomizer.nextFloat()); 429 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/midi/ |
H A D | MidiConstants.java | 85 * @param count 89 int count) { 92 for (int i = 0; i < count; i++) { 88 isAllActiveSensing(byte[] msg, int offset, int count) argument
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | IndentingPrintWriter.java | 101 public void write(char[] buf, int offset, int count) { argument 103 final int bufferEnd = offset + count;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | PathEffect.cpp | 40 int count = autoInterval.length() & ~1; // even number local 46 SkPathEffect* effect = SkDashPathEffect::Make(intervals, count, phase).release();
|
/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
|
H A D | android_os_VintfObject.cpp | 97 size_t count = env->GetArrayLength(packageInfo); local 98 std::vector<std::string> cPackageInfo{count}; 99 for (size_t i = 0; i < count; ++i) {
|
H A D | android_view_DisplayEventReceiver.cpp | 62 virtual void dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count); 87 void NativeDisplayEventReceiver::dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count) { argument 94 gDisplayEventReceiverClassInfo.dispatchVsync, timestamp, id, count);
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | SpannedTest.java | 186 public void beforeTextChanged(CharSequence s, int start, int count, int after) { } argument 189 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
/frameworks/base/libs/androidfw/tests/ |
H A D | ResTable_test.cpp | 208 ssize_t count = table.lockBag(basic::R::array::integerArray1, &entry); local 209 ASSERT_GE(count, 0); 221 count = table.lockBag(basic::R::array::integerArray1, &entry); 222 ASSERT_GE(count, 0); 419 EXPECT_EQ(1, std::count(configs.begin(), configs.end(), configSv)); 424 EXPECT_EQ(1, std::count(locales.begin(), locales.end(), String8("sv")));
|
/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 | GpuMemoryTracker.cpp | 43 int count = 0; member in struct:android::uirenderer::TypeStats 59 gObjectStats[static_cast<int>(mType)].count++; 67 gObjectStats[static_cast<int>(mType)].count--; 97 stream << ", count = " << stats.count; 103 return gObjectStats[static_cast<int>(type)].count; 118 ATRACE_INT(buf, stats.count);
|
H A D | GradientCache.h | 38 count = 0; 43 GradientCacheEntry(uint32_t* colors, float* positions, uint32_t count) { argument 44 copy(colors, positions, count); 48 copy(entry.colors.get(), entry.positions.get(), entry.count); 53 copy(entry.colors.get(), entry.positions.get(), entry.count); 73 uint32_t count; member in struct:android::uirenderer::GradientCacheEntry 76 void copy(uint32_t* colors, float* positions, uint32_t count) { argument 77 this->count = count; 78 this->colors.reset(new uint32_t[count]); [all...] |
H A D | PatchCache.cpp | 103 size_t count = mGarbage.size(); local 104 for (size_t i = 0; i < count; i++) { 120 size_t count = mGarbage.size(); local 121 for (size_t i = 0; i < count; i++) {
|
H A D | RecordingCanvas.h | 194 virtual void drawGlyphs(const uint16_t* text, const float* positions, int count, 219 inline const T* refBuffer(const T* srcBuffer, int32_t count) { argument 222 T* dstBuffer = (T*) mDisplayList->allocator.alloc<T>(count * sizeof(T)); 223 memcpy(dstBuffer, srcBuffer, count * sizeof(T));
|
/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/media/java/android/media/midi/ |
H A D | MidiInputPort.java | 76 public void onSend(byte[] msg, int offset, int count, long timestamp) throws IOException { argument 77 if (offset < 0 || count < 0 || offset + count > msg.length) { 78 throw new IllegalArgumentException("offset or count out of range"); 80 if (count > MidiPortImpl.MAX_PACKET_DATA_SIZE) { 81 throw new IllegalArgumentException("count exceeds max message size"); 88 int length = MidiPortImpl.packData(msg, offset, count, timestamp, mBuffer);
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
H A D | BluetoothMidiDevice.java | 203 public void writePacket(byte[] buffer, int count) { argument 208 byte[] writeBuffer = mWriteBuffers[count]; 209 System.arraycopy(buffer, 0, writeBuffer, 0, count); 258 mPacketEncoder.send(event.data, 0, event.count, 290 private static void logByteArray(String prefix, byte[] value, int offset, int count) { argument 292 for (int i = offset; i < count; i++) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | AnglesClassifier.java | 144 // the angle variance so far and start to count the values for the angle 167 public float getAnglesVariance(float sumSquares, float sum, float count) { argument 168 return sumSquares / count - (sum / count) * (sum / count);
|
/frameworks/base/test-runner/src/junit/textui/ |
H A D | ResultPrinter.java | 56 protected void printDefects(Enumeration<TestFailure> booBoos, int count, String type) { argument 57 if (count == 0) return; 58 if (count == 1) 59 getWriter().println("There was " + count + " " + type + ":"); 61 getWriter().println("There were " + count + " " + type + "s:"); 67 public void printDefect(TestFailure booBoo, int count) { // only public for testing purposes argument 68 printDefectHeader(booBoo, count); 72 protected void printDefectHeader(TestFailure booBoo, int count) { argument 75 getWriter().print(count + ") " + booBoo.failedTest());
|