Home
last modified time | relevance | path

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

/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
DPaneTracker.java50 for (PaneSetChangedListener<?> listener : mActiveListeners) { in addPane()
51 if (listener.getFilterType().isInstance(pane)) { in addPane()
52 listener.onPaneAdded(pane); in addPane()
60 for (PaneSetChangedListener<?> listener : mActiveListeners) { in removePane()
61 if (listener.getFilterType().isInstance(pane)) { in removePane()
62 listener.onPaneRemoved(pane); in removePane()
99 public void addPaneListener(PaneSetChangedListener<?> listener) { in addPaneListener() argument
100 mActiveListeners.add(listener); in addPaneListener()
103 public void removePaneListener(PaneSetChangedListener<?> listener) { in removePaneListener() argument
104 mActiveListeners.remove(listener); in removePaneListener()
DCameraOps2.java74 public String[] getCamerasAndListen(CameraManager.AvailabilityCallback listener) in getCamerasAndListen() argument
77 mCameraManager.registerAvailabilityCallback(listener, /*handler*/null); in getCamerasAndListen()
82 public void removeAvailabilityCallback(CameraManager.AvailabilityCallback listener) { in removeAvailabilityCallback() argument
83 mCameraManager.unregisterAvailabilityCallback(listener); in removeAvailabilityCallback()
105 public boolean openCamera(String cameraId, CameraDevice.StateCallback listener) { in openCamera() argument
117 mDelayedOpenListener = listener; in openCamera()
124 return doOpenCamera(cameraId, listener); in openCamera()
127 private boolean doOpenCamera(String cameraId, CameraDevice.StateCallback listener) { in doOpenCamera() argument
129 DeviceStateCallback proxyListener = new DeviceStateCallback(listener); in doOpenCamera()
DUtilControlPane.java34 public UtilControlPane(TestingCamera21 tc, AttributeSet attrs, StatusListener listener) { in UtilControlPane() argument
35 super(tc, attrs, listener, tc.getPaneTracker()); in UtilControlPane()
40 public UtilControlPane(TestingCamera21 tc, XmlPullParser configParser, StatusListener listener) in UtilControlPane() argument
42 super(tc, null, listener, tc.getPaneTracker()); in UtilControlPane()
DBurstControlPane.java35 public BurstControlPane(TestingCamera21 tc, AttributeSet attrs, StatusListener listener) { in BurstControlPane() argument
36 super(tc, attrs, listener, tc.getPaneTracker()); in BurstControlPane()
41 public BurstControlPane(TestingCamera21 tc, XmlPullParser configParser, StatusListener listener) in BurstControlPane() argument
43 super(tc, null, listener, tc.getPaneTracker()); in BurstControlPane()
DTargetControlPane.java97 public TargetControlPane(TestingCamera21 tc, AttributeSet attrs, StatusListener listener) { in TargetControlPane() argument
98 super(tc, attrs, listener, tc.getPaneTracker()); in TargetControlPane()
105 … public TargetControlPane(TestingCamera21 tc, XmlPullParser configParser, StatusListener listener) in TargetControlPane() argument
107 super(tc, null, listener, tc.getPaneTracker()); in TargetControlPane()
DRequestControlPane.java93 public RequestControlPane(TestingCamera21 tc, AttributeSet attrs, StatusListener listener) { in RequestControlPane() argument
94 super(tc, attrs, listener, tc.getPaneTracker()); in RequestControlPane()
101 StatusListener listener) throws XmlPullParserException, IOException { in RequestControlPane() argument
102 super(tc, null, listener, tc.getPaneTracker()); in RequestControlPane()
DControlPane.java75 public ControlPane(Context context, AttributeSet attrs, StatusListener listener, in ControlPane() argument
78 mStatusListener = listener; in ControlPane()
DCameraControlPane.java164 public CameraControlPane(TestingCamera21 tc, AttributeSet attrs, StatusListener listener) { in CameraControlPane() argument
166 super(tc, attrs, listener, tc.getPaneTracker()); in CameraControlPane()
177 … public CameraControlPane(TestingCamera21 tc, XmlPullParser configParser, StatusListener listener) in CameraControlPane() argument
179 super(tc, null, listener, tc.getPaneTracker()); in CameraControlPane()
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/
DCameraOps.java122 private CameraOps(Context ctx, Listener listener, Handler handler) throws ApiFailureException { in CameraOps() argument
136 mListener = listener; in CameraOps()
140 static public CameraOps create(Context ctx, Listener listener, Handler handler) in create() argument
142 return new CameraOps(ctx, listener, handler); in create()
154 public void registerCameraListener(CameraManager.AvailabilityCallback listener) in registerCameraListener() argument
157 mCameraManager.registerAvailabilityCallback(listener, mOpsHandler); in registerCameraListener()
416 SimpleImageListener(final CaptureCallback listener) { in SimpleImageListener() argument
417 mListener = listener; in SimpleImageListener()
443 public void minimalStillCapture(final CaptureCallback listener, CaptureResultListener l, in minimalStillCapture() argument
486 SimpleImageListener readerListener = new SimpleImageListener(listener); in minimalStillCapture()
/pdk/apps/TestingCamera/src/com/android/testingcamera/
DTestingCamera.java1611 final MediaScannerConnection.OnScanCompletedListener listener) { in notifyMediaScannerOfFile() argument
1624 if (listener != null) in notifyMediaScannerOfFile()
1625 listener.onScanCompleted(path, uri); in notifyMediaScannerOfFile()