Home
last modified time | relevance | path

Searched refs:mController (Results 1 – 25 of 212) sorted by relevance

123456789

/frameworks/base/core/tests/coretests/src/android/view/
DInsetsControllerTest.java112 private InsetsController mController; field in InsetsControllerTest
137 mController = new InsetsController(mTestHost, (controller, id, type) -> { in setup()
174 mController.onStateChanged(state); in setup()
175 mController.calculateInsets( in setup()
179 mController.onFrameChanged(new Rect(0, 0, 100, 100)); in setup()
186 mController.onControlsChanged(createSingletonControl(ID_STATUS_BAR, statusBars())); in testControlsChanged()
188 mController.getSourceConsumer(ID_STATUS_BAR, statusBars()).getControl().getLeash()); in testControlsChanged()
189 mController.addOnControllableInsetsChangedListener( in testControlsChanged()
197 mController.addOnControllableInsetsChangedListener(listener); in testControlsRevoked()
198 mController.onControlsChanged(createSingletonControl(ID_STATUS_BAR, statusBars())); in testControlsRevoked()
[all …]
DInsetsAnimationControlImplTest.java74 private InsetsAnimationControlImpl mController; field in InsetsAnimationControlImplTest
120 mController = new InsetsAnimationControlImpl(controls, in setup()
125 mController.setReadyDispatched(true); in setup()
130 assertEquals(Insets.of(0, 100, 100, 0), mController.getShownStateInsets()); in testGetters()
131 assertEquals(Insets.of(0, 0, 0, 0), mController.getHiddenStateInsets()); in testGetters()
132 assertEquals(Insets.of(0, 100, 0, 0), mController.getCurrentInsets()); in testGetters()
133 assertEquals(systemBars(), mController.getTypes()); in testGetters()
138 assertTrue(mController.isReady()); in testReady()
139 assertFalse(mController.isFinished()); in testReady()
140 assertFalse(mController.isCancelled()); in testReady()
[all …]
DImeInsetsSourceConsumerTest.java66 @Spy InsetsController mController; field in ImeInsetsSourceConsumerTest
81 mController = Mockito.spy(new InsetsController( in setup()
84 mController.getState().setDisplayCutout(new DisplayCutout( in setup()
86 mController.calculateInsets( in setup()
90 mImeConsumer = mController.getImeSourceConsumer(); in setup()
98 mController.onControlsChanged(new InsetsSourceControl[] { ime }); in testImeVisibility()
103 mController.show(WindowInsets.Type.ime(), true /* fromIme */, ImeTracker.Token.empty()); in testImeVisibility()
104 mController.cancelExistingAnimations(); in testImeVisibility()
105 assertTrue((mController.getRequestedVisibleTypes() & WindowInsets.Type.ime()) != 0); in testImeVisibility()
108 mController.hide(WindowInsets.Type.ime(), true /* fromIme */, ImeTracker.Token.empty()); in testImeVisibility()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLetterboxUiControllerTest.java138 private LetterboxUiController mController; field in LetterboxUiControllerTest
149 mController = new LetterboxUiController(mWm, mActivity); in setUp()
159 assertTrue(mController.shouldIgnoreRequestedOrientation(SCREEN_ORIENTATION_UNSPECIFIED)); in testShouldIgnoreRequestedOrientation_activityRelaunching_returnsTrue()
171 mController = new LetterboxUiController(mWm, mActivity); in testShouldIgnoreRequestedOrientation_cameraCompatTreatment_returnsTrue()
173 mController.setRelaunchingAfterRequestedOrientationChanged(false); in testShouldIgnoreRequestedOrientation_cameraCompatTreatment_returnsTrue()
179 assertTrue(mController.shouldIgnoreRequestedOrientation(SCREEN_ORIENTATION_UNSPECIFIED)); in testShouldIgnoreRequestedOrientation_cameraCompatTreatment_returnsTrue()
186 assertFalse(mController.shouldIgnoreRequestedOrientation(SCREEN_ORIENTATION_UNSPECIFIED)); in testShouldIgnoreRequestedOrientation_overrideDisabled_returnsFalse()
195 mController = new LetterboxUiController(mWm, mActivity); in testShouldIgnoreRequestedOrientation_propertyIsTrue_returnsTrue()
198 assertTrue(mController.shouldIgnoreRequestedOrientation(SCREEN_ORIENTATION_UNSPECIFIED)); in testShouldIgnoreRequestedOrientation_propertyIsTrue_returnsTrue()
209 mController = new LetterboxUiController(mWm, mActivity); in testShouldIgnoreRequestedOrientation_propertyIsFalseAndOverride_returnsFalse()
[all …]
DRecentsAnimationControllerTest.java97 private RecentsAnimationController mController; field in RecentsAnimationControllerTest
105 mController = spy(new RecentsAnimationController(mWm, mMockRunner, mAnimationCallbacks, in setUp()
114 AnimationAdapter adapter = mController.addAnimation(activity.getTask(), in testRemovedBeforeStarted_expectCanceled()
120 mController.startAnimation(); in testRemovedBeforeStarted_expectCanceled()
132 AnimationAdapter adapter = mController.addAnimation(activity.getTask(), in testCancelAfterRemove_expectIgnored()
139 mController.startAnimation(); in testCancelAfterRemove_expectIgnored()
140 mController.cleanupAnimation(REORDER_KEEP_IN_PLACE); in testCancelAfterRemove_expectIgnored()
142 mController.cancelAnimation(REORDER_MOVE_TO_ORIGINAL_POSITION, "test"); in testCancelAfterRemove_expectIgnored()
150 mWm.setRecentsAnimationController(mController); in testIncludedApps_expectTargetAndVisible()
157 initializeRecentsAnimationController(mController, homeActivity); in testIncludedApps_expectTargetAndVisible()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java189 private AppStandbyController mController; field in AppStandbyControllerTests
552 final AppIdleHistory.AppUsageHistory usageHistory = mController in setupInitialUsageHistory()
569 mController = setupController(); in setUp()
571 flushHandler(mController); in setUp()
587 final AppStandbyController controllerUnderTest = spy(mController); in testGetIdleUidsForUser()
662 mController.addListener(paroleListener); in testIsAppIdle_Charging()
664 setChargingState(mController, false); in testIsAppIdle_Charging()
665 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_RARE, in testIsAppIdle_Charging()
668 assertTrue(mController.isAppIdleFiltered(PACKAGE_1, UID_1, USER_ID, 0)); in testIsAppIdle_Charging()
669 assertTrue(mController.isAppIdleFiltered(PACKAGE_1, UID_1, USER_ID, false)); in testIsAppIdle_Charging()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuControllerTest.java76 private AccessibilityFloatingMenuController mController; field in AccessibilityFloatingMenuControllerTest
111 if (mController != null) { in tearDown()
112 mController.onAccessibilityButtonTargetsChanged(""); in tearDown()
113 mController = null; in tearDown()
119 mController = setUpController(); in initController_registerListeners()
131 mController = setUpController(); in onUserUnlocked_keyguardNotShow_showWidget()
137 assertThat(mController.mFloatingMenu).isNotNull(); in onUserUnlocked_keyguardNotShow_showWidget()
143 mController = setUpController(); in onUserUnlocked_keyguardShowing_destroyWidget()
149 assertThat(mController.mFloatingMenu).isNull(); in onUserUnlocked_keyguardShowing_destroyWidget()
155 mController = setUpController(); in onKeyguardVisibilityChanged_showing_destroyWidget()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
DEnableZenModeDialogTest.java52 private EnableZenModeDialog mController; field in EnableZenModeDialogTest
77 mController = spy(new EnableZenModeDialog(mContext)); in setup()
78 mController.mContext = mContext; in setup()
79 mController.mLayoutInflater = mLayoutInflater; in setup()
80 mController.mForeverId = Condition.newId(mContext).appendPath("forever").build(); in setup()
88 mController.mNotificationManager = mNotificationManager; in setup()
89 mController.getContentView(); in setup()
93 doNothing().when(mController).bindGenericCountdown(); in setup()
94 doReturn(null).when(mController).getTimeUntilNextAlarmCondition(); in setup()
95 doReturn(0L).when(mController).getNextAlarm(); in setup()
[all …]
DZenDurationDialogTest.java43 private ZenDurationDialog mController; field in ZenDurationDialogTest
56 mController = spy(new ZenDurationDialog(mContext)); in setup()
57 mController.mLayoutInflater = mLayoutInflater; in setup()
58 mController.getContentView(); in setup()
66 mController.setupDialog(mBuilder); in testAlwaysPrompt()
68 assertFalse(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testAlwaysPrompt()
70 assertFalse(mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb in testAlwaysPrompt()
72 assertTrue(mController.getConditionTagAt( in testAlwaysPrompt()
80 mController.setupDialog(mBuilder); in testForever()
82 assertTrue(mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb in testForever()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/sysui/
DShellControllerTest.java71 private ShellController mController; field in ShellControllerTest
86 mController = new ShellController(mContext, mShellInit, mShellCommandHandler, in setUp()
88 mController.onConfigurationChanged(getConfigurationCopy()); in setUp()
110 mController.addExternalInterface(EXTRA_TEST_BINDER, () -> wrapper, this); in testAddExternalInterface_ensureCallback()
113 mController.asShell().createExternalInterfaces(b); in testAddExternalInterface_ensureCallback()
132 mController.addExternalInterface(EXTRA_TEST_BINDER, () -> wrapper, this); in testAddExternalInterface_disallowDuplicateKeys()
134 mController.addExternalInterface(EXTRA_TEST_BINDER, () -> wrapper, this); in testAddExternalInterface_disallowDuplicateKeys()
140 mController.asShell().addDisplayImeChangeListener( in testAddDisplayImeChangeListener_ensureCallback()
144 mController.onImeBoundsChanged(bounds); in testAddDisplayImeChangeListener_ensureCallback()
145 mController.onImeVisibilityChanged(true); in testAddDisplayImeChangeListener_ensureCallback()
[all …]
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DLowPowerStandbyControllerTest.java121 private LowPowerStandbyController mController; field in LowPowerStandbyControllerTest
199 mController = new LowPowerStandbyController(mContextSpy, mTestLooper.getLooper(), in setUp()
228 mController.systemReady(); in testOnSystemReady_isInactivate()
230 assertThat(mController.isActive()).isFalse(); in testOnSystemReady_isInactivate()
238 mController.systemReady(); in testActivate()
239 mController.setEnabled(true); in testActivate()
243 assertThat(mController.isActive()).isTrue(); in testActivate()
265 mController.systemReady(); in testOnNonInteractive_notImmediatelyActive()
266 mController.setEnabled(true); in testOnNonInteractive_notImmediatelyActive()
271 assertThat(mController.isActive()).isFalse(); in testOnNonInteractive_notImmediatelyActive()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qrcodescanner/controller/
DQRCodeScannerControllerTest.java71 private QRCodeScannerController mController; field in QRCodeScannerControllerTest
104 mController = new QRCodeScannerController( in setUpLocal()
108 mController.addCallback(mCallback); in setUpLocal()
109 mController.registerQRCodeScannerChangeObservers(DEFAULT_QR_CODE_SCANNER_CHANGE, in setUpLocal()
120 assertThat(mController.getIntent()).isNotNull(); in verifyActivityDetails()
123 assertThat(mController.getIntent()).isNull(); in verifyActivityDetails()
134 assertThat(mController.isEnabledForLockScreenButton()).isFalse(); in qrCodeScannerInit_withoutDefaultValue()
135 assertThat(mController.isAbleToLaunchScannerActivity()).isFalse(); in qrCodeScannerInit_withoutDefaultValue()
144 assertThat(mController.isEnabledForLockScreenButton()).isFalse(); in qrCodeScannerInit_withIncorrectDefaultValue()
153 assertThat(mController.isEnabledForLockScreenButton()).isTrue(); in qrCodeScannerInit_withCorrectDefaultValue()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/
DCompatUIControllerTest.java85 private CompatUIController mController; field in CompatUIControllerTest
144 mController = new CompatUIController(mContext, mShellInit, mMockShellController, in setUp()
167 spyOn(mController); in setUp()
182 verify(mMockDisplayController).addDisplayWindowListener(mController); in testListenerRegistered()
183 verify(mMockImeController).addPositionProcessor(mController); in testListenerRegistered()
192 mController.onCompatInfoChanged(taskInfo, mMockTaskListener); in testOnCompatInfoChanged()
194 verify(mController).createCompatUiWindowManager(any(), eq(taskInfo), eq(mMockTaskListener)); in testOnCompatInfoChanged()
195 verify(mController).createLetterboxEduWindowManager(any(), eq(taskInfo), in testOnCompatInfoChanged()
197 verify(mController).createRestartDialogWindowManager(any(), eq(taskInfo), in testOnCompatInfoChanged()
202 clearInvocations(mMockCompatLayout, mMockLetterboxEduLayout, mController); in testOnCompatInfoChanged()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java110 private AppOpsControllerImpl mController; field in AppOpsControllerTest
141 mController = new AppOpsControllerImpl( in setUp()
155 mController.setListening(true); in testOnlyListenForFewOps()
158 verify(mAppOpsManager, times(1)).startWatchingActive(AppOpsControllerImpl.OPS, mController); in testOnlyListenForFewOps()
159 verify(mDispatcher, times(1)).registerReceiverWithHandler(eq(mController), any(), any()); in testOnlyListenForFewOps()
160 verify(mSensorPrivacyController, times(1)).addCallback(mController); in testOnlyListenForFewOps()
165 mController.setListening(false); in testStopListening()
167 verify(mAppOpsManager, times(1)).stopWatchingActive(mController); in testStopListening()
168 verify(mDispatcher, times(1)).unregisterReceiver(mController); in testStopListening()
169 verify(mSensorPrivacyController, times(1)).removeCallback(mController); in testStopListening()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DUdfpsKeyguardViewLegacyControllerTest.java49 mController.onViewAttached(); in testShouldPauseAuth_bouncerShowing()
56 assertTrue(mController.shouldPauseAuth()); in testShouldPauseAuth_bouncerShowing()
61 mController.onViewAttached(); in testRegistersStatusBarStateListenersOnAttached()
67 mController.onViewAttached(); in testViewControllerQueriesSBStateOnAttached()
73 mController.onViewAttached(); in testViewControllerQueriesSBStateOnAttached()
79 mController.onViewAttached(); in testListenersUnregisteredOnDetached()
82 mController.onViewDetached(); in testListenersUnregisteredOnDetached()
90 mController.onViewAttached(); in testShouldPauseAuthUnpausedAlpha0()
96 assertTrue(mController.shouldPauseAuth()); in testShouldPauseAuthUnpausedAlpha0()
101 mController.onViewAttached(); in testShouldNotPauseAuthOnKeyguard()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
DExpandedViewAnimationControllerTest.java50 private ExpandedViewAnimationController mController; field in ExpandedViewAnimationControllerTest
61 mController = new ExpandedViewAnimationControllerImpl(getContext(), positioner); in setUp()
63 mController.setExpandedView(mMockExpandedView); in setUp()
73 mController.updateDrag(dragDistance); in testUpdateDrag_expandedViewMovesUpAndClipped()
82 mController.updateDrag(10); in testUpdateDrag_zOrderUpdates()
83 mController.updateDrag(20); in testUpdateDrag_zOrderUpdates()
91 mController.updateDrag(50); in testUpdateDrag_moveBackToZero_zOrderRestored()
93 mController.updateDrag(0); in testUpdateDrag_moveBackToZero_zOrderRestored()
94 mController.updateDrag(0); in testUpdateDrag_moveBackToZero_zOrderRestored()
103 mController.updateDrag(10); in testUpdateDrag_hapticFeedbackOnlyOnce()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardIndicationRotateTextViewControllerTest.java79 private KeyguardIndicationRotateTextViewController mController; field in KeyguardIndicationRotateTextViewControllerTest
88 mController = new KeyguardIndicationRotateTextViewController(mView, mExecutor, in setUp()
90 mController.onViewAttached(); in setUp()
98 mController.onViewDetached(); in onViewDetached_removesStatusBarStateListener()
107 mController.mShowNextIndicationRunnable = mockShowNextIndication; in onViewDetached_removesAllScheduledIndications()
110 mController.onViewDetached(); in onViewDetached_removesAllScheduledIndications()
114 assertNull(mController.mShowNextIndicationRunnable); in onViewDetached_removesAllScheduledIndications()
119 mController.destroy(); in destroy_removesStatusBarStateListener()
125 mController.destroy(); in destroy_removesOnAttachStateChangeListener()
134 mController.mShowNextIndicationRunnable = mockShowNextIndication; in destroy_removesAllScheduledIndications()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarViewControllerTest.java150 private KeyguardStatusBarViewController mController; field in KeyguardStatusBarViewControllerTest
197 mController = createController(); in setup()
234 mController.onViewAttached(); in onViewAttached_updateUserSwitcherFlagEnabled_callbacksRegistered()
248 mController.onViewAttached(); in onViewAttached_updateUserSwitcherFlagDisabled_callbacksRegistered()
262 mController.onViewAttached(); in onConfigurationChanged_updateUserSwitcherFlagEnabled_updatesUserSwitcherVisibility()
279 mController.onViewAttached(); in onConfigurationChanged_updateUserSwitcherFlagDisabled_updatesUserSwitcherVisibility()
293 mController.onViewAttached(); in onKeyguardVisibilityChanged_userSwitcherFlagEnabled_updatesUserSwitcherVisibility()
310 mController.onViewAttached(); in onKeyguardVisibilityChanged_userSwitcherFlagDisabled_updatesUserSwitcherVisibility()
323 mController.onViewAttached(); in onViewDetached_callbacksUnregistered()
325 mController.onViewDetached(); in onViewDetached_callbacksUnregistered()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DClientTransactionListenerControllerTest.java104 private ClientTransactionListenerController mController; field in ClientTransactionListenerControllerTest
113 mController = spy(ClientTransactionListenerController in setup()
130 mController.onDisplayChanged(123); in testOnDisplayChanged()
138 doNothing().when(mController).onDisplayChanged(anyInt()); in testOnContextConfigurationChanged()
142 mController.onContextConfigurationPreChanged(mActivity); in testOnContextConfigurationChanged()
143 mController.onContextConfigurationPostChanged(mActivity); in testOnContextConfigurationChanged()
145 verify(mController, never()).onDisplayChanged(anyInt()); in testOnContextConfigurationChanged()
147 mController.onContextConfigurationPreChanged(mActivity); in testOnContextConfigurationChanged()
149 mController.onContextConfigurationPostChanged(mActivity); in testOnContextConfigurationChanged()
151 verify(mController).onDisplayChanged(123); in testOnContextConfigurationChanged()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationProcessor.java63 private final MagnificationController mController; field in MagnificationProcessor
66 mController = controller; in MagnificationProcessor()
80 mController.getFullScreenMagnificationController(); in getMagnificationConfig()
82 .setActivated(mController.isActivated(displayId, MAGNIFICATION_MODE_FULLSCREEN)) in getMagnificationConfig()
88 mController.getMagnificationConnectionManager(); in getMagnificationConfig()
90 .setActivated(mController.isActivated(displayId, MAGNIFICATION_MODE_WINDOW)) in getMagnificationConfig()
138 return mController.getMagnificationConnectionManager().enableWindowMagnification( in setMagnificationConfig()
143 return mController.getMagnificationConnectionManager() in setMagnificationConfig()
156 return mController.getFullScreenMagnificationController().setScaleAndCenter( in setScaleAndCenterForFullScreenMagnification()
171 if (currentMode == config.getMode() && !mController.hasDisableMagnificationCallback( in transitionModeIfNeeded()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/
DComponentCallbacksControllerTest.java42 private ComponentCallbacksController mController; field in ComponentCallbacksControllerTest
46 mController = new ComponentCallbacksController(); in setUp()
51 mController.unregisterCallbacks(new FakeComponentCallbacks()); in testUnregisterCallbackWithoutRegistrationNoCrash()
56 mController.dispatchConfigurationChanged(new Configuration()); in testDispatchWithEmptyCallbacksNoCrash()
57 mController.dispatchLowMemory(); in testDispatchWithEmptyCallbacksNoCrash()
58 mController.dispatchTrimMemory(TRIM_MEMORY_BACKGROUND); in testDispatchWithEmptyCallbacksNoCrash()
63 mController.clearCallbacks(); in testClearCallbacksNoCrash()
69 mController.registerCallbacks(new FakeComponentCallbacks()); in testDispatchTrimMemoryWithoutComponentCallbacks2NoCrash()
71 mController.dispatchTrimMemory(TRIM_MEMORY_BACKGROUND); in testDispatchTrimMemoryWithoutComponentCallbacks2NoCrash()
77 mController.registerCallbacks(callback); in testDispatchConfigurationChanged()
[all …]
/frameworks/native/services/vibratorservice/test/
DVibratorManagerHalControllerTest.cpp64 mController = std::make_unique<vibrator::ManagerHalController>(std::move(callbackScheduler), in SetUp()
66 ASSERT_NE(mController, nullptr); in SetUp()
72 std::unique_ptr<vibrator::ManagerHalController> mController; member in VibratorManagerHalControllerTest
110 mController->init(); in TEST_F()
114 mController->init(); in TEST_F()
125 ASSERT_TRUE(mController->ping().isOk()); in TEST_F()
127 auto getCapabilitiesResult = mController->getCapabilities(); in TEST_F()
131 auto getVibratorIdsResult = mController->getVibratorIds(); in TEST_F()
135 auto getVibratorResult = mController->getVibrator(VIBRATOR_ID); in TEST_F()
139 ASSERT_TRUE(mController->prepareSynced(VIBRATOR_IDS).isOk()); in TEST_F()
[all …]
/frameworks/av/media/module/libmediatranscoding/tests/
DTranscodingSessionController_tests.cpp306 mController.reset(new TranscodingSessionController( in SetUp()
315 mUidPolicy->setCallback(mController); in SetUp()
373 mController->submit(client->clientId(), SESSION(i), callingUid, client->clientUid(), in testPacerHelper()
376 mController->addClientUid(client->clientId(), SESSION(i), additionalUid); in testPacerHelper()
384 mController->onThrottlingStarted(); in testPacerHelper()
388 mController->onThrottlingStopped(); in testPacerHelper()
395 mController->onFinish(client->clientId(), SESSION(i)); in testPacerHelper()
399 mController->onError(client->clientId(), SESSION(i), in testPacerHelper()
417 std::shared_ptr<TranscodingSessionController> mController; member in android::TranscodingSessionControllerTest
434 mController->submit(CLIENT(0), SESSION(0), UID(0), UID(0), mOfflineRequest, mClientCallback0); in TEST_F()
[all …]
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
DPhotoViewActivity.java34 private PhotoViewController mController; field in PhotoViewActivity
40 mController = createController(); in onCreate()
41 mController.onCreate(savedInstanceState); in onCreate()
50 return mController; in getController()
56 mController.onStart(); in onStart()
62 mController.onResume(); in onResume()
67 mController.onPause(); in onPause()
73 mController.onStop(); in onStop()
79 mController.onDestroy(); in onDestroy()
85 if (!mController.onBackPressed()) { in onBackPressed()
[all …]
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
DPhotoViewActivity.java34 private PhotoViewController mController; field in PhotoViewActivity
40 mController = createController(); in onCreate()
41 mController.onCreate(savedInstanceState); in onCreate()
50 return mController; in getController()
56 mController.onStart(); in onStart()
62 mController.onResume(); in onResume()
67 mController.onPause(); in onPause()
73 mController.onStop(); in onStop()
79 mController.onDestroy(); in onDestroy()
85 if (!mController.onBackPressed()) { in onBackPressed()
[all …]

123456789