/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/ |
H A D | Multipart.java | 45 return mParts.size();
|
/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
H A D | AnimationSet.java | 37 for (int i = 0, n = mAnimations.size(); i < n; i++) {
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | SearchableCorpora.java | 81 ArrayList<Corpus> corpora = new ArrayList<Corpus>(mEnabledCorpora.size()); 115 mCorporaByName = new HashMap<String,Corpus>(corpora.size()); 116 mCorporaBySource = new HashMap<Source,Corpus>(corpora.size()); 117 mEnabledCorpora = new ArrayList<Corpus>(corpora.size());
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | WifiConfigInfo.java | 57 for (int i = wifiConfigs.size() - 1; i >= 0; i--) {
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
H A D | Collapser.java | 53 int listSize = list.size();
|
/packages/experimental/droiddreamclean/ |
H A D | droiddreamclean.c | 89 size_t size; local 92 size = strlen(s); 94 if (!size) 97 end = s + size - 1;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
H A D | SuggestionSpanUtils.java | 95 || suggestedWords == null || suggestedWords.size() == 0 108 for (int i = 0; i < suggestedWords.size(); ++i) { 109 if (suggestionsList.size() >= OBJ_SUGGESTION_MAX_SIZE) { 119 { context, null, suggestionsList.toArray(new String[suggestionsList.size()]), 0,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | MoreKeysDetector.java | 51 final int keyCount = keys.size();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | AutoCorrection.java | 106 return wordComposer.size() > 1 && suggestions.size() > 0 && !allowsAutoCorrect 114 if (wordComposer.size() > 1 && (correctionMode == Suggest.CORRECTION_FULL 116 && typedWord != null && suggestions.size() > 0 && sortedScores.length > 0) {
|
/packages/inputmethods/LatinIME/tools/makedict/tests/com/android/inputmethod/latin/ |
H A D | BinaryDictInputOutputTest.java | 48 assertEquals(4, result.size());
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | UserDictionaryToolsList.java | 79 /** The size of font*/ 190 if (pos < mWordList.size()) { 210 leftText.setText(mWordList.size() + "/" + MAX_WORD_COUNT); 265 if (mWordList.size() >= MAX_WORD_COUNT) { 273 if (mWordList.size() <= MIN_WORD_COUNT) { 399 int size = mWordList.size(); 400 if (size <= mWordCount) { 407 leftText.setText(size + "/" + MAX_WORD_COUNT); 436 leftText.setText(mWordList.size() [all...] |
/packages/providers/ApplicationsProvider/tests/src/com/android/providers/applications/ |
H A D | MockActivityManager.java | 40 return mPackageUsageStats.values().toArray(new PkgUsageStats[mPackageUsageStats.size()]);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DrmConvertSession.java | 78 * @param size The number of bytes that shall be converted. 82 public byte [] convert(byte[] inBuffer, int size) { argument 87 if (size != inBuffer.length) { 88 byte[] buf = new byte[size]; 89 System.arraycopy(inBuffer, 0, buf, 0, size);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | ViewIdGenerator.java | 127 public ViewIdGenerator[] newArray(int size) { 128 return new ViewIdGenerator[size];
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
H A D | SearchParams.java | 100 public SearchParams[] newArray(int size) { 101 return new SearchParams[size];
|
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
H A D | ImapUtility.java | 89 String[] stringList = new String[list.size()]; 124 String[] stringList = new String[list.size()];
|
/packages/apps/QuickSearchBox/tests/naughty/src/com/android/quicksearchbox/tests/naughty/ |
H A D | CrashingSuggestionProvider.java | 54 if (path.size() > 0) { 55 query = path.get(path.size()-1);
|
H A D | HangingSuggestionProvider.java | 49 if (path.size() > 0) { 50 query = path.get(path.size()-1);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | KeyStyles.java | 84 final int size = text.length(); 85 if (size == 0) return null; 86 if (size == 1) return new CharSequence[] { text }; 90 for (int pos = 0; pos < size; pos++) { 111 if (pos < size) 119 return new CharSequence[] { sb.length() > 0 ? sb : text.subSequence(start, size) }; 121 list.add(sb.length() > 0 ? sb : text.subSequence(start, size)); 122 return list.toArray(new CharSequence[list.size()]);
|
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/ |
H A D | DialogSmsDisplayTests.java | 141 mReceivedMessages.get(mReceivedMessages.size() - 1)); 191 while (mReceivedMessages.size() < messageCount) { 214 Log.i(TAG, "sendMessageTest -- message broken into " + messages.size() + "parts"); 216 boolean receivedSms = waitForSms(messages.size()); 221 assertEquals(messages.size(), mReceivedMessages.size()); 229 sendMessageTest("This is a regular size message that might be sent");
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
H A D | FilterStack.java | 96 int size = outputTopFilter ? appliedStack.size() : appliedStack.size() - 1; 97 for (int i = 0; i < size && !paused; i++) { 108 photoView.setPhoto(runFilter(appliedStack.size() - 1), true); 163 int filterIndex = appliedStack.size() - (outputTopFilter ? 1 : 2);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | VoiceInputOutputSettings.java | 108 int numAvailable = availableRecognitionServices.size(); 152 int size = recognizers.size(); 153 CharSequence[] entries = new CharSequence[size]; 154 CharSequence[] values = new CharSequence[size]; 163 for (int i = 0; i < size; i++) {
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
H A D | SuggestHelper.java | 107 return suggestions.size() > 1 ? suggestions.getWord(1) : null; 115 return (suggestions.size() > 1 && mSuggest.hasAutoCorrection()) 124 for (int i = 1; i < suggestions.size(); i++) { 143 return suggestions.size() > 1 ? suggestions.getWord(1) : null; 151 return (suggestions.size() > 1 && mSuggest.hasAutoCorrection()) 161 for (int i = 1; i < suggestions.size(); i++) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
H A D | BluetoothPbapObexServer.java | 569 int requestSize = nameList.size() >= maxListCount ? maxListCount : nameList.size(); 572 if (endPoint > nameList.size()) { 573 endPoint = nameList.size(); 575 if (D) Log.d(TAG, "call log list, size=" + requestSize + " offset=" + listStartOffset); 595 final int requestSize = nameList.size() >= maxListCount ? maxListCount : nameList.size(); 596 final int listSize = nameList.size(); 605 for (int i = 0; i < names.size(); i++) { 641 * Function to send obex header back to client such as get phonebook size 691 handleAppParaForResponse(AppParamValue appParamValue, int size, HeaderSet reply, Operation op) argument [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | TabControl.java | 120 if (position >= 0 && position < mTabs.size()) { 155 return mMaxTabs > mTabs.size(); 195 int size = mTabs.size(); 286 return mTabs.size(); 462 if (tabs.size() > 0) { 463 Log.w(LOGTAG, "Free " + tabs.size() + " tabs in the browser"); 490 if (mTabQueue.size() == 0) { 508 if (tabsToGo.size() > openTabCount) { 519 if (mTabQueue.size() [all...] |