/packages/inputmethods/LatinIME/native/jni/src/ |
H A D | bigram_dictionary.h | 40 int getBigramAddress(int *pos, bool advance); 41 int getBigramFreq(int *pos); 43 bool getFirstBitOfByte(int *pos) { return (DICT[*pos] & 0x80) > 0; } argument 44 bool getSecondBitOfByte(int *pos) { return (DICT[*pos] & 0x40) > 0; } argument
|
H A D | terminal_attributes.h | 37 ShortcutIterator(const uint8_t *dict, const int pos, const uint8_t flags) argument 38 : mDict(dict), mPos(pos), 64 TerminalAttributes(const uint8_t *const dict, const uint8_t flags, const int pos) argument 65 : mDict(dict), mFlags(flags), mStartPos(pos) {
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
H A D | MockParserStream.java | 32 int pos = 0; field in class:MockParserStream 42 return array[pos++];
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | SuggestionCursor.java | 44 * @param pos The position to move to. 45 * @throws IndexOutOfBoundsException if {@code pos < 0} or {@code pos >= getCount()}. 47 void moveTo(int pos); argument
|
H A D | SuggestionCursorWrapper.java | 49 public void moveTo(int pos) { argument 51 mCursor.moveTo(pos);
|
H A D | ListSuggestionCursor.java | 78 public void moveTo(int pos) { argument 79 mPos = pos;
|
H A D | CursorBackedSuggestionCursor.java | 124 public void moveTo(int pos) { argument 126 throw new IllegalStateException("moveTo(" + pos + ") after close()"); 129 if (!mCursor.moveToPosition(pos)) { 130 Log.e(TAG, "moveToPosition(" + pos + ") failed, count=" + getCount());
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
H A D | BitmapCache.java | 67 int pos = getOldestPosition(); 68 return put(preset, pos); 71 public Bitmap put(ImagePreset preset, int pos) { argument 72 mBitmaps[pos] = mOriginalBitmap.copy(mConfig, true); 73 Bitmap bitmap = mBitmaps[pos]; 75 mKeys[pos] = preset; 76 mIndices[pos] = mIndex++; 86 int pos = getOldestPosition(); 87 mBusyStatus[pos] = true; 88 mKeys[pos] 92 processPosition(int pos) argument 100 unlockPosition(int pos) argument [all...] |
/packages/inputmethods/PinyinIME/jni/share/ |
H A D | utf16char.cpp | 33 size_t pos = 0; local 34 while ((char16)' ' == utf16_str[pos] || (char16)'\n' == utf16_str[pos] 35 || (char16)'\t' == utf16_str[pos]) 36 pos++; 38 utf16_str += pos; 39 pos = 0; 41 while ((char16)'\0' != utf16_str[pos] && (char16)' ' != utf16_str[pos] 42 && (char16)'\n' != utf16_str[pos] 68 size_t pos = 0; local 104 size_t pos = 0; local 112 size_t pos = 0; local [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
H A D | db_utilities_indexing.cpp | 59 double db_LeanQuickSelect(const double *s,long nr_elements,long pos,double *temp) argument 81 if(first_equal>pos) last=first_equal-1; 82 else if(last_equal<pos) first=last_equal+1;
|
H A D | db_utilities_indexing.h | 97 int pos; local 99 best=s[0];pos=0; 100 if(s[1]>best){best=s[1];pos=1;} 101 if(s[2]>best){best=s[2];pos=2;} 102 return(pos); 108 int pos; local 110 best=s[0];pos=0; 111 if(s[1]>best){best=s[1];pos=1;} 112 if(s[2]>best){best=s[2];pos=2;} 113 if(s[3]>best){best=s[3];pos 120 int pos; local 133 int pos; local 147 int pos; local 162 int pos; local 177 int pos; local 194 int pos; local 205 int pos; local [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | TextUtilities.java | 459 static /*package*/ char stripHtmlEntity(String text, int pos, int[] skipCount) { argument 465 int end = pos + 10; 468 for (int i = pos; (i < length) && (i < end); i++) { 470 entity = text.substring(pos, i);
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
H A D | db_utilities_indexing.cpp | 59 double db_LeanQuickSelect(const double *s,long nr_elements,long pos,double *temp) argument 81 if(first_equal>pos) last=first_equal-1; 82 else if(last_equal<pos) first=last_equal+1;
|
H A D | db_utilities_indexing.h | 97 int pos; local 99 best=s[0];pos=0; 100 if(s[1]>best){best=s[1];pos=1;} 101 if(s[2]>best){best=s[2];pos=2;} 102 return(pos); 108 int pos; local 110 best=s[0];pos=0; 111 if(s[1]>best){best=s[1];pos=1;} 112 if(s[2]>best){best=s[2];pos=2;} 113 if(s[3]>best){best=s[3];pos 120 int pos; local 133 int pos; local 147 int pos; local 162 int pos; local 177 int pos; local 194 int pos; local 205 int pos; local [all...] |
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
H A D | UserDictionaryAddWordFragment.java | 124 public void onItemSelected(final AdapterView<?> parent, final View view, final int pos, argument 126 final LocaleRenderer locale = (LocaleRenderer)parent.getItemAtPosition(pos);
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
H A D | DictionaryBackupAgent.java | 206 int pos = 0; 207 while (pos + 4 < dictionary.length) { 208 int length = readInt(dictionary, pos); 209 pos += 4; 210 if (pos + length > dictionary.length) { 213 String line = new String(dictionary, pos, length); 214 pos += length; 256 * @param pos current pos in array 260 private int writeInt(byte[] out, int pos, in argument 268 readInt(byte[] in, int pos) argument [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | NavScreen.java | 136 public void onRemovePosition(int pos) { 137 Tab tab = mAdapter.getItem(pos); 202 protected NavTabView getTabView(int pos) { argument 203 return mScroller.getTabView(pos);
|
/packages/apps/Camera/jni/feature_stab/src/dbregtest/ |
H A D | dbregtest.cpp | 326 int pos = token.find("-"); local 328 if (pos == 0)
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | RenderOverlay.java | 68 public void addRenderer(int pos, Renderer renderer) { argument 69 mClients.add(pos, renderer);
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | ImageGetter.java | 53 public void imageLoaded(int pos, int offset, RotateBitmap bitmap, argument 55 public boolean wantsThumbnail(int pos, int offset); argument 56 public boolean wantsFullImage(int pos, int offset); argument 57 public int fullImageSizeToUse(int pos, int offset); argument
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/ |
H A D | dbregtest.cpp | 326 int pos = token.find("-"); local 328 if (pos == 0)
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | SlideshowActivity.java | 360 public void seekTo(int pos) { argument
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
H A D | AbstractGoogleSourceResult.java | 58 public void moveTo(int pos) { argument 59 mPos = pos;
|
/packages/experimental/procstatlog/ |
H A D | procstatlog.c | 265 int pos = bad_count++; local 266 while (pos > 0 && bad[pos - 1] > pid) { 267 bad[pos] = bad[pos - 1]; 268 --pos; 270 bad[pos] = pid;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | SuggestedWords.java | 60 public String getWord(int pos) { argument 61 return mSuggestedWordInfoList.get(pos).mWord; 64 public SuggestedWordInfo getWordInfo(int pos) { argument 65 return mSuggestedWordInfoList.get(pos); 68 public SuggestedWordInfo getInfo(int pos) { argument 69 return mSuggestedWordInfoList.get(pos); 108 for (int pos = 1; pos < previousSize; pos++) { 109 final SuggestedWordInfo prevWordInfo = previousSuggestions.getWordInfo(pos); [all...] |