Searched defs:min (Results 76 - 91 of 91) sorted by relevance

1234

/frameworks/av/services/audioflinger/
H A DAudioMixer.cpp89 T min(const T& a, const T& b) function in namespace:android
151 size_t count = min(mLocalBufferFrameCount, mBuffer.frameCount - mConsumed);
152 count = min(count, pBuffer->frameCount);
H A DEffects.cpp47 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
1418 audio_bytes_per_sample(AUDIO_FORMAT_PCM_16_BIT) * min(FCC_2, thread->channelCount());
H A DTracks.cpp1374 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
1548 buffer->frameCount = min(framesLeftInHead, framesRequested);
1570 buffer->frameCount = min(numFrames, framesRequested);
/frameworks/base/media/java/android/media/
H A DClosedCaptionRenderer.java684 private static int clamp(int x, int min, int max) { argument
685 return x < min ? min : (x > max ? max : x);
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp120 inline static T min(const T& a, const T& b) { function in namespace:android
403 jint tapDragInterval = max(min(longPressTimeout - 100,
1298 pattern[i] = max(jlong(0), min(patternMillis[i],
/frameworks/opt/net/wifi/service/tools/halutil/
H A Dhalutil.cpp33 T min(const T& t1, const T& t2) { function
625 min(num_results, max_ap), rtt_samples);
628 for (int i = 0; i < min(num_results, max_ap); i++, num_ap++) {
/frameworks/base/core/java/android/widget/
H A DGridLayout.java52 import static java.lang.Math.min;
669 boolean isAtEdge = leading1 ? (span.min == 0) : (span.max == axis.getCount());
690 int index = leading ? spec.span.min : spec.span.max;
713 Arrays.fill(a, Math.min(start, length), Math.min(end, length), value);
727 int min = minorWasDefined ? min(minorRange.min, count) : 0;
728 return min(size, count - min);
1344 createLinks(boolean min) argument
1354 computeLinks(PackedMap<Interval, MutableInt> links, boolean min) argument
1854 setParentConstraints(int min, int max) argument
1860 getMeasure(int min, int max) argument
2401 size(boolean min) argument
2447 public final int min; field in class:GridLayout.Interval
2464 Interval(int min, int max) argument
[all...]
H A DTextView.java4124 Math.max(0, Math.min(start, len)),
4125 Math.max(0, Math.min(end, len)));
4836 int start = Math.min(Math.min(a, b), c);
4875 top = Math.min(top, bounds.top);
5012 (int) Math.min(0, mShadowDx - mShadowRadius);
5017 return (int) Math.min(0, mShadowDy - mShadowRadius);
5394 clipLeft += Math.min(0, mShadowDx - mShadowRadius);
5397 clipTop += Math.min(0, mShadowDy - mShadowRadius);
6632 width = Math.min(widt
8833 paste(int min, int max) argument
[all...]
/frameworks/native/opengl/libagl/
H A Dcontext.h69 inline T min(T a, T b) { function in namespace:android::gl
73 inline T min(T a, T b, T c) { function in namespace:android::gl
74 return min(a, min(b, c));
77 inline T min(T a, T b, T c, T d) { function in namespace:android::gl
78 return min(min(a,b), min(c,d));
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java49 import static java.lang.Math.min;
653 boolean isAtEdge = leading1 ? (span.min == 0) : (span.max == axis.getCount());
678 int index = leading ? spec.span.min : spec.span.max;
701 Arrays.fill(a, Math.min(start, length), Math.min(end, length), value);
715 int min = minorWasDefined ? min(minorRange.min, count) : 0;
716 return min(size, count - min);
1221 createLinks(boolean min) argument
1231 computeLinks(PackedMap<Interval, MutableInt> links, boolean min) argument
1731 setParentConstraints(int min, int max) argument
1737 getMeasure(int min, int max) argument
2276 size(boolean min) argument
2322 public final int min; field in class:GridLayout.Interval
2339 Interval(int min, int max) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java2113 private static final String KEY_MIN_EXPOSURE_COMPENSATION = "min-exposure-compensation";
2818 * @param min the minimum preview fps (scaled by 1000).
2824 public void setPreviewFpsRange(int min, int max) { argument
2825 set(KEY_PREVIEW_FPS_RANGE, "" + min + "," + max);
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java3544 * @param min The min value.
3548 public static RangeInfo obtain(int type, float min, float max, float current) { argument
3550 return (info != null) ? info : new RangeInfo(type, min, max, current);
3557 * @param min The min value.
3561 private RangeInfo(int type, float min, float max, float current) { argument
3563 mMin = min;
3582 * Gets the min value.
3584 * @return The min valu
[all...]
/frameworks/base/libs/hwui/
H A DOpenGLRenderer.cpp124 static inline T min(T a, T b) { function in namespace:android::uirenderer
1263 GLsizei drawCount = min(elementsCount, (GLsizei) gMaxNumberOfQuads * 6);
2954 GLsizei drawCount = min(elementsCount, (GLsizei) gMaxNumberOfQuads * 6);
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp37 static inline T min(T a, T b) { function in namespace:android
1445 int32_t axis, uint32_t source, float min, float max, float flat, float fuzz) {
1450 ASSERT_NEAR(min, range->min, EPSILON) << "Axis: " << axis << " Source: " << source;
1444 assertMotionRange(const InputDeviceInfo& info, int32_t axis, uint32_t source, float min, float max, float flat, float fuzz) argument
/frameworks/native/services/inputflinger/
H A DInputReader.cpp76 inline static T min(const T& a, const T& b) { function in namespace:android
897 "min=%0.3f, max=%0.3f, flat=%0.3f, fuzz=%0.3f, resolution=%0.3f\n",
898 name, range.source, range.min, range.max, range.flat, range.fuzz,
1807 dump.appendFormat(INDENT4 "%s: min=%d, max=%d, flat=%d, fuzz=%d, resolution=%d\n",
2652 info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_1, mSource, x.min, x.max, x.flat,
2654 info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_2, mSource, y.min, y.max, y.flat,
2656 info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_3, mSource, x.min, x.max, x.flat,
2658 info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_4, mSource, y.min, y.max, y.flat,
3119 mOrientedRanges.touchMajor.min = 0;
3130 mOrientedRanges.toolMajor.min
6562 hasValueChangedSignificantly( float filter, float newValue, float currentValue, float min, float max) argument
[all...]
H A DInputReader.h1794 float min; // normalized inclusive minimum member in struct:android::JoystickInputMapper::Axis
1809 float min, float max, float flat, float fuzz, float resolution) {
1817 this->min = min;
1844 float newValue, float currentValue, float min, float max);
1806 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

Completed in 6003 milliseconds

1234