Home
last modified time | relevance | path

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

/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DMainActivity.java207 MainActivity mainActivity = activityReference.get(); in doInBackground() local
211 new MediaCodecSurfaceEncoder(mainActivity.getApplicationContext(), resId, in doInBackground()
212 mainActivity.mMime, mainActivity.mIsCodecSoftware, in doInBackground()
213 mainActivity.mOutputVideoPath); in doInBackground()
216 mainActivity.mFrameTypeOccurrences = codecSurfaceEncoder.getFrameTypes(); in doInBackground()
225 MainActivity mainActivity = activityReference.get(); in onPostExecute() local
226 mainActivity.mStartButton.setEnabled(true); in onPostExecute()
228 Toast.makeText(mainActivity.getApplicationContext(), "Encoding Completed", in onPostExecute()
230 mainActivity.mTextView.append("\n Encoded stream contains: "); in onPostExecute()
231 mainActivity.mTextView.append("\n Number of I-Frames: " + in onPostExecute()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityOptionsTest.java146 Activity mainActivity = null; in testTransferLaunchCookie() local
154 mainActivity = monitor.getLastActivity(); in testTransferLaunchCookie()
156 assertNotNull(mainActivity); in testTransferLaunchCookie()
157 assertNotEquals(TrampolineActivity.sTaskId, mainActivity.getTaskId()); in testTransferLaunchCookie()
163 if (mainActivity != null) { in testTransferLaunchCookie()
164 mainActivity.finish(); in testTransferLaunchCookie()
/frameworks/base/core/java/android/content/
DIntent.java7505 public static Intent makeMainActivity(ComponentName mainActivity) { in makeMainActivity() argument
7507 intent.setComponent(mainActivity); in makeMainActivity()
7558 public static Intent makeRestartActivityTask(ComponentName mainActivity) { in makeRestartActivityTask() argument
7559 Intent intent = makeMainActivity(mainActivity); in makeRestartActivityTask()