Home
last modified time | relevance | path

Searched refs:mThread (Results 1 – 4 of 4) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentRetainInstance.java108 final Thread mThread = new Thread() { field in FragmentRetainInstance.RetainedFragment
164 mThread.start(); in onCreate()
182 synchronized (mThread) { in onActivityCreated()
184 mThread.notify(); in onActivityCreated()
195 synchronized (mThread) { in onDestroy()
198 mThread.notify(); in onDestroy()
213 synchronized (mThread) { in onDetach()
216 mThread.notify(); in onDetach()
226 synchronized (mThread) { in restart()
228 mThread.notify(); in restart()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSynthEngine.java45 private Thread mThread; field in SynthEngine
263 mThread = new Thread(new MyRunnable()); in start()
265 mThread.start(); in start()
273 if (mThread != null) { in stop()
275 mThread.interrupt(); in stop()
276 mThread.join(500); in stop()
280 mThread = null; in stop()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSynthEngine.java45 private Thread mThread; field in SynthEngine
263 mThread = new Thread(new MyRunnable()); in start()
265 mThread.start(); in start()
273 if (mThread != null) { in stop()
275 mThread.interrupt(); in stop()
276 mThread.join(500); in stop()
280 mThread = null; in stop()
/development/samples/training/NsdChat/src/com/example/android/nsdchat/
DChatConnection.java121 Thread mThread = null; field in ChatConnection.ChatServer
124 mThread = new Thread(new ServerThread()); in ChatServer()
125 mThread.start(); in ChatServer()
129 mThread.interrupt(); in tearDown()