Home
last modified time | relevance | path

Searched refs:mHistory (Results 1 – 2 of 2) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchHistoryManager.java56 private final List<String> mHistory = Collections.synchronizedList(new ArrayList<>()); field in SearchHistoryManager
127 for (String history : mHistory) { in getHistoryList()
134 return Collections.synchronizedList(new ArrayList<>(mHistory)); in getHistoryList()
145 if (mHistory.remove(keyword)) { in addHistory()
146 mHistory.add(0, keyword); in addHistory()
150 if (mHistory.size() >= mLimitedHistoryCount) { in addHistory()
151 new DatabaseTask(mHistory.remove(mHistory.size() - 1), in addHistory()
158 mHistory.add(0, keyword); in addHistory()
171 if (mHistory.remove(keyword)) { in deleteHistory()
251 mHistory.clear(); in parseHistoryFromCursor()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DMasterImage.java100 private HistoryManager mHistory = null; field in MasterImage
264 mHistory.addHistoryItem(historyItem); in setPreset()
272 HistoryItem historyItem = mHistory.getItem(position); in onHistoryItemClick()
277 mHistory.setCurrentPreset(position); in onHistoryItemClick()
281 return mHistory; in getHistory()
289 mHistory = adapter; in setHistoryManager()