Home
last modified time | relevance | path

Searched refs:StkApp (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Stk/src/com/android/stk/
DStkMenuActivity.java293 menu.add(0, StkApp.MENU_ID_END_SESSION, 1, R.string.menu_end_session); in onCreateOptionsMenu()
294 menu.add(0, StkApp.MENU_ID_HELP, 2, R.string.help); in onCreateOptionsMenu()
311 menu.findItem(StkApp.MENU_ID_END_SESSION).setVisible(mainVisible); in onPrepareOptionsMenu()
312 menu.findItem(StkApp.MENU_ID_HELP).setVisible(helpVisible); in onPrepareOptionsMenu()
323 case StkApp.MENU_ID_END_SESSION: in onOptionsItemSelected()
331 case StkApp.MENU_ID_HELP: in onOptionsItemSelected()
413 .obtainMessage(MSG_ID_TIMEOUT), StkApp.UI_TIMEOUT); in startTimeOut()
464 if (StkApp.DBG) { in getSelectedItem()
468 if (StkApp.DBG) { in getSelectedItem()
DStkInputActivity.java266 menu.add(android.view.Menu.NONE, StkApp.MENU_ID_END_SESSION, 1, in onCreateOptionsMenu()
268 menu.add(0, StkApp.MENU_ID_HELP, 2, R.string.help); in onCreateOptionsMenu()
276 menu.findItem(StkApp.MENU_ID_END_SESSION).setVisible(true); in onPrepareOptionsMenu()
277 menu.findItem(StkApp.MENU_ID_HELP).setVisible(mStkInput.helpAvailable); in onPrepareOptionsMenu()
289 case StkApp.MENU_ID_END_SESSION: in onOptionsItemSelected()
295 case StkApp.MENU_ID_HELP: in onOptionsItemSelected()
343 int duration = StkApp.calculateDurationInMilis(mStkInput.duration); in startTimeOut()
346 duration = StkApp.UI_TIMEOUT; in startTimeOut()
DStkDialogActivity.java161 if (StkApp.calculateDurationInMilis(mTextMsg.duration) == 0 && in onResume()
316 int dialogDuration = StkApp.calculateDurationInMilis(mTextMsg.duration); in startTimeOut()
325 dialogDuration = StkApp.DISP_TEXT_WAIT_FOR_USER_TIMEOUT; in startTimeOut()
327 dialogDuration = StkApp.DISP_TEXT_CLEAR_AFTER_DELAY_TIMEOUT; in startTimeOut()
DToneDialog.java107 int timeout = StkApp.calculateDurationInMilis(settings.duration); in onCreate()
109 timeout = StkApp.TONE_DFEAULT_TIMEOUT; in onCreate()
DStkLauncherActivity.java150 if (StkApp.DBG) { in getSelectedItem()
154 if (StkApp.DBG) { in getSelectedItem()
DStkApp.java26 abstract class StkApp extends Application { class