Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 25 of 74) sorted by relevance

123

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputPointersTests.java56 final int limit = src.getXCoordinates().length * 2 + 10; in testAdd() local
57 for (int i = 0; i < limit; i++) { in testAdd()
65 for (int i = 0; i < limit; i++) { in testAdd()
79 final int limit = 1000, step = 100; in testAddAt() local
80 for (int i = 0; i < limit; i += step) { in testAddAt()
88 for (int i = 0; i < limit; i += step) { in testAddAt()
102 final int limit = src.getXCoordinates().length * 2 + 10; in testSet() local
103 for (int i = 0; i < limit; i++) { in testSet()
121 final int limit = 100; in testCopy() local
122 for (int i = 0; i < limit; i++) { in testCopy()
[all …]
/packages/apps/Mms/src/com/android/mms/util/
DRecycler.java83 int limit = getMessageLimit(context); in deleteOldMessages() local
86 deleteMessagesForThread(context, threadId, limit); in deleteOldMessages()
113 abstract public void setMessageLimit(Context context, int limit); in setMessageLimit() argument
172 public void setMessageLimit(Context context, int limit) { in setMessageLimit() argument
175 editPrefs.putInt(MAX_SMS_MESSAGES_PER_THREAD, limit); in setMessageLimit()
255 int limit = getMessageLimit(context); in anyThreadOverLimit() local
269 if (msgs.getCount() >= limit) { in anyThreadOverLimit()
312 public void setMessageLimit(Context context, int limit) { in setMessageLimit() argument
315 editPrefs.putInt(MAX_MMS_MESSAGES_PER_THREAD, limit); in setMessageLimit()
449 int limit = getMessageLimit(context); in anyThreadOverLimit() local
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DResizableIntArrayTests.java40 final int limit = DEFAULT_CAPACITY * 2 + 10; in testAdd() local
41 for (int i = 0; i < limit; i++) { in testAdd()
59 for (int i = 0; i < limit; i++) { in testAdd()
67 final int limit = DEFAULT_CAPACITY * 10, step = DEFAULT_CAPACITY * 2; in testAddAt() local
68 for (int i = 0; i < limit; i += step) { in testAddAt()
73 for (int i = 0; i < limit; i += step) { in testAddAt()
177 final int limit = DEFAULT_CAPACITY * 2 + 10; in testSet() local
178 for (int i = 0; i < limit; i++) { in testSet()
364 final int limit = DEFAULT_CAPACITY * 10; in testShift() local
366 for (int i = 0; i < limit; ++i) { in testShift()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java193 int limit = mLayout.getScrollLimit(); in onScrollPositionChanged() local
194 mListener.onScrollPositionChanged(newPosition, limit); in onScrollPositionChanged()
255 int limit = mLayout.getScrollLimit(); in render() local
256 if (oldX > 0 && newX == 0 || oldX < limit && newX == limit) { in render()
258 if (newX == limit) v = -v; in render()
615 int limit = WIDE ? mContentLength - mWidth : mContentLength - mHeight; in getScrollLimit() local
616 return limit <= 0 ? 0 : limit; in getScrollLimit()
/packages/apps/Exchange/src/com/android/exchange/provider/
DExchangeDirectoryProvider.java292 int limit = DEFAULT_LOOKUP_LIMIT; in query() local
295 limit = Integer.parseInt(limitString); in query()
297 limit = 0; in query()
299 if (limit <= 0) { in query()
320 int queryLimit = limit; in query()
333 projection, galResult, sortOrder, limit, isEmail, isPhone); in query()
376 String sortOrder, int limit, boolean isEmailFilter, boolean isPhoneFilter) { in buildGalResultCursor() argument
543 if (contactId > limit) { in buildGalResultCursor()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DEyePosition.java152 float limit = mUserDistance / 20f; in onGyroscopeChanged() local
153 if (mX > limit || mX < -limit || mY > limit || mY < -limit) { in onGyroscopeChanged()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/
DPartialInputStream.java27 private final long limit; field in PartialInputStream
32 this.limit = offset + length; in PartialInputStream()
40 if (limit > position) in read()
61 return (int)Math.min(Integer.MAX_VALUE, limit - position); in getBytesLeft()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DListParams.java41 public ListParams(int limit, boolean useNetwork) { in ListParams() argument
42 mLimit = limit; in ListParams()
115 final int limit = json.getInt(LIMIT_KEY); in newinstance() local
117 return new ListParams(limit, useNetwork); in newinstance()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DGlobalSearchSupport.java183 String limit, CancellationSignal cancellationSignal) { in handleSearchSuggestionsQuery() argument
193 cursor, db, projection, selection, searchClause, limit, cancellationSignal); in handleSearchSuggestionsQuery()
225 String[] projection, String selection, String filter, String limit, in addSearchSuggestionsBasedOnFilter() argument
250 if (limit != null) { in addSearchSuggestionsBasedOnFilter()
251 sb.append(" LIMIT " + limit); in addSearchSuggestionsBasedOnFilter()
DCallLogProvider.java201 final int limit = getIntParam(uri, Calls.LIMIT_PARAM_KEY, 0); in query() local
204 if (limit > 0) { in query()
205 limitClause = offset + "," + limit; in query()
/packages/apps/Exchange/src/com/android/exchange/eas/
DEasSearch.java63 final int limit = mSearchParams.mLimit; in getRequestEntity() local
65 if (limit < 0 || limit > MAX_SEARCH_RESULTS || offset < 0) { in getRequestEntity()
127 s.data(Tags.SEARCH_RANGE, offset + "-" + (offset + limit - 1)); in getRequestEntity()
DEasSearchGal.java29 final int limit) { in EasSearchGal() argument
32 mLimit = limit; in EasSearchGal()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogQueryHandler.java109 public CallLogQueryHandler(ContentResolver contentResolver, Listener listener, int limit) { in CallLogQueryHandler() argument
112 mLogLimit = limit; in CallLogQueryHandler()
166 final int limit = (mLogLimit == -1) ? NUM_LOGS_TO_DISPLAY : mLogLimit; in fetchCalls() local
169 .appendQueryParameter(Calls.LIMIT_PARAM_KEY, Integer.toString(limit)) in fetchCalls()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactEntryListAdapter.java281 final int limit = directoryPartition.getResultLimit(); in getDirectoryResultLimit() local
282 return limit == DirectoryPartition.RESULT_LIMIT_DEFAULT ? mDirectoryResultLimit : limit; in getDirectoryResultLimit()
285 public void setDirectoryResultLimit(int limit) { in setDirectoryResultLimit() argument
286 this.mDirectoryResultLimit = limit; in setDirectoryResultLimit()
/packages/apps/Camera/jni/feature_mos/src/mosaic/
DPyramid.cpp157 int limit = scr->width + scr->border; in BorderExpandOdd() local
158 for (i = -scr->border; i < limit; i++) { in BorderExpandOdd()
170 int limit = out->height + out->border; in BorderExpandOdd() local
171 for (j = -out->border; j < limit; j++) { in BorderExpandOdd()
/packages/apps/Mms/src/com/android/mms/ui/
DMessagingPreferenceActivity.java377 public void onNumberSet(int limit) {
378 mSmsRecycler.setMessageLimit(MessagingPreferenceActivity.this, limit);
385 public void onNumberSet(int limit) {
386 mMmsRecycler.setMessageLimit(MessagingPreferenceActivity.this, limit);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java1385 String limit = ""; in msgListing() local
1389 limit=" LIMIT "+ (ap.getMaxListCount()+ap.getStartOffset()); in msgListing()
1400 limit = " LIMIT " + ap.getMaxListCount()+" OFFSET "+ ap.getStartOffset(); in msgListing()
1401 if(D) Log.d(TAG, "SMS Limit => "+limit); in msgListing()
1410 SMS_PROJECTION, where, null, Sms.DATE + " DESC" + limit); in msgListing()
1433 limit = " LIMIT " + ap.getMaxListCount()+" OFFSET "+ ap.getStartOffset(); in msgListing()
1434 if(D) Log.d(TAG, "MMS Limit => "+limit); in msgListing()
1442 MMS_PROJECTION, where, null, Mms.DATE + " DESC" + limit); in msgListing()
1465 limit = " LIMIT " + ap.getMaxListCount()+" OFFSET "+ ap.getStartOffset(); in msgListing()
1466 if(D) Log.d(TAG, "Email Limit => "+limit); in msgListing()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderUtils.java49 public int limit(); in limit() method
98 public int limit() { in limit() method in BinaryDictDecoderUtils.ByteBufferDictBuffer
99 return mBuffer.limit(); in limit()
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
DSourceLatency.java164 public Cursor getSuggestions(SearchableInfo searchable, String query, int limit) { in getSuggestions() argument
199 if (limit > 0) { in getSuggestions()
201 String.valueOf(limit)); in getSuggestions()
/packages/services/Mms/src/com/android/mms/service/
DMmsConfig.java420 final int limit = getInt(CONFIG_RECIPIENT_LIMIT); in getRecipientLimit() local
421 return limit < 0 ? Integer.MAX_VALUE : limit; in getRecipientLimit()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DViewsStateBundle.java60 public ViewsStateBundle(int policy, int limit) { in ViewsStateBundle() argument
62 limitNumber = limit; in ViewsStateBundle()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DDebugLogUtils.java52 public static String getStackTrace(final int limit) { in getStackTrace() argument
59 for (int j = 1; j < frames.length && j < limit + 1; ++j) { in getStackTrace()
/packages/apps/Email/src/com/beetstra/jutf7/
DUTF7StyleCharsetEncoder.java165 && out.limit() != MAX_BYTES_PER_CHAR * in.limit()) in encodeLoop()
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
DFusionDictionaryTest.java71 int limit) { in checkDictionary() argument
74 if (--limit < 0) return; in checkDictionary()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DJobLimiter.java131 public JobLimiter(ThreadPool pool, int limit) { in JobLimiter() argument
133 mLimit = limit; in JobLimiter()

123