Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/projection/
DMediaProjectionConfig.java49 public final class MediaProjectionConfig implements Parcelable { class
90 private MediaProjectionConfig() { in MediaProjectionConfig() method in MediaProjectionConfig
96 private MediaProjectionConfig(@CaptureRegion int captureRegion) { in MediaProjectionConfig() method in MediaProjectionConfig
104 public static MediaProjectionConfig createConfigForDefaultDisplay() { in createConfigForDefaultDisplay()
105 MediaProjectionConfig config = new MediaProjectionConfig(CAPTURE_REGION_FIXED_DISPLAY); in createConfigForDefaultDisplay()
123 public static MediaProjectionConfig createConfigForUserChoice() { in createConfigForUserChoice()
124 return new MediaProjectionConfig(CAPTURE_REGION_USER_CHOICE); in createConfigForUserChoice()
200 MediaProjectionConfig that = (MediaProjectionConfig) o; in equals()
236 /* package-private */ MediaProjectionConfig(@NonNull android.os.Parcel in) { in MediaProjectionConfig() method in MediaProjectionConfig
256 public static final @NonNull Parcelable.Creator<MediaProjectionConfig> CREATOR
[all …]
DMediaProjectionConfig.aidl19 parcelable MediaProjectionConfig;
DMediaProjectionManager.java181 public Intent createScreenCaptureIntent(@NonNull MediaProjectionConfig config) { in createScreenCaptureIntent()
/frameworks/base/media/tests/projection/src/android/media/projection/
DMediaProjectionConfigTest.java19 import static android.media.projection.MediaProjectionConfig.CAPTURE_REGION_FIXED_DISPLAY;
20 import static android.media.projection.MediaProjectionConfig.CAPTURE_REGION_USER_CHOICE;
44 private static final MediaProjectionConfig DISPLAY_CONFIG =
45 MediaProjectionConfig.createConfigForDefaultDisplay();
46 private static final MediaProjectionConfig USERS_CHOICE_CONFIG =
47 MediaProjectionConfig.createConfigForUserChoice();
54 MediaProjectionConfig config = MediaProjectionConfig.CREATOR.createFromParcel(parcel); in testParcelable()
72 assertThat(MediaProjectionConfig.createConfigForUserChoice()).isEqualTo( in testEquals()
75 assertThat(MediaProjectionConfig.createConfigForDefaultDisplay()).isEqualTo( in testEquals()
DMediaProjectionManagerTest.java60 private static final MediaProjectionConfig DISPLAY_CONFIG =
61 MediaProjectionConfig.createConfigForDefaultDisplay();
62 private static final MediaProjectionConfig USERS_CHOICE_CONFIG =
63 MediaProjectionConfig.createConfigForUserChoice();
101 MediaProjectionConfig.class)).isEqualTo(DISPLAY_CONFIG); in testCreateScreenCaptureIntent_display()
114 MediaProjectionConfig.class)).isEqualTo(USERS_CHOICE_CONFIG); in testCreateScreenCaptureIntent_usersChoice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/permission/
DMediaProjectionPermissionDialogDelegate.kt20 import android.media.projection.MediaProjectionConfig
29 mediaProjectionConfig: MediaProjectionConfig?,
69 mediaProjectionConfig: MediaProjectionConfig?, in createOptionList()
93 MediaProjectionConfig.CAPTURE_REGION_FIXED_DISPLAY in createOptionList()
DMediaProjectionPermissionActivity.java46 import android.media.projection.MediaProjectionConfig;
417 private MediaProjectionConfig getMediaProjectionConfig() { in getMediaProjectionConfig()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/permission/
DMediaProjectionPermissionDialogDelegateTest.kt20 import android.media.projection.MediaProjectionConfig
53 private val mediaProjectionConfig: MediaProjectionConfig =
54 MediaProjectionConfig.createConfigForDefaultDisplay()
/frameworks/base/core/api/
Dcurrent.txt26574 public final class MediaProjectionConfig implements android.os.Parcelable {
26575 …method @NonNull public static android.media.projection.MediaProjectionConfig createConfigForDefaul…
26576 …method @NonNull public static android.media.projection.MediaProjectionConfig createConfigForUserCh…
26579 …static final android.os.Parcelable.Creator<android.media.projection.MediaProjectionConfig> CREATOR;
26584 ….content.Intent createScreenCaptureIntent(@NonNull android.media.projection.MediaProjectionConfig);