/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/ |
D | TextWatcherWrapper.java | 29 private final OnTextChangedListener mListener; field in TextWatcherWrapper 33 mListener = listener; in TextWatcherWrapper() 48 mListener.onTextChanged(mId, s.toString()); in afterTextChanged()
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
D | TriggerSensors.java | 71 private TriggerListener mListener; field in TriggerSensors 77 if (mSigMotion != null && mSensorManager.requestTriggerSensor(mListener, mSigMotion)) in onResume() 86 if (mSigMotion != null) mSensorManager.cancelTriggerSensor(mListener, mSigMotion); in onPause() 102 mListener = new TriggerListener(this, mTextView); in onCreate() 110 if (mSigMotion != null) mSensorManager.cancelTriggerSensor(mListener, mSigMotion); in onStop()
|
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
D | ItemAddFragment.java | 40 private OnItemAddedListener mListener; field in ItemAddFragment 48 mListener = (OnItemAddedListener) (parentFragment == null ? context : parentFragment); in onAttach() 53 mListener = null; in onDetach() 94 if (mListener != null) { in addItem() 95 mListener.onItemAdded(key, value); in addItem()
|
D | StatusFragment.java | 43 private StatusUpdatedListener mListener; field in StatusFragment 61 mListener = (StatusUpdatedListener) activity; in onAttach() 66 mListener = null; in onDetach() 107 mListener.onStatusUpdated(); in updateUi() 137 mListener.onStatusUpdated(); in unhideApp()
|
/development/samples/devbytes/animation/SlidingFragments/src/com/example/android/slidingfragments/ |
D | TextFragment.java | 31 OnTextFragmentAnimationEndListener mListener; field in TextFragment 53 mListener.onAnimationEnd(); in onCreateAnimator() 62 mListener = listener; in setOnTextFragmentAnimationEnd()
|
/development/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/ |
D | PlanetAdapter.java | 32 private OnItemClickListener mListener; field in PlanetAdapter 55 mListener = listener; in PlanetAdapter() 72 mListener.onClick(view, position); in onBindViewHolder()
|
/development/samples/ControllerSample/src/com/example/inputmanagercompat/ |
D | InputManagerV9.java | 148 private InputDeviceListener mListener; field in InputManagerV9.DeviceEvent 162 curChanged.mListener = listener; in getDeviceEvent() 170 mListener.onInputDeviceAdded(mId); in run() 173 mListener.onInputDeviceChanged(mId); in run() 176 mListener.onInputDeviceRemoved(mId); in run()
|
/development/samples/CrossCompatibility/src/com/example/android/touchexample/ |
D | VersionedGestureDetector.java | 27 OnGestureListener mListener; field in VersionedGestureDetector 42 detector.mListener = listener; in newInstance() 83 mListener.onDrag(x - mLastTouchX, y - mLastTouchY); in onTouchEvent() 148 mListener.onScale(detector.getScaleFactor()); in FroyoDetector()
|
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/ |
D | UIAnimation.java | 43 private UIStateListener mListener; field in UIAnimation 52 mListener = listener; in UIAnimation() 129 if (mListener != null) { in zoomImageFromThumb() 131 mListener.onUIStateChanged(mState); in zoomImageFromThumb() 172 if (mListener != null) { in zoomImageFromThumb() 174 mListener.onUIStateChanged(mState); in zoomImageFromThumb()
|
D | SoundRecorder.java | 56 private OnVoicePlaybackStateChangedListener mListener; field in SoundRecorder 67 mListener = listener; in SoundRecorder() 165 if (mListener != null) { in startPlay() 169 mListener.onPlaybackStopped(); in startPlay() 236 if (mListener != null) { in startPlay() 237 mListener.onPlaybackStopped(); in startPlay()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | ColorPickerDialog.java | 32 private OnColorChangedListener mListener; field in ColorPickerDialog 39 private OnColorChangedListener mListener; field in ColorPickerDialog.ColorPickerView 43 mListener = l; in ColorPickerView() 200 mListener.colorChanged(mCenterPaint.getColor()); in onTouchEvent() 216 mListener = listener; in ColorPickerDialog() 225 mListener.colorChanged(color); in onCreate()
|
D | Compass.java | 38 private final SensorEventListener mListener = new SensorEventListener() { field in Compass 67 mSensorManager.registerListener(mListener, mSensor, in onResume() 75 mSensorManager.unregisterListener(mListener); in onStop()
|
D | SensorTest.java | 78 private final SensorEventListener mListener = new SensorEventListener() { field in SensorTest 150 mSensorManager.registerListener(mListener, mSensor, SensorManager.SENSOR_DELAY_FASTEST); in onResume() 156 mSensorManager.unregisterListener(mListener); in onStop()
|
/development/apps/PushApiTestAppOne/src/com/example/android/pushapithirdpartyone/ |
D | MainActivity.java | 47 private static OnAccountsUpdateListener mListener; field in MainActivity 54 mListener = new OnAccountsUpdateListener() { in onCreate() 65 am.addOnAccountsUpdatedListener(mListener, null, false, in onCreate() 110 am.removeOnAccountsUpdatedListener(mListener); in onDestroy()
|
/development/apps/PushApiTestAppTwo/src/com/example/android/pushapithirdpartytwo/ |
D | MainActivity.java | 47 private static OnAccountsUpdateListener mListener; field in MainActivity 54 mListener = new OnAccountsUpdateListener() { in onCreate() 65 am.addOnAccountsUpdatedListener(mListener, null, false, in onCreate() 110 am.removeOnAccountsUpdatedListener(mListener); in onDestroy()
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | OverlayDisplayWindow.java | 59 protected OverlayWindowListener mListener; field in OverlayDisplayWindow 80 mListener = listener; in setOverlayWindowListener() 150 mListener.onWindowCreated(holder); in show() 157 mListener.onWindowDestroyed(); in dismiss() 394 if (mListener != null) { 395 mListener.onWindowCreated(new Surface(surfaceTexture)); 401 if (mListener != null) { 402 mListener.onWindowDestroyed();
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
D | TitlesFragment.java | 48 OnItemSelectedListener mListener; field in TitlesFragment 65 mListener = (OnItemSelectedListener) activity; in onAttach() 161 mListener.onItemSelected(mCategory, position); in onListItemClick() 174 mListener.onItemSelected(mCategory, position); in selectPosition()
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/ |
D | BatchStepSensorFragment.java | 262 mListener, sensor, SensorManager.SENSOR_DELAY_NORMAL, maxdelay); in registerEventListener() 292 sensorManager.unregisterListener(mListener); in unregisterListeners() 315 private final SensorEventListener mListener = new SensorEventListener() { field in BatchStepSensorFragment
|