Home
last modified time | relevance | path

Searched refs:MAX (Results 1 – 25 of 42) sorted by relevance

12

/packages/apps/Gallery2/jni/filters/
Dbwfilter.c31 float max = MAX(sg,sb); in JNIFUNCF()
32 max = MAX(sr,max); in JNIFUNCF()
47 max = MAX(g,b); in JNIFUNCF()
48 max = MAX(r,max); in JNIFUNCF()
DredEyeMath.c23 return MAX(r, MAX(g, b)); in value()
30 int max = MAX(g, b); in isRed()
118 rect[0] = MAX(rect[0],0); in filterRedEye()
119 rect[1] = MAX(rect[1],0); in filterRedEye()
148 int m = MAX(g,b); in filterRedEye()
Dfilters.h34 #define MAX(a, b) ((a) > (b) ? (a) : (b)) macro
44 #define CLAMP(c) (MAX(0, MIN(255, c)))
Dhsv.c48 iMax = MAX (ri, bi); in rgb2hsv()
51 iMax = MAX (gi, bi); in rgb2hsv()
Dwbalance.c150 int max = MAX(wr, MAX(wg, wb)); in JNIFUNCF()
Dvibrance.c41 float red = (r-MAX(g, b))/256.f; in JNIFUNCF()
Dedge.c91 mag = MIN(MAX(c_min, mag), c_max); in JNIFUNCF()
/packages/apps/Car/systemlibs/car-qc-lib/tests/unit/src/com/android/car/qc/
DQCSliderTest.java33 private static final int MAX = 150; field in QCSliderTest
57 assertThat(newSlider.getMax()).isEqualTo(MAX); in createFromParcel_accurateData()
64 .setMax(MAX) in createSlider()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DSeekBarPreferenceTest.java53 private static final int MAX = 75; field in SeekBarPreferenceTest
68 mSeekBarPreference.setMax(MAX); in setUp()
75 mSeekBar.setMax(MAX); in setUp()
86 assertThat(preference.getMax()).isEqualTo(MAX); in testSaveAndRestoreInstanceState()
/packages/services/BuiltInPrintService/jni/include/
Dwtypes.h47 #ifndef MAX
48 #define MAX(x, y) (((x) > (y)) ? (x) : (y)) macro
/packages/services/BuiltInPrintService/jni/plugins/
Dwprint_image.c370 image_info->output_rows = MAX(image_info->output_rows, gen_rows); in wprint_image_set_output_properties()
371 image_info->unscaled_rows_needed = MAX(image_info->unscaled_rows_needed, in wprint_image_set_output_properties()
373 image_info->mixed_memory_needed = MAX(image_info->mixed_memory_needed, mixed); in wprint_image_set_output_properties()
376 (MAX(image_output_width, image_output_height) * image_info->unscaled_rows_needed)); in wprint_image_set_output_properties()
612 int width = MAX(MAX(image_info->scaled_width, image_info->scaled_height), in wprint_image_get_output_buff_size()
1062 available_mem = MAX(available_mem, MIN_DECODE_MEM); in wprint_image_compute_rows_to_cache()
1077 if (max_rows > (MAX(width, height))) { in wprint_image_compute_rows_to_cache()
1078 max_rows = MAX(width, height); in wprint_image_compute_rows_to_cache()
/packages/modules/Bluetooth/system/udrv/ulinux/
Duipc.cc55 #define MAX(a, b) ((a) > (b) ? (a) : (b)) macro
193 uipc.max_fd = MAX(uipc.max_fd, uipc.signal_fds[0]); in uipc_main_init()
255 uipc.max_fd = MAX(uipc.max_fd, uipc.ch[ch_id].fd); in uipc_check_fd_locked()
308 uipc.max_fd = MAX(uipc.max_fd, fd); in uipc_setup_server_locked()
/packages/modules/Bluetooth/system/embdrv/lc3/tools/
Ddlc3.c38 #ifndef MAX
39 #define MAX(a, b) ( (a) > (b) ? (a) : (b) ) macro
/packages/modules/Bluetooth/system/stack/avrc/
Davrc_api.cc48 #ifndef MAX
49 #define MAX(a, b) ((a) > (b) ? (a) : (b)) macro
262 const int offset = MAX(AVCT_MSG_OFFSET, p_pkt->offset); in avrc_copy_packet()
263 const int pkt_len = MAX(rsp_pkt_len, p_pkt->len); in avrc_copy_packet()
341 int offset_len = MAX(AVCT_MSG_OFFSET, p_pkt->offset); in avrc_send_continue_frag()
1239 int offset_len = MAX(AVCT_MSG_OFFSET, p_pkt->offset); in AVRC_MsgReq()
/packages/modules/Bluetooth/system/blueberry/utils/
Dble_scan_adv_constants.py24 MAX = 3 variable in BleScanSettingsMatchNums
Dbt_gatt_constants.py294 MAX = 217 variable in GattMtuSize
/packages/modules/StatsD/tests/
DPROCSTATSQ_PROCS_STATE_PSS_VALUE.pbtxt25 aggregation_type: MAX
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothHidDeviceAppQosSettings.java43 public static final int MAX = (int) 0xffffffff; field in BluetoothHidDeviceAppQosSettings
/packages/modules/Virtualization/authfs/src/fsverity/
Deditor.rs75 debug_assert!(usize::MAX as u64 == u64::MAX, "Only 64-bit arch is supported"); in debug_assert_usize_is_u64()
/packages/services/Car/tests/OccupantAwareness/src/com/android/car/test/
DOccupantAwarenessUtilsTest.java74 android.hardware.automotive.occupant_awareness.ConfidenceLevel.MAX)) in test_convertToConfidenceScore()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/
DBluetoothHidDeviceBinderTest.java80 int delayVariation = BluetoothHidDeviceAppQosSettings.MAX; in registerApp()
/packages/services/Car/service/src/com/android/car/
DOccupantAwarenessUtils.java96 case android.hardware.automotive.occupant_awareness.ConfidenceLevel.MAX: in convertToConfidenceScore()
/packages/modules/Bluetooth/system/gd/packet/parser/test/
Dtest_packets.pdl449 MAX = 0xffffffffffffffff,
/packages/modules/Virtualization/zipfuse/src/
Dmain.rs124 std::time::Duration::new(u64::MAX, 1_000_000_000 - 1) in timeout_max()
167 st.st_size = i64::try_from(inode_data.size).unwrap_or(i64::MAX); in stat_from()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Da2dp.rs56 pub const MAX: A2dpCodecIndex = A2dpCodecIndex::Max; constant

12