Home
last modified time | relevance | path

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

/packages/apps/Calculator/src/com/android/calculator2/
DLogic.java33 private History mHistory; field in Logic
60 mHistory = history; in Logic()
92 mDisplay.setText(mHistory.getText(), in clearWithHistory()
135 mHistory.enter(text); in onEnter()
155 mHistory.update(text); in onUp()
157 if (mHistory.moveToPrevious()) { in onUp()
158 mDisplay.setText(mHistory.getText(), CalculatorDisplay.Scroll.DOWN); in onUp()
165 mHistory.update(text); in onDown()
167 if (mHistory.moveToNext()) { in onDown()
168 mDisplay.setText(mHistory.getText(), CalculatorDisplay.Scroll.UP); in onDown()
[all …]
DCalculator.java36 private History mHistory; field in Calculator
61 mHistory = mPersist.history; in onCreate()
65 mLogic = new Logic(this, mHistory, mDisplay, (Button) findViewById(R.id.equal)); in onCreate()
66 HistoryAdapter historyAdapter = new HistoryAdapter(this, mHistory, mLogic); in onCreate()
67 mHistory.setObserver(historyAdapter); in onCreate()
120 mHistory.clear(); in onOptionsItemSelected()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackService.java114 private Vector<Integer> mHistory = new Vector<Integer>(MAX_HISTORY_SIZE); field in MediaPlaybackService
374 len = mHistory.size(); in saveQueue()
377 int n = mHistory.get(i); in saveQueue()
517 mHistory.clear(); in reloadQueue()
523 mHistory.clear(); in reloadQueue()
526 mHistory.add(n); in reloadQueue()
536 mHistory.clear(); in reloadQueue()
839 mHistory.clear(); in open()
1169 int histsize = mHistory.size(); in prev()
1174 Integer pos = mHistory.remove(histsize - 1); in prev()
[all …]
/packages/apps/IM/src/com/android/im/app/
DChatView.java129 /*package*/ListView mHistory; field in ChatView
303 mHistory = (ListView) findViewById(R.id.history); in onFinishInflate()
306 mHistory.setOnItemClickListener(mOnItemClickListener); in onFinishInflate()
451 mHistory.setBackgroundDrawable( in updateChat()
460 mHistory.setAdapter(mMessageAdapter); in updateChat()
647 mHistory.setAdapter(null); in setChatViewEnabled()