Searched defs:count (Results 276 - 300 of 430) sorted by last modified time

<<1112131415161718

/frameworks/base/core/java/android/widget/
H A DCalendarView.java119 * @param count The shown week count.
123 public void setShownWeekCount(int count) { argument
124 mDelegate.setShownWeekCount(count);
130 * @return The shown week count.
520 void setShownWeekCount(int count); argument
H A DCalendarViewLegacyDelegate.java342 public void setShownWeekCount(int count) { argument
343 if (mShownWeekCount != count) {
344 mShownWeekCount = count;
700 for (int i = mFirstDayOfWeek, count = mFirstDayOfWeek + mDaysPerWeek; i < count; i++) {
714 for (int i = 1, count = mDayNamesHeader.getChildCount(); i < count; i++) {
H A DCalendarViewMaterialDelegate.java83 public void setShownWeekCount(int count) { argument
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);
H A DGridLayout.java722 private static int clip(Interval minorRange, boolean minorWasDefined, int count) { argument
724 if (count == 0) {
727 int min = minorWasDefined ? min(minorRange.min, count) : 0;
728 return min(size, count - min);
735 final int count = (axis.definedCount != UNDEFINED) ? axis.definedCount : 0;
739 int[] maxSizes = new int[count];
755 final int minorSpan = clip(minorRange, minorWasDefined, count);
760 if (count != 0) {
767 if (minor + minorSpan <= count) {
834 int count
1284 setCount(int count) argument
[all...]
H A DGridView.java249 final int count = getChildCount();
256 final int startOffset = count > 0 ?
257 getChildAt(count - 1).getBottom() + verticalSpacing : paddingTop;
258 int position = mFirstPosition + count;
269 final int startOffset = count > 0 ?
505 final int count = getChildCount();
506 if (mFirstPosition + count == mItemCount) {
507 final int bottom = getChildAt(count - 1).getBottom();
1058 final int count = mItemCount;
1059 if (count >
1120 attachLayoutAnimationParameters(View child, ViewGroup.LayoutParams params, int index, int count) argument
1627 commonKey(int keyCode, int count, KeyEvent event) argument
[all...]
H A DLinearLayout.java345 final int count = getVirtualChildCount();
346 for (int i = 0; i < count; i++) {
358 if (hasDividerBeforeChildAt(count)) {
359 final View child = getVirtualChildAt(count - 1);
372 final int count = getVirtualChildCount();
374 for (int i = 0; i < count; i++) {
391 if (hasDividerBeforeChildAt(count)) {
392 final View child = getVirtualChildAt(count - 1);
664 final int count = getVirtualChildCount();
678 for (int i = 0; i < count;
952 forceUniformWidth(int count, int heightMeasureSpec) argument
1372 forceUniformHeight(int count, int widthMeasureSpec) argument
[all...]
H A DListView.java535 final int count = infos.size();
537 for (int i = 0; i < count; i++) {
654 final int count = getChildCount();
660 final int startOffset = count > 0 ? getChildAt(count - 1).getBottom() + mDividerHeight :
662 fillDown(mFirstPosition + count, startOffset);
669 final int startOffset = count > 0 ? getChildAt(0).getTop() - mDividerHeight :
2037 final int count = adapter.getCount();
2041 while (position < count && !adapter.isEnabled(position)) {
2045 position = Math.min(position, count
2158 commonKey(int keyCode, int count, KeyEvent event) argument
[all...]
H A DRemoteViewsAdapter.java395 int count; field in class:RemoteViewsAdapter.RemoteViewsMetaData
415 count = d.count;
423 count = 0;
549 // The meta data related to all the RemoteViews, ie. count, is stable, etc.
610 // Trim the cache if we go beyond the count
718 int count = 0;
720 count = mMetaData.count;
733 int effectiveUpperBound = Math.min(mPreloadUpperBound, count
1308 getVisibleWindow(int lower, int upper, int count) argument
[all...]
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/app/
H A DProcessStats.java877 long count = proc.getPssSampleCount(bucket);
878 if (count > 0) {
898 pw.print(count);
959 long count = getSysMemUsageValue(bucket, SYS_MEM_USAGE_SAMPLE_COUNT);
960 if (count > 0) {
972 pw.print(count);
1271 long count = proc.mStats.getLong(off, PSS_SAMPLE_COUNT);
1281 pw.print(count);
1311 // First initialize use count of all common processes.
1736 if (!readCheckedInt(in, STATE_COUNT, "state count")) {
2402 dumpServiceStats(PrintWriter pw, String prefix, String prefixInner, String headerPrefix, String header, ServiceState service, int count, int serviceType, int state, long startTime, long now, long totalTime, boolean dumpAll) argument
[all...]
H A DRestrictionsPinActivity.java107 // 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/java/com/android/internal/os/
H A DBatteryStatsImpl.java404 Process.PROC_TAB_TERM|Process.PROC_OUT_LONG, // 1: count
414 Process.PROC_OUT_LONG, // 1: count
747 int count = mCount.get();
748 out.writeInt(count);
768 public void addCountAtomic(long count) { argument
769 mCount.addAndGet((int)count);
832 void addCountLocked(long count) { argument
833 mCount += count;
876 // lock count, and are in "battery realtime" units.
1063 * The most recent reported count fro
1130 updateCurrentReportedCount(int count) argument
1844 KernelWakelockStats(int count, long totalTime, int version) argument
[all...]
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...]
H A DIndentingPrintWriter.java76 public void write(char[] buf, int offset, int count) { argument
78 final int bufferEnd = offset + count;
H A DProcFileReader.java75 private void consumeBuf(int count) throws IOException { argument
78 System.arraycopy(mBuffer, count, mBuffer, 0, mTail - count);
79 mTail -= count;
H A DStateMachine.java569 * count which is the number of records processed since the
618 synchronized int count() { method in class:StateMachine.LogRecords
1439 return smh.mLogRecords.count();
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java64 /** Actual number of items (the 'More' view does not count as an item) shown */
501 void setNumActualItemsShown(int count) { argument
502 mNumActualItemsShown = count;
/frameworks/base/core/jni/
H A DAndroidRuntime.cpp1227 static int register_jni_procs(const RegJNIRec array[], size_t count, JNIEnv* env) argument
1229 for (size_t i = 0; i < count; i++) {
1240 static void register_jam_procs(const RegJAMProc array[], size_t count) argument
1242 for (size_t i = 0; i < count; i++) {
/frameworks/base/core/jni/android/graphics/
H A DAutoDecodeCancel.cpp85 int count = 0; local
87 count += 1;
88 SkASSERT(count <= gCount);
97 SkASSERT(count == gCount);
H A DBitmap.cpp584 int count = p->readInt32(); local
585 if (count > 0) {
586 size_t size = count * sizeof(SkPMColor);
588 ctable = new SkColorTable(src, count);
644 int count = ctable->count(); local
645 p->writeInt32(count);
646 memcpy(p->writeInplace(count * sizeof(SkPMColor)),
647 ctable->lockColors(), count * sizeof(SkPMColor));
831 if (ct0->count() !
[all...]
H A DBitmapFactory.cpp93 static void scaleDivRange(int32_t* divs, int count, float scale, int maxValue) { argument
94 for (int i = 0; i < count; i++) {
101 if (CC_UNLIKELY(divs[count - 1] > maxValue)) {
105 for (int i = count - 1; i >= 0; i--) {
H A DMinikinUtils.cpp42 const uint16_t* buf, size_t start, size_t count, size_t bufSize) {
63 layout->doLayout(buf, start, count, bufSize, bidiFlags, minikinStyle, minikinPaint);
41 doLayout(Layout* layout, const Paint* paint, int bidiFlags, TypefaceImpl* typeface, const uint16_t* buf, size_t start, size_t count, size_t bufSize) argument
H A DPaint.cpp514 static jfloat measureText_CIII(JNIEnv* env, jobject jpaint, jcharArray text, jint index, jint count, argument
520 if ((index | count) < 0 || (size_t)(index + count) > textLength) {
524 if (count == 0) {
534 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, index, count, textLength);
546 int count = end - start; local
547 if ((start | count) < 0 || (size_t)end > textLength) {
551 if (count == 0) {
561 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, start, count, textLength);
590 static int dotextwidths(JNIEnv* env, Paint* paint, TypefaceImpl* typeface, const jchar text[], int count, argument
618 getTextWidths___CIII_F(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint bidiFlags, jfloatArray widths) argument
634 int count = dotextwidths(env, paint, typeface, textArray + start, end - start, widths, bidiFlags); local
639 doTextRunAdvances(JNIEnv *env, Paint *paint, TypefaceImpl* typeface, const jchar *text, jint start, jint count, jint contextCount, jboolean isRtl, jfloatArray advances, jint advancesIndex) argument
676 getTextRunAdvances___CIIIIZ_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jboolean isRtl, jfloatArray advances, jint advancesIndex) argument
703 doTextRunCursor(JNIEnv *env, Paint* paint, const jchar *text, jint start, jint count, jint flags, jint offset, jint opt) argument
761 getTextPath(JNIEnv* env, Paint* paint, TypefaceImpl* typeface, const jchar* text, jint count, jint bidiFlags, jfloat x, jfloat y, SkPath* path) argument
780 getTextPath___C(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jint bidiFlags, jcharArray text, jint index, jint count, jfloat x, jfloat y, jlong pathHandle) argument
819 breakText(JNIEnv* env, const Paint& paint, TypefaceImpl* typeface, const jchar text[], int count, float maxWidth, jint bidiFlags, jfloatArray jmeasured, Paint::TextBufferDirection textBufferDirection) argument
853 breakTextC(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray jtext, jint index, jint count, jfloat maxWidth, jint bidiFlags, jfloatArray jmeasuredWidth) argument
893 int count = env->GetStringLength(jtext); local
900 doTextBounds(JNIEnv* env, const jchar* text, int count, jobject bounds, const Paint& paint, TypefaceImpl* typeface, jint bidiFlags) argument
926 getCharArrayBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint bidiFlags, jobject bounds) argument
[all...]

Completed in 196 milliseconds

<<1112131415161718