Android底部工作表记录展开时的经过时间

时间:2017-06-03 03:22:32

标签: android mapbox bottom-sheet

我的应用中有地图和底部工作表。折叠底页时,一切正常,但是如果我展开它,在我的日志中会出现关于过去时间的消息。

06-03 10:17:51.391 25789-26054/com.example.pici.mapboxtest W/MALI: glDrawArrays:714: [MALI] glDrawArrays takes more than 5ms here. Total elapse time(us): 6213
06-03 10:17:58.344 25789-26054/com.example.pici.mapboxtest W/MALI: glDrawArrays:714: [MALI] glDrawArrays takes more than 5ms here. Total elapse time(us): 5026
06-03 10:18:01.373 25789-26054/com.example.pici.mapboxtest W/MALI: glDrawArrays:714: [MALI] glDrawArrays takes more than 5ms here. Total elapse time(us): 5347
06-03 10:18:05.268 25789-26054/com.example.pici.mapboxtest W/MALI: glDrawArrays:714: [MALI] glDrawArrays takes more than 5ms here. Total elapse time(us): 5434
06-03 10:18:15.158 25789-26054/com.example.pici.mapboxtest W/MALI: glDrawArrays:714: [MALI] glDrawArrays takes more than 5ms here. Total elapse time(us): 11730
06-03 10:18:18.155 25789-26054/com.example.pici.mapboxtest W/MALI: glDrawArrays:714: [MALI] glDrawArrays takes more than 5ms here. Total elapse time(us): 8915

我的应用有什么问题?

1 个答案:

答案 0 :(得分:0)

我认为这是正常的。如果首次运行app,我会在空白应用中发出此警告。

    seekLocation.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
        @Override
        public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
            txtDistanceIncrease.setText(UnitConverter.getSeekbarDistanceByType(prefUtils, progress));

        }

        @Override
        public void onStartTrackingTouch(SeekBar seekBar) {

        }

        @Override
        public void onStopTrackingTouch(SeekBar seekBar) {

        }
    });

glDrawArrays - 逐点绘制。如果你有很多点(高级grafics)你有这个警告。

正常。