Searched refs:max (Results 151 - 175 of 1023) sorted by relevance

1234567891011>>

/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A Dbwfilter.rs32 float imageMax = max(sg,sb);
H A Dvibrance.rs32 float red = (r-max(g, b)) * (1.f / 256.f);
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
H A Dvibrance_f.rs32 float red = (r-max(g, b)) * (1.f / 256.f);
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/
H A DPagerTitleStrip.java288 final int maxWidth = Math.max(0, (int) (width * 0.8f));
291 final int maxHeight = Math.max(0, childHeight);
365 final int maxBaseline = Math.max(Math.max(prevBaseline, currBaseline), nextBaseline);
372 final int maxTextHeight = Math.max(Math.max(alignedPrevHeight, alignedCurrHeight),
409 final int nextLeft = Math.max(stripWidth - paddingRight - nextWidth,
445 height = Math.max(minHeight, textHeight + heightPadding);
/frameworks/base/graphics/java/android/graphics/
H A DColorSpace.java1296 @NonNull @Size(min = 2, max = 3) float[] whitePoint) {
1325 @NonNull @Size(min = 2, max = 3) float[] whitePoint,
1897 private static float clamp(float x, float min, float max) { argument
1898 return x < min ? min : x > max ? max : x;
2264 * @param max The maximum valid value in this color space's RGB range
2279 @NonNull @Size(min = 6, max = 9) float[] primaries,
2280 @NonNull @Size(min = 2, max = 3) float[] whitePoint,
2284 float max) {
2285 this(name, primaries, whitePoint, oetf, eotf, min, max, MIN_I
2277 Rgb( @onNull @izemin = 1) String name, @NonNull @Size(min = 6, max = 9) float[] primaries, @NonNull @Size(min = 2, max = 3) float[] whitePoint, @NonNull DoubleUnaryOperator oetf, @NonNull DoubleUnaryOperator eotf, float min, float max) argument
2514 Rgb( @onNull @izemin = 1) String name, @NonNull @Size(min = 6, max = 9) float[] primaries, @NonNull @Size(min = 2, max = 3) float[] whitePoint, double gamma, float min, float max, @IntRange(from = MIN_ID, to = MAX_ID) int id) argument
2571 Rgb( @onNull @izemin = 1) String name, @NonNull @Size(min = 6, max = 9) float[] primaries, @NonNull @Size(min = 2, max = 3) float[] whitePoint, @NonNull DoubleUnaryOperator oetf, @NonNull DoubleUnaryOperator eotf, float min, float max, @IntRange(from = MIN_ID, to = MAX_ID) int id) argument
3077 isSrgb( @onNull @ize6) float[] primaries, @NonNull @Size(2) float[] whitePoint, @NonNull DoubleUnaryOperator OETF, @NonNull DoubleUnaryOperator EOTF, float min, float max, @IntRange(from = MIN_ID, to = MAX_ID) int id) argument
3114 isWideGamut(@onNull @ize6) float[] primaries, float min, float max) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaCodecInfo.java655 // even though max size for Level 1 is QCIF. However, MPEG2 Simple Profile
691 // consider max bitrate over average bitrate for support
697 bitrate = Math.max(bitrate, maxBitrate);
786 * Returns the max number of the supported concurrent codec instances.
923 global.get("max-concurrent-instances"), DEFAULT_MAX_SUPPORTED_INSTANCES);
926 map.get("max-concurrent-instances"), mMaxSupportedInstances);
1170 if (info.containsKey("max-channel-count")) {
1172 info.getString("max-channel-count"), maxInputChannels);
1330 final int minWidthInBlocks = Math.max(
1374 final int minHeightInBlocks = Math.max(
[all...]
/frameworks/rs/driver/runtime/arch/
H A Dgeneric.c231 extern char __attribute__((overloadable)) max(char v1, char v2) { function
235 extern char2 __attribute__((overloadable)) max(char2 v1, char2 v2) { function
242 extern char3 __attribute__((overloadable)) max(char3 v1, char3 v2) { function
250 extern char4 __attribute__((overloadable)) max(char4 v1, char4 v2) { function
259 extern short __attribute__((overloadable)) max(short v1, short v2) { function
263 extern short2 __attribute__((overloadable)) max(short2 v1, short2 v2) { function
270 extern short3 __attribute__((overloadable)) max(short3 v1, short3 v2) { function
278 extern short4 __attribute__((overloadable)) max(short4 v1, short4 v2) { function
287 extern int __attribute__((overloadable)) max(int v1, int v2) { function
291 extern int2 __attribute__((overloadable)) max(int function
298 extern int3 __attribute__((overloadable)) max(int3 v1, int3 v2) { function
306 extern int4 __attribute__((overloadable)) max(int4 v1, int4 v2) { function
315 extern uchar __attribute__((overloadable)) max(uchar v1, uchar v2) { function
319 extern uchar2 __attribute__((overloadable)) max(uchar2 v1, uchar2 v2) { function
326 extern uchar3 __attribute__((overloadable)) max(uchar3 v1, uchar3 v2) { function
334 extern uchar4 __attribute__((overloadable)) max(uchar4 v1, uchar4 v2) { function
343 extern ushort __attribute__((overloadable)) max(ushort v1, ushort v2) { function
347 extern ushort2 __attribute__((overloadable)) max(ushort2 v1, ushort2 v2) { function
354 extern ushort3 __attribute__((overloadable)) max(ushort3 v1, ushort3 v2) { function
362 extern ushort4 __attribute__((overloadable)) max(ushort4 v1, ushort4 v2) { function
371 extern uint __attribute__((overloadable)) max(uint v1, uint v2) { function
375 extern uint2 __attribute__((overloadable)) max(uint2 v1, uint2 v2) { function
382 extern uint3 __attribute__((overloadable)) max(uint3 v1, uint3 v2) { function
390 extern uint4 __attribute__((overloadable)) max(uint4 v1, uint4 v2) { function
399 extern float __attribute__((overloadable)) max(float v1, float v2) { function
403 extern float2 __attribute__((overloadable)) max(float2 v1, float2 v2) { function
407 extern float2 __attribute__((overloadable)) max(float2 v1, float v2) { function
411 extern float3 __attribute__((overloadable)) max(float3 v1, float3 v2) { function
415 extern float3 __attribute__((overloadable)) max(float3 v1, float v2) { function
419 extern float4 __attribute__((overloadable)) max(float4 v1, float4 v2) { function
423 extern float4 __attribute__((overloadable)) max(float4 v1, float v2) { function
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java30 import static java.lang.Math.max;
629 result = Math.max(result, a[i]);
684 boolean isAtEdge = leading1 ? (span.min == 0) : (span.max == axis.getCount());
705 int index = leading ? spec.span.min : spec.span.max;
851 if (span.max > count) {
1036 int cellSize = locations[span.max] - locations[span.min];
1083 int measuredWidth = Math.max(widthSansPadding + hPadding, getSuggestedMinimumWidth());
1084 int measuredHeight = Math.max(heightSansPadding + vPadding, getSuggestedMinimumHeight());
1153 int x2 = hLocations[colSpan.max];
1154 int y2 = vLocations[rowSpan.max];
1850 setParentConstraints(int min, int max) argument
1856 getMeasure(int min, int max) argument
2446 public final int max; field in class:GridLayout.Interval
2458 Interval(int min, int max) argument
[all...]
/frameworks/support/gridlayout/src/main/java/androidx/gridlayout/widget/
H A DGridLayout.java29 import static java.lang.Math.max;
609 result = Math.max(result, a[i]);
665 boolean isAtEdge = leading1 ? (span.min == 0) : (span.max == axis.getCount());
690 int index = leading ? spec.span.min : spec.span.max;
824 if (span.max > count) {
929 int cellSize = locations[span.max] - locations[span.min];
976 int measuredWidth = Math.max(widthSansPadding + hPadding, getSuggestedMinimumWidth());
977 int measuredHeight = Math.max(heightSansPadding + vPadding, getSuggestedMinimumHeight());
1046 int x2 = hLocations[colSpan.max];
1047 int y2 = vLocations[rowSpan.max];
1738 setParentConstraints(int min, int max) argument
1744 getMeasure(int min, int max) argument
2333 public final int max; field in class:GridLayout.Interval
2345 Interval(int min, int max) argument
[all...]
/frameworks/av/media/libeffects/loudness/common/core/
H A Dmath.h23 using ::std::max;
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dp_ol_wgh.cpp422 rmax = pointer to max(<s[i]*s[j]>), (Word32)
430 rmax contains the newly calculated max(<s[i]*s[j]>)
435 p_max = lag of the max correlation found (Word16)
482 Word32 max, t0;
491 max = MIN_32;
509 if (L_sub (t0, max) >= 0)
511 max = t0;
530 vadSt->L_Rmax = L_add(vadSt->L_Rmax, t0); // Save max correlation
531 vadSt->L_R0 = L_add(vadSt->L_R0, t1); // Save max energy
590 Word32 max; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dp_med_ol.c42 Word32 i, j, max, R0, R1, R2; local
55 max = MIN_32;
85 if(R0 >= max)
87 max = R0;
/frameworks/base/core/java/android/util/
H A DLocalLog.java35 mMaxLines = Math.max(0, maxLines);
H A DMathUtils.java63 public static float max(float a, float b) { method in class:MathUtils
67 public static float max(int a, int b) { method in class:MathUtils
71 public static float max(float a, float b, float c) { method in class:MathUtils
75 public static float max(int a, int b, int c) { method in class:MathUtils
/frameworks/base/core/java/com/android/internal/view/
H A DSurfaceFlingerVsyncChoreographer.java68 return Math.max(0, (sfVsyncOffset - display.getAppVsyncOffsetNanos()) / ONE_MS_IN_NS);
/frameworks/base/core/java/com/android/internal/view/animation/
H A DFallbackLUTInterpolator.java51 int numAnimFrames = Math.max(2, (int) Math.ceil(((double) duration) / animIntervalMs));
/frameworks/base/core/java/com/android/internal/widget/
H A DMessagingLinearLayout.java112 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin +
124 measuredWidth = Math.max(measuredWidth,
137 resolveSize(Math.max(getSuggestedMinimumWidth(), measuredWidth),
139 Math.max(getSuggestedMinimumHeight(), totalHeight));
H A DRemeasuringLinearLayout.java63 height = Math.max(height, height + child.getMeasuredHeight() + lp.topMargin +
/frameworks/base/core/tests/coretests/src/android/database/
H A Dprocess_newdb_perf_test_logs.py31 # Reported as max value across all runs.
58 # Determine max from all reported totalWriteBytes
62 max_write_bytes = max(max_write_bytes, int(matches.group(1)))
71 print " max write_bytes: %d" % max_write_bytes
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
H A DMultiPageTextWithPaddingTest.java57 int scrollsNeeded = (int)Math.ceil(Math.max(0.0f,
/frameworks/base/libs/hwui/
H A DProperties.cpp155 overrideAmbientRatio = std::min(std::max(atof(value), 0.0), 10.0);
159 overrideLightRadius = std::min(std::max(atof(value), 0.0), 3000.0);
163 overrideLightPosY = std::min(std::max(atof(value), 0.0), 3000.0);
167 overrideLightPosZ = std::min(std::max(atof(value), 0.0), 3000.0);
/frameworks/base/libs/hwui/thread/
H A DThreadBase.h58 if (nextWakeup < std::numeric_limits<nsecs_t>::max()) {
/frameworks/base/libs/hwui/utils/
H A DMathUtils.h83 return std::min(std::max(a, minValue), maxValue);
/frameworks/base/packages/EasterEgg/src/com/android/egg/octo/
H A DTaperedPathStroke.java51 t += Math.max(r*0.25f, sMinStepPx); // walk forward 1/4 radius, not too small though
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DPoint.java76 float cos = Math.min(1.0f, Math.max(-1.0f, dotProduct / dist1 / dist2));

Completed in 915 milliseconds

1234567891011>>