Searched refs:isPixel2017 (Results 1 – 3 of 3) sorted by relevance
27 public static VideoSurfaceTexture createLocalVideoSurfaceTexture(boolean isPixel2017) { in createLocalVideoSurfaceTexture() argument28 return new VideoSurfaceTextureImpl(isPixel2017, VideoSurfaceTexture.SURFACE_TYPE_LOCAL); in createLocalVideoSurfaceTexture()31 public static VideoSurfaceTexture createRemoteVideoSurfaceTexture(boolean isPixel2017) { in createRemoteVideoSurfaceTexture() argument32 return new VideoSurfaceTextureImpl(isPixel2017, VideoSurfaceTexture.SURFACE_TYPE_REMOTE); in createRemoteVideoSurfaceTexture()
38 private final boolean isPixel2017; field in VideoSurfaceTextureImpl48 public VideoSurfaceTextureImpl(boolean isPixel2017, @SurfaceType int surfaceType) { in VideoSurfaceTextureImpl() argument49 this.isPixel2017 = isPixel2017; in VideoSurfaceTextureImpl()77 if (VERSION.SDK_INT == VERSION_CODES.O && isPixel2017) { in setSurfaceDimensions()
1877 boolean isPixel2017 = false; in getLocalVideoSurfaceTexture()1879 isPixel2017 = context.getPackageManager().hasSystemFeature(PIXEL2017_SYSTEM_FEATURE); in getLocalVideoSurfaceTexture()1881 localVideoSurfaceTexture = VideoSurfaceBindings.createLocalVideoSurfaceTexture(isPixel2017); in getLocalVideoSurfaceTexture()1888 boolean isPixel2017 = false; in getRemoteVideoSurfaceTexture()1890 isPixel2017 = context.getPackageManager().hasSystemFeature(PIXEL2017_SYSTEM_FEATURE); in getRemoteVideoSurfaceTexture()1892 remoteVideoSurfaceTexture = VideoSurfaceBindings.createRemoteVideoSurfaceTexture(isPixel2017); in getRemoteVideoSurfaceTexture()