Home
last modified time | relevance | path

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

/packages/apps/Stk/src/com/android/stk/
DStkInputActivity.java315 menu.add(Menu.NONE, StkApp.MENU_ID_END_SESSION, 1, R.string.menu_end_session); in createOptionsMenuInternal()
316 menu.add(0, StkApp.MENU_ID_HELP, 2, R.string.help); in createOptionsMenuInternal()
327 menu.findItem(StkApp.MENU_ID_END_SESSION).setVisible(true); in prepareOptionsMenuInternal()
328 menu.findItem(StkApp.MENU_ID_HELP).setVisible(mStkInput.helpAvailable); in prepareOptionsMenuInternal()
345 case StkApp.MENU_ID_END_SESSION: in optionsItemSelectedInternal()
349 case StkApp.MENU_ID_HELP: in optionsItemSelectedInternal()
419 int duration = StkApp.calculateDurationInMilis(mStkInput.duration);
421 duration = StkApp.UI_TIMEOUT;
DStkMenuActivity.java247 menu.add(0, StkApp.MENU_ID_END_SESSION, 1, R.string.menu_end_session); in onCreateOptionsMenu()
260 menu.findItem(StkApp.MENU_ID_END_SESSION).setVisible(mainVisible); in onPrepareOptionsMenu()
271 case StkApp.MENU_ID_END_SESSION: in onOptionsItemSelected()
366 mAlarmTime = SystemClock.elapsedRealtime() + StkApp.UI_TIMEOUT; in startTimeOut()
432 if (StkApp.DBG) { in getSelectedItem()
436 if (StkApp.DBG) { in getSelectedItem()
DStkDialogActivity.java166 if (StkApp.calculateDurationInMilis(mTextMsg.duration) == 0 && in onResume()
352 int duration = StkApp.calculateDurationInMilis(mTextMsg.duration); in startTimeOut()
356 duration = StkApp.DISP_TEXT_WAIT_FOR_USER_TIMEOUT; in startTimeOut()
358 duration = StkApp.DISP_TEXT_CLEAR_AFTER_DELAY_TIMEOUT; in startTimeOut()
DStkLauncherActivity.java154 if (StkApp.DBG) { in getSelectedItem()
158 if (StkApp.DBG) { in getSelectedItem()
DStkApp.java26 abstract class StkApp extends Application { class
DStkAppService.java2264 int timeout = StkApp.calculateDurationInMilis(settings.duration); in playTone()
2266 timeout = StkApp.TONE_DEFAULT_TIMEOUT; in playTone()