/developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/ |
D | CameraHelper.java | 51 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/ |
D | CameraHelper.java | 51 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/ |
D | CameraHelper.java | 51 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/ |
D | DialView.java | 176 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/ |
D | DialView.java | 176 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/ |
D | FloatingActionButton.java | 144 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/ |
D | FloatingActionButton.java | 144 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/ |
D | CameraPreview.kt | 76 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/ |
D | CameraPreview.kt | 76 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/ |
D | CameraPreview.kt | 79 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/ |
D | CameraPreview.kt | 79 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/ |
D | AccelerometerPlayActivity.java | 349 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/ |
D | CameraPreview.java | 118 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/ |
D | CameraPreview.java | 118 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/ |
D | PlaybackOverlayActivity.java | 181 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/ |
D | CameraPreview.java | 118 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/ |
D | CameraPreview.java | 118 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/ |
D | WeatherWidgetProvider.java | 46 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/ |
D | PlayerActivity.java | 270 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/ |
D | Camera2VideoFragment.kt | 611 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/ |
D | Camera2VideoFragment.kt | 611 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/ |
D | Camera2BasicFragment.kt | 791 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/ |
D | Camera2BasicFragment.kt | 791 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/ |
D | Camera2VideoFragment.java | 258 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/ |
D | Camera2VideoFragment.java | 258 int h = aspectRatio.getHeight(); in chooseOptimalSize() local 260 if (option.getHeight() == option.getWidth() * h / w && in chooseOptimalSize()
|