/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/ |
SettingsFragmentBase.java | 34 private PreferenceController mController; 40 mController = createController(); 48 mController.onCreateComplete(); 52 return mController; 72 mController.handlePreference(group.getPreference(i)); 80 mController.onResume(); 85 mController.onStop(); 91 mController.onDestroy();
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserActivity.java | 52 private ActivityController mController = NullController.INSTANCE; 73 mController = createController(); 76 mController.start(intent); 98 return (Controller) mController; 106 mController.onSaveInstanceState(outState); 114 mController.handleNewIntent(intent); 142 mController.onResume(); 148 mController.onMenuOpened(featureId, menu); 155 mController.onOptionsMenuClosed(menu); 161 mController.onContextMenuClosed(menu) [all...] |
UrlHandler.java | 50 Controller mController; 57 mController = controller; 58 mActivity = mController.getActivity(); 80 mController.closeEmptyTab(); 152 mController.closeEmptyTab(); 184 mController.closeEmptyTab(); 225 if (mController.isMenuDown()) { 226 mController.openTab(url, 270 if (mController.isActivityPaused()) return; 272 if (mController.getTabControl().getTabPosition(mTab) != -1) [all...] |
NetworkStateHandler.java | 37 Controller mController; 46 mController = controller; 105 WebView w = mController.getCurrentWebView(); 116 WebView w = mController.getCurrentWebView();
|
IntentHandler.java | 55 private Controller mController; 61 mController = controller; 62 mTabControl = mController.getTabControl(); 77 mController.setActiveTab(current); 87 mController.bookmarksOrHistoryPicker(ComboViews.Bookmarks); 101 if (handleWebSearchIntent(mActivity, mController, intent)) { 112 Tab t = mController.openTab(urlData); 127 mController.openTab(urlData); 134 if ((appTab != null) && (appTab == mController.getCurrentTab())) { 135 mController.switchToTab(appTab) [all...] |
NfcHandler.java | 39 final Controller mController; 65 mController = controller; 80 mCurrentTab = mController.getCurrentTab();
|
UploadHandler.java | 45 private Controller mController; 48 mController = controller; 83 mController.getActivity().sendBroadcast( 196 mController.getActivity().startActivityForResult(intent, Controller.FILE_SELECTED); 202 mController.getActivity().startActivityForResult(createDefaultOpenableIntent(), 206 Toast.makeText(mController.getActivity(), R.string.uploads_disabled, 230 mController.getActivity().getResources()
|
CrashRecoveryHandler.java | 55 private Controller mController; 67 sInstance.mController = controller; 77 mController = controller; 78 mContext = mController.getActivity().getApplicationContext(); 120 final Bundle state = mController.createSaveState(); 204 mController.doStart(mRecoveryState, intent);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
GroupsListFragment.java | 44 Controller mController; 55 mController = controller; 104 mController.onAllContactsSelected(); 106 mController.onFavoritesSelected(); 109 mController.onGroupSelected(cursor.getString(GroupsListLoader.COLUMN_TITLE));
|
ContactsListFragment.java | 53 Controller mController; 122 mController = controller; 151 if (mController != null) { 152 mController.onContactSelected(getContactUri(position));
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiDialog.java | 37 private WifiConfigController mController; 49 return mController; 57 mController = new WifiConfigController(this, mView, mAccessPoint, mEdit); 61 mController.enableSubmitIfAppropriate();
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
SimpleMonthAdapter.java | 41 private final DatePickerController mController; 101 mController = controller; 103 setSelectedDay(mController.getSelectedDay()); 129 return ((mController.getMaxYear() - mController.getMinYear()) + 1) * MONTHS_IN_YEAR; 167 final int year = position / MONTHS_IN_YEAR + mController.getMinYear(); 182 drawingParams.put(SimpleMonthView.VIEW_PARAMS_WEEK_START, mController.getFirstDayOfWeek()); 206 mController.tryVibrate(); 207 mController.onDayOfMonthSelected(day.year, day.month, day.day);
|
YearPickerView.java | 45 private final DatePickerController mController; 56 mController = controller; 57 mController.registerOnDateChangedListener(this); 75 for (int year = mController.getMinYear(); year <= mController.getMaxYear(); year++) { 84 mController.tryVibrate(); 96 mController.onYearSelected(getYearFromTextView(clickedView)); 117 boolean selected = mController.getSelectedDay().year == year; 152 postSetSelectionCentered(mController.getSelectedDay().year - mController.getMinYear()) [all...] |
DayPickerView.java | 90 private final DatePickerController mController; 96 mController = controller; 97 mController.registerOnDateChangedListener(this); 122 mAdapter = new SimpleMonthAdapter(getContext(), mController); 174 final int position = (day.year - mController.getMinYear()) 358 goTo(mController.getSelectedDay(), false, true, true); 462 int year = firstVisiblePosition / 12 + mController.getMinYear();
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
TrimVideo.java | 50 private TrimControllerOverlay mController; 102 mController = new TrimControllerOverlay(mContext); 103 ((ViewGroup) rootView).addView(mController.getView()); 104 mController.setListener(this); 105 mController.setCanReplay(true); 191 mController.showEnded(); 199 mController.setTimes(mVideoPosition, duration, mTrimStartTime, mTrimEndTime); 205 mController.showPlaying(); 211 mController.showPaused(); 330 mController.showEnded() [all...] |
MoviePlayer.java | 86 private final MovieControllerOverlay mController; 105 mController.showPlaying(); 128 mController = new MovieControllerOverlay(mContext); 129 ((ViewGroup)rootView).addView(mController.getView()); 130 mController.setListener(this); 131 mController.setCanReplay(canReplay); 164 mController.show(); 223 mController.show(); 320 mController.setTimes(position, duration, 0, 0); 329 mController.showLoading() [all...] |
/frameworks/support/v4/java/android/support/v4/media/ |
TransportMediator.java | 54 final TransportMediatorJellybeanMR2 mController; 166 mController = new TransportMediatorJellybeanMR2(mContext, mAudioManager, 169 mController = null; 190 return mController != null ? mController.getRemoteControlClient() : null; 239 if (mController != null) { 240 mController.refreshState(mCallbacks.onIsPlaying(), 258 if (mController != null) { 259 mController.startPlaying(); 272 if (mController != null) [all...] |
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
CarouselView.java | 48 CarouselController mController; 136 mController = controller; 144 mController.onLongPress(); 166 mController.setRS(mRS, mRenderScript); 173 mController.onSurfaceChanged(); 177 return mController; 181 mController = controller; 182 mController.setRS(mRS, mRenderScript); 203 return mController.loadGeometry(resId); 212 mController.setGeometryForItem(n, mesh) [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
RefreshManagerTest.java | 35 private MockController mController; 58 mController = new MockController(mContext); 61 mTarget = new RefreshManager(mProviderContext, mController, mClock, null); 68 mController.cleanupForTest(); 133 assertTrue(mController.mCalledUpdateMailboxList); 134 assertEquals(ACCOUNT_1, mController.mAccountId); 135 assertEquals(-1, mController.mMailboxId); 136 mController.reset(); 146 assertFalse(mController.mCalledUpdateMailboxList); 147 mController.reset() [all...] |
/development/samples/Support4Demos/src/com/example/android/supportv4/media/ |
MediaController.java | 46 private TransportController mController; 96 if (mController != null) { 97 mController.unregisterStateListener(mStateListener); 103 mController = controller; 110 if (mController != null) { 111 mController.registerStateListener(mStateListener); 118 if (mController != null) { 119 mController.unregisterStateListener(mStateListener); 174 int flags = mController.getTransportControlFlags(); 220 if (mController == null || mDragging) [all...] |
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
SelectVisibleCalendarsActivity.java | 39 private CalendarController mController; 51 mController.sendEvent(this, EventType.EVENTS_CHANGED, null, null, -1, ViewType.CURRENT); 61 mController = CalendarController.getInstance(this);
|
SelectVisibleCalendarsFragment.java | 66 private CalendarController mController; 84 mController = CalendarController.getInstance(activity); 85 mController.registerEventHandler(R.layout.select_calendars_fragment, this); 98 mController.deregisterEventHandler(R.layout.select_calendars_fragment);
|
/packages/apps/Calendar/src/com/android/calendar/ |
AllInOneActivity.java | 105 private CalendarController mController; 294 if (millis != -1 && mViewEventId == -1 && mController != null) { 298 mController.sendEvent(this, EventType.GO_TO, time, time, -1, ViewType.CURRENT); 325 mController = CalendarController.getInstance(this); 426 mController.registerFirstEventHandler(HANDLER_KEY, this); 513 mController.registerFirstEventHandler(HANDLER_KEY, this); 519 initFragments(mController.getTime(), mController.getViewType(), null); 523 t.set(mController.getTime()); 524 mController.sendEvent(this, EventType.UPDATE_TITLE, t, t, -1, ViewType.CURRENT [all...] |
SearchActivity.java | 67 private CalendarController mController; 109 mController = CalendarController.getInstance(this); 133 mController.registerEventHandler(HANDLER_KEY, this); 169 mController.deregisterAllEventHandlers(); 179 mController.registerEventHandler(R.id.search_results, searchResultsFragment); 227 mController.sendEvent(this, searchEventInfo); 282 mController.sendEvent(this, EventType.GO_TO, t, null, -1, ViewType.CURRENT); 287 mController.sendEvent(this, EventType.LAUNCH_SETTINGS, null, null, 0, 0); 319 outState.putLong(BUNDLE_KEY_RESTORE_TIME, mController.getTime()); 347 mController.sendEvent(this, EventType.EVENTS_CHANGED, null, null, -1, ViewType.CURRENT) [all...] |
/packages/apps/Calendar/src/com/android/calendar/month/ |
MonthByWeekAdapter.java | 50 protected CalendarController mController; 105 mController = CalendarController.getInstance(mContext); 293 mController.sendEvent(mContext, EventType.GO_TO, day, day, -1, 297 mController.sendEvent(mContext, EventType.GO_TO, day, day, -1, 307 currTime.set(mController.getTime());
|