HomeSort by relevance Sort by last modified time
    Searched refs:MediaProjection (Results 1 - 12 of 12) sorted by null

  /cts/tests/tests/view/src/android/view/cts/surfacevalidator/
CapturedActivity.java 26 import android.media.projection.MediaProjection;
49 private MediaProjection mMediaProjection;
148 Log.d("MediaProjection", "Size is " + size.toString());
186 private class MediaProjectionCallback extends MediaProjection.Callback {
  /frameworks/base/services/core/java/com/android/server/media/projection/
MediaProjectionManagerService.java 49 * Manages MediaProjection sessions.
52 * as well as the capabilities they grant. Any service using MediaProjection tokens as permission
72 private MediaProjection mProjectionGrant;
108 private void startProjectionLocked(final MediaProjection projection) {
120 private void stopProjectionLocked(final MediaProjection projection) {
165 private void dispatchStart(MediaProjection projection) {
169 private void dispatchStop(MediaProjection projection) {
233 MediaProjection projection;
235 projection = new MediaProjection(type, uid, packageName);
340 private final class MediaProjection extends IMediaProjection.Stub
    [all...]
  /frameworks/base/media/java/android/media/projection/
MediaProjection.java 38 * MediaProjection.
46 public final class MediaProjection {
47 private static final String TAG = "MediaProjection";
54 public MediaProjection(Context context, IMediaProjection impl) {
66 * MediaProjection} changes state.
84 /** Unregister a MediaProjection listener.
175 * Called when the MediaProjection session is no longer valid.
177 * Once a MediaProjection has been stopped, it's up to the application to release any
MediaProjectionManager.java 35 * Manages the retrieval of certain types of {@link MediaProjection} tokens.
85 * Retrieve the MediaProjection obtained from a succesful screen
94 public MediaProjection getMediaProjection(int resultCode, @NonNull Intent resultData) {
102 return new MediaProjection(mContext, IMediaProjection.Stub.asInterface(projection));
106 * Get the {@link MediaProjectionInfo} for the active {@link MediaProjection}.
131 * Add a callback to monitor all of the {@link MediaProjection}s activity.
144 Log.e(TAG, "Unable to add callbacks to MediaProjection service", e);
149 * Remove a MediaProjection monitoring callback.
162 Log.e(TAG, "Unable to add callbacks to MediaProjection service", e);
  /development/samples/ApiDemos/src/com/example/android/apis/media/projection/
MediaProjectionDemo.java 27 import android.media.projection.MediaProjection;
63 private MediaProjection mMediaProjection;
186 private class MediaProjectionCallback extends MediaProjection.Callback {
  /developers/build/prebuilts/gradle/ScreenCapture/Application/src/main/java/com/example/android/screencapture/
ScreenCaptureFragment.java 24 import android.media.projection.MediaProjection;
58 private MediaProjection mMediaProjection;
  /developers/samples/android/media/ScreenCapture/Application/src/main/java/com/example/android/screencapture/
ScreenCaptureFragment.java 24 import android.media.projection.MediaProjection;
58 private MediaProjection mMediaProjection;
  /development/samples/browseable/ScreenCapture/src/com.example.android.screencapture/
ScreenCaptureFragment.java 24 import android.media.projection.MediaProjection;
58 private MediaProjection mMediaProjection;
  /frameworks/base/core/java/android/hardware/display/
DisplayManager.java 22 import android.media.projection.MediaProjection;
229 * Alternatively, an appropriate {@link MediaProjection} may be used to create an
534 public VirtualDisplay createVirtualDisplay(@Nullable MediaProjection projection,
DisplayManagerGlobal.java 22 import android.media.projection.MediaProjection;
365 public VirtualDisplay createVirtualDisplay(Context context, MediaProjection projection,
  /prebuilts/sdk/21/
android.jar 
  /prebuilts/sdk/system_23/
android.jar 

Completed in 791 milliseconds