Home
last modified time | relevance | path

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

12

/developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/
DCameraHelper.java51 List<Camera.Size> previewSizes, int w, int h) { in getOptimalVideoSize() argument
54 double targetRatio = (double) w / h; in getOptimalVideoSize()
71 int targetHeight = h; in getOptimalVideoSize()
/developers/samples/android/common/src/java/com/example/android/common/media/
DCameraHelper.java51 List<Camera.Size> previewSizes, int w, int h) { in getOptimalVideoSize() argument
54 double targetRatio = (double) w / h; in getOptimalVideoSize()
71 int targetHeight = h; in getOptimalVideoSize()
/developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/
DCameraHelper.java51 List<Camera.Size> previewSizes, int w, int h) { in getOptimalVideoSize() argument
54 double targetRatio = (double) w / h; in getOptimalVideoSize()
71 int targetHeight = h; in getOptimalVideoSize()
/developers/build/prebuilts/gradle/BasicAccessibility/Application/src/main/java/com/example/android/basicaccessibility/
DDialView.java176 protected void onSizeChanged(int w, int h, int oldw, int oldh) { in onSizeChanged() argument
183 mHeight = h; in onSizeChanged()
185 mHeightPadded = h - yPadding; in onSizeChanged()
/developers/samples/android/ui/accessibility/BasicAccessibility/Application/src/main/java/com/example/android/basicaccessibility/
DDialView.java176 protected void onSizeChanged(int w, int h, int oldw, int oldh) { in onSizeChanged() argument
183 mHeight = h; in onSizeChanged()
185 mHeightPadded = h - yPadding; in onSizeChanged()
/developers/samples/android/ui/views/FloatingActionButton/FloatingActionButtonBasic/Application/src/main/java/com/example/android/floatingactionbuttonbasic/
DFloatingActionButton.java144 protected void onSizeChanged(int w, int h, int oldw, int oldh) { in onSizeChanged() argument
145 super.onSizeChanged(w, h, oldw, oldh); in onSizeChanged()
/developers/build/prebuilts/gradle/FloatingActionButtonBasic/Application/src/main/java/com/example/android/floatingactionbuttonbasic/
DFloatingActionButton.java144 protected void onSizeChanged(int w, int h, int oldw, int oldh) { in onSizeChanged() argument
145 super.onSizeChanged(w, h, oldw, oldh); in onSizeChanged()
/developers/samples/android/system/RuntimePermissionsBasic/kotlinApp/Application/src/main/java/com/example/android/basicpermissions/camera/
DCameraPreview.kt76 override fun surfaceChanged(holder: SurfaceHolder, format: Int, w: Int, h: Int) { in surfaceChanged()
/developers/build/prebuilts/gradle/RuntimePermissionsBasic/kotlinApp/Application/src/main/java/com/example/android/basicpermissions/camera/
DCameraPreview.kt76 override fun surfaceChanged(holder: SurfaceHolder, format: Int, w: Int, h: Int) { in surfaceChanged()
/developers/samples/android/system/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/camera/
DCameraPreview.kt79 override fun surfaceChanged(holder: SurfaceHolder, format: Int, w: Int, h: Int) { in surfaceChanged()
/developers/build/prebuilts/gradle/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/camera/
DCameraPreview.kt79 override fun surfaceChanged(holder: SurfaceHolder, format: Int, w: Int, h: Int) { in surfaceChanged()
/developers/samples/android/sensors/AccelerometerPlay/app/src/main/java/com/example/android/accelerometerplay/
DAccelerometerPlayActivity.java349 protected void onSizeChanged(int w, int h, int oldw, int oldh) { in onSizeChanged() argument
353 mYOrigin = (h - mDstHeight) * 0.5f; in onSizeChanged()
355 mVerticalBound = ((h / mMetersToPixelsY - sBallDiameter) * 0.5f); in onSizeChanged()
/developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/camera/
DCameraPreview.java118 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
/developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/camera/
DCameraPreview.java118 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/
DPlaybackOverlayActivity.java181 int h = (int) (metrics.heightPixels * MEDIA_HEIGHT); in overScan() local
186 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(w, h); in overScan()
/developers/build/prebuilts/gradle/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/camera/
DCameraPreview.java118 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
/developers/samples/android/system/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/camera/
DCameraPreview.java118 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
/developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/
DWeatherWidgetProvider.java46 WeatherDataProviderObserver(AppWidgetManager mgr, ComponentName cn, Handler h) { in WeatherDataProviderObserver() argument
47 super(h); in WeatherDataProviderObserver()
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
DPlayerActivity.java270 int h = (int) (mMetrics.heightPixels * MEDIA_BAR_HEIGHT); in setupController() local
275 LayoutParams lp = new LayoutParams(w, h); in setupController()
/developers/build/prebuilts/gradle/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/
DCamera2VideoFragment.kt611 val h = aspectRatio.height in chooseOptimalSize() constant
613 it.height == it.width * h / w && it.width >= width && it.height >= height } in chooseOptimalSize()
/developers/samples/android/media/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/
DCamera2VideoFragment.kt611 val h = aspectRatio.height in chooseOptimalSize() constant
613 it.height == it.width * h / w && it.width >= width && it.height >= height } in chooseOptimalSize()
/developers/build/prebuilts/gradle/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/
DCamera2BasicFragment.kt791 val h = aspectRatio.height in chooseOptimalSize() constant
794 option.height == option.width * h / w) { in chooseOptimalSize()
/developers/samples/android/media/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/
DCamera2BasicFragment.kt791 val h = aspectRatio.height in chooseOptimalSize() constant
794 option.height == option.width * h / w) { in chooseOptimalSize()
/developers/samples/android/media/Camera2Video/Application/src/main/java/com/example/android/camera2video/
DCamera2VideoFragment.java258 int h = aspectRatio.getHeight(); in chooseOptimalSize() local
260 if (option.getHeight() == option.getWidth() * h / w && in chooseOptimalSize()
/developers/build/prebuilts/gradle/Camera2Video/Application/src/main/java/com/example/android/camera2video/
DCamera2VideoFragment.java258 int h = aspectRatio.getHeight(); in chooseOptimalSize() local
260 if (option.getHeight() == option.getWidth() * h / w && in chooseOptimalSize()

12