Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 44) sorted by relevance

12

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DAbstractSuggestionWrapper.java26 protected abstract Suggestion current(); in current() method in AbstractSuggestionWrapper
29 return current().getShortcutId(); in getShortcutId()
33 return current().getSuggestionFormat(); in getSuggestionFormat()
37 return current().getSuggestionIcon1(); in getSuggestionIcon1()
41 return current().getSuggestionIcon2(); in getSuggestionIcon2()
45 return current().getSuggestionIntentAction(); in getSuggestionIntentAction()
49 return current().getSuggestionIntentDataString(); in getSuggestionIntentDataString()
53 return current().getSuggestionIntentExtraData(); in getSuggestionIntentExtraData()
57 return current().getSuggestionLogType(); in getSuggestionLogType()
61 return current().getSuggestionQuery(); in getSuggestionQuery()
[all …]
DSuggestionPosition.java42 protected Suggestion current() { in current() method in SuggestionPosition
/packages/apps/Gallery3D/src/com/cooliris/media/
DSortCursor.java85 String current = mCursors[j].getString(mSortColumns[j]); in SortCursor() local
86 … if (mCursor == null || current == null || current.compareToIgnoreCase(smallest) < 0) { in SortCursor()
87 smallest = current; in SortCursor()
98 long current = mCursors[j].getLong(mSortColumns[j]); in SortCursor() local
99 boolean comparison = (ascending) ? (current < smallest) : (current > smallest); in SortCursor()
101 smallest = current; in SortCursor()
187 String current = mCursors[j].getString(mSortColumns[j]); in onMove() local
188 … if (smallestIdx < 0 || current == null || current.compareToIgnoreCase(smallest) < 0) { in onMove()
189 smallest = current; in onMove()
208 long current = mCursors[j].getLong(mSortColumns[j]); in onMove() local
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DCellLayout.java267 cellInfo.current.set(x, y, x, y);
269 findVacantCell(cellInfo.current, xCount, yCount, occupied, cellInfo);
272 private static void findVacantCell(Rect current, int xCount, int yCount, boolean[][] occupied,
275 addVacantCell(current, cellInfo);
277 if (current.left > 0) {
278 if (isColumnEmpty(current.left - 1, current.top, current.bottom, occupied)) {
279 current.left--;
280 findVacantCell(current, xCount, yCount, occupied, cellInfo);
281 current.left++;
285 if (current.right < xCount - 1) {
[all …]
/packages/apps/Calculator/src/com/android/calculator2/
DHistory.java75 current().setEdited(text); in update()
95 current().clearEdited(); in enter()
107 HistoryEntry current() { in current() method in History
112 return current().getEdited(); in getText()
116 return current().getBase(); in getBase()
DPanelSwitcher.java70 void setCurrentIndex(int current) { in setCurrentIndex() argument
71 mCurrentView = current; in setCurrentIndex()
/packages/apps/Mms/src/com/android/mms/ui/
DNumberPickerDialog.java143 protected void changeCurrent(int current) { in changeCurrent() argument
145 if (current > getEndRange()) { in changeCurrent()
146 current = getEndRange(); in changeCurrent()
147 } else if (current < getBeginRange()) { in changeCurrent()
148 current = getBeginRange(); in changeCurrent()
150 super.changeCurrent(current); in changeCurrent()
DNumberPicker.java284 public void setCurrent(int current) { in setCurrent() argument
285 if (current < mStart || current > mEnd) { in setCurrent()
289 mCurrent = current; in setCurrent()
319 protected void changeCurrent(int current) { in changeCurrent() argument
321 if (current > mEnd) { in changeCurrent()
322 current = mStart; in changeCurrent()
323 } else if (current < mStart) { in changeCurrent()
324 current = mEnd; in changeCurrent()
327 mCurrent = current; in changeCurrent()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndbdic.c577 NJ_UINT32 current,hindo_max_data, bottom, next; in search_node() local
845 loctset->loct.current = 0; in search_node()
968 current = j; in search_node()
980 hindo_max_data = current; in search_node()
985 current += j; in search_node()
991 loctset->loct.current = hindo_max_data; in search_node()
1001 NJ_INT16 i, current = 0; in bdic_search_data() local
1006 data += loctset->loct.top + loctset->loct.current; in bdic_search_data()
1020 current += i; in bdic_search_data()
1036 loctset->loct.current += current; in bdic_search_data()
[all …]
Dndldic.c927 NJ_UINT16 current, from, to; in get_cand_by_sequential() local
954 current = from; in get_cand_by_sequential()
957 current = (NJ_UINT16)(loctset->loct.current + 1); in get_cand_by_sequential()
965 p = ptr + (current * NJ_INDEX_SIZE); in get_cand_by_sequential()
967 while (current <= loctset->loct.bottom) { in get_cand_by_sequential()
1010 loctset->loct.current = current; in get_cand_by_sequential()
1039 loctset->loct.current = current; in get_cand_by_sequential()
1049 current++; in get_cand_by_sequential()
1061 NJ_UINT32 max_value, eval, current; in get_cand_by_evaluate() local
1077 current = 0; in get_cand_by_evaluate()
[all …]
Dndfdic.c87 offset = loctset->loct.current; in search_data()
129 loctset->loct.current = offset; in search_data()
131 … hindo = DATA_HINDO(STEM_AREA_TOP_ADDR(loctset->loct.handle) + loctset->loct.current); in search_data()
329 data = STEM_AREA_TOP_ADDR(loctset->loct.handle) + loctset->loct.current; in njd_f_get_word()
370 data = STEM_AREA_TOP_ADDR(loc->handle) + loc->current; in njd_f_get_stroke()
413 data = STEM_AREA_TOP_ADDR(loc->handle) + loc->current; in njd_f_get_candidate()
/packages/apps/Browser/src/com/android/browser/
DTabControl.java201 Tab current = getCurrentTab(); in removeTab() local
207 if (current == t) { in removeTab()
213 mCurrentTab = getTabIndex(current); in removeTab()
363 private Vector<Tab> getHalfLeastUsedTabs(Tab current) { in getHalfLeastUsedTabs() argument
368 if (getTabCount() == 1 || current == null) { in getHalfLeastUsedTabs()
383 if (t != current && t != current.getParentTab()) { in getHalfLeastUsedTabs()
585 Tab current = getTab(mCurrentTab); in setCurrentTab() local
586 if (current == newTab && !force) { in setCurrentTab()
589 if (current != null) { in setCurrentTab()
590 current.putInBackground(); in setCurrentTab()
DBrowserActivity.java403 Tab current = mTabControl.getCurrentTab(); in onNewIntent() local
406 if (current == null) { in onNewIntent()
408 current = mTabControl.getTab(0); in onNewIntent()
409 if (current == null) { in onNewIntent()
413 mTabControl.setCurrentTab(current); in onNewIntent()
414 attachTabToContentView(current); in onNewIntent()
415 resetTitleAndIcon(current.getWebView()); in onNewIntent()
434 if (current.isInVoiceSearchMode()) { in onNewIntent()
435 String title = current.getVoiceDisplayTitle(); in onNewIntent()
443 && current.voiceSearchSourceIsGoogle()) { in onNewIntent()
[all …]
/packages/apps/Music/src/com/android/music/
DSortCursor.java77 String current = mCursors[j].getString(mSortColumns[j]); in SortCursor() local
78 if (mCursor == null || current.compareToIgnoreCase(smallest) < 0) { in SortCursor()
79 smallest = current; in SortCursor()
161 String current = mCursors[j].getString(mSortColumns[j]); in onMove() local
162 if (smallestIdx < 0 || current.compareToIgnoreCase(smallest) < 0) { in onMove()
163 smallest = current; in onMove()
/packages/wallpapers/Basic/res/raw/
Ddistort.rs108 int* current = loadArrayI32(RSID_RIPPLE_MAP, index * rippleMapSize + origin);
122 current[yn + x + w] = v;
123 current[yp + x + w] = v;
124 current[yn + x - w] = v;
125 current[yp + x - w] = v;
142 int* current = loadArrayI32(RSID_RIPPLE_MAP, index * rippleMapSize + origin);
153 int droplet = ((current[-b] + current[b] + current[-a] + current[a]) >> 1) - *next;
155 current += 1;
159 current += 2;
187 int* current = loadArrayI32(RSID_RIPPLE_MAP, index * rippleMapSize + origin);
/packages/apps/QuickSearchBox/benchmarks/
DAndroid.mk22 LOCAL_SDK_VERSION := current
/packages/apps/Music/tests/
DAndroid.mk16 LOCAL_SDK_VERSION := current
/packages/apps/Protips/
DAndroid.mk11 LOCAL_SDK_VERSION := current
/packages/apps/Gallery3D/tests/
DAndroid.mk16 LOCAL_SDK_VERSION := current
/packages/apps/DeskClock/
DAndroid.mk12 LOCAL_SDK_VERSION := current
/packages/apps/Camera/
DAndroid.mk9 LOCAL_SDK_VERSION := current
/packages/apps/Gallery3D/
DAndroid.mk13 LOCAL_SDK_VERSION := current
/packages/inputmethods/LatinIME/java/
DAndroid.mk18 LOCAL_SDK_VERSION := current
/packages/apps/Music/
DAndroid.mk11 LOCAL_SDK_VERSION := current
/packages/apps/Calculator/
DAndroid.mk26 LOCAL_SDK_VERSION := current

12