/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerFirGen.h | 65 inline double value() const { function in class:android::SineGen 81 double mCurrent; // current value of sine/cosine 82 double mPrevious; // previous value of sine/cosine 92 * The SineGen returned by value() starts at innerStart = outerStart + n*outerStep; 105 inline SineGen value() { function in class:android::SineGenGen 106 return SineGen(mSineInnerCur.value(), mSineInnerPrev.value(), mTwoCos); 137 * @param x is the value to round. 175 * pass in the absolute value as needed). 190 static const double value member in struct:android::I0Term 195 static const double value = 1.; member in struct:android::I0Term 200 static const double value = I0ATerm<N-1>::value * (2.*N-1.) * (2.*N-1.) / (8. * N); member in struct:android::I0ATerm 205 static const double value = 0.398942280401432677939946059934381868475858631164934657665925; member in struct:android::I0ATerm [all...] |
H A D | AudioResamplerFirOps.h | 38 static const bool value = false; member in struct:android::is_same 44 static const bool value = true; member in struct:android::is_same
|
H A D | AudioResamplerFirProcess.h | 59 int32_t volumeAdjust(int32_t value, int32_t volume) argument 61 return 2 * mulRL(0, value, volume); // Note: only use top 16b 66 float volumeAdjust(float value, float volume) argument 68 return value * volume; 84 value = 0; 89 mac(value, coef, data++); 93 *out++ = volumeAdjust(value, gain); 97 TO value; // one per recursive inherited base class member in class:android::Accumulator 310 * expressed as a S32 integer. A negative value inverts the channel 180 degrees. 312 * A typical value fo [all...] |
H A D | Threads.cpp | 153 // Currently the client uses N-buffering by default, but doesn't tell us about the value of N. 155 // FIXME It would be better for client to tell AudioFlinger the value of N, 159 // This is the default value, if not specified by property. 166 // The actual value to use, which can be specified per-device via property af.fast_track_multiplier. 181 char value[PROPERTY_VALUE_MAX]; local 182 if (property_get("af.fast_track_multiplier", value, NULL) > 0) { 184 unsigned long ul = strtoul(value, &endptr, 0); 1570 void AudioFlinger::PlaybackThread::setMasterVolume(float value) argument 1578 mMasterVolume = value; 1594 void AudioFlinger::PlaybackThread::setStreamVolume(audio_stream_type_t stream, float value) argument 2079 char value[PROPERTY_VALUE_MAX]; local 3748 int value; local 4150 int value; local [all...] |
/frameworks/av/services/audioflinger/tests/ |
H A D | test_utils.h | 29 static const bool value = false; member in struct:is_same 35 static const bool value = true; member in struct:is_same 41 if (is_same<T, int16_t>::value) { 43 } else if (is_same<T, int32_t>::value) { 275 if (is_same<T, float>::value) { 277 } else if (is_same<T, short>::value) {
|
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyEffects.cpp | 395 *(short *)((char *)param + pos) = (short)atoi(node->value); 400 *(int *)((char *)param + pos) = atoi(node->value); 405 *(float *)((char *)param + pos) = (float)atof(node->value); 410 if (strncmp(node->value, "false", strlen("false") + 1) == 0) { 418 size_t len = strnlen(node->value, EFFECT_STRING_LEN_MAX); 423 strncpy(param + *curSize, node->value, len); 436 cnode *value; local 442 value = config_find(root, VALUE_TAG); 443 if (param == NULL && value == NULL) { 452 *ptr = atoi(param->value); [all...] |
H A D | AudioPolicyManager.cpp | 58 uint32_t value; member in struct:android::StringToEnum 185 return table[i].value; 193 uint32_t value) 196 if (table[i].value == value) { 203 bool AudioPolicyManager::stringToBool(const char *value) argument 205 return ((strcasecmp("true", value) == 0) || (strcmp("1", value) == 0)); 786 void AudioPolicyManager::setSystemProperty(const char* property, const char* value) argument 788 ALOGV("setSystemProperty() property %s, value 191 enumToString(const struct StringToEnum *table, size_t size, uint32_t value) argument 2904 String8 value; local 3198 char *value; local 3458 char *value; local [all...] |
H A D | AudioPolicyService.cpp | 68 char value[PROPERTY_VALUE_MAX]; local 799 String8 value; local 800 param.getAt(j, key, value); 813 // otherwise, update the key value pairs
|
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | Camera2Client.cpp | 1262 * with a fake value of success set to true. 1531 ALOGE("%s: Camera %d: Error setting %d as display orientation value", 1560 char value[PROPERTY_VALUE_MAX]; local 1561 property_get("ro.camera.sound.forced", value, "0"); 1562 if (strncmp(value, "0", 2) != 0) {
|
H A D | CameraClient.cpp | 555 // set preview/capture parameters - key/value pairs 568 // get preview/capture parameters - key/value pairs 600 char value[PROPERTY_VALUE_MAX]; local 601 property_get("ro.camera.sound.forced", value, "0"); 602 if (strcmp(value, "0") != 0) {
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | FrameProcessor.cpp | 313 T* value, int32_t frameNumber, int cameraId) { 315 if (value == NULL) { 330 *value = static_cast<T>(entry.data.u8[0]); 333 *value = static_cast<T>(entry.data.i32[0]); 312 get3aResult(const CameraMetadata& result, int32_t tag, T* value, int32_t frameNumber, int cameraId) argument
|
H A D | Parameters.cpp | 215 // -- Order matters. Set range after single value to so that a roundtrip 240 // from the [min, max] fps range use the max value 399 ALOGW("%s: Camera %d: Unknown white balance value: %d", 463 ALOGW("%s: Camera %d: Unknown effect value: %d", 505 ALOGW("%s: Camera %d: Unknown antibanding value: %d", 600 ALOGW("%s: Camera %d: Unknown scene mode value: %d", 710 ALOGW("%s: Camera %d: Unknown AF mode value: %d", 874 char value[PROPERTY_VALUE_MAX]; local 875 property_get("camera.disable_zsl_mode", value, "0"); 876 if (!strcmp(value," [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Device.cpp | 1848 T* value, uint32_t frameNumber) { 1861 *value = entry.data.u8[0]; 1863 *value = entry.data.i32[0]; 1873 const T* value, uint32_t frameNumber) { 1874 if (result.update(tag, value, 1) != NO_ERROR) { 2939 * Rewrite it with our requested trigger value. 2977 ", value %d", __FUNCTION__, trigger.getTagName(), 2982 ALOGV("%s: Mixed in trigger %s, value %d", __FUNCTION__, 3029 ", trigger value %d", __FUNCTION__, 3045 ", trigger value 1847 get3AResult(const CameraMetadata& result, int32_t tag, T* value, uint32_t frameNumber) argument 1872 insert3AResult(CameraMetadata& result, int32_t tag, const T* value, uint32_t frameNumber) argument [all...] |
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 396 char value[PROPERTY_VALUE_MAX]; local 397 property_get(EXIT_PROP_NAME, value, "0"); 398 int exitnow = atoi(value);
|
H A D | bootanimation_main.cpp | 45 char value[PROPERTY_VALUE_MAX]; local 46 property_get("debug.sf.nobootanimation", value, "0"); 47 int noBootAnimation = atoi(value);
|
/frameworks/base/cmds/idmap/ |
H A D | inspect.cpp | 127 void print(const char *section, const char *subsection, uint32_t value, const char *fmt, ...) { argument 131 printf("%-12s %-12s 0x%08x ", section, subsection, value);
|
/frameworks/base/cmds/settings/src/com/android/commands/settings/ |
H A D | SettingsCmd.java | 202 final String table, final String key, final String value) { 214 arg.putString(Settings.NameValueTable.VALUE, value); 245 System.err.println(" settings [--user NUM] put namespace key value"); 201 putForUser(IContentProvider provider, int userHandle, final String table, final String key, final String value) argument
|
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManager.java | 174 * Bundle key used for the auth token value in results 508 * @param value true is permission is being granted, false for revoked 511 public void updateAppPermission(Account account, String authTokenType, int uid, boolean value) { argument 513 mService.updateAppPermission(account, authTokenType, uid, value); 907 * @param value The value to set, null to clear this userdata key 909 public void setUserData(final Account account, final String key, final String value) { argument 913 mService.setUserData(account, key, value); 1000 * <p>Some authenticators have auth token <em>types</em>, whose value 1040 * If the account is no longer present on the device, the return value i [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | Animator.java | 46 * value(s) set immediately, followed by calls to 72 * Ends the animation. This causes the animation to assign the end value of the property being 176 * default value is {@link android.view.animation.AccelerateDecelerateInterpolator}. 178 * @param value the interpolator to be used by this animation 180 public abstract void setInterpolator(TimeInterpolator value); argument 209 // Default method returns value for isRunning(). Subclasses should override to return a 210 // real value.
|
H A D | BidirectionalTypeConverter.java | 20 * is necessary when the value types of in animation are different from the property 21 * type. BidirectionalTypeConverter is needed when only the final value for the 36 * @param value The Object to convert. 37 * @return A value of type T, converted from <code>value</code>. 39 public abstract T convertBack(V value); argument 64 public From convertBack(To value) { argument 65 return mConverter.convert(value); 69 public To convert(From value) { argument 70 return mConverter.convertBack(value); [all...] |
H A D | Keyframe.java | 20 * This class holds a time/value pair for an animation. The Keyframe class is used 22 * of the animation. As the time proceeds from one keyframe to the other, the value of the 23 * target object will animate between the value at the previous keyframe and the value at the 28 * a subclass of Keyframe specific to the type of value being stored. This is done to improve 38 * Flag to indicate whether this keyframe has a valid value. This flag is used when an 45 * Flag to indicate whether the value in the keyframe was read from the target object or not. 46 * If so, its value will be recalculated if target changes. 57 * The type of the value in this Keyframe. This type is determined at construction time, 58 * based on the type of the <code>value</cod 82 ofInt(float fraction, int value) argument 114 ofFloat(float fraction, float value) argument 146 ofObject(float fraction, Object value) argument 203 setValue(Object value) argument 269 ObjectKeyframe(float fraction, Object value) argument 280 setValue(Object value) argument 304 IntKeyframe(float fraction, int value) argument 324 setValue(Object value) argument 351 FloatKeyframe(float fraction, float value) argument 371 setValue(Object value) argument [all...] |
H A D | PropertyValuesHolder.java | 76 * The set of keyframes (time/value pairs) that define this animation. 111 // Used to pass single value to varargs parameter in setter invocation 123 * The value most recently calculated by calculateValue(). This is set during 178 * a start and end value. If more values are supplied, the values will be animated from the 179 * start, through all intermediate values to the end value. When used with ObjectAnimator, 229 * set of Object values for use with ObjectAnimator multi-value setters. The Object 234 * @param converter Used to convert the animated value to setter parameters. 237 * value. 252 * {@link android.animation.TypeEvaluator} can be used to to evaluate the animated value. The 255 * <p>At least two values must be supplied, a start and an end value 842 convertBack(Object value) argument 1569 convert(PointF value) argument 1587 convert(PointF value) argument [all...] |
H A D | TypeConverter.java | 21 * is necessary when the value types of in animation are different 51 * Converts a value from one type to another. 52 * @param value The Object to convert. 53 * @return A value of type V, converted from <code>value</code>. 55 public abstract V convert(T value); argument
|
H A D | ValueAnimator.java | 45 * <a href="{@docRoot}guide/topics/graphics/prop-animation.html#value-animator">Property 63 static final int SEEKED = 2; // Seeked to some time value 79 * to a value. 212 * The property/value sets being animated. 228 * or a positive value, the animation restarts from the beginning. 233 * or a positive value, the animation reverses direction on every iteration. 237 * This value used used with the {@link #setRepeatCount(int)} property to repeat 267 * value implies that that value is the one being animated to. However, this is not typically 269 * starting value fo 794 setRepeatCount(int value) argument 814 setRepeatMode(int value) argument 879 setInterpolator(TimeInterpolator value) argument 913 setEvaluator(TypeEvaluator value) argument [all...] |
/frameworks/base/core/java/android/annotation/ |
H A D | SdkConstant.java | 25 * Indicates a constant field value should be exported to be used in the SDK tools. 35 SdkConstantType value(); method in interface:SdkConstant
|