Home
last modified time | relevance | path

Searched defs:aspectRatio (Results 1 – 25 of 55) sorted by relevance

123

/packages/apps/Camera2/src/com/android/camera/settings/
DResolutionUtil.java84 public Float aspectRatio; field in ResolutionUtil.ResolutionBucket
143 Float aspectRatio = bucket.aspectRatio; in getDisplayableSizesFromSupported() local
153 Number aspectRatio = bucket.aspectRatio; in getDisplayableSizesFromSupported() local
223 private static float fuzzAspectRatio(float aspectRatio) { in fuzzAspectRatio()
246 Float aspectRatio = (float) size.getWidth() / (float) size.getHeight(); in parseAvailableSizes() local
279 Size aspectRatio = reduce(size); in aspectRatioDescription() local
290 public static Size reduce(Size aspectRatio) { in reduce()
306 Size aspectRatio = reduce(size); in aspectRatioNumerator() local
319 Size aspectRatio = reduce(size); in getApproximateSize() local
395 Rational aspectRatio = getAspectRatio(size); in getLargestPictureSize() local
DResolutionSetting.java68 public void setPictureAspectRatio(CameraId cameraId, Rational aspectRatio) in setPictureAspectRatio()
149 final Rational aspectRatio = ResolutionUtil.ASPECT_RATIO_4x3; in getPictureSize() local
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/responsive/
DCalculatedWorkspaceSpecTest.kt45 val aspectRatio = deviceSpec.naturalSize.first.toFloat() / deviceSpec.naturalSize.second in normalPhone_returnsThirdBreakpointSpec() constant
87 val aspectRatio = deviceSpec.naturalSize.first.toFloat() / deviceSpec.naturalSize.second in smallPhone_returnsFirstBreakpointSpec() constant
130 val aspectRatio = deviceSpec.naturalSize.first.toFloat() / deviceSpec.naturalSize.second in smallPhone_returnsFirstBreakpointSpec_unsortedFile() constant
DAllAppsSpecsTest.kt36 val aspectRatio = deviceSpec.naturalSize.first.toFloat() / deviceSpec.naturalSize.second constant in com.android.launcher3.responsive.AllAppsSpecsTest
DCalculatedAllAppsSpecTest.kt44 val aspectRatio = deviceSpec.naturalSize.first.toFloat() / deviceSpec.naturalSize.second in normalPhone_copiesFromWorkspace() constant
DWorkspaceSpecsTest.kt36 val aspectRatio = deviceSpec.naturalSize.first.toFloat() / deviceSpec.naturalSize.second constant in com.android.launcher3.responsive.WorkspaceSpecsTest
DCalculatedHotseatSpecTest.kt35 val aspectRatio = deviceSpec.naturalSize.first.toFloat() / deviceSpec.naturalSize.second constant in com.android.launcher3.responsive.CalculatedHotseatSpecTest
DHotseatSpecsProviderTest.kt36 val aspectRatio = deviceSpec.naturalSize.first.toFloat() / deviceSpec.naturalSize.second constant in com.android.launcher3.responsive.HotseatSpecsProviderTest
DResponsiveCellSpecsProviderTest.kt36 val aspectRatio = deviceSpec.naturalSize.first.toFloat() / deviceSpec.naturalSize.second constant in com.android.launcher3.responsive.ResponsiveCellSpecsProviderTest
DCalculatedFolderSpecTest.kt37 private val aspectRatio = deviceSpec.naturalSize.first.toFloat() / deviceSpec.naturalSize.second constant in com.android.launcher3.responsive.CalculatedFolderSpecTest
DResponsiveSpecsProviderTest.kt37 var aspectRatio = deviceSpec.naturalSize.first.toFloat() / deviceSpec.naturalSize.second in <lambda>() variable
/packages/apps/Settings/src/com/android/settings/applications/appcompat/
DUserAspectRatioManager.java111 final int aspectRatio = mIPm.getUserMinAspectRatio(packageName, uid); in getUserMinAspectRatioValue() local
120 public String getUserMinAspectRatioEntry(@PackageManager.UserMinAspectRatio int aspectRatio, in getUserMinAspectRatioEntry()
139 public CharSequence getAccessibleEntry(@PackageManager.UserMinAspectRatio int aspectRatio, in getAccessibleEntry()
154 final int aspectRatio = getUserMinAspectRatioValue(packageName, userId); in getUserMinAspectRatioEntry() local
183 @PackageManager.UserMinAspectRatio int aspectRatio) throws RemoteException { in setUserMinAspectRatio()
244 @PackageManager.UserMinAspectRatio int aspectRatio) { in isCurrentSelectionFromManufacturerOverride()
/packages/apps/Launcher3/src/com/android/launcher3/responsive/
DResponsiveSpecGroup.kt31 val aspectRatio: Float, constant in com.android.launcher3.responsive.ResponsiveSpecGroup
90 val aspectRatio = attrs.getFloat(R.styleable.ResponsiveSpecGroup_maxAspectRatio, 0f) in create() constant
/packages/apps/Camera2/src/com/android/camera/
DTextureViewHelper.java135 public void updateAspectRatio(float aspectRatio) { in updateAspectRatio()
148 private void setAspectRatio(float aspectRatio) { in setAspectRatio()
189 public void updateTransformFullScreen(Matrix matrix, float aspectRatio) { in updateTransformFullScreen()
DVideoController.java38 public void updatePreviewAspectRatio(float aspectRatio); in updatePreviewAspectRatio()
DPhotoController.java55 public void updatePreviewAspectRatio(float aspectRatio); in updatePreviewAspectRatio()
DVideoUI.java106 float aspectRatio; in setPreviewSize() local
155 float aspectRatio = ratio > 1 ? ratio : 1 / ratio; in setAspectRatio() local
/packages/services/Car/cpp/evs/support_library/
DConfigManager.h61 float getDisplayRightLocation(float aspectRatio) const { in getDisplayRightLocation()
65 float getDisplayLeftLocation(float aspectRatio) const { in getDisplayLeftLocation()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/shared/model/
DPreviewModel.kt29 val aspectRatio: Float = 1f, constant in com.android.intentresolver.contentpreview.payloadtoggle.shared.model.PreviewModel
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DFixedAspectSurfaceView.java37 private float aspectRatio; field in FixedAspectSurfaceView
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/ui/viewmodel/
DShareouselPreviewViewModel.kt35 val aspectRatio: Float, constant in com.android.intentresolver.contentpreview.payloadtoggle.ui.viewmodel.ShareouselPreviewViewModel
/packages/services/Car/cpp/evs/apps/default/inc/
DConfigManager.h69 float getDisplayRightLocation(float aspectRatio) const { in getDisplayRightLocation()
73 float getDisplayLeftLocation(float aspectRatio) const { in getDisplayLeftLocation()
/packages/apps/Camera2/src/com/android/camera/ui/
DPreviewStatusListener.java78 public void onPreviewAspectRatioChanged(float aspectRatio); in onPreviewAspectRatioChanged()
/packages/apps/Camera2/src/com/android/camera/widget/
DAspectRatioDialogLayout.java107 private void setAspectRatio(Rational aspectRatio) { in setAspectRatio()
/packages/apps/Camera2/src/com/android/camera/app/
DAppController.java213 public void updatePreviewAspectRatio(float aspectRatio); in updatePreviewAspectRatio()
223 public void updatePreviewTransformFullscreen(Matrix matrix, float aspectRatio); in updatePreviewTransformFullscreen()

123