/frameworks/base/core/jni/android/graphics/ |
H A D | MaskFilter.cpp | 51 static jlong createClipTable(JNIEnv* env, jobject, jint min, jint max) { argument 52 SkMaskFilter* filter = SkTableMaskFilter::CreateClip(min, max);
|
/frameworks/base/libs/hwui/utils/ |
H A D | MathUtils.h | 70 static inline T max(T a, T b) { function in class:android::uirenderer::MathUtils 81 return min(max(a, minValue), maxValue);
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | EffectParameter.java | 35 public EffectParameter (int min, int max, SeekBar seekBar, TextView textView, String unit) { argument 37 mMax = max; 43 mSeekBar.setMax(max-min);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | ToggleSlider.java | 112 public void setMax(int max) { argument 113 mSlider.setMax(max); 115 mMirror.setMax(max);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NavigationBarTransitions.java | 110 private static float maxVisibleQuiescentAlpha(float max, View v) { argument 112 return Math.max(max, ((KeyButtonView)v).getQuiescentAlpha()); 114 return max;
|
/frameworks/ex/common/java/com/android/common/ |
H A D | OperationScheduler.java | 61 "OperationScheduler.Options[backoff=%.1f+%.1f+%.1f max=%.1f min=%.1f period=%.1f]", 68 "OperationScheduler.Options[backoff=%.1f+%.1f max=%.1f min=%.1f period=%.1f]", 91 * backoff=(fixed)+(incremental)[+(exponential)] max=(maxmoratorium) min=(mintrigger) [period=](interval) 98 * The default options: <code>backoff=0+5 max=86400 min=0 period=0</code><br> 125 } else if (param.startsWith("max=")) { 176 time = Math.max(time, moratoriumTimeMillis); 177 time = Math.max(time, lastSuccessTimeMillis + options.minTriggerMillis); 193 time = Math.max(time, lastErrorTimeMillis + backoff); 214 return Math.max( 225 * @param max tim 228 getTimeBefore(String name, long max) argument [all...] |
/frameworks/native/libs/gui/ |
H A D | BufferQueueCore.cpp | 34 static inline T max(T a, T b) { return a > b ? a : b; } function 154 int maxBufferCount = max(mDefaultMaxBufferCount, minMaxBufferCount); 162 // will temporarily keep the max buffer count up until the slots no longer
|
/frameworks/native/libs/input/ |
H A D | InputDevice.cpp | 175 void InputDeviceInfo::addMotionRange(int32_t axis, uint32_t source, float min, float max, argument 177 MotionRange range = { axis, source, min, max, flat, fuzz, resolution };
|
/frameworks/rs/driver/runtime/arch/ |
H A D | generic.c | 227 extern char __attribute__((overloadable)) max(char v1, char v2) { function 231 extern char2 __attribute__((overloadable)) max(char2 v1, char2 v2) { function 238 extern char3 __attribute__((overloadable)) max(char3 v1, char3 v2) { function 246 extern char4 __attribute__((overloadable)) max(char4 v1, char4 v2) { function 255 extern short __attribute__((overloadable)) max(short v1, short v2) { function 259 extern short2 __attribute__((overloadable)) max(short2 v1, short2 v2) { function 266 extern short3 __attribute__((overloadable)) max(short3 v1, short3 v2) { function 274 extern short4 __attribute__((overloadable)) max(short4 v1, short4 v2) { function 283 extern int __attribute__((overloadable)) max(int v1, int v2) { function 287 extern int2 __attribute__((overloadable)) max(int function 294 extern int3 __attribute__((overloadable)) max(int3 v1, int3 v2) { function 302 extern int4 __attribute__((overloadable)) max(int4 v1, int4 v2) { function 311 extern uchar __attribute__((overloadable)) max(uchar v1, uchar v2) { function 315 extern uchar2 __attribute__((overloadable)) max(uchar2 v1, uchar2 v2) { function 322 extern uchar3 __attribute__((overloadable)) max(uchar3 v1, uchar3 v2) { function 330 extern uchar4 __attribute__((overloadable)) max(uchar4 v1, uchar4 v2) { function 339 extern ushort __attribute__((overloadable)) max(ushort v1, ushort v2) { function 343 extern ushort2 __attribute__((overloadable)) max(ushort2 v1, ushort2 v2) { function 350 extern ushort3 __attribute__((overloadable)) max(ushort3 v1, ushort3 v2) { function 358 extern ushort4 __attribute__((overloadable)) max(ushort4 v1, ushort4 v2) { function 367 extern uint __attribute__((overloadable)) max(uint v1, uint v2) { function 371 extern uint2 __attribute__((overloadable)) max(uint2 v1, uint2 v2) { function 378 extern uint3 __attribute__((overloadable)) max(uint3 v1, uint3 v2) { function 386 extern uint4 __attribute__((overloadable)) max(uint4 v1, uint4 v2) { function 395 extern float __attribute__((overloadable)) max(float v1, float v2) { function 399 extern float2 __attribute__((overloadable)) max(float2 v1, float2 v2) { function 403 extern float2 __attribute__((overloadable)) max(float2 v1, float v2) { function 407 extern float3 __attribute__((overloadable)) max(float3 v1, float3 v2) { function 411 extern float3 __attribute__((overloadable)) max(float3 v1, float v2) { function 415 extern float4 __attribute__((overloadable)) max(float4 v1, float4 v2) { function 419 extern float4 __attribute__((overloadable)) max(float4 v1, float v2) { function [all...] |
/frameworks/av/media/libmedia/ |
H A D | mediarecorder.cpp | 418 // of the only currently supported parameters, "max-duration" and 419 // "max-filesize" are _not_ fatal. 464 status_t MediaRecorder::getMaxAmplitude(int* max) argument 476 status_t ret = mMediaRecorder->getMaxAmplitude(max);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaRecorderClient.cpp | 223 status_t MediaRecorderClient::getMaxAmplitude(int* max) argument 231 return mRecorder->getMaxAmplitude(max);
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | block_switch.c | 179 enMax = max(enMax, enM1); 246 * returns: the max value 251 Word32 max; local 255 max = 0; 260 if (in[i+1] > max) { 261 max = in[i+1]; 267 return(max);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | p_ol_wgh.cpp | 422 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...] |
H A D | pitch_ol.cpp | 100 rmax = pointer to max(<s[i]*s[j]>), (Word32) 107 rmax contains the newly calculated max(<s[i]*s[j]>) 111 p_max = lag of the max correlation found (Word16) 142 p_max = lag of the max correlation found (Word16) 184 Word32 *rmax, // o : max(<s[i]*s[j]>) 205 Word32 max, t0; 209 max = MIN_32; 214 if (L_sub (corr[-i], max) >= 0) 216 max = corr[-i]; 234 *rmax = max; 325 Word32 max; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | pvamrwbdecoder.cpp | 328 int32 max; local 944 max = 1; 955 max |= tmp ^(tmp >> 15); /* |= tmp ^sign(tmp) */ 959 /* tmp = scaling possible according to max value of excitation */ 960 tmp = add_int16(norm_s(max), Q_new) - 1;
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | pitch_f4.c | 81 Word16 max, t0, step, temp; local 99 max = corr[t0_min]; 103 if (corr[i] >= max) 105 max = corr[i]; 132 max = Interpol_4(&corr[t0], fraction); 137 if(temp > max) 139 max = temp;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
H A D | armVCM4P10_DeblockingLuma_unsafe_s.s | 88 max RN 12 label 197 UQADD8 max, p_1, tC0 206 USUB8 t4, P1a, max 207 SEL P1a, max, P1a 213 UQADD8 max, q_1, tC0 215 USUB8 t0, Q1a, max 216 SEL Q1a, max, Q1a
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_inter_prediction.c | 924 i32 max,min,med; local 928 max = min = med = a; 929 if (b > max) 931 max = b; 937 if (c > max) 939 med = max;
|
/frameworks/base/core/java/android/app/ |
H A D | ProgressDialog.java | 138 int max = mProgress.getMax(); 141 mProgressNumber.setText(String.format(format, progress, max)); 146 double percent = (double) progress / (double) max; 252 public void setMax(int max) { argument 254 mProgress.setMax(max); 257 mMax = max;
|
/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 221 * @param max length (positive for head, negative of tail, 0 for no limit) 226 public static String readTextFile(File file, int max, String ellipsis) throws IOException { argument 234 if (max > 0 || (size > 0 && max == 0)) { // "head" mode: read the first N bytes 235 if (size > 0 && (max == 0 || size < max)) max = (int) size; 236 byte[] data = new byte[max + 1]; 239 if (length <= max) return new String(data, 0, length); 240 if (ellipsis == null) return new String(data, 0, max); [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | SeekBarPreference.java | 113 public void setMax(int max) { argument 114 if (max != mMax) { 115 mMax = max; 197 myState.max = mMax; 213 mMax = myState.max; 225 int max; field in class:SeekBarPreference.SavedState 232 max = source.readInt(); 241 dest.writeInt(max);
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | BlockingAudioTrack.java | 216 int bufferSizeInBytes = Math.max(MIN_AUDIO_BUFFER_SIZE, minBufferSizeInBytes); 336 private static final long clip(long value, long min, long max) { argument 337 return value < min ? min : (value < max ? value : max); 340 private static final float clip(float value, float min, float max) { argument 341 return value < min ? min : (value < max ? value : max);
|
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 62 public static float max(float a, float b) { method in class:MathUtils 66 public static float max(int a, int b) { method in class:MathUtils 70 public static float max(float a, float b, float c) { method in class:MathUtils 74 public static float max(int a, int b, int c) { method in class:MathUtils
|
/frameworks/base/core/java/android/widget/ |
H A D | RatingBar.java | 325 public synchronized void setMax(int max) { argument 326 // Disallow max progress = 0 327 if (max <= 0) { 331 super.setMax(max);
|
H A D | SimpleMonthAdapter.java | 50 public void setRange(Calendar min, Calendar max) { argument 52 mMaxDate.setTimeInMillis(max.getTimeInMillis());
|