Home
last modified time | relevance | path

Searched refs:mBackgroundThread (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java172 private HandlerThread mBackgroundThread; field in Camera2VideoFragment
336 mBackgroundThread = new HandlerThread("CameraBackground"); in startBackgroundThread()
337 mBackgroundThread.start(); in startBackgroundThread()
338 mBackgroundHandler = new Handler(mBackgroundThread.getLooper()); in startBackgroundThread()
345 mBackgroundThread.quitSafely(); in stopBackgroundThread()
347 mBackgroundThread.join(); in stopBackgroundThread()
348 mBackgroundThread = null; in stopBackgroundThread()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java220 private HandlerThread mBackgroundThread; field in Camera2BasicFragment
653 mBackgroundThread = new HandlerThread("CameraBackground"); in startBackgroundThread()
654 mBackgroundThread.start(); in startBackgroundThread()
655 mBackgroundHandler = new Handler(mBackgroundThread.getLooper()); in startBackgroundThread()
662 mBackgroundThread.quitSafely(); in stopBackgroundThread()
664 mBackgroundThread.join(); in stopBackgroundThread()
665 mBackgroundThread = null; in stopBackgroundThread()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java243 private HandlerThread mBackgroundThread; field in Camera2RawFragment
892 mBackgroundThread = new HandlerThread("CameraBackground"); in startBackgroundThread()
893 mBackgroundThread.start(); in startBackgroundThread()
895 mBackgroundHandler = new Handler(mBackgroundThread.getLooper()); in startBackgroundThread()
903 mBackgroundThread.quitSafely(); in stopBackgroundThread()
905 mBackgroundThread.join(); in stopBackgroundThread()
906 mBackgroundThread = null; in stopBackgroundThread()