Searched refs:mainActivity (Results 1 – 3 of 3) sorted by relevance
207 MainActivity mainActivity = activityReference.get(); in doInBackground() local211 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() local226 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 …]
146 Activity mainActivity = null; in testTransferLaunchCookie() local154 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()
7505 public static Intent makeMainActivity(ComponentName mainActivity) { in makeMainActivity() argument7507 intent.setComponent(mainActivity); in makeMainActivity()7558 public static Intent makeRestartActivityTask(ComponentName mainActivity) { in makeRestartActivityTask() argument7559 Intent intent = makeMainActivity(mainActivity); in makeRestartActivityTask()