Home
last modified time | relevance | path

Searched refs:rotationDegrees (Results 1 – 25 of 25) sorted by relevance

/aosp12/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/
H A DVideoScale.java30 TextureView textureView, float videoWidth, float videoHeight, float rotationDegrees) { in scaleVideoAndFillView() argument
50 if (rotationDegrees == 90.0f || rotationDegrees == 270.0f) { in scaleVideoAndFillView()
75 rotationDegrees); in scaleVideoAndFillView()
85 if (rotationDegrees != 0) { in scaleVideoAndFillView()
86 transform.postRotate(rotationDegrees, viewWidth / 2.0f, viewHeight / 2.0f); in scaleVideoAndFillView()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
H A DBitmapWithMetadata.java29 public int rotationDegrees; field in BitmapWithMetadata
31 public BitmapWithMetadata(Bitmap bitmap, int rotationDegrees) { in BitmapWithMetadata() argument
33 this.rotationDegrees = rotationDegrees; in BitmapWithMetadata()
/aosp12/frameworks/av/cmds/stagefright/
H A Dmuxer.cpp63 int rotationDegrees, in muxing() argument
161 muxer->setOrientationHint(rotationDegrees); in muxing()
236 int rotationDegrees = 0; in main() local
283 rotationDegrees = atoi(optarg); in main()
325 enableTrim, trimStartTimeMs, trimEndTimeMs, rotationDegrees, container); in main()
/aosp12/packages/apps/Dialer/java/com/android/incallui/videosurface/bindings/
H A DVideoSurfaceBindings.java36 TextureView textureView, float videoWidth, float videoHeight, float rotationDegrees) { in scaleVideoAndFillView() argument
37 VideoScale.scaleVideoAndFillView(textureView, videoWidth, videoHeight, rotationDegrees); in scaleVideoAndFillView()
/aosp12/packages/apps/Camera2/src/com/android/camera/session/
H A DCaptureSessionImpl.java190 public void updateCaptureIndicatorThumbnail(Bitmap indicator, int rotationDegrees) { in updateCaptureIndicatorThumbnail() argument
194 onCaptureIndicatorUpdate(indicator, rotationDegrees); in updateCaptureIndicatorThumbnail()
459 private void onCaptureIndicatorUpdate(Bitmap indicator, int rotationDegrees) { in onCaptureIndicatorUpdate() argument
460 mSessionNotifier.notifySessionCaptureIndicatorAvailable(indicator, rotationDegrees); in onCaptureIndicatorUpdate()
H A DSessionNotifier.java51 final int rotationDegrees); in notifySessionCaptureIndicatorAvailable() argument
H A DCaptureSessionManagerImpl.java200 rotationDegrees) { in notifySessionCaptureIndicatorAvailable() argument
206 listener.onSessionCaptureIndicatorUpdate(indicator, rotationDegrees); in notifySessionCaptureIndicatorAvailable()
H A DCaptureSessionManager.java53 public void onSessionCaptureIndicatorUpdate(Bitmap bitmap, int rotationDegrees); in onSessionCaptureIndicatorUpdate() argument
H A DCaptureSession.java162 public void updateCaptureIndicatorThumbnail(Bitmap bitmap, int rotationDegrees); in updateCaptureIndicatorThumbnail() argument
/aosp12/packages/apps/TV/tuner/src/com/google/android/exoplayer/
H A DMediaFormatUtil.java38 int rotationDegrees = getOptionalIntegerV16(format, "rotation-degrees"); in createMediaFormat() local
67 rotationDegrees, in createMediaFormat()
/aosp12/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp231 int32_t rotationDegrees; in resetFormatIfChanged() local
232 if (!format->findInt32("rotation-degrees", &rotationDegrees)) { in resetFormatIfChanged()
233 rotationDegrees = mRotationDegrees; in resetFormatIfChanged()
236 switch (rotationDegrees) { in resetFormatIfChanged()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
H A DMtpImageView.java208 mLastRotationDegrees = bitmapWithMetadata.rotationDegrees; in onMtpImageDataFetchedFromDevice()
211 setRotation(bitmapWithMetadata.rotationDegrees); in onMtpImageDataFetchedFromDevice()
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
H A DFileSampleExtractor.java147 int rotationDegrees = getOptionalIntegerV16(mediaFormat, "rotation-degrees"); in createFormat() local
191 rotationDegrees, in createFormat()
/aosp12/frameworks/av/media/libstagefright/
H A DUtils.cpp1040 int32_t rotationDegrees; in convertMetaDataToMessage() local
1041 if (meta->findInt32(kKeyRotation, &rotationDegrees)) { in convertMetaDataToMessage()
1042 msg->setInt32("rotation-degrees", rotationDegrees); in convertMetaDataToMessage()
1148 int32_t rotationDegrees; in convertMetaDataToMessage() local
1149 if (meta->findInt32(kKeyRotation, &rotationDegrees)) { in convertMetaDataToMessage()
1150 msg->setInt32("rotation-degrees", rotationDegrees); in convertMetaDataToMessage()
1818 int32_t rotationDegrees; in convertMessageToMetaData() local
1819 if (msg->findInt32("rotation-degrees", &rotationDegrees)) { in convertMessageToMetaData()
1820 meta->setInt32(kKeyRotation, rotationDegrees); in convertMessageToMetaData()
H A DMPEG4Writer.cpp2867 int32_t rotationDegrees; in start() local
2869 params->findInt32(kKeyRotation, &rotationDegrees)) { in start()
2870 mRotation = rotationDegrees; in start()
H A DACodec.cpp2062 int32_t rotationDegrees; in configureCodec() local
2063 if (msg->findInt32("rotation-degrees", &rotationDegrees)) { in configureCodec()
2064 mRotationDegrees = rotationDegrees; in configureCodec()
/aosp12/packages/apps/Camera2/src/com/android/camera/captureintent/
H A DCaptureIntentSession.java120 public void updateCaptureIndicatorThumbnail(Bitmap indicator, int rotationDegrees) { in updateCaptureIndicatorThumbnail() argument
/aosp12/packages/apps/Camera2/src/com/android/camera/captureintent/state/
H A DStateReviewingPicture.java252 public void onSessionCaptureIndicatorUpdate(Bitmap bitmap, int rotationDegrees) {
H A DStateReadyForCapture.java670 public void onSessionCaptureIndicatorUpdate(Bitmap bitmap, int rotationDegrees) {
/aosp12/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp2116 int32_t rotationDegrees; in updateVideoSize() local
2117 if (!inputFormat->findInt32("rotation-degrees", &rotationDegrees)) { in updateVideoSize()
2118 rotationDegrees = 0; in updateVideoSize()
2121 if (rotationDegrees == 90 || rotationDegrees == 270) { in updateVideoSize()
/aosp12/frameworks/av/media/extractors/mp4/
H A DMPEG4Extractor.cpp3915 uint32_t rotationDegrees; in parseTrackHeader() local
3920 rotationDegrees = 0; in parseTrackHeader()
3922 rotationDegrees = 90; in parseTrackHeader()
3924 rotationDegrees = 270; in parseTrackHeader()
3926 rotationDegrees = 180; in parseTrackHeader()
3929 rotationDegrees = 0; in parseTrackHeader()
3932 if (rotationDegrees != 0) { in parseTrackHeader()
3933 AMediaFormat_setInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_ROTATION, rotationDegrees); in parseTrackHeader()
/aosp12/packages/apps/Camera2/src/com/android/camera/
H A DCameraActivity.java974 public void onSessionCaptureIndicatorUpdate(Bitmap indicator, int rotationDegrees) {
982 indicateCapture(indicator, rotationDegrees);
1226 private void indicateCapture(final Bitmap indicator, final int rotationDegrees) { in indicateCapture() argument
1244 mCameraAppUI.updateCaptureIndicatorThumbnail(indicator, rotationDegrees); in indicateCapture()
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
H A DExoPlayerSampleExtractor.java228 format.rotationDegrees, in convertFormat()
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
H A DSampleChunkIoHelper.java246 mediaFormat, MediaFormat.KEY_ROTATION, format.rotationDegrees); in getVideoMediaFormat()
/aosp12/frameworks/base/apex/media/framework/java/android/media/
H A DMediaParser.java2023 setOptionalMediaFormatInt(result, MediaFormat.KEY_ROTATION, format.rotationDegrees); in toMediaFormat()