/packages/apps/DevCamera/src/com/android/devcamera/ |
D | LoggingCallbacks.java | 65 public void onConfigured(CameraCaptureSession session) { in onConfigured() argument 67 Log.v(TAG, "Capture session callback onConfigured("+session+")"); in onConfigured() 72 public void onConfigureFailed(CameraCaptureSession session) { in onConfigureFailed() argument 73 Log.v(TAG, "Capture session callback onConfigureFailed("+session+")"); in onConfigureFailed() 74 super.onReady(session); in onConfigureFailed() 78 public void onReady(CameraCaptureSession session) { in onReady() argument 80 Log.v(TAG, "Capture session callback onReady("+session+")"); in onReady() 82 super.onReady(session); in onReady() 86 public void onActive(CameraCaptureSession session) { in onActive() argument 88 Log.v(TAG, "Capture session callback onActive("+session+")"); in onActive() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionary.java | 276 final DicTraverseSession session = getTraverseSession(sessionId); in getSuggestions() local 277 Arrays.fill(session.mInputCodePoints, Constants.NOT_A_CODE); in getSuggestions() 278 ngramContext.outputToArray(session.mPrevWordCodePointArrays, in getSuggestions() 279 session.mIsBeginningOfSentenceArray); in getSuggestions() 286 session.mInputCodePoints); in getSuggestions() 293 session.mNativeSuggestOptions.setUseFullEditDistance(mUseFullEditDistance); in getSuggestions() 294 session.mNativeSuggestOptions.setIsGesture(isGesture); in getSuggestions() 295 session.mNativeSuggestOptions.setBlockOffensiveWords( in getSuggestions() 297 session.mNativeSuggestOptions.setWeightForLocale(weightForLocale); in getSuggestions() 299 session.mInputOutputWeightOfLangModelVsSpatialModel[0] = in getSuggestions() [all …]
|
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
D | CameraCaptureSessionProxy.java | 40 public void onCaptureCompleted(CameraCaptureSessionProxy session, CaptureRequest request, in onCaptureCompleted() argument 43 public void onCaptureFailed(CameraCaptureSessionProxy session, CaptureRequest request, in onCaptureFailed() argument 46 public void onCaptureProgressed(CameraCaptureSessionProxy session, CaptureRequest request, in onCaptureProgressed() argument 49 public void onCaptureSequenceAborted(CameraCaptureSessionProxy session, int sequenceId); in onCaptureSequenceAborted() argument 51 public void onCaptureSequenceCompleted(CameraCaptureSessionProxy session, int sequenceId, in onCaptureSequenceCompleted() argument 54 public void onCaptureStarted(CameraCaptureSessionProxy session, CaptureRequest request, in onCaptureStarted() argument 59 public void onActive(CameraCaptureSessionProxy session); in onActive() argument 61 public void onClosed(CameraCaptureSessionProxy session); in onClosed() argument 63 public void onConfigureFailed(CameraCaptureSessionProxy session); in onConfigureFailed() argument 65 public void onConfigured(CameraCaptureSessionProxy session); in onConfigured() argument [all …]
|
D | AndroidCameraDeviceProxy.java | 43 public void onConfigured(CameraCaptureSession session) { in onConfigured() argument 44 mStateCallback.onConfigured(new AndroidCameraCaptureSessionProxy(session)); in onConfigured() 48 public void onConfigureFailed(CameraCaptureSession session) { in onConfigureFailed() argument 49 mStateCallback.onConfigureFailed(new AndroidCameraCaptureSessionProxy(session)); in onConfigureFailed() 53 public void onReady(CameraCaptureSession session) { in onReady() argument 54 mStateCallback.onReady(new AndroidCameraCaptureSessionProxy(session)); in onReady() 58 public void onActive(CameraCaptureSession session) { in onActive() argument 59 mStateCallback.onActive(new AndroidCameraCaptureSessionProxy(session)); in onActive() 63 public void onClosed(CameraCaptureSession session) { in onClosed() argument 64 mStateCallback.onClosed(new AndroidCameraCaptureSessionProxy(session)); in onClosed()
|
D | AndroidCameraCaptureSessionProxy.java | 42 public void onCaptureStarted(CameraCaptureSession session, CaptureRequest request, in onCaptureStarted() argument 49 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, in onCaptureProgressed() argument 56 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in onCaptureCompleted() argument 62 public void onCaptureFailed(CameraCaptureSession session, CaptureRequest request, in onCaptureFailed() argument 68 public void onCaptureSequenceCompleted(CameraCaptureSession session, int sequenceId, in onCaptureSequenceCompleted() argument 75 public void onCaptureSequenceAborted(CameraCaptureSession session, int sequenceId) { in onCaptureSequenceAborted() argument 82 public AndroidCameraCaptureSessionProxy(CameraCaptureSession session) { in AndroidCameraCaptureSessionProxy() argument 83 mSession = session; in AndroidCameraCaptureSessionProxy()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
D | ConvergedImageCaptureCommand.java | 119 try (FrameServer.Session session = mFrameServer.createExclusiveSession()) { in run() argument 122 waitForAFConvergence(session); in run() 125 waitForAEConvergence(session); in run() 127 captureBurst(session, imageStream, imageExposureUpdatable, imageSaver); in run() 133 resetRepeating(session); in run() 140 private void waitForAFConvergence(FrameServer.Session session) throws CameraAccessException, in waitForAFConvergence() argument 153 session.submitRequest(Arrays.asList(idleBuilder.build()), in waitForAFConvergence() 156 session.submitRequest(Arrays.asList(triggerBuilder.build()), in waitForAFConvergence() 163 private void waitForAEConvergence(FrameServer.Session session) throws CameraAccessException, in waitForAEConvergence() argument 176 session.submitRequest(Arrays.asList(idleBuilder.build()), in waitForAEConvergence() [all …]
|
D | PictureTakerImpl.java | 30 import com.android.camera.session.CaptureSession; 54 CaptureSession session) { in PictureTakerCommand() argument 57 mSession = session; in PictureTakerCommand() 80 public void takePicture(OneCamera.PhotoCaptureParameters params, final CaptureSession session) { in takePicture() argument 94 session); in takePicture() 97 imageExposureCallback, imageSaver, session)); in takePicture()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
D | CaptureSessionCreator.java | 60 public void onActive(CameraCaptureSessionProxy session) { in createCaptureSession() 65 public void onConfigureFailed(CameraCaptureSessionProxy session) { in createCaptureSession() 67 session.close(); in createCaptureSession() 71 public void onConfigured(CameraCaptureSessionProxy session) { in createCaptureSession() 72 boolean valueSet = sessionFuture.set(session); in createCaptureSession() 76 session.close(); in createCaptureSession() 81 public void onReady(CameraCaptureSessionProxy session) { in createCaptureSession() 86 public void onClosed(CameraCaptureSessionProxy session) { in createCaptureSession() 88 session.close(); in createCaptureSession()
|
/packages/apps/Camera2/src/com/android/camera/session/ |
D | CaptureSessionManagerImpl.java | 17 package com.android.camera.session; 285 public void putSession(Uri sessionUri, CaptureSession session) { in putSession() argument 287 mSessions.put(sessionUri.toString(), session); in putSession() local 355 CaptureSession session = mSessions.get(sessionUri); in fillTemporarySession() 356 listener.onSessionQueued(session.getUri()); in fillTemporarySession() 357 listener.onSessionProgress(session.getUri(), session.getProgress()); in fillTemporarySession() 358 listener.onSessionProgressText(session.getUri(), in fillTemporarySession() 359 session.getProgressMessageId()); in fillTemporarySession() 372 CaptureSession session; in finalizeSession() local 374 session = removeSession(uri); in finalizeSession() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | PackageInstallerCompatVL.java | 108 SessionInfo session = mInstaller.getSessionInfo(sessionId); 109 if (session != null && session.getAppPackageName() != null) { 110 sendUpdate(new PackageInstallInfo(session.getAppPackageName(), 112 (int) (session.getProgress() * 100))); 125 SessionInfo session = mInstaller.getSessionInfo(sessionId); 126 if (session != null && session.getAppPackageName() != null) { 127 addSessionInfoToCahce(session, UserHandleCompat.myUserHandle()); 131 app.getModel().updateSessionDisplayInfo(session.getAppPackageName());
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/ |
D | BaseTunerTvInputService.java | 84 final TunerSession session = new TunerSession( in onCreateSession() local 86 mTunerSessions.add(session); in onCreateSession() 87 session.setAudioCapabilities(mAudioCapabilities); in onCreateSession() 88 session.setOverlayViewEnabled(true); in onCreateSession() 89 return session; in onCreateSession() 95 for (TunerSession session : mTunerSessions) { in onAudioCapabilitiesChanged() 96 if (!session.isReleased()) { in onAudioCapabilitiesChanged() 97 session.setAudioCapabilities(audioCapabilities); in onAudioCapabilitiesChanged()
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | CameraServicesImpl.java | 25 import com.android.camera.session.CaptureSessionFactory; 26 import com.android.camera.session.CaptureSessionFactoryImpl; 27 import com.android.camera.session.CaptureSessionManager; 28 import com.android.camera.session.CaptureSessionManagerImpl; 29 import com.android.camera.session.PlaceholderManager; 30 import com.android.camera.session.SessionStorageManager; 31 import com.android.camera.session.SessionStorageManagerImpl; 32 import com.android.camera.session.StackSaverFactory;
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | OneCameraImpl.java | 62 import com.android.camera.session.CaptureSession; 92 final CaptureSession session; field in OneCameraImpl.InFlightCapture 97 CaptureSession session) { in InFlightCapture() argument 99 this.session = session; in InFlightCapture() 205 public void onCaptureStarted(CameraCaptureSession session, 217 public void onCaptureProgressed(CameraCaptureSession session, 220 super.onCaptureProgressed(session, request, partialResult); 224 public void onCaptureCompleted(CameraCaptureSession session, 257 super.onCaptureCompleted(session, request, result); 350 public void takePicture(final PhotoCaptureParameters params, final CaptureSession session) { in takePicture() argument [all …]
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
D | ResourceCaptureToolsImpl.java | 29 import com.android.camera.session.CaptureSession; 30 import com.android.camera.session.CaptureSessionManager; 31 import com.android.camera.session.CaptureSessionManagerImpl; 32 import com.android.camera.session.SessionStorageManagerImpl; 172 final CaptureSession session = in takePictureNow() local 174 session.startEmpty(null, openedCamera.getPictureSize()); in takePictureNow() 179 session.getCollector().decorateAtTimeCaptureRequest( in takePictureNow() 181 session.getTitle() + ".jpg", in takePictureNow() 194 session.getTitle(), in takePictureNow() 196 session.getLocation(), in takePictureNow() [all …]
|
/packages/apps/Camera2/src/com/android/camera/processing/ |
D | ProcessingService.java | 35 import com.android.camera.session.CaptureSession; 36 import com.android.camera.session.CaptureSession.ProgressListener; 37 import com.android.camera.session.CaptureSessionManager; 222 CaptureSession session = task.getSession(); in processAndNotify() local 226 if (session == null) { in processAndNotify() 228 session = mSessionManager.createNewSession(task.getName(), 0, task.getLocation()); in processAndNotify() 234 session.addProgressListener(this); in processAndNotify() 238 task.process(this, getServices(), session); in processAndNotify()
|
D | ProcessingTask.java | 23 import com.android.camera.session.CaptureSession; 40 public ProcessingResult(boolean success, CaptureSession session) { in ProcessingResult() argument 42 mSession = session; in ProcessingResult() 68 CaptureSession session); in process() argument
|
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/ |
D | FullAFScanCommand.java | 64 FrameServer.Session session = mFrameServer.tryCreateExclusiveSession(); in run() local 65 if (session == null) { in run() 76 session.submitRequest(Arrays.asList(idleBuilder.build()), in run() 88 session.submitRequest(Arrays.asList(cancelBuilder.build()), in run() 93 session.submitRequest(Arrays.asList(idleBuilder.build()), in run() 98 session.submitRequest(Arrays.asList(triggerBuilder.build()), in run() 107 session.close(); in run()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/ |
D | JpegImageBackendImageSaver.java | 37 import com.android.camera.session.CaptureSession; 65 public ImageSaverImpl(CaptureSession session, in ImageSaverImpl() argument 68 mSession = session; in ImageSaverImpl() 105 CaptureSession session, in JpegImageProcessorListener() argument 109 mSession = session; in JpegImageProcessorListener() 205 @Nonnull CaptureSession session) { in build() argument 212 proxyListener, session, imageRotation, pictureSaverCallback); in build() 213 return new MostRecentImageSaver(new ImageSaverImpl(session, in build()
|
D | YuvImageBackendImageSaver.java | 34 import com.android.camera.session.CaptureSession; 65 public ImageSaverImpl(CaptureSession session, in ImageSaverImpl() argument 68 mSession = session; in ImageSaverImpl() 104 private YuvImageProcessorListener(CaptureSession session, in YuvImageProcessorListener() argument 107 mSession = session; in YuvImageProcessorListener() 214 @Nonnull CaptureSession session) { in build() argument 219 session, imageRotation, pictureSaverCallback); in build() 220 return new MostRecentImageSaver(new ImageSaverImpl(session, imageRotation, in build()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | HeadsetMediaButton.java | 22 import android.media.session.MediaSession; 66 MediaSession session = new MediaSession( 69 session.setCallback(mSessionCallback); 70 session.setFlags(MediaSession.FLAG_EXCLUSIVE_GLOBAL_PRIORITY 72 session.setPlaybackToLocal(AUDIO_ATTRIBUTES); 73 mSession = session;
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
D | TagDispatchCaptureSession.java | 57 public void onCaptureStarted(CameraCaptureSessionProxy session, CaptureRequest request, in onCaptureStarted() argument 64 public void onCaptureProgressed(CameraCaptureSessionProxy session, CaptureRequest request, in onCaptureProgressed() argument 71 public void onCaptureCompleted(CameraCaptureSessionProxy session, CaptureRequest request, in onCaptureCompleted() argument 78 public void onCaptureFailed(CameraCaptureSessionProxy session, CaptureRequest request, in onCaptureFailed() argument 85 public void onCaptureSequenceAborted(CameraCaptureSessionProxy session, int sequenceId) { in onCaptureSequenceAborted() argument 92 public void onCaptureSequenceCompleted(CameraCaptureSessionProxy session, int sequenceId, in onCaptureSequenceCompleted() argument
|
D | ObservableFrameServer.java | 91 Session session = mDelegate.createExclusiveSession(); in createExclusiveSession() local 92 return new SessionImpl(session); in createExclusiveSession() 105 Session session = mDelegate.tryCreateExclusiveSession(); in tryCreateExclusiveSession() local 106 if (session == null) { in tryCreateExclusiveSession() 111 return new SessionImpl(session); in tryCreateExclusiveSession()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/ |
D | CaptureIntentSessionFactory.java | 21 import com.android.camera.session.CaptureSession; 22 import com.android.camera.session.CaptureSessionFactory; 23 import com.android.camera.session.CaptureSessionManager; 24 import com.android.camera.session.SessionNotifier;
|
D | CaptureIntentSession.java | 25 import com.android.camera.session.CaptureSession; 26 import com.android.camera.session.CaptureSessionManager; 27 import com.android.camera.session.SessionNotifier; 28 import com.android.camera.session.StackSaver; 29 import com.android.camera.session.TemporarySessionFile;
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | ImageBackend.java | 26 import com.android.camera.session.CaptureSession; 483 Set<ImageTaskFlags> processingFlags, CaptureSession session, in receiveImage() argument 504 tasksToExecute.add(new TaskPreviewChainedJpeg(img, executor, this, session, in receiveImage() 509 tasksToExecute.add(new TaskCompressImageToJpeg(img, executor, this, session, in receiveImage() 517 this, TaskImageContainer.ProcessingPriority.FAST, session, in receiveImage() 556 CaptureSession session, Size targetSize, in createTaskConvertImageToRGBPreview() argument 559 TaskImageContainer.ProcessingPriority.FAST, session, in createTaskConvertImageToRGBPreview() 564 Executor executor, ImageBackend imageBackend, CaptureSession session) { in createTaskCompressImageToJpeg() argument 565 return new TaskCompressImageToJpeg(image, executor, imageBackend, session, in createTaskCompressImageToJpeg()
|