Searched defs:count (Results 176 - 200 of 589) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/inputmethodservice/
H A DSoftInputWindow.java153 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 DHealthStatsWriter.java92 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 DPackedIntVector.java186 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 DTextDirectionHeuristics.java148 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 DQwertyKeyListener.java119 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 DLayoutAnimationController.java380 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 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);
/frameworks/base/core/java/com/android/internal/midi/
H A DMidiConstants.java85 * @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 DIndentingPrintWriter.java101 public void write(char[] buf, int offset, int count) { argument
103 final int bufferEnd = offset + count;
/frameworks/base/core/jni/android/graphics/
H A DPathEffect.cpp40 int count = autoInterval.length() & ~1; // even number local
46 SkPathEffect* effect = SkDashPathEffect::Make(intervals, count, phase).release();
/frameworks/base/core/jni/
H A Dandroid_os_MemoryFile.cpp75 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 Dandroid_os_VintfObject.cpp97 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 Dandroid_view_DisplayEventReceiver.cpp62 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 DSpannedTest.java186 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 DResTable_test.cpp208 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 Dutils.cpp96 ++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 DGpuMemoryTracker.cpp43 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 DGradientCache.h38 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 DPatchCache.cpp103 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 DRecordingCanvas.h194 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 Dhid.c95 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 DMidiInputPort.java76 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 DBluetoothMidiDevice.java203 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 DAnglesClassifier.java144 // 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 DResultPrinter.java56 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());

Completed in 1725 milliseconds

1234567891011>>