Home
last modified time | relevance | path

Searched refs:listener (Results 1 – 9 of 9) sorted by relevance

/gdk/samples/PhotoEditor/src/com/android/photoeditor/actions/
DRotateView.java56 private OnRotateChangeListener listener; field in RotateView
123 public void setOnAngleChangeListener(OnRotateChangeListener listener) { in setOnAngleChangeListener() argument
124 this.listener = listener; in setOnAngleChangeListener()
185 if (listener != null) { in onTouchEvent()
186 listener.onStartTrackingTouch(); in onTouchEvent()
208 if (listener != null) { in onTouchEvent()
209 listener.onStopTrackingTouch(); in onTouchEvent()
218 if (listener != null) { in notifyAngleChange()
219 listener.onAngleChanged(-currentRotatedAngle * RADIAN_TO_DEGREE, fromUser); in notifyAngleChange()
DDoodleView.java46 private OnDoodleChangeListener listener; field in DoodleView
55 public void setOnDoodleChangeListener(OnDoodleChangeListener listener) { in setOnDoodleChangeListener() argument
56 this.listener = listener; in setOnDoodleChangeListener()
85 if (listener != null) { in pathUpdated()
86 listener.onLastPathChanged(path); in pathUpdated()
DTouchView.java105 public void setSwipeListener(SwipeListener listener) { in setSwipeListener() argument
106 swipeListener = listener; in setSwipeListener()
109 public void setSingleTapListener(SingleTapListener listener) { in setSingleTapListener() argument
110 singleTapListener = listener; in setSingleTapListener()
DFilterAction.java57 private FilterActionListener listener; field in FilterAction
90 public void begin(FilterActionListener listener) { in begin() argument
91 this.listener = listener; in begin()
149 listener.onDone(); in finish()
150 listener = null; in finish()
DScaleWheel.java66 private OnScaleChangeListener listener; field in ScaleWheel
93 public void setOnScaleChangeListener(OnScaleChangeListener listener) { in setOnScaleChangeListener() argument
94 this.listener = listener; in setOnScaleChangeListener()
202 if (listener != null) { in updateProgress()
203 listener.onProgressChanged((float) progress / maxProgress, fromUser); in updateProgress()
DColorWheel.java77 private OnColorChangeListener listener; field in ColorWheel
117 public void setOnColorChangeListener(OnColorChangeListener listener) { in setOnColorChangeListener() argument
118 this.listener = listener; in setOnColorChangeListener()
302 if (listener != null) { in updateColorIndex()
303 listener.onColorChanged(colorsDefined[colorIndex], fromUser); in updateColorIndex()
DCropView.java80 private OnCropChangeListener listener; field in CropView
111 public void setOnCropChangeListener(OnCropChangeListener listener) { in setOnCropChangeListener() argument
112 this.listener = listener; in setOnCropChangeListener()
116 if (listener != null) { in notifyCropChange()
117 listener.onCropChanged(cropBounds, fromUser); in notifyCropChange()
/gdk/samples/PhotoEditor/src/com/android/photoeditor/
DActionBar.java81 public void initialize(final ActionBarListener listener) { in initialize() argument
88 listener.onSave(); in initialize()
99 listener.onUndo(); in initialize()
110 listener.onRedo(); in initialize()
122 listener.onQuickview(true); in initialize()
134 listener.onQuickview(false); in initialize()
DFilterStack.java254 public synchronized void setStackListener(StackListener listener) { in setStackListener() argument
255 stackListener = listener; in setStackListener()