Home
last modified time | relevance | path

Searched refs:mainActivity (Results 1 – 7 of 7) 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.java185 Activity mainActivity = null; in testTransferLaunchCookie() local
193 mainActivity = monitor.getLastActivity(); in testTransferLaunchCookie()
195 assertNotNull(mainActivity); in testTransferLaunchCookie()
196 assertNotEquals(TrampolineActivity.sTaskId, mainActivity.getTaskId()); in testTransferLaunchCookie()
202 if (mainActivity != null) { in testTransferLaunchCookie()
203 mainActivity.finish(); in testTransferLaunchCookie()
204 CommonUtils.waitUntilActivityRemoved(mainActivity); in testTransferLaunchCookie()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageArchiver.java504 var mainActivity = mainActivities.get(i); in createArchiveState() local
506 packageName, mainActivity.getIcon(), userId, i * 2 + 0, iconSize); in createArchiveState()
508 packageName, mainActivity.getMonochromeIcon(), userId, i * 2 + 1, iconSize); in createArchiveState()
511 mainActivity.getLabel().toString(), in createArchiveState()
512 mainActivity.getComponentName(), in createArchiveState()
533 LauncherActivityInfo mainActivity = mainActivities.get(i); in createArchiveStateInternal() local
534 Path iconPath = storeIcon(packageName, mainActivity, userId, i * 2 + 0, iconSize); in createArchiveStateInternal()
538 mainActivity.getLabel().toString(), in createArchiveStateInternal()
539 mainActivity.getComponentName(), in createArchiveStateInternal()
549 Path storeIcon(String packageName, LauncherActivityInfo mainActivity, in storeIcon() argument
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DBackNavigationController.java515 private static void findAdjacentActivityIfExist(@NonNull ActivityRecord mainActivity, in findAdjacentActivityIfExist() argument
517 final TaskFragment mainTF = mainActivity.getTaskFragment(); in findAdjacentActivityIfExist()
1331 final ActivityRecord mainActivity = switchType == ACTIVITY_SWITCH in createStartingSurface() local
1334 if (mainActivity == null) { in createStartingSurface()
1341 ? mainActivity.getConfiguration() : openTask.getConfiguration(); in createStartingSurface()
1343 .addWindowlessStartingSurface(openTask, mainActivity, in createStartingSurface()
1344 mAdaptors.length == 1 ? mainActivity.getSurfaceControl() in createStartingSurface()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageArchiverTest.java578 for (LauncherActivityInfo mainActivity : createLauncherActivities()) { in createArchiveState()
580 mainActivity.getLabel().toString(), in createArchiveState()
581 mainActivity.getComponentName(), in createArchiveState()
/frameworks/base/core/java/android/content/
DIntent.java8011 public static Intent makeMainActivity(ComponentName mainActivity) { in makeMainActivity() argument
8013 intent.setComponent(mainActivity); in makeMainActivity()
8064 public static Intent makeRestartActivityTask(ComponentName mainActivity) { in makeRestartActivityTask() argument
8065 Intent intent = makeMainActivity(mainActivity); in makeRestartActivityTask()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...