OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:ratio
(Results
276 - 300
of
3086
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/external/webp/src/utils/
rescaler_utils.c
54
const uint64_t
ratio
=
local
56
if (
ratio
!= (uint32_t)
ratio
) {
57
// When
ratio
== WEBP_RESCALER_ONE, we can't represent the
ratio
with the
63
wrk->fxy_scale = (uint32_t)
ratio
;
86
// if width is unspecified, scale original proportionally to height
ratio
.
91
// if height is unspecified, scale original proportionally to width
ratio
.
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
Illustration.java
38
* aspect
ratio
of the top padding, which leaves space for the illustration. Draws the illustration
41
* <p>If an aspect
ratio
is set, then the aspect
ratio
of the source drawable is maintained.
42
* Otherwise the the aspect
ratio
will be ignored, only increasing the width of the illustration.
116
* Set the aspect
ratio
reserved for the illustration. This overrides the top padding of the
117
* view according to the width of this view and the aspect
ratio
. Children views will start
118
* being laid out below this aspect
ratio
.
120
* @param aspectRatio A float value specifying the aspect
ratio
(= width / height). 0 to not
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
ViewAutoScroller.java
42
//
ratio
used to calculate the top/bottom hotspot region; used with view height
179
// Calculate the
ratio
of how far out of the view the pointer currently resides to
183
// Interpolate this
ratio
and use it to compute the maximum scroll that should be
194
* Interpolates the given out of bounds
ratio
on a curve which starts at (0,0) and ends
200
* @param
ratio
A
ratio
which is in the range [0, 1].
203
private float smoothOutOfBoundsRatio(float
ratio
) {
204
return (float) Math.pow(
ratio
, 10);
/packages/apps/Camera2/src/com/android/camera/
VideoUI.java
151
public void setAspectRatio(float
ratio
) {
152
if (
ratio
<= 0) {
155
float aspectRatio =
ratio
> 1 ?
ratio
: 1 /
ratio
;
262
public void onZoomValueChanged(float
ratio
) {
263
mController.onZoomChanged(
ratio
);
297
// recalculate aspect
ratio
when restarting.
/packages/apps/Camera2/src/com/android/camera/ui/focus/
FocusRing.java
60
* Set the target radius as a
ratio
of min to max visible radius
64
public void setRadiusRatio(float
ratio
);
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/
hours.pass.cpp
12
// typedef duration<signed integral type of at least 23 bits,
ratio
<3600>> hours;
26
static_assert((std::is_same<Period, std::
ratio
<3600> >::value), "");
minutes.pass.cpp
12
// typedef duration<signed integral type of at least 29 bits,
ratio
< 60>> minutes;
26
static_assert((std::is_same<Period, std::
ratio
<60> >::value), "");
/system/media/audio_utils/
limiter.c
46
static const float
ratio
= 1.0 / factor;
local
47
out = crossover + atan_approximation((in_abs - crossover)*factor)*
ratio
;
/prebuilts/abi-dumps/vndk/28/64/arm64_armv8-a/source-based/
android.hidl.memory@1.0-impl.so.lsdump.gz
/prebuilts/abi-dumps/vndk/28/64/x86_64/source-based/
android.hidl.memory@1.0-impl.so.lsdump.gz
/cts/apps/CameraITS/tests/scene1/
test_post_raw_sensitivity_boost.py
135
ratio
= raw_rgb_means[step - 1][rgb] / raw_rgb_means[step][rgb]
136
print ("Step (%d,%d) %s channel: %f, %f,
ratio
%f," +
141
ratio
, raw_thres_min, raw_thres_max)
144
assert(raw_thres_min <
ratio
< raw_thres_max)
157
ratio
= vals[step] / mean
158
assert(yuv_thres_min <
ratio
< yuv_thres_max)
/external/volley/src/test/java/com/android/volley/toolbox/
ImageRequestTest.java
52
// Scale the image uniformly (maintain the image's aspect
ratio
) so that
61
verifyResize(jpeg, 500, 500, scalteType, 500, 244); // keep same
ratio
63
// Specify only width, preserve aspect
ratio
68
// Specify only height, preserve aspect
ratio
77
// Scale the image uniformly (maintain the image's aspect
ratio
) so that
103
// may change the aspect
ratio
of the src.
/frameworks/av/media/libeffects/dynamicsproc/dsp/
DPBase.h
116
float
ratio
, float threshold, float kneeWidth, float noiseGateThreshold,
133
void setRatio(float
ratio
) {
134
mRatio =
ratio
;
211
float
ratio
, float threshold, float postGain);
233
void setRatio(float
ratio
) {
234
mRatio =
ratio
;
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
Chrono.h
82
template <> struct unit<std::
ratio
<3600>> { static const char value[]; };
83
template <> struct unit<std::
ratio
<60>> { static const char value[]; };
84
template <> struct unit<std::
ratio
<1>> { static const char value[]; };
113
return {getAs<std::
ratio
<1>>(D), "s"};
115
return {getAs<std::
ratio
<60>>(D), "m"};
117
return {getAs<std::
ratio
<3600>>(D), "h"};
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/
Chrono.h
82
template <> struct unit<std::
ratio
<3600>> { static const char value[]; };
83
template <> struct unit<std::
ratio
<60>> { static const char value[]; };
84
template <> struct unit<std::
ratio
<1>> { static const char value[]; };
113
return {getAs<std::
ratio
<1>>(D), "s"};
115
return {getAs<std::
ratio
<60>>(D), "m"};
117
return {getAs<std::
ratio
<3600>>(D), "h"};
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/
Chrono.h
82
template <> struct unit<std::
ratio
<3600>> { static const char value[]; };
83
template <> struct unit<std::
ratio
<60>> { static const char value[]; };
84
template <> struct unit<std::
ratio
<1>> { static const char value[]; };
113
return {getAs<std::
ratio
<1>>(D), "s"};
115
return {getAs<std::
ratio
<60>>(D), "m"};
117
return {getAs<std::
ratio
<3600>>(D), "h"};
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/
Chrono.h
82
template <> struct unit<std::
ratio
<3600>> { static const char value[]; };
83
template <> struct unit<std::
ratio
<60>> { static const char value[]; };
84
template <> struct unit<std::
ratio
<1>> { static const char value[]; };
113
return {getAs<std::
ratio
<1>>(D), "s"};
115
return {getAs<std::
ratio
<60>>(D), "m"};
117
return {getAs<std::
ratio
<3600>>(D), "h"};
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Support/
Chrono.h
82
template <> struct unit<std::
ratio
<3600>> { static const char value[]; };
83
template <> struct unit<std::
ratio
<60>> { static const char value[]; };
84
template <> struct unit<std::
ratio
<1>> { static const char value[]; };
113
return {getAs<std::
ratio
<1>>(D), "s"};
115
return {getAs<std::
ratio
<60>>(D), "m"};
117
return {getAs<std::
ratio
<3600>>(D), "h"};
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Support/
Chrono.h
82
template <> struct unit<std::
ratio
<3600>> { static const char value[]; };
83
template <> struct unit<std::
ratio
<60>> { static const char value[]; };
84
template <> struct unit<std::
ratio
<1>> { static const char value[]; };
113
return {getAs<std::
ratio
<1>>(D), "s"};
115
return {getAs<std::
ratio
<60>>(D), "m"};
117
return {getAs<std::
ratio
<3600>>(D), "h"};
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Support/
Chrono.h
82
template <> struct unit<std::
ratio
<3600>> { static const char value[]; };
83
template <> struct unit<std::
ratio
<60>> { static const char value[]; };
84
template <> struct unit<std::
ratio
<1>> { static const char value[]; };
113
return {getAs<std::
ratio
<1>>(D), "s"};
115
return {getAs<std::
ratio
<60>>(D), "m"};
117
return {getAs<std::
ratio
<3600>>(D), "h"};
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
Chrono.h
82
template <> struct unit<std::
ratio
<3600>> { static const char value[]; };
83
template <> struct unit<std::
ratio
<60>> { static const char value[]; };
84
template <> struct unit<std::
ratio
<1>> { static const char value[]; };
113
return {getAs<std::
ratio
<1>>(D), "s"};
115
return {getAs<std::
ratio
<60>>(D), "m"};
117
return {getAs<std::
ratio
<3600>>(D), "h"};
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Support/
Chrono.h
82
template <> struct unit<std::
ratio
<3600>> { static const char value[]; };
83
template <> struct unit<std::
ratio
<60>> { static const char value[]; };
84
template <> struct unit<std::
ratio
<1>> { static const char value[]; };
113
return {getAs<std::
ratio
<1>>(D), "s"};
115
return {getAs<std::
ratio
<60>>(D), "m"};
117
return {getAs<std::
ratio
<3600>>(D), "h"};
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Support/
Chrono.h
82
template <> struct unit<std::
ratio
<3600>> { static const char value[]; };
83
template <> struct unit<std::
ratio
<60>> { static const char value[]; };
84
template <> struct unit<std::
ratio
<1>> { static const char value[]; };
113
return {getAs<std::
ratio
<1>>(D), "s"};
115
return {getAs<std::
ratio
<60>>(D), "m"};
117
return {getAs<std::
ratio
<3600>>(D), "h"};
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Support/
Chrono.h
82
template <> struct unit<std::
ratio
<3600>> { static const char value[]; };
83
template <> struct unit<std::
ratio
<60>> { static const char value[]; };
84
template <> struct unit<std::
ratio
<1>> { static const char value[]; };
113
return {getAs<std::
ratio
<1>>(D), "s"};
115
return {getAs<std::
ratio
<60>>(D), "m"};
117
return {getAs<std::
ratio
<3600>>(D), "h"};
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Support/
Chrono.h
82
template <> struct unit<std::
ratio
<3600>> { static const char value[]; };
83
template <> struct unit<std::
ratio
<60>> { static const char value[]; };
84
template <> struct unit<std::
ratio
<1>> { static const char value[]; };
113
return {getAs<std::
ratio
<1>>(D), "s"};
115
return {getAs<std::
ratio
<60>>(D), "m"};
117
return {getAs<std::
ratio
<3600>>(D), "h"};
Completed in 958 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>