Searched defs:max (Results 101 - 125 of 183) sorted by relevance

12345678

/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraSettings.java176 * @param max The max FPS.
178 public void setPreviewFpsRange(int min, int max) { argument
179 if (min > max) {
180 int temp = max;
181 max = min;
184 mPreviewFpsRangeMax = max;
197 * @return The max of the preview FPS range.
/frameworks/minikin/libs/minikin/
H A DFontCollection.cpp38 static inline T max(T a, T b) { function in namespace:minikin
77 mMaxChar = max(mMaxChar, coverage.length());
/frameworks/native/libs/ui/
H A DRegion.cpp440 static inline T max(T rhs, T lhs) { return rhs > lhs ? rhs : lhs; } function in class:android::Region::rasterizer
506 bounds.right = max(span.top().right, bounds.right);
/frameworks/native/services/inputflinger/host/
H A DInputDriver.cpp68 int32_t max; member in struct:input_int_usage
166 input_collection_id_t id, input_usage_t usage, int32_t min, int32_t max,
170 .usage = usage, .min = min, .max = max, .resolution = resolution});
335 input_usage_t usage, int32_t min, int32_t max, float resolution) {
337 driver->inputReportDefinitionDeclareUsageInt(report, id, usage, min, max, resolution);
165 inputReportDefinitionDeclareUsageInt(input_report_definition_t* report, input_collection_id_t id, input_usage_t usage, int32_t min, int32_t max, float resolution) argument
333 input_report_definition_declare_usage_int(input_host_t* host, input_report_definition_t* report, input_collection_id_t id, input_usage_t usage, int32_t min, int32_t max, float resolution) argument
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2TestBuffer.cpp419 uint8_t max = 255; local
428 max = 255 / 2;
435 setColor(x, y, mFormat, stride, img, max, min, min, 255);
439 setColor(x, y, mFormat, stride, img, min, max, min, 255);
443 setColor(x, y, mFormat, stride, img, min, min, max, 255);
589 float max = 255, min = 0; local
634 max = 255 / 2;
644 rCur = max;
646 gCur = max;
648 bCur = max;
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiDiagnostics.java346 LimitedCircularArray(int max) { argument
347 mArrayList = new ArrayList<E>(max);
348 mMax = max;
/frameworks/support/dynamic-animation/src/android/support/animation/
H A DDynamicAnimation.java280 // Use the max value of float to indicate an unset state.
305 // Min and max values that defines the range of the animation values.
405 * Sets the max value of the animation. Animations will not animate beyond their max value.
406 * Whether or not animation will come to an end when max value is reached is dependent on the
409 * @param max maximum value of the property to be animated
410 * @return the Animation whose max value is being set
412 public T setMaxValue(float max) { argument
413 // This max value should be checked and handled in the subclass animations, instead of
414 // assuming the end of the animations when the max/mi
[all...]
/frameworks/support/media-compat/api21/android/support/v4/media/session/
H A DMediaControllerCompatApi21.java270 public void onAudioInfoChanged(int type, int stream, int control, int max, int current); argument
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.cpp35 #define max(a, b) ((a) > (b) ? (a) : (b)) macro
595 if (currentRate >= max(initialRate, finalRate)) {
596 currentRate = max(initialRate, finalRate);
/frameworks/av/media/libaudioprocessing/
H A DAudioMixer.cpp69 T max(const T& x, const T& y) { function
558 const float maxv = max(newVolume, *pPrevVolume); // could be inf, cannot be nan, subnormal
/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp946 || !strcmp(attrs[i], "max")
976 AString min, max; local
977 if (msg->findString("min", &min) && msg->findString("max", &max)) {
979 min.append(max);
981 return limitError(name, "has 'min' and 'max' as well as 'range' or "
985 } else if (msg->contains("min") || msg->contains("max")) {
986 return limitError(name, "has only 'min' or 'max' attribute");
987 } else if (msg->findString("value", &max)) {
988 min = max;
1034 AString max, value, ranges; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A DvoAMRWBEnc.c205 Word16 tmp, gain1, gain2, exp, Q_new, mu, shift, max; local
280 /* get max of new preemphased samples (L_FRAME+L_FILT) */
446 max = 0;
450 if(tmp > max)
452 max = tmp;
456 if(max > tmp)
458 tmp = max; /* tmp = max(wsp_max, old_wsp_max) */
460 st->old_wsp_max = max;
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4enc_api.cpp198 Int max = 0, max_width = 0, max_height = 0, pitch, offset; local
510 /* set max frame rate */
527 /* set max bit rate */
615 if ((temp_w*temp_h) > max)
617 max = temp_w * temp_h;
2994 Int idx, temp_w, temp_h, max = 0, max_width, max_height; local
3024 if ((temp_w*temp_h) > max)
3026 max = temp_w * temp_h;
3041 else /* if the max is not set, set it to the specified profile/level */
3051 else /* if the max i
[all...]
/frameworks/base/core/java/android/hardware/
H A DSensor.java1026 * @return The max delay for this sensor in microseconds.
1107 void setRange(float max, float res) { argument
1108 mMaxRange = max;
/frameworks/base/core/java/android/view/
H A DInputDevice.java741 float min, float max, float flat, float fuzz, float resolution) {
742 mMotionRanges.add(new MotionRange(axis, source, min, max, flat, fuzz, resolution));
819 private MotionRange(int axis, int source, float min, float max, float flat, float fuzz, argument
824 mMax = max;
997 description.append(" max=").append(range.mMax);
740 addMotionRange(int axis, int source, float min, float max, float flat, float fuzz, float resolution) argument
/frameworks/base/core/java/android/widget/
H A DListPopupWindow.java897 * @param max Max number of items that can be visible and still allow the list to expand.
899 void setListItemExpandMax(int max) { argument
900 mListItemExpandMaximum = max;
H A DOverScroller.java235 return Math.max(mScrollerX.mDuration, mScrollerY.mDuration);
714 boolean springback(int start, int min, int max) { argument
725 } else if (start > max) {
726 startSpringback(start, max, 0);
746 void fling(int start, int velocity, int min, int max, int over) { argument
754 if (start > max || start < min) {
755 startAfterEdge(start, min, max, velocity);
776 if (mFinal > max) {
777 adjustDuration(mStart, mFinal, max);
778 mFinal = max;
819 startAfterEdge(int start, int min, int max, int velocity) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DAutoScrollHelper.java651 private static int constrain(int value, int min, int max) { argument
652 if (value > max) {
653 return max;
661 private static float constrain(float value, float min, float max) { argument
662 if (value > max) {
663 return max;
/frameworks/base/media/java/android/media/session/
H A DMediaController.java298 * @param value The value to set it to, between 0 and the reported max.
923 public PlaybackInfo(int type, AudioAttributes attrs, int control, int max, int current) { argument
927 mMaxVolume = max;
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DBugreportReceiverTest.java138 private static final String MAX_PROPERTY = "dumpstate." + PID + ".max";
692 private void sendBugreportStarted(int max) throws Exception { argument
693 sendBugreportStarted(ID, PID, NAME, max);
696 private void sendBugreportStarted(int id, int pid, String name, int max) throws Exception { argument
703 intent.putExtra(EXTRA_MAX, max);
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmAnalyzer.java754 public void visitTableSwitchInsn(int min, int max, Label dflt, Label... labels) { argument
H A DDependencyFinder.java628 public void visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) { argument
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMRelocator.cpp267 int32_t max = (1 << (bits - 1)) - 1; local
269 if (signed_val > max || signed_val < min) {
/frameworks/opt/net/wifi/libwifi_hal/
H A Dhal_tool.cpp97 byte flush, int max,
96 wifi_get_cached_gscan_results_stub(wifi_interface_handle iface, byte flush, int max, wifi_cached_scan_results* results, int* num) argument
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DAutoScrollHelper.java651 static int constrain(int value, int min, int max) { argument
652 if (value > max) {
653 return max;
661 static float constrain(float value, float min, float max) { argument
662 if (value > max) {
663 return max;

Completed in 741 milliseconds

12345678