Home
last modified time | relevance | path

Searched refs:act (Results 1 – 25 of 173) sorted by relevance

1234567

/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
DTestBase.java46 protected ScriptGroupTestActivity act; field in TestBase
51 MessageProcessor(ScriptGroupTestActivity act) { in MessageProcessor() argument
52 mAct = act; in MessageProcessor()
66 act = ipact; in createBaseTest()
68 mRS.setMessageHandler(new MessageProcessor(act)); in createBaseTest()
74 createTest(act.getResources()); in createBaseTest()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DTestBase.java46 protected ImageProcessingActivity act; field in TestBase
51 MessageProcessor(ImageProcessingActivity act) { in MessageProcessor() argument
52 mAct = act; in MessageProcessor()
106 act = ipact; in createBaseTest()
108 mRS.setMessageHandler(new MessageProcessor(act)); in createBaseTest()
114 createTest(act.getResources()); in createBaseTest()
DBlend.java56 act.updateDisplay();
92 act, R.layout.spinner_layout, mIntrinsicNames)); in onSpinner1Setup()
/frameworks/base/core/java/com/android/internal/app/
DAlertActivity.java80 public static boolean dispatchPopulateAccessibilityEvent(Activity act, in dispatchPopulateAccessibilityEvent() argument
83 event.setPackageName(act.getPackageName()); in dispatchPopulateAccessibilityEvent()
85 ViewGroup.LayoutParams params = act.getWindow().getAttributes(); in dispatchPopulateAccessibilityEvent()
/frameworks/base/core/java/android/app/
DActivityGroup.java116 Activity act = mLocalActivityManager.getActivity(who); in dispatchActivityResult() local
123 if (act != null) { in dispatchActivityResult()
124 act.onActivityResult(requestCode, resultCode, data); in dispatchActivityResult()
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
DRSTestView.java85 int act = ev.getAction(); in onTouchEvent() local
86 if (act == ev.ACTION_DOWN) { in onTouchEvent()
90 else if (act == ev.ACTION_MOVE) { in onTouchEvent()
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
DRSTestView.java85 int act = ev.getAction(); in onTouchEvent() local
86 if (act == ev.ACTION_DOWN) { in onTouchEvent()
90 else if (act == ev.ACTION_MOVE) { in onTouchEvent()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DTestBase.java36 protected ImageProcessingActivity2 act; field in TestBase
87 act = ipact; in createBaseTest()
98 createTest(act.getResources()); in createBaseTest()
DBlend.java49 act.mProcessor.update();
85 act, R.layout.spinner_layout, mIntrinsicNames)); in onSpinner1Setup()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DTestBase.java37 protected ImageProcessingActivityJB act; field in TestBase
88 act = ipact; in createBaseTest()
95 createTest(act.getResources()); in createBaseTest()
DBlend.java56 act.mProcessor.update();
92 act, R.layout.spinner_layout, mIntrinsicNames)); in onSpinner1Setup()
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
DRSTestView.java85 int act = ev.getAction(); in onTouchEvent() local
86 if (act == ev.ACTION_DOWN) { in onTouchEvent()
90 else if (act == ev.ACTION_MOVE) { in onTouchEvent()
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DTestBase.java35 protected BlasBenchmark act; field in TestBase
39 act = ipact; in createBaseTest()
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBallsView.java76 int act = ev.getActionMasked(); in onTouchEvent() local
77 if (act == ev.ACTION_UP) { in onTouchEvent()
80 } else if (act == MotionEvent.ACTION_POINTER_UP) { in onTouchEvent()
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DClientTest.java64 RadioButton act = findViewById(R.id.act); in onCreate()
74 act.isChecked() ? WapPushManagerParams.APP_TYPE_ACTIVITY : in onCreate()
84 act.isChecked() ? WapPushManagerParams.APP_TYPE_ACTIVITY : in onCreate()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTransitionTests.java265 final ActivityRecord act = createActivityRecord(tasks[i]); in testCreateInfo_ordering() local
267 act.mVisibleRequested = (i % 2) == 0; // starts invisible in testCreateInfo_ordering()
273 final ActivityRecord act = tasks[i].getTopMostActivity(); in testCreateInfo_ordering() local
274 transition.collect(act); in testCreateInfo_ordering()
302 final ActivityRecord act = createActivityRecord(tasks[i]); in testCreateInfo_wallpaper() local
304 act.mVisibleRequested = (i % 2) == 0; // starts invisible in testCreateInfo_wallpaper()
306 doReturn(true).when(act).showWallpaper(); in testCreateInfo_wallpaper()
322 final ActivityRecord act = tasks[i].getTopMostActivity(); in testCreateInfo_wallpaper() local
323 transition.collect(act); in testCreateInfo_wallpaper()
DWindowContainerTests.java921 private void verifyWindowContainerApplyAnimation(WindowContainer wc, ActivityRecord act, in verifyWindowContainerApplyAnimation() argument
954 sources.add(act); in verifyWindowContainerApplyAnimation()
957 assertEquals(act, wc.getTopMostActivity()); in verifyWindowContainerApplyAnimation()
960 assertTrue(wc.getAnimationSources().contains(act)); in verifyWindowContainerApplyAnimation()
962 assertTrue(act.isAnimating(PARENTS)); in verifyWindowContainerApplyAnimation()
963 assertTrue(act.isAnimating(PARENTS, ANIMATION_TYPE_APP_TRANSITION)); in verifyWindowContainerApplyAnimation()
964 assertEquals(wc, act.getAnimatingContainer(PARENTS, ANIMATION_TYPE_APP_TRANSITION)); in verifyWindowContainerApplyAnimation()
968 wc.getDisplayContent().mAppTransition.goodToGo(TRANSIT_OLD_TASK_OPEN, act); in verifyWindowContainerApplyAnimation()
971 assertFalse(act.isAnimating(PARENTS)); in verifyWindowContainerApplyAnimation()
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
DEffectsVideoCapture.java66 Activity act = inst.startActivitySync(intent); in testBackEffectsVideoCapture() local
68 act.finish(); in testBackEffectsVideoCapture()
/frameworks/base/test-runner/src/android/test/
DMoreAsserts.java200 Object act = actual[i]; in assertEquals() local
202 if (!((exp==null) ? act==null : exp.equals(act))) { in assertEquals()
203 failWrongElement(message, i, exp, act); in assertEquals()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp159 struct sigaction act; in configureSignals() local
160 memset(&act, 0, sizeof(act)); in configureSignals()
161 act.sa_handler = signalCatcher; in configureSignals()
162 if (sigaction(SIGINT, &act, &gOrigSigactionINT) != 0) { in configureSignals()
168 if (sigaction(SIGHUP, &act, &gOrigSigactionHUP) != 0) { in configureSignals()
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
DPowerMeasurement.java42 PowerTestActivity act = getActivity(); in testPageLoadStaticNYTimes() local
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java1443 final AssociationState.SourceState act = mTrackingAssociations.get(i); in updateTrackingAssociationsLocked() local
1444 if (act.stopActiveIfNecessary(curSeq, now)) { in updateTrackingAssociationsLocked()
1447 final AssociationState asc = act.getAssociationState(); in updateTrackingAssociationsLocked()
1449 Slog.wtf(TAG, act.toString() + " shouldn't be in the tracking list."); in updateTrackingAssociationsLocked()
1455 if (act.mProcState == procState) { in updateTrackingAssociationsLocked()
1456 act.startActive(now); in updateTrackingAssociationsLocked()
1458 act.stopActive(now); in updateTrackingAssociationsLocked()
1459 if (act.mProcState < procState) { in updateTrackingAssociationsLocked()
1466 Slog.w(TAG, "Tracking association " + act + " whose proc state " in updateTrackingAssociationsLocked()
1467 + act.mProcState + " is better than process " + proc in updateTrackingAssociationsLocked()
[all …]
/frameworks/base/core/java/com/android/internal/jank/
DInteractionJankMonitor.java328 FrameTrackerListener eventsListener = (s, act) -> handleCujEvents(c, act, s); in createFrameTracker()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java2141 final ActivityRecord act = in complyActivityFlags() local
2143 if (act != null) { in complyActivityFlags()
2144 final Task task = act.getTask(); in complyActivityFlags()
2145 task.moveActivityToFrontLocked(act); in complyActivityFlags()
2146 act.updateOptionsLocked(mOptions); in complyActivityFlags()
2147 deliverNewIntent(act, intentGrants); in complyActivityFlags()
/frameworks/base/packages/SystemUI/docs/
Dfalsing.md141 are ready to act on the owner's action, and then query the `FalsingManager`. The `FalsingManager`
152 on multiple calls to the `FalsingManager` to act as a sieve.

1234567