Home
last modified time | relevance | path

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

12

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMailActivity.java73 private ActivityController mController; field in MailActivity
137 mController.onTouchEvent(ev); in dispatchTouchEvent()
151 mController.onActivityResult(requestCode, resultCode, data); in onActivityResult()
156 if (!mController.onBackPressed()) { in onBackPressed()
174 mController = ControllerFactory.forActivity(this, mViewMode, tabletUi); in onCreate()
176 setContentView(mController.getContentViewResource()); in onCreate()
182 mCustomViewToolbar.setController(this, mController, mViewMode); in onCreate()
183 mController.addConversationListLayoutListener(mCustomViewToolbar); in onCreate()
187 toolbar.setNavigationOnClickListener(mController.getNavigationViewClickListener()); in onCreate()
197 mController.onCreate(savedState); in onCreate()
[all …]
DMiniDrawerView.java42 private FolderListFragment mController; field in MiniDrawerView
84 mController = flf; in setController()
85 final ListAdapter adapter = mController.getMiniDrawerAccountsAdapter(); in setController()
98 if (mController == null || !mController.isAdded()) { in refresh()
103 mController.getMiniDrawerAccountsAdapter(); in refresh()
138 final ObjectCursor<Folder> folderCursor = mController.getFoldersCursor(); in refresh()
150 view.setActivated(mController.isSelectedFolder(f)); in refresh()
171 mController.onFolderSelected(folder, "mini-drawer"); in onClick()
DMaterialSearchActionView.java62 private MaterialSearchViewController mController; field in MaterialSearchActionView
95 mController = controller; in setController()
204 mController.onQueryTextChanged(charSequence.toString()); in onTextChanged()
216 mController.onSearchCanceled(); in onClick()
220 mController.showSearchActionBar( in onClick()
223 mController.onVoiceSearch(); in onClick()
226 mController.showSearchActionBar(MaterialSearchViewController.SEARCH_VIEW_STATE_VISIBLE); in onClick()
233 mController.onSearchPerformed(mQueryText.getText().toString()); in onEditorAction()
243 mController.onSearchPerformed(mQueryText.getText().toString()); in onKey()
DMaterialSearchViewController.java59 private ActivityController mController; field in MaterialSearchViewController
76 mController = controller; in MaterialSearchViewController()
108 mController = null; in onDestroy()
122 if (mController.shouldShowSearchBarByDefault(mViewMode)) { in onViewModeChanged()
138 final int defaultVisibility = mController.shouldShowSearchBarByDefault(mViewMode) ? in onConversationListLayout()
148 final boolean shouldShowSearchBar = mController.shouldShowSearchBarByDefault(mViewMode); in handleBackPress()
179 mController.shouldShowSearchBarByDefault(mViewMode); in showSearchActionBar()
251 return mController.isTwoPaneLandscape() && in shouldAlignWithTl()
283 mController.executeSearch(query); in onSearchPerformed()
DTwoPaneLayout.java102 private TwoPaneController mController; field in TwoPaneLayout
258 mController = controller; in setController()
261 ((ConversationViewFrame) mConversationFrame).setDownEventListener(mController); in setController()
437 if (mController.isDestroyed()) { in onTransitionComplete()
455 mController.getConversationListLayoutListeners(); in onTransitionComplete()
491 mController.onDrawerDragStarted(); in onDragStarted()
503 mController.onDrawerDrag(percentDragged); in onDrag()
519 mController.onDrawerDragEnded(velocityX >= 0); in onDragEnded()
521 mController.onDrawerDragEnded(velocityX < 0); in onDragEnded()
525 mController.onDrawerDragEnded(computeDragPercentage(deltaX) < 0.5f); in onDragEnded()
[all …]
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/uiflows/
DPreProvisioningControllerTest.java81 private PreProvisioningController mController; field in PreProvisioningControllerTest
112 mController = new PreProvisioningController(mContext, mUi, mMessageParser, mUtils, in setUp()
120 mController.initiateProvisioning(mIntent, TEST_MDM_PACKAGE); in testManagedProfile()
124 mController.afterNavigateNext(); in testManagedProfile()
128 mController.continueProvisioningAfterUserConsent(); in testManagedProfile()
141 mController.initiateProvisioning(mIntent, TEST_MDM_PACKAGE); in testManagedProfile_provisioningNotAllowed()
152 mController.initiateProvisioning(mIntent, null); in testManagedProfile_nullCallingPackage()
166 mController.initiateProvisioning(mIntent, TEST_MDM_PACKAGE); in testManagedProfile_withEncryption()
170 mController.afterNavigateNext(); in testManagedProfile_withEncryption()
181 mController.initiateProvisioning(mIntent, MP_PACKAGE_NAME); in testManagedProfile_afterEncryption()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAccountObserver.java39 private AccountController mController; field in AccountObserver
60 mController = controller; in initialize()
61 mController.registerAccountObserver(this); in initialize()
62 return mController.getAccount(); in initialize()
67 if (mController == null) { in onChanged()
70 onChanged(mController.getAccount()); in onChanged()
87 if (mController == null) { in getAccount()
90 return mController.getAccount(); in getAccount()
97 if (mController == null) { in unregisterAndDestroy()
100 mController.unregisterAccountObserver(this); in unregisterAndDestroy()
DAllAccountObserver.java38 private AccountController mController; field in AllAccountObserver
59 mController = controller; in initialize()
60 mController.registerAllAccountObserver(this); in initialize()
61 return mController.getAllAccounts(); in initialize()
66 if (mController == null) { in onChanged()
69 onChanged(mController.getAllAccounts()); in onChanged()
84 if (mController == null) { in getAllAccounts()
87 return mController.getAllAccounts(); in getAllAccounts()
94 if (mController == null) { in unregisterAndDestroy()
97 mController.unregisterAllAccountObserver(this); in unregisterAndDestroy()
DFolderObserver.java39 private FolderController mController; field in FolderObserver
60 mController = controller; in initialize()
61 mController.registerFolderObserver(this); in initialize()
62 return mController.getFolder(); in initialize()
67 if (mController == null) { in onChanged()
70 onChanged(mController.getFolder()); in onChanged()
87 if (mController == null) { in getFolder()
90 return mController.getFolder(); in getFolder()
97 if (mController == null) { in unregisterAndDestroy()
100 mController.unregisterFolderObserver(this); in unregisterAndDestroy()
DRecentFolderObserver.java42 private RecentFolderController mController; field in RecentFolderObserver
63 mController = controller; in initialize()
64 mController.registerRecentFolderObserver(this); in initialize()
65 return mController.getRecentFolders(); in initialize()
76 if (mController == null) { in getRecentFolders()
79 return mController.getRecentFolders(); in getRecentFolders()
86 if (mController == null) { in unregisterAndDestroy()
89 mController.unregisterRecentFolderObserver(this); in unregisterAndDestroy()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationPagerAdapter.java56 private ActivityController mController; field in ConversationPagerAdapter
186 if (mController == null) { in getCursor()
195 return mController.getConversationListCursor(); in getCursor()
351 mController.setDetachedMode(); in setDetachedMode()
365 sb.append(mController); in toString()
396 if (mController != null && !mDetachedMode && mPager != null) { in notifyDataSetChanged()
397 final Conversation currConversation = mController.getCurrentConversation(); in notifyDataSetChanged()
429 mController.setCurrentConversation(conv); in notifyDataSetChanged()
448 Conversation c = (mController != null) ? mController.getCurrentConversation() : null; in getDefaultConversation()
500 boolean wasNull = (mController == null); in setActivityController()
[all …]
DConversationMessage.java50 private transient ConversationController mController; field in ConversationMessage
62 mController = controller; in setController()
66 return mController != null ? mController.getConversation() : null; in getConversation()
70 return mController != null ? mController.getAccount() : null; in getAccount()
93 final MessageCursor c = mController.getMessageCursor(); in isConversationStarred()
105 final MessageCursor c = mController.getMessageCursor(); in setStarredInConversation()
113 final ConversationUpdater listController = mController.getListController(); in star()
DMessageCursor.java47 private ConversationController mController; field in MessageCursor
63 mController = controller; in setController()
72 m.setController(mController); in getMessage()
77 return mController != null ? mController.getConversation() : null; in getConversation()
172 mController.getConversation(), getStatus())); in getDebugDump()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java483 private final AppController mController; field in CameraAppUI
780 mController = controller; in CameraAppUI()
804 boolean shouldShowSettingsCling = mController.getSettingsManager().getBoolean( in CameraAppUI()
875 refocusCling.setText(mController.getAndroidContext().getResources() in setupClingForViewer()
879 int clingWidth = mController.getAndroidContext() in setupClingForViewer()
970 int currentModuleIndex = mController.getCurrentModuleIndex(); in onSwipeDetected()
972 mController.getQuickSwitchToModuleId(currentModuleIndex); in onSwipeDetected()
977 mController.getAndroidContext()); in onSwipeDetected()
991 mController.onModeSelected(moduleToTransitionTo); in onSwipeDetected()
1046 int modeId = mController.getCurrentModuleIndex(); in showModeCoverUntilPreviewReady()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java105 private CalendarController mController; field in AllInOneActivity
294 if (millis != -1 && mViewEventId == -1 && mController != null) { in onNewIntent()
298 mController.sendEvent(this, EventType.GO_TO, time, time, -1, ViewType.CURRENT); in onNewIntent()
325 mController = CalendarController.getInstance(this); in onCreate()
426 mController.registerFirstEventHandler(HANDLER_KEY, this); in onCreate()
516 mController.registerFirstEventHandler(HANDLER_KEY, this); in onResume()
522 initFragments(mController.getTime(), mController.getViewType(), null); in onResume()
526 t.set(mController.getTime()); in onResume()
527 mController.sendEvent(this, EventType.UPDATE_TITLE, t, t, -1, ViewType.CURRENT, in onResume()
528 mController.getDateFlags(), null, null); in onResume()
[all …]
DSearchActivity.java67 private CalendarController mController; field in SearchActivity
109 mController = CalendarController.getInstance(this); in onCreate()
133 mController.registerEventHandler(HANDLER_KEY, this); in onCreate()
169 mController.deregisterAllEventHandlers(); in onDestroy()
179 mController.registerEventHandler(R.id.search_results, searchResultsFragment); in initFragments()
227 mController.sendEvent(this, searchEventInfo); in search()
282 mController.sendEvent(this, EventType.GO_TO, t, null, -1, ViewType.CURRENT); in onOptionsItemSelected()
287 mController.sendEvent(this, EventType.LAUNCH_SETTINGS, null, null, 0, 0); in onOptionsItemSelected()
319 outState.putLong(BUNDLE_KEY_RESTORE_TIME, mController.getTime()); in onSaveInstanceState()
347 mController.sendEvent(this, EventType.EVENTS_CHANGED, null, null, -1, ViewType.CURRENT); in eventsChanged()
[all …]
/packages/apps/Camera2/src/com/android/camera/widget/
DIndicatorIconController.java63 private AppController mController; field in IndicatorIconController
66 mController = controller; in IndicatorIconController()
167 ButtonManager buttonManager = mController.getButtonManager(); in syncFlashIndicator()
175 int modeIndex = mController.getCurrentModuleIndex(); in syncFlashIndicator()
176 if (modeIndex == mController.getAndroidContext().getResources() in syncFlashIndicator()
178 setIndicatorState(mController.getCameraScope(), in syncFlashIndicator()
181 } else if (modeIndex == mController.getAndroidContext().getResources() in syncFlashIndicator()
183 setIndicatorState(mController.getCameraScope(), in syncFlashIndicator()
187 setIndicatorState(mController.getCameraScope(), in syncFlashIndicator()
200 ButtonManager buttonManager = mController.getButtonManager(); in syncHdrIndicator()
[all …]
DFilmstripView.java126 private FilmstripControllerImpl mController; field in FilmstripView
616 mController = new FilmstripControllerImpl(); in init()
650 if (!mController.isScrolling()) { in init()
653 mController.goToNextItem(); in init()
657 boolean wentToPrevious = mController.goToPreviousItem(); in init()
711 return mController; in getController()
1027 if (mController.isScrolling() || mIsUserScrolling in scrollCurrentItemToCenter()
1029 Log.d(TAG, "[fling] mController.isScrolling() - " + mController.isScrolling()); in scrollCurrentItemToCenter()
1038 mController.scrollToPosition(currentViewCenter, in scrollCurrentItemToCenter()
1314 mController.cancelZoomAnimation(); in resetZoomView()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMoviePlayer.java85 private final MovieControllerOverlay mController; field in MoviePlayer
104 mController.showPlaying();
127 mController = new MovieControllerOverlay(mContext); in MoviePlayer()
128 ((ViewGroup)rootView).addView(mController.getView()); in MoviePlayer()
129 mController.setListener(this); in MoviePlayer()
130 mController.setCanReplay(canReplay); in MoviePlayer()
150 mController.show(); in MoviePlayer()
158 mController.setSeekable(false); in MoviePlayer()
160 mController.setSeekable(true); in MoviePlayer()
220 mController.show(); in setOnSystemUiVisibilityChangeListener()
[all …]
DTrimVideo.java50 private TrimControllerOverlay mController; field in TrimVideo
102 mController = new TrimControllerOverlay(mContext); in onCreate()
103 ((ViewGroup) rootView).addView(mController.getView()); in onCreate()
104 mController.setListener(this); in onCreate()
105 mController.setCanReplay(true); in onCreate()
191 mController.showEnded(); in setProgress()
199 mController.setTimes(mVideoPosition, duration, mTrimStartTime, mTrimEndTime); in setProgress()
207 mController.showPlaying(); in playVideo()
213 mController.showPaused(); in pauseVideo()
330 mController.showEnded(); in onCompletion()
/packages/apps/Camera2/src/com/android/camera/
DPhotoUI.java56 private final PhotoController mController; field in PhotoUI
77 mController.onSingleTapUp(null, (int) ev.getX(), (int) ev.getY());
118 mController.updateCameraOrientation(); in onPreviewFlipped()
197 mController = controller; in PhotoUI()
214 if (mController.isImageCaptureIntent()) { in PhotoUI()
270 mController.updatePreviewAspectRatio(mAspectRatio); in updatePreviewAspectRatio()
276 mController.onPreviewUIReady(); in onSurfaceTextureAvailable()
286 mController.onPreviewUIDestroyed(); in onSurfaceTextureDestroyed()
316 if (mController.isImageCaptureIntent()) { in initializeSecondTime()
335 mController.startPreCaptureAnimation(); in animateFlash()
[all …]
DVideoUI.java56 private final VideoController mController; field in VideoUI
74 mController.updateCameraOrientation(); in onPreviewFlipped()
81 mController.onSingleTapUp(null, (int) ev.getX(), (int) ev.getY());
88 mController = controller; in VideoUI()
158 mController.updatePreviewAspectRatio(mAspectRatio); in setAspectRatio()
263 mController.onZoomChanged(ratio); in onZoomValueChanged()
278 mController.onPreviewUIReady(); in onSurfaceTextureAvailable()
283 mController.onPreviewUIDestroyed(); in onSurfaceTextureDestroyed()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiDialog.java45 private WifiConfigController mController; field in WifiDialog
65 return mController; in getController()
73 mController = new WifiConfigController(this, mView, mAccessPoint, mMode); in onCreate()
77 mController.hideSubmitButton(); in onCreate()
81 mController.enableSubmitIfAppropriate(); in onCreate()
85 mController.hideForgetButton(); in onCreate()
91 mController.updatePassword(); in onRestoreInstanceState()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/uiflows/
DPreProvisioningActivity.java60 protected PreProvisioningController mController; field in PreProvisioningActivity
69 mController = new PreProvisioningController( in onCreate()
73 mController.initiateProvisioning(getIntent(), getCallingPackage()); in onCreate()
99 startProfileOwnerProvisioning(mController.getParams()); in onActivityResult()
109 mController.askForConsentOrStartDeviceOwnerProvisioning(); in onActivityResult()
260 mController.continueProvisioningAfterUserConsent(); in onDialogConsent()
269 if (mController.isProfileOwnerProvisioning()) { in onDialogCancel()
278 if (mController.getParams().startedByTrustedSource) { in onDialogCancel()
329 if (!mController.isProfileOwnerProvisioning()) { in onBackPressed()
359 mController.afterNavigateNext(); in onNavigateNext()
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
DGroupsListFragment.java44 Controller mController; field in GroupsListFragment
55 mController = controller; in setController()
104 mController.onAllContactsSelected(); in onItemClick()
106 mController.onFavoritesSelected(); in onItemClick()
109 mController.onGroupSelected(cursor.getString(GroupsListLoader.COLUMN_TITLE)); in onItemClick()

12