/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/ |
D | VideoSurfaceTextureImpl.java | 41 private TextureView textureView; field in VideoSurfaceTextureImpl 103 public void attachToTextureView(TextureView textureView) { in attachToTextureView() argument 104 if (this.textureView == textureView) { in attachToTextureView() 109 if (this.textureView != null) { in attachToTextureView() 110 this.textureView.setOnClickListener(null); in attachToTextureView() 111 this.textureView.setSurfaceTextureListener(null); in attachToTextureView() 114 this.textureView = textureView; in attachToTextureView() 115 textureView.setSurfaceTextureListener(new SurfaceTextureListener()); in attachToTextureView() 116 textureView.setOnClickListener(new OnClickListener()); in attachToTextureView() 118 boolean areSameSurfaces = Objects.equals(savedSurfaceTexture, textureView.getSurfaceTexture()); in attachToTextureView() [all …]
|
D | VideoScale.java | 30 TextureView textureView, float videoWidth, float videoHeight, float rotationDegrees) { in scaleVideoAndFillView() argument 31 float viewWidth = textureView.getWidth(); in scaleVideoAndFillView() 32 float viewHeight = textureView.getHeight(); in scaleVideoAndFillView() 88 textureView.setTransform(transform); in scaleVideoAndFillView() 96 TextureView textureView, int videoWidth, int videoHeight) { in scaleVideoMaintainingAspectRatio() argument 97 int viewWidth = textureView.getWidth(); in scaleVideoMaintainingAspectRatio() 98 int viewHeight = textureView.getHeight(); in scaleVideoMaintainingAspectRatio() 143 textureView.setTransform(transform); in scaleVideoMaintainingAspectRatio()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
D | AnswerVideoCallScreen.java | 37 @NonNull private final TextureView textureView; field in AnswerVideoCallScreen 45 textureView = in AnswerVideoCallScreen() 55 textureView.setVisibility(View.VISIBLE); in AnswerVideoCallScreen() 63 delegate.getLocalVideoSurfaceTexture().attachToTextureView(textureView); in onVideoScreenStart() 116 if (textureView.getWidth() == 0 || textureView.getHeight() == 0) { in updatePreviewVideoScaling() 128 textureView, cameraDimensions.x, cameraDimensions.y, delegate.getDeviceOrientation()); in updatePreviewVideoScaling() 133 textureView, cameraDimensions.y, cameraDimensions.x, delegate.getDeviceOrientation()); in updatePreviewVideoScaling()
|
/packages/apps/Dialer/java/com/android/incallui/videosurface/bindings/ |
D | VideoSurfaceBindings.java | 36 TextureView textureView, float videoWidth, float videoHeight, float rotationDegrees) { in scaleVideoAndFillView() argument 37 VideoScale.scaleVideoAndFillView(textureView, videoWidth, videoHeight, rotationDegrees); in scaleVideoAndFillView() 41 TextureView textureView, int videoWidth, int videoHeight) { in scaleVideoMaintainingAspectRatio() argument 42 VideoScale.scaleVideoMaintainingAspectRatio(textureView, videoWidth, videoHeight); in scaleVideoMaintainingAspectRatio()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | VideoPlayer.java | 63 TextureView textureView) { in create() argument 64 return new VideoPlayer(context, videoRes, textureView); in create() 67 private VideoPlayer(Context context, @RawRes int videoRes, TextureView textureView) { in VideoPlayer() argument 70 textureView.setSurfaceTextureListener(this); in VideoPlayer()
|
/packages/apps/Dialer/java/com/android/incallui/video/impl/ |
D | VideoCallFragment.java | 1195 TextureView textureView, in updateBlurredImageView() argument 1209 int width = Math.round(textureView.getWidth() * scaleFactor); in updateBlurredImageView() 1210 int height = Math.round(textureView.getHeight() * scaleFactor); in updateBlurredImageView() 1215 Bitmap bitmap = textureView.getBitmap(width, height); in updateBlurredImageView() 1237 textureView.getTransform(null), in updateBlurredImageView()
|
/packages/apps/Dialer/java/com/android/incallui/videosurface/protocol/ |
D | VideoSurfaceTexture.java | 54 void attachToTextureView(TextureView textureView); in attachToTextureView() argument
|