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

1234567891011>>

/frameworks/base/core/java/android/webkit/
H A DFindActionModeCallback.java258 int count,
267 int count) {
256 beforeTextChanged(CharSequence s, int start, int count, int after) argument
264 onTextChanged(CharSequence s, int start, int before, int count) argument
/frameworks/base/core/java/android/widget/
H A DCalendarViewMaterialDelegate.java83 public void setShownWeekCount(int count) { argument
H A DViewAnimator.java152 final int count = getChildCount();
153 for (int i = 0; i < count; i++) {
219 // Displayed is above child count, so float down to top of stack
231 public void removeViews(int start, int count) { argument
232 super.removeViews(start, count);
236 } else if (mWhichChild >= start && mWhichChild < start + count) {
242 public void removeViewsInLayout(int start, int count) { argument
243 removeViews(start, count);
/frameworks/base/core/java/com/android/internal/os/
H A DLoggingPrintStream.java120 public synchronized void write(byte bytes[], int start, int count) { argument
129 int end = start + count;
/frameworks/base/core/java/com/android/internal/util/
H A DFastPrintWriter.java32 public void write(char[] buf, int offset, int count) throws IOException { argument
545 * Writes {@code count} characters from {@code buffer} starting at {@code
555 * @param count
558 * if {@code offset < 0} or {@code count < 0}, or if {@code
559 * offset + count} is greater than the length of {@code buf}.
562 public void write(char[] buf, int offset, int count) { argument
565 appendLocked(buf, offset, count);
608 * Writes {@code count} characters from {@code str} starting at {@code
615 * @param count
618 * if {@code offset < 0} or {@code count <
622 write(String str, int offset, int count) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_location_ActivityRecognitionHardware.cpp83 int count) {
89 if (events == NULL || count <= 0) {
90 ALOGE("Invalid activity_callback. Count: %d, Events: %p", count, events);
108 jobjectArray events_array = env->NewObjectArray(count, event_class, NULL);
109 for (int i = 0; i < count; ++i) {
80 activity_callback( const activity_recognition_callback_procs_t* procs, const activity_event_t* events, int count) argument
H A Dandroid_view_DisplayEventReceiver.cpp66 void dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count);
145 ALOGV("receiver %p ~ Vsync pulse: timestamp=%lld, id=%d, count=%d",
170 *outCount = ev.vsync.count;
187 void NativeDisplayEventReceiver::dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count) { argument
192 gDisplayEventReceiverClassInfo.dispatchVsync, timestamp, id, count);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityTestsBase.java60 public void setInternalIterations(int count) { argument
/frameworks/base/libs/common_time/
H A Dclock_recovery.cpp113 uint32_t count) {
115 for (uint32_t i = 1; i < count; ++i)
112 findMinRTTNdx(DisciplineDataPoint* data, uint32_t count) argument
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.h125 virtual status_t drawRects(const float* rects, int count, const SkPaint* paint);
140 virtual status_t drawLines(const float* points, int count, const SkPaint* paint);
141 virtual status_t drawPoints(const float* points, int count, const SkPaint* paint);
144 virtual status_t drawText(const char* text, int bytesCount, int count, float x, float y,
147 virtual status_t drawTextOnPath(const char* text, int bytesCount, int count, const SkPath* path,
149 virtual status_t drawPosText(const char* text, int bytesCount, int count,
188 inline const T* refBuffer(const T* srcBuffer, int32_t count) { argument
191 T* dstBuffer = (T*) mDisplayListData->allocator.alloc(count * sizeof(T));
192 memcpy(dstBuffer, srcBuffer, count * sizeof(T));
H A DGradientCache.cpp43 uint32_t hash = JenkinsHashMix(0, count);
44 for (uint32_t i = 0; i < count; i++) {
52 int deltaInt = int(lhs.count) - int(rhs.count);
55 deltaInt = memcmp(lhs.colors, rhs.colors, lhs.count * sizeof(uint32_t));
58 return memcmp(lhs.positions, rhs.positions, lhs.count * sizeof(float));
132 Texture* GradientCache::get(uint32_t* colors, float* positions, int count) { argument
133 GradientCacheEntry gradient(colors, positions, count);
137 texture = addLinearGradient(gradient, colors, positions, count);
147 void GradientCache::getGradientInfo(const uint32_t* colors, const int count, argument
170 addLinearGradient(GradientCacheEntry& gradient, uint32_t* colors, float* positions, int count) argument
[all...]
H A DPatchCache.cpp124 size_t count = mGarbage.size(); local
125 for (size_t i = 0; i < count; i++) {
141 size_t count = mGarbage.size(); local
142 for (size_t i = 0; i < count; i++) {
H A DTextureCache.cpp244 size_t count = mGarbage.size(); local
245 for (size_t i = 0; i < count; i++) {
/frameworks/base/media/mca/filterfw/jni/
H A Djni_native_frame.cpp124 const int count = size / sizeof(jint); local
125 jintArray result = env->NewIntArray(count);
126 env->SetIntArrayRegion(result, 0, count, reinterpret_cast<const jint*>(data));
158 const int count = size / sizeof(jfloat); local
159 jfloatArray result = env->NewFloatArray(count);
160 env->SetFloatArrayRegion(result, 0, count, reinterpret_cast<const jfloat*>(data));
/frameworks/base/media/mca/filterfw/native/core/
H A Dvalue.cpp47 result.count = 1;
53 Value MakePtrValue(const BASE* values, int count) { argument
56 result.value = malloc(sizeof(BASE) * count);
57 memcpy(result.value, values, sizeof(BASE) * count);
58 result.count = count;
67 value->count = 1;
77 int SetPtrValue(Value* value, const BASE* new_values, int count) { argument
80 value->value = malloc(sizeof(BASE) * count);
81 value->count
193 MakeIntArrayValue(const int* values, int count) argument
197 MakeFloatArrayValue(const float* values, int count) argument
217 SetIntArrayValue(Value* value, const int* new_values, int count) argument
221 SetFloatArrayValue(Value* value, const float* new_values, int count) argument
[all...]
/frameworks/base/native/android/
H A Dasset_manager.cpp171 int AAsset_read(AAsset* asset, void* buf, size_t count) argument
173 return asset->mAsset->read(buf, (size_t)count);
H A Dsensor.cpp137 ASensorEvent* events, size_t count)
139 ssize_t actual = static_cast<SensorEventQueue*>(queue)->read(events, count);
136 ASensorEventQueue_getEvents(ASensorEventQueue* queue, ASensorEvent* events, size_t count) argument
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardAccountView.java116 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
119 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
H A DKeyguardPasswordView.java142 public void onTextChanged(CharSequence s, int start, int before, int count) {
145 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
283 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
290 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_connectivity_Vpn.cpp134 int count = 0; local
143 count = BAD_ARGUMENT;
149 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR;
156 count = BAD_ARGUMENT;
160 if (count) {
161 sprintf(ifr4.ifr_name, "%s:%d", name, count);
164 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR;
171 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR;
176 ++count;
179 if (count
286 int count = -1; local
[all...]
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
H A DTransport.java231 protected abstract int ioRead(byte[] buffer, int offset, int count) argument
233 protected abstract void ioWrite(byte[] buffer, int offset, int count) argument
304 int count;
306 count = ioRead(buffer.array(), position, buffer.capacity() - position);
307 if (count < 0) {
314 position += count;
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DActivityTestMain.java462 void addAppRecents(int count) { argument
468 for (int i=0; i<count; i++) {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DSmartCamera.java77 private static int count = -1; field in class:SmartCamera
83 if (count == numImages-1) countHasReachedMax = true;
84 count = (count+1) % numImages;
85 return mImages.get(count);
119 Log.v(TAG, "numImages: " + numImages + " count: " + count +
121 int maxI = countHasReachedMax ? numImages : count+1;
135 count = -1;
210 if (count
[all...]
/frameworks/base/tools/aapt/
H A DPackage.cpp61 int count; local
112 count = processAssets(bundle, zip, outputSet);
113 if (count < 0) {
116 result = count;
121 printf("Generated %d file%s\n", count, (count==1) ? "" : "s");
124 count = processJarFiles(bundle, zip);
125 if (count < 0) {
128 result = count;
133 printf("Included %d file%s from jar/zip files.\n", count, (coun
220 ssize_t count = 0; local
407 size_t count = 0; local
431 ssize_t count = 0; local
[all...]
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsGOT.cpp136 // FIXME: (simon) Do not count local entries for non-pic.
137 size_t count = it->m_GlobalNum + it->m_LocalNum; local
138 for (size_t i = 0; i < count; ++i)
243 if (m_InputLocalSymbols.count(entry))
248 if (m_MergedLocalSymbols.count(entry)) {
266 if (m_InputGlobalSymbols.count(&pInfo))
269 if (m_MergedGlobalSymbols.count(&pInfo)) {
322 if (it->m_Inputs.count(&pInput))

Completed in 525 milliseconds

1234567891011>>