Searched refs:MediaProjectionConfig (Results 1 – 9 of 9) sorted by relevance
49 public final class MediaProjectionConfig implements Parcelable { class90 private MediaProjectionConfig() { in MediaProjectionConfig() method in MediaProjectionConfig96 private MediaProjectionConfig(@CaptureRegion int captureRegion) { in MediaProjectionConfig() method in MediaProjectionConfig104 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 MediaProjectionConfig256 public static final @NonNull Parcelable.Creator<MediaProjectionConfig> CREATOR[all …]
19 parcelable MediaProjectionConfig;
181 public Intent createScreenCaptureIntent(@NonNull MediaProjectionConfig config) { in createScreenCaptureIntent()
19 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()
60 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()
20 import android.media.projection.MediaProjectionConfig29 mediaProjectionConfig: MediaProjectionConfig?,69 mediaProjectionConfig: MediaProjectionConfig?, in createOptionList()93 MediaProjectionConfig.CAPTURE_REGION_FIXED_DISPLAY in createOptionList()
46 import android.media.projection.MediaProjectionConfig;417 private MediaProjectionConfig getMediaProjectionConfig() { in getMediaProjectionConfig()
20 import android.media.projection.MediaProjectionConfig53 private val mediaProjectionConfig: MediaProjectionConfig =54 MediaProjectionConfig.createConfigForDefaultDisplay()
26574 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);