/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/ |
D | PhotoViewActivity.java | 34 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/ |
D | PhotoViewActivity.java | 34 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/support/v4/java/android/support/v4/media/ |
D | TransportMediator.java | 54 final TransportMediatorJellybeanMR2 mController; field in TransportMediator 166 mController = new TransportMediatorJellybeanMR2(mContext, mAudioManager, in TransportMediator() 169 mController = null; in TransportMediator() 190 return mController != null ? mController.getRemoteControlClient() : null; in getRemoteControlClient() 239 if (mController != null) { in pushControllerState() 240 mController.refreshState(mCallbacks.onIsPlaying(), in pushControllerState() 258 if (mController != null) { in startPlaying() 259 mController.startPlaying(); in startPlaying() 272 if (mController != null) { in pausePlaying() 273 mController.pausePlaying(); in pausePlaying() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | RotationLockTile.java | 39 private final RotationLockController mController; field in RotationLockTile 43 mController = host.getRotationLockController(); in RotationLockTile() 52 if (mController == null) return; in setListening() 54 mController.addRotationLockControllerCallback(mCallback); in setListening() 56 mController.removeRotationLockControllerCallback(mCallback); in setListening() 62 if (mController == null) return; in handleClick() 65 mController.setRotationLocked(newState); in handleClick() 71 if (mController == null) return; in handleUpdateState() 73 : mController.isRotationLocked(); in handleUpdateState() 75 state.visible = mController.isRotationLockAffordanceVisible(); in handleUpdateState() [all …]
|
D | BluetoothTile.java | 43 private final BluetoothController mController; field in BluetoothTile 48 mController = host.getBluetoothController(); in BluetoothTile() 70 mController.addStateChangedCallback(mCallback); in setListening() 72 mController.removeStateChangedCallback(mCallback); in setListening() 80 mController.setBluetoothEnabled(!isEnabled); in handleClick() 87 mController.setBluetoothEnabled(true); in handleSecondaryClick() 94 final boolean supported = mController.isBluetoothSupported(); in handleUpdateState() 95 final boolean enabled = mController.isBluetoothEnabled(); in handleUpdateState() 96 final boolean connected = mController.isBluetoothConnected(); in handleUpdateState() 97 final boolean connecting = mController.isBluetoothConnecting(); in handleUpdateState() [all …]
|
D | CastTile.java | 44 private final CastController mController; field in CastTile 51 mController = host.getCastController(); in CastTile() 68 if (mController == null) return; in setListening() 71 mController.addCallback(mCallback); in setListening() 74 mController.setDiscovering(false); in setListening() 75 mController.removeCallback(mCallback); in setListening() 83 if (mController == null) return; in handleUserSwitch() 84 mController.setCurrentUserId(newUserId); in handleUserSwitch() 100 final Set<CastDevice> devices = mController.getCastDevices(); in handleUpdateState() 201 updateItems(mController.getCastDevices()); in createDetailView() [all …]
|
D | HotspotTile.java | 36 private final HotspotController mController; field in HotspotTile 42 mController = host.getHotspotController(); in HotspotTile() 61 mController.addCallback(mCallback); in setListening() 63 mController.removeCallback(mCallback); in setListening() 71 mController.setHotspotEnabled(!isEnabled); in handleClick() 91 state.visible = mController.isHotspotSupported() && mUsageTracker.isRecentlyUsed(); in handleUpdateState() 97 state.value = mController.isHotspotEnabled(); in handleUpdateState()
|
D | LocationTile.java | 34 private final LocationController mController; field in LocationTile 40 mController = host.getLocationController(); in LocationTile() 52 mController.addSettingsChangedCallback(mCallback); in setListening() 55 mController.removeSettingsChangedCallback(mCallback); in setListening() 64 mController.setLocationEnabled(!wasEnabled); in handleClick() 71 final boolean locationEnabled = mController.isLocationEnabled(); in handleUpdateState()
|
D | DndTile.java | 61 private final ZenModeController mController; field in DndTile 69 mController = host.getZenModeController(); in DndTile() 103 if (mController.isVolumeRestricted()) { in handleClick() 115 mController.setZen(Global.ZEN_MODE_OFF, null, TAG); in handleClick() 118 mController.setZen(zen, null, TAG); in handleClick() 125 final int zen = arg instanceof Integer ? (Integer) arg : mController.getZen(); in handleUpdateState() 183 mController.addCallback(mZenCallback); in setListening() 186 mController.removeCallback(mZenCallback); in setListening() 239 mController.setZen(Global.ZEN_MODE_OFF, null, TAG); in setToggleState() 255 zmp.init(mController); in createDetailView()
|
D | WifiTile.java | 46 private final NetworkController mController; field in WifiTile 55 mController = host.getNetworkController(); in WifiTile() 56 mWifiController = mController.getAccessPointController(); in WifiTile() 73 mController.addSignalCallback(mSignalCallback); in setListening() 75 mController.removeSignalCallback(mSignalCallback); in setListening() 102 mController.setWifiEnabled(!mState.enabled); in handleClick() 112 mController.setWifiEnabled(true); in handleSecondaryClick() 261 mController.setWifiEnabled(state); in setToggleState()
|
D | CellularTile.java | 44 private final NetworkController mController; field in CellularTile 52 mController = host.getNetworkController(); in CellularTile() 53 mDataController = mController.getMobileDataController(); in CellularTile() 70 mController.addSignalCallback(mSignalCallback); in setListening() 72 mController.removeSignalCallback(mSignalCallback); in setListening() 93 state.visible = mController.hasMobileDataFeature(); in handleUpdateState()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
D | YearPickerView.java | 43 private final DatePickerController mController; field in YearPickerView 54 mController = controller; in YearPickerView() 55 mController.registerOnDateChangedListener(this); in YearPickerView() 73 for (int year = mController.getMinYear(); year <= mController.getMaxYear(); year++) { in init() 82 mController.tryVibrate(); in onItemClick() 94 mController.onYearSelected(getYearFromTextView(clickedView)); in onItemClick() 115 boolean selected = mController.getSelectedDay().year == year; in getView() 150 postSetSelectionCentered(mController.getSelectedDay().year - mController.getMinYear()); in onDateChanged()
|
D | MonthAdapter.java | 40 protected final DatePickerController mController; field in MonthAdapter 121 mController = controller; in MonthAdapter() 123 setSelectedDay(mController.getSelectedDay()); in MonthAdapter() 149 return ((mController.getMaxYear() - mController.getMinYear()) + 1) * MONTHS_IN_YEAR; in getCount() 192 final int year = position / MONTHS_IN_YEAR + mController.getMinYear(); in getView() 206 drawingParams.put(MonthView.VIEW_PARAMS_WEEK_START, mController.getFirstDayOfWeek()); in getView() 232 mController.tryVibrate(); in onDayTapped() 233 mController.onDayOfMonthSelected(day.year, day.month, day.day); in onDayTapped()
|
D | DayPickerView.java | 92 private DatePickerController mController; field in DayPickerView 107 mController = controller; in setController() 108 mController.registerOnDateChangedListener(this); in setController() 132 mAdapter = createMonthAdapter(getContext(), mController); in refreshAdapter() 186 final int position = (day.year - mController.getMinYear()) in goTo() 370 goTo(mController.getSelectedDay(), false, true, true); in onDateChanged() 476 int year = firstVisiblePosition / 12 + mController.getMinYear(); in performAccessibilityAction()
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | PlayerController.java | 44 protected MediaController mController; field in PlayerController 74 Log.d(TAG, "Listener set to " + listener + " session is " + mController); in setListener() 78 mController == null ? STATE_DISCONNECTED : STATE_CONNECTED); in setListener() 161 if (mController != null) { 162 mController.unregisterCallback(mControllerCb); 165 mController = null; 186 mController = new MediaController(mContext, token); 187 mContext.setMediaController(mController); 188 mController.registerCallback(mControllerCb, mHandler); 189 mTransportControls = mController.getTransportControls(); [all …]
|
D | NotificationHelper.java | 37 private final MediaController mController; field in NotificationHelper 49 mController = session.getController(); in NotificationHelper() 50 mTransportControls = mController.getTransportControls(); in NotificationHelper() 79 mController.registerCallback(mCb); in onStart() 89 mMetadata = mController.getMetadata(); in onStart() 90 mPlaybackState = mController.getPlaybackState(); in onStart() 103 mController.unregisterCallback(mCb); in onStop()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogComponent.java | 44 private final VolumeDialogController mController; field in VolumeDialogComponent 58 mController = new VolumeDialogController(context, null) { in VolumeDialogComponent() 66 mController, zen, mVolumeDialogCallback); in VolumeDialogComponent() 83 mController.setVolumePolicy(mVolumePolicy); in applyConfiguration() 84 mController.showDndTile(true); in applyConfiguration() 99 mController.dismiss(); in dismissNow() 109 mController.register(); in register() 115 mController.dump(fd, pw, args); in dump()
|
D | VolumeDialog.java | 96 private final VolumeDialogController mController; field in VolumeDialog 134 mController = controller; in VolumeDialog() 396 mController.setActiveStream(row.stream); in initRow() 398 final boolean hasVibrator = mController.hasVibrator(); in initRow() 401 mController.setRingerMode(AudioManager.RINGER_MODE_VIBRATE, false); in initRow() 404 mController.setStreamVolume(stream, wasZero ? row.lastAudibleLevel : 0); in initRow() 407 mController.setRingerMode(AudioManager.RINGER_MODE_NORMAL, false); in initRow() 409 mController.setStreamVolume(stream, 1); in initRow() 414 mController.setStreamVolume(stream, vmute ? row.lastAudibleLevel : 0); in initRow() 425 mController.removeCallback(mControllerCallbackH); in destroy() [all …]
|
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/ |
D | WakeUpController.java | 31 private static WakeUpController mController = null; field in WakeUpController 40 if (mController == null) { in getController() 41 mController = new WakeUpController(); in getController() 43 return mController; in getController()
|
/frameworks/base/cmds/media/src/com/android/commands/media/ |
D | Media.java | 175 private final ISessionController mController; field in Media.ControllerMonitor 178 mController = controller; in ControllerMonitor() 227 System.out.println("V2Monitoring session " + mController.getTag() in printUsageMessage() 241 mController.registerCallbackListener(ControllerMonitor.this); in run() 261 mController.play(); in run() 263 mController.pause(); in run() 265 mController.next(); in run() 267 mController.previous(); in run() 284 mController.unregisterCallbackListener(this); in run()
|
/frameworks/base/core/java/android/net/ |
D | DhcpStateMachine.java | 57 private StateMachine mController; field in DhcpStateMachine 115 mController = controller; in DhcpStateMachine() 180 mController.sendMessage(CMD_ON_QUIT); in onQuitting() 223 mController.sendMessage(CMD_PRE_DHCP_ACTION); in processMessage() 341 mController.sendMessage(CMD_PRE_DHCP_ACTION); in processMessage() 430 mController.obtainMessage(CMD_POST_DHCP_ACTION, DHCP_SUCCESS, 0, dhcpResults) in dhcpSucceeded() 444 mController.obtainMessage(CMD_POST_DHCP_ACTION, DHCP_FAILURE, 0) in runDhcpStart() 456 mController.obtainMessage(CMD_POST_DHCP_ACTION, DHCP_FAILURE, 0) in runDhcpRenew()
|
/frameworks/base/libs/input/ |
D | SpriteController.cpp | 390 mController(controller) { in SpriteImpl() 394 AutoMutex _m(mController->mLock); in ~SpriteImpl() 399 mController->disposeSurfaceLocked(mLocked.state.surfaceControl); in ~SpriteImpl() 405 AutoMutex _l(mController->mLock); in setIcon() 431 AutoMutex _l(mController->mLock); in setVisible() 440 AutoMutex _l(mController->mLock); in setPosition() 450 AutoMutex _l(mController->mLock); in setLayer() 459 AutoMutex _l(mController->mLock); in setAlpha() 469 AutoMutex _l(mController->mLock); in setTransformationMatrix() 482 mController->invalidateSpriteLocked(this); in invalidateLocked()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | InputMethodSubtypeSwitchingController.java | 510 private ControllerImpl mController; field in InputMethodSubtypeSwitchingController 523 if (mController == null) { in onUserActionLocked() 529 mController.onUserActionLocked(imi, subtype); in onUserActionLocked() 534 mController = ControllerImpl.createFrom(mController, in resetCircularListLocked() 540 if (mController == null) { in getNextInputMethodLocked() 546 return mController.getNextInputMethod(onlyCurrentIme, imi, subtype); in getNextInputMethodLocked() 556 if (mController != null) { in dump() 557 mController.dump(pw); in dump()
|
/frameworks/base/media/java/android/media/session/ |
D | MediaController.java | 902 private final WeakReference<MediaController> mController; field in MediaController.CallbackStub 905 mController = new WeakReference<MediaController>(controller); in CallbackStub() 910 MediaController controller = mController.get(); in onSessionDestroyed() 918 MediaController controller = mController.get(); in onEvent() 926 MediaController controller = mController.get(); in onPlaybackStateChanged() 934 MediaController controller = mController.get(); in onMetadataChanged() 944 MediaController controller = mController.get(); in onQueueChanged() 952 MediaController controller = mController.get(); in onQueueTitleChanged() 960 MediaController controller = mController.get(); in onExtrasChanged() 968 MediaController controller = mController.get(); in onVolumeInfoChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserSwitcherController.java | 448 final UserSwitcherController mController; field in UserSwitcherController.BaseUserAdapter 451 mController = controller; in BaseUserAdapter() 457 boolean secureKeyguardShowing = mController.mKeyguardMonitor.isShowing() in getCount() 458 && mController.mKeyguardMonitor.isSecure() in getCount() 459 && !mController.mKeyguardMonitor.canSkipBouncer(); in getCount() 461 return mController.mUsers.size(); in getCount() 464 final int N = mController.mUsers.size(); in getCount() 467 if (mController.mUsers.get(i).isRestricted) { in getCount() 478 return mController.mUsers.get(position); in getItem() 487 mController.switchTo(record); in switchTo() [all …]
|