/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | MailActivity.java | 54 private ActivityController mController; field in MailActivity 114 mController.onTouchEvent(ev); in dispatchTouchEvent() 128 mController.onActivityResult(requestCode, resultCode, data); in onActivityResult() 133 if (!mController.onBackPressed()) { in onBackPressed() 144 mController = ControllerFactory.forActivity(this, mViewMode, tabletUi); in onCreate() 145 mController.onCreate(savedState); in onCreate() 160 mController.onPostCreate(savedInstanceState); in onPostCreate() 166 mController.onConfigurationChanged(newConfig); in onConfigurationChanged() 172 mController.onRestart(); in onRestart() 190 mController.onRestoreInstanceState(savedInstanceState); in onRestoreInstanceState() [all …]
|
D | MailActionBarView.java | 74 protected ActivityController mController; field in MailActionBarView 184 if (runningMR11OrLater || !mController.isDrawerEnabled()) { in initializeTitleViews() 272 mController = callback; in initialize() 284 mFolderObserver.initialize(mController); in initialize() 377 if (mController.shouldHideMenuItems()) { in onPrepareOptionsMenu() 611 mController.executeSearch(query.trim()); in onQueryTextSubmit() 666 mController.executeSearch(query.trim()); in onSuggestionClick() 749 final ConversationListContext listContext = mController == null ? null : in onFolderUpdated() 750 mController.getCurrentListContext(); in onFolderUpdated() 872 mController.onUpPressed(); in onClick()
|
/packages/apps/Browser/src/com/android/browser/ |
D | BrowserActivity.java | 52 private ActivityController mController = NullController.INSTANCE; field in BrowserActivity 73 mController = createController(); in onCreate() 76 mController.start(intent); in onCreate() 98 return (Controller) mController; in getController() 106 mController.onSaveInstanceState(outState); in onNewIntent() 114 mController.handleNewIntent(intent); in onNewIntent() 142 mController.onResume(); in onResume() 148 mController.onMenuOpened(featureId, menu); in onMenuOpened() 155 mController.onOptionsMenuClosed(menu); in onOptionsMenuClosed() 161 mController.onContextMenuClosed(menu); in onContextMenuClosed() [all …]
|
D | IntentHandler.java | 55 private Controller mController; field in IntentHandler 61 mController = controller; in IntentHandler() 62 mTabControl = mController.getTabControl(); in IntentHandler() 77 mController.setActiveTab(current); in onNewIntent() 87 mController.bookmarksOrHistoryPicker(ComboViews.Bookmarks); in onNewIntent() 101 if (handleWebSearchIntent(mActivity, mController, intent)) { in onNewIntent() 119 Tab t = mController.openTab(urlData); in onNewIntent() 134 mController.openTab(urlData); in onNewIntent() 141 if ((appTab != null) && (appTab == mController.getCurrentTab())) { in onNewIntent() 142 mController.switchToTab(appTab); in onNewIntent() [all …]
|
D | UrlHandler.java | 50 Controller mController; field in UrlHandler 57 mController = controller; in UrlHandler() 58 mActivity = mController.getActivity(); in UrlHandler() 80 mController.closeEmptyTab(); in shouldOverrideUrlLoading() 152 mController.closeEmptyTab(); in startActivityForUrl() 184 mController.closeEmptyTab(); in startActivityForUrl() 225 if (mController.isMenuDown()) { in handleMenuClick() 226 mController.openTab(url, in handleMenuClick() 270 if (mController.isActivityPaused()) return; in onPostExecute() 272 if (mController.getTabControl().getTabPosition(mTab) != -1) { in onPostExecute() [all …]
|
D | BrowserSettings.java | 110 private Controller mController; field in BrowserSettings 146 mController = controller; in setController() 313 if (mController != null) { in syncSharedSettings() 314 mController.setShouldShowErrorConsole(enableJavascriptConsole()); in syncSharedSettings() 341 if (mController != null && mController.getUi() != null) { in onSharedPreferenceChanged() 342 mController.getUi().setFullscreen(useFullscreen()); in onSharedPreferenceChanged() 345 if (mController != null && mController.getUi() != null) { in onSharedPreferenceChanged() 346 mController.getUi().setUseQuickControls(sharedPreferences.getBoolean(key, false)); in onSharedPreferenceChanged() 426 if (mController != null) { in clearCache() 427 WebView current = mController.getCurrentWebView(); in clearCache() [all …]
|
D | UploadHandler.java | 45 private Controller mController; field in UploadHandler 48 mController = controller; in UploadHandler() 83 mController.getActivity().sendBroadcast( in onResult() 196 mController.getActivity().startActivityForResult(intent, Controller.FILE_SELECTED); in startActivity() 202 mController.getActivity().startActivityForResult(createDefaultOpenableIntent(), in startActivity() 206 Toast.makeText(mController.getActivity(), R.string.uploads_disabled, in startActivity() 230 mController.getActivity().getResources() in createChooserIntent()
|
D | TabControl.java | 51 private final Controller mController; field in TabControl 59 mController = controller; in TabControl() 60 mMaxTabs = mController.getMaxTabs(); in TabControl() 180 tab.setController(mController); in addPreloadedTab() 181 mController.onSetWebView(tab, tab.getWebView()); in addPreloadedTab() 204 Tab t = new Tab(mController, w, state); in createNewTab() 414 Tab t = new Tab(mController, state); in restoreState() 629 return mController.getWebViewFactory().createWebView(privateBrowsing); in createNewWebView()
|
D | CrashRecoveryHandler.java | 55 private Controller mController; field in CrashRecoveryHandler 67 sInstance.mController = controller; in initialize() 77 mController = controller; in CrashRecoveryHandler() 78 mContext = mController.getActivity().getApplicationContext(); in CrashRecoveryHandler() 120 final Bundle state = mController.createSaveState(); 204 mController.doStart(mRecoveryState, intent); in startRecovery()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | AllInOneActivity.java | 105 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 …]
|
D | SearchActivity.java | 67 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/ui/ |
D | FilmStripView.java | 76 private MyController mController; field in FilmStripView 680 mController = new MyController(cameraActivity); in init() 713 return mController; in getController() 984 && mDataIdOnUserScrolling > 1 && mController.isScrolling()) { in clampCenterX() 1146 if (mController.isScrolling() || mIsUserScrolling in snapInCenter() 1154 mController.scrollToPosition(currentViewCenter, in snapInCenter() 1157 && !mController.isScaling() in snapInCenter() 1160 mController.goToFullScreen(); in snapInCenter() 1264 if (mController.isZoomStarted()) { in layoutViewItems() 1426 if (!mController.isZoomStarted() || changed) { in onLayout() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationPagerAdapter.java | 52 private ActivityController mController; field in ConversationPagerAdapter 155 if (mController == null) { in getCursor() 164 return mController.getConversationListCursor(); in getCursor() 272 mController.setDetachedMode(); in setDetachedMode() 286 sb.append(mController); in toString() 317 if (mController != null && !mDetachedMode && mPager != null) { in notifyDataSetChanged() 318 final Conversation currConversation = mController.getCurrentConversation(); in notifyDataSetChanged() 350 mController.setCurrentConversation(conv); in notifyDataSetChanged() 369 Conversation c = (mController != null) ? mController.getCurrentConversation() : null; in getDefaultConversation() 421 boolean wasNull = (mController == null); in setActivityController() [all …]
|
D | ConversationMessage.java | 49 private transient ConversationController mController; field in ConversationMessage 61 mController = controller; in setController() 65 return mController != null ? mController.getConversation() : null; in getConversation() 88 final MessageCursor c = mController.getMessageCursor(); in isConversationStarred() 93 final ConversationUpdater listController = mController.getListController(); in star()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | MoviePlayer.java | 85 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 …]
|
D | TrimVideo.java | 50 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/ |
D | PhotoUI.java | 73 private PhotoController mController; field in PhotoUI 193 mController = controller; in PhotoUI() 278 mController.onPreviewRectChanged(CameraUtil.rectFToRect(previewRect)); in setTransformMatrix() 290 mController.onPreviewUIReady(); in onSurfaceTextureAvailable() 308 mController.onPreviewUIDestroyed(); in onSurfaceTextureDestroyed() 373 if (mController.getCameraState() == PhotoController.FOCUSING) { in openMenu() 374 mController.cancelAutoFocus(); in openMenu() 395 if (mController.isImageCaptureIntent()) { in initializeControlByIntent() 409 mController.onCaptureDone(); in initializeControlByIntent() 415 mController.onCaptureCancelled(); in initializeControlByIntent() [all …]
|
D | VideoUI.java | 90 private VideoController mController; field in VideoUI 173 mController = controller; in VideoUI() 213 if (mController.isVideoCaptureIntent()) { in initializeControlByIntent() 227 mController.onReviewDoneClicked(v); in initializeControlByIntent() 233 mController.onReviewCancelClicked(v); in initializeControlByIntent() 239 mController.onReviewPlayClicked(v); in initializeControlByIntent() 471 mShutterButton.setOnShutterButtonListener(mController); in initializeMiscControls() 509 if (mController.isInReviewMode()) return; in dismissPopup() 577 mController.onSingleTapUp(view, x, y); in onSingleTapUp() 591 if (!mController.isVideoCaptureIntent()) { in showRecordingUI() [all …]
|
D | WideAnglePanoramaUI.java | 62 private WideAnglePanoramaController mController; field in WideAnglePanoramaUI 100 mController = controller; in WideAnglePanoramaUI() 229 mController.onPreviewUIReady(); in onSurfaceTextureAvailable() 239 mController.onPreviewUIDestroyed(); in onSurfaceTextureDestroyed() 320 mController.onShutterButtonClick(); in onShutterButtonClick() 327 mController.onPreviewUILayoutChange(l, t, r, b); in onLayoutChange() 415 mController.cancelHighResStitching(); in setViews() 441 int cameraOrientation = mController.getCameraOrientation(); in flipPreviewIfNeeded()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | AccountObserver.java | 39 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()
|
D | AllAccountObserver.java | 38 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()
|
D | FolderObserver.java | 39 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()
|
D | RecentFolderObserver.java | 42 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()
|
D | DrawerClosedObserver.java | 30 private AccountController mController; field in DrawerClosedObserver 46 mController = controller; in initialize() 47 mController.registerDrawerClosedObserver(this); in initialize() 58 if (mController != null) { in onChanged() 67 if (mController != null) { in unregisterAndDestroy() 68 mController.unregisterDrawerClosedObserver(this); in unregisterAndDestroy()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
D | GroupsListFragment.java | 44 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()
|