/frameworks/base/media/java/android/media/ |
H A D | ClosedCaptionRenderer.java | 864 private static int clamp(int x, int min, int max) { argument 865 return x < min ? min : (x > max ? max : x);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | StaticMetadata.java | 338 return Math.max(minExposure, Math.min(maxExposure, exposure)); 877 return Math.max(minSensitivity, Math.min(maxSensitivity, sensitivity)); 905 + " should be larger than min sensitivity " + maxSensitivity, 1429 checkTrueForKey(key, " min fps must be no larger than max fps!", 1433 " the frame duration %d for min fps %d must smaller than maxFrameDuration %d", 1451 * Prioritizes maximizing the min FPS, then the max FPS without lowering min FPS. 1457 // Assume unsorted list of target FPS ranges, so use two passes, first maximize min FPS 1463 // Then maximize max FPS while not lowering min FPS 2360 private void checkArrayValuesInRange(Key<int[]> key, int[] array, int min, in argument 2367 checkArrayValuesInRange(Key<byte[]> key, byte[] array, byte min, byte max) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskStackLayoutAlgorithm.java | 55 float min; field in class:Range 59 min = relativeMin = relMin; 68 min = x + relativeMin; 73 * Returns x normalized to the range 0 to 1 such that 0 = min, 0.5 = origin and 1 = max 101 return (absX >= Math.floor(min)) && (absX <= Math.ceil(max)); 334 // The min/max z translations 553 // Calculate the min/max/initial scroll 572 // If there is one stack task, ignore the min/max/initial scroll positions 597 mInitialScrollP = Math.max(mMinScrollP, Math.min(mMaxScrollP, (mNumStackTasks - 2)) 629 Math.min(maxBottomTaskNorm [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RadioResponse.java | 811 * @param min MIN (10 digits, MIN2+MIN1) if CDMA subscription is available 815 String hSid, String hNid, String min, String prl) { 816 responseStrings(responseInfo, mdn, hSid, hNid, min, prl); 814 getCDMASubscriptionResponse(RadioResponseInfo responseInfo, String mdn, String hSid, String hNid, String min, String prl) argument
|
/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 716 float __attribute__((overloadable)) rsRand(float min, float max) { argument 717 return SC_randf2(min, max); 1424 extern double __attribute__((overloadable)) min(double v1, double v2) { function 1428 extern double2 __attribute__((overloadable)) min(double2 v1, double2 v2) { function 1435 extern double3 __attribute__((overloadable)) min(double3 v1, double3 v2) { function 1443 extern double4 __attribute__((overloadable)) min(double4 v1, double4 v2) { function 1452 extern long __attribute__((overloadable)) min(long v1, long v2) { function 1455 extern long2 __attribute__((overloadable)) min(long2 v1, long2 v2) { function 1461 extern long3 __attribute__((overloadable)) min(long3 v1, long3 v2) { function 1468 extern long4 __attribute__((overloadable)) min(long function 1477 extern ulong __attribute__((overloadable)) min(ulong v1, ulong v2) { function 1480 extern ulong2 __attribute__((overloadable)) min(ulong2 v1, ulong2 v2) { function 1486 extern ulong3 __attribute__((overloadable)) min(ulong3 v1, ulong3 v2) { function 1493 extern ulong4 __attribute__((overloadable)) min(ulong4 v1, ulong4 v2) { function 2076 HN_FUNC_HN_HN(min); variable 2077 HN_FUNC_HN_H(min); // TODO can this be arch-specific similar to _Z3minDv2_ff? variable [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 31 import static java.lang.Math.min; 678 boolean isAtEdge = leading1 ? (span.min == 0) : (span.max == axis.getCount()); 699 int index = leading ? spec.span.min : spec.span.max; 722 Arrays.fill(a, Math.min(start, length), Math.min(end, length), value); 736 int min = minorWasDefined ? min(minorRange.min, count) : 0; 737 return min(size, count - min); 1336 createLinks(boolean min) argument 1346 computeLinks(PackedMap<Interval, MutableInt> links, boolean min) argument 1844 setParentConstraints(int min, int max) argument 1850 getMeasure(int min, int max) argument 2389 size(boolean min) argument 2435 public final int min; field in class:GridLayout.Interval 2452 Interval(int min, int max) argument [all...] |
H A D | TextView.java | 3478 @NonNull @Size(min = 1) 3547 public void setTextLocales(@NonNull @Size(min = 1) LocaleList locales) { 5477 Math.max(0, Math.min(start, len)), 5478 Math.max(0, Math.min(end, len))); 6306 int start = Math.min(Math.min(a, b), c); 6346 top = Math.min(top, bounds.top); 6475 + (int) Math.min(0, mShadowDx - mShadowRadius); 6480 return (int) Math.min(0, mShadowDy - mShadowRadius); 6839 clipLeft += Math.min( 11153 paste(int min, int max, boolean withFormatting) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputManagerService.cpp | 125 inline static T min(const T& a, const T& b) { function in namespace:android 485 jint tapDragInterval = max(min(longPressTimeout - 100, 1486 pattern[i] = max(jlong(0), min(patternMillis[i],
|
/frameworks/native/opengl/libagl/ |
H A D | context.h | 70 inline T min(T a, T b) { function in namespace:android::gl 74 inline T min(T a, T b, T c) { function in namespace:android::gl 75 return min(a, min(b, c)); 78 inline T min(T a, T b, T c, T d) { function in namespace:android::gl 79 return min(min(a,b), min(c,d));
|
/frameworks/support/compat/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompat.java | 673 * @param min The min value. 678 public static RangeInfoCompat obtain(int type, float min, float max, float current) { argument 679 return new RangeInfoCompat(IMPL.obtainRangeInfo(type, min, max, current)); 707 * Gets the min value. 709 * @return The min value. 898 public Object obtainRangeInfo(int type, float min, float max, float current) { argument 1359 public Object obtainRangeInfo(int type, float min, float max, float current) { argument 1360 return AccessibilityNodeInfo.RangeInfo.obtain(type, min, max, current);
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 30 import static java.lang.Math.min; 662 boolean isAtEdge = leading1 ? (span.min == 0) : (span.max == axis.getCount()); 687 int index = leading ? spec.span.min : spec.span.max; 710 Arrays.fill(a, Math.min(start, length), Math.min(end, length), value); 724 int min = minorWasDefined ? min(minorRange.min, count) : 0; 725 return min(size, count - min); 1227 createLinks(boolean min) argument 1237 computeLinks(PackedMap<Interval, MutableInt> links, boolean min) argument 1735 setParentConstraints(int min, int max) argument 1741 getMeasure(int min, int max) argument 2279 size(boolean min) argument 2325 public final int min; field in class:GridLayout.Interval 2342 Interval(int min, int max) argument [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 2135 private static final String KEY_MIN_EXPOSURE_COMPENSATION = "min-exposure-compensation"; 2840 * @param min the minimum preview fps (scaled by 1000). 2846 public void setPreviewFpsRange(int min, int max) { argument 2847 set(KEY_PREVIEW_FPS_RANGE, "" + min + "," + max);
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeInfo.java | 4194 * @param min The minimum value. Use {@code Float.NEGATIVE_INFINITY} if the range has no 4200 public static RangeInfo obtain(int type, float min, float max, float current) { argument 4203 return new RangeInfo(type, min, max, current); 4207 info.mMin = min; 4217 * @param min The minimum value. Use {@code Float.NEGATIVE_INFINITY} if the range has no 4223 private RangeInfo(int type, float min, float max, float current) { argument 4225 mMin = min;
|
/frameworks/av/services/audioflinger/ |
H A D | Threads.cpp | 98 static inline T min(const T& a, const T& b) function 163 // multiplier is calculated based on min & max normal mixer buffer size 165 // multiplier is calculated based on min & max normal mixer buffer size 409 " us per mix loop: mean=%.0f stddev=%.0f min=%.0f max=%.0f\n" 410 " %% of wall: mean=%.1f stddev=%.1f min=%.1f max=%.1f\n" 411 " MHz: mean=%.1f, stddev=%.1f, min=%.1f max=%.1f", 6306 framesToRead = min(mRsmpInFramesOA - rear, mRsmpInFramesP2 / 2); 6312 min(mPipeFramesP2, mRsmpInFramesP2) / 2, FMS_20 * mSampleRate / 1000); 6435 framesOut = min(framesOut,
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 92 inline static T min(const T& a, const T& b) { function in namespace:android 1040 "min=%0.3f, max=%0.3f, flat=%0.3f, fuzz=%0.3f, resolution=%0.3f\n", 1041 name, range.source, range.min, range.max, range.flat, range.fuzz, 1985 dump.appendFormat(INDENT4 "%s: min=%d, max=%d, flat=%d, fuzz=%d, resolution=%d\n", 3018 info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_1, mSource, x.min, x.max, x.flat, 3020 info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_2, mSource, y.min, y.max, y.flat, 3022 info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_3, mSource, x.min, x.max, x.flat, 3024 info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_4, mSource, y.min, y.max, y.flat, 3549 mOrientedRanges.touchMajor.min = 0; 3560 mOrientedRanges.toolMajor.min 7305 hasValueChangedSignificantly( float filter, float newValue, float currentValue, float min, float max) argument [all...] |
H A D | InputReader.h | 1927 float min; // normalized inclusive minimum member in struct:android::JoystickInputMapper::Axis 1942 float min, float max, float flat, float fuzz, float resolution) { 1950 this->min = min; 1977 float newValue, float currentValue, float min, float max); 1939 initialize(const RawAbsoluteAxisInfo& rawAxisInfo, const AxisInfo& axisInfo, bool explicitlyMapped, float scale, float offset, float highScale, float highOffset, float min, float max, float flat, float fuzz, float resolution) argument
|
/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 41 static inline T min(T a, T b) { function in namespace:android 1489 int32_t axis, uint32_t source, float min, float max, float flat, float fuzz) { 1494 ASSERT_NEAR(min, range->min, EPSILON) << "Axis: " << axis << " Source: " << source; 1488 assertMotionRange(const InputDeviceInfo& info, int32_t axis, uint32_t source, float min, float max, float flat, float fuzz) argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RecyclerView.java | 456 // simple array to keep min and max child position during a layout calculation 2023 velocityX = Math.max(-mMaxFlingVelocity, Math.min(velocityX, mMaxFlingVelocity)); 2024 velocityY = Math.max(-mMaxFlingVelocity, Math.min(velocityY, mMaxFlingVelocity)); 3324 final int limit = Math.min(itemCount, startFocusSearchIndex); 4814 final float distanceRatio = Math.min(1.f, 1.f * delta / containerSize); 4825 return Math.min(duration, MAX_SCROLL_DURATION); 7011 * @param min The minimum value 7015 public static int chooseSize(int spec, int desired, int min) { argument 7022 return Math.min(size, Math.max(desired, min)); [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerView.java | 479 // simple array to keep min and max child position during a layout calculation 2134 velocityX = Math.max(-mMaxFlingVelocity, Math.min(velocityX, mMaxFlingVelocity)); 2135 velocityY = Math.max(-mMaxFlingVelocity, Math.min(velocityY, mMaxFlingVelocity)); 3472 final int limit = Math.min(itemCount, startFocusSearchIndex); 4981 final float distanceRatio = Math.min(1.f, 1.f * delta / containerSize); 4992 return Math.min(duration, MAX_SCROLL_DURATION); 7283 * @param min The minimum value 7287 public static int chooseSize(int spec, int desired, int min) { argument 7294 return Math.min(size, Math.max(desired, min)); [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | Settings.java | 2647 public InclusiveIntegerRangeValidator(int min, int max) { argument 2648 mMin = min; 2667 public InclusiveFloatRangeValidator(float min, float max) { argument 2668 mMin = min; 8530 * The min time between wifi disable and wifi enable 9843 * The min period for caching installed instant apps in milliseconds. 9861 * The min period for caching uninstalled instant apps in milliseconds. 9879 * The min period for caching unused static shared libs in milliseconds.
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |
/frameworks/opt/setupwizard/tools/docs/ |
H A D | jsilver.jar | META-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ... |