/developers/samples/android/media/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/ |
Camera2VideoFragment.kt | 582 * In this sample, we choose a video size with 3x4 aspect ratio. Also, we don't use sizes 594 * ratio matches with the specified value. 599 * @param aspectRatio The aspect ratio
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CubeMapActivity.java | 110 float ratio = (float) width / height; local 113 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);
|
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/ |
ImageLoader.java | 355 * @return A bitmap sampled down from the original with the same aspect ratio and dimensions 401 // Choose the smallest ratio as inSampleSize value, this will guarantee a final image 406 // aspect ratio. For example, a panorama may have a much larger
|
/device/generic/goldfish/camera/ |
EmulatedFakeRotatingCameraDevice.cpp | 253 float ratio = width / height; local 257 glFrustumf(-ratio/2.0, ratio/2.0, -1/2.0, 1/2.0, 1, 40000);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
AdamsBashforthIntegrator.java | 241 final double ratio = nordsieck.getEntry(lastRow, i) / tol; local 242 error += ratio * ratio;
|
/external/autotest/client/cros/audio/ |
check_quality.py | 105 help='Amplitude ratio threshold for identifying delay in sine wave' 112 help='Amplitude ratio threshold for identifying noise in sine wave' 119 help='Amplitude ratio threshold for identifying burst in sine wave'
|
/external/autotest/scheduler/ |
rdb_cache_manager.py | 226 """Compute the hit ratio of this cache. 228 @return: A floating point percentage of the hit ratio. 240 logging.debug('Cache stats: hit ratio: %.2f%%, '
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/ |
StatisticsTool.java | 174 double ratio = (double) refCount / totalNGrams * 100.0; local 176 cumulative += ratio; 183 output.println(value + "\t" + refCount + "\t" + ratio + "%\t" + cumulative + "%");
|
/external/scapy/scapy/contrib/ |
pnio_rtc.py | 432 ratio = float(count) / length 433 entropy -= ratio * math.log(ratio, 2)
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
composable_model.py | 63 to their global norm with this clipping ratio. See 166 to their global norm with this clipping ratio. See 282 to their global norm with this clipping ratio. See
|
/external/webrtc/talk/media/base/ |
videocapturer.h | 181 // Sets the desired aspect ratio. If the capturer is capturing at another 182 // aspect ratio it will crop the width or the height so that asked for 183 // aspect ratio is acheived. Note that ratio_w and ratio_h do not need to be
|
/frameworks/base/core/java/android/app/ |
LauncherActivity.java | 292 final float ratio = (float) iconWidth / iconHeight; local 295 height = (int) (width / ratio); 297 width = (int) (height * ratio);
|
/frameworks/base/media/java/android/media/ |
Utils.java | 158 private static Rational scaleRatio(Rational ratio, int num, int den) { 163 (int)(ratio.getNumerator() * (double)num), // saturate to int 164 (int)(ratio.getDenominator() * (double)den)); // saturate to int
|
/frameworks/native/headers/media_plugin/media/openmax/ |
OMX_VideoExt.h | 137 * nTemporalLayerBitrateRatio : Bitrate ratio allocation between temporal 375 * nBitrateRatios : Bitrate ratio (100 based) per layer (index 0 is base layer). 410 * nBitrateRatios : Bitrate ratio (100 based, Q16 values) per layer (0 is base layer).
|
/hardware/google/av/media/codecs/aac/ |
C2SoftAacEnc.cpp | 194 ALOGV("setAudioParams: %u Hz, %u channels, %u bps, %i sbr mode, %i sbr ratio", 227 /* SBR ratio parameter configurations: 228 0: Default configuration wherein SBR ratio is configured depending on audio object type by
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
AppUpgrader.java | 143 // We changed size handling and aspect ratio placement, put user 144 // back into Camera mode this time to ensure they see the ratio 184 // User selected aspect ratio: boolean -> String, from default.
|
/packages/apps/Dialer/java/com/android/dialer/lettertile/ |
LetterTileDrawable.java | 142 // height ratio. 301 * Scale the drawn letter tile to a ratio of its default size 303 * @param scale The ratio the letter tile should be scaled to as a percentage of its default size,
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
PositionController.java | 308 // The ratio of the old size and the new size. 310 // If the aspect ratio changes, we don't know if it is because one side 312 // angle of the longer side doesn't change (so the aspect ratio change 315 float ratio = (width > height) local 323 // we change the scale directly. Otherwise adjust the scales by a ratio, 329 b.mCurrentScale *= ratio; 330 b.mFromScale *= ratio; 331 b.mToScale *= ratio; 335 mFocusX /= ratio; 336 mFocusY /= ratio; [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
LauncherIcons.java | 313 final float ratio = (float) sourceWidth / sourceHeight; local 315 height = (int) (width / ratio); 317 width = (int) (height * ratio);
|
/packages/apps/Settings/src/com/android/settings/ |
ActivityPicker.java | 383 final float ratio = (float) iconWidth / iconHeight; local 386 height = (int) (width / ratio); 388 width = (int) (height * ratio);
|
/packages/apps/TV/src/com/android/tv/ui/ |
TvViewUiManager.java | 216 * Returns true, if {@code displayMode} is available now. If screen ratio is matched to video 217 * ratio, other display modes than {@link DisplayMode#MODE_NORMAL} are not available. 278 /** Updates TvView's aspect ratio. It should be called when video resolution is changed. */
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
StrictShardHelperTest.java | 400 /** Test that the special ratio 130 tests for 20 shards is properly redistributed. */ 428 /** Test that the special ratio 7 tests for 6 shards is properly redistributed. */ 442 /** Test that the special ratio 13 tests for 6 shards is properly redistributed. */
|
/prebuilts/abi-dumps/ndk/28/32/x86/source-based/ |
libRS.so.lsdump.gz | |
/prebuilts/abi-dumps/ndk/28/64/x86/source-based/ |
libRS.so.lsdump.gz | |
/prebuilts/abi-dumps/ndk/28/64/x86_x86_64/source-based/ |
libRS.so.lsdump.gz | |