Lines Matching refs:mPreviewThread
163 private PreviewThread mPreviewThread;
278 mPreviewThread.renderMediaItemFrame(mediaItem, timeMs);
281 mPreviewThread.previewFrame(mProject,
478 if (mHaveSurface && mResumed && mPreviewThread == null) {
479 mPreviewThread = new PreviewThread(mSurfaceHolder);
481 mPreviewThread.onSurfaceChanged(mSurfaceWidth, mSurfaceHeight);
520 if (enableMenu && mPreviewThread != null) {
522 enableMenu = mPreviewThread.isStopped();
903 if (mProject != null && mPreviewThread != null) {
904 if (mPreviewThread.isPlaying()) {
905 mPreviewThread.stopPreviewPlayback();
907 mPreviewThread.startPreviewPlayback(mProject, playheadPosMs);
914 if (mProject != null && mPreviewThread != null) {
915 if (mPreviewThread.isPlaying()) {
916 mPreviewThread.stopPreviewPlayback();
918 mPreviewThread.startPreviewPlayback(mProject, 0);
928 if (mProject != null && mPreviewThread != null) {
930 if (mPreviewThread.isPlaying()) {
931 mPreviewThread.stopPreviewPlayback();
941 mPreviewThread.startPreviewPlayback(mProject,
955 if (mProject != null && mPreviewThread != null) {
957 if (mPreviewThread.isPlaying()) {
958 mPreviewThread.stopPreviewPlayback();
972 mPreviewThread.startPreviewPlayback(mProject, mProject.getPlayheadPos());
1209 if (mPreviewThread != null) {
1210 mPreviewThread.onSurfaceChanged(width, height);
1223 if (mPreviewThread != null) {
1224 mPreviewThread.stopPreviewPlayback();
1225 mPreviewThread.quit();
1226 mPreviewThread = null;
1258 if (mPreviewThread == null) { // The surface is not ready yet.
1263 if (mProject != null && !mPreviewThread.isPlaying() && mPendingExportFilename == null) {
1265 mPreviewThread.previewFrame(mProject, mProject.getPlayheadPos(),
1615 if (mPreviewThread != null) {
1617 mPreviewThread.startPreviewPlayback(mProject, mProject.getPlayheadPos());
1673 if (mPreviewThread == null)
1676 return mPreviewThread.isPlaying();