Home
last modified time | relevance | path

Searched refs:mListener (Results 1 – 25 of 28) sorted by relevance

12

/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/
DTextWatcherWrapper.java29 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/
DTriggerSensors.java71 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/
DItemAddFragment.java40 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()
DStatusFragment.java43 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/
DTextFragment.java31 OnTextFragmentAnimationEndListener mListener; field in TextFragment
53 mListener.onAnimationEnd(); in onCreateAnimator()
62 mListener = listener; in setOnTextFragmentAnimationEnd()
/development/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/
DPlanetAdapter.java32 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/
DInputManagerV9.java148 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/
DVersionedGestureDetector.java27 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/
DUIAnimation.java43 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()
DSoundRecorder.java56 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/
DColorPickerDialog.java32 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()
DCompass.java38 private final SensorEventListener mListener = new SensorEventListener() { field in Compass
67 mSensorManager.registerListener(mListener, mSensor, in onResume()
75 mSensorManager.unregisterListener(mListener); in onStop()
DSensorTest.java78 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/PushApiTestAppTwo/src/com/example/android/pushapithirdpartytwo/
DMainActivity.java47 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/PushApiTestAppOne/src/com/example/android/pushapithirdpartyone/
DMainActivity.java47 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/
DOverlayDisplayWindow.java59 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/
DTitlesFragment.java48 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/
DBatchStepSensorFragment.java262 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
/development/samples/training/ContactsList/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/ControllerSample/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/EffectiveNavigation/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/FragmentBasics/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/location-aware/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...

12