Android 此函数的响应延迟

Android 此函数的响应延迟,android,Android,当我在屏幕上点击一次,大约需要1分钟的时间来回复我。 为什么要花太多时间 public boolean onTouchEvent(MotionEvent event) { int action = event.getAction(); switch (action) { case MotionEvent.ACTION_DOWN:{ addDelay("your current location is.... you are in FYP lab"

当我在屏幕上点击一次,大约需要1分钟的时间来回复我。 为什么要花太多时间

public boolean onTouchEvent(MotionEvent event) {
    int action = event.getAction();
    switch (action) {
        case MotionEvent.ACTION_DOWN:{
        addDelay("your current location is....  you are in FYP lab");
        addDelay("please tell me where you want to go");
            getInput();
        }
        case MotionEvent.ACTION_MOVE:
            break;
        case MotionEvent.ACTION_UP:
            break;
        }
        return false;
}

addDelay()函数在哪里?请粘贴还有哪些代码阻止了主线程?addDelay()只是一个文本到语音输出的函数