/frameworks/native/opengl/tests/configdump/ |
H A D | configdump.cpp | 80 EGLint value; local 81 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value); 82 printf("\t%-32s: %10d (0x%08x)\n", attributes[attr].name, value, value);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | Exif.java | 130 int value = 0; 132 value = (value << 8) | (bytes[offset] & 0xFF); 135 return value;
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiConfigStore.java | 78 * (key, value) pairs for a given network are grouped together and can 79 * be in any order. A EOS at the end of a set of (key, value) pairs 80 * indicates that the next set of (key, value) pairs are for a new 82 * ID_KEY in the (key, value) pairs, the data is discarded. 1128 String value = field.value(); 1129 if (value != null) { 1135 if (value.length() == 0) { 1136 value = "0"; 1139 value [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/ |
H A D | h264bsdCountLeadingZeros.s | 25 value RN 0 label 45 CLZ value, value
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/ |
H A D | h264bsdCountLeadingZeros.S | 24 #define value r0 define 44 CLZ value, value
|
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/ |
H A D | RequestSync.java | 119 final String value = nextArgRequired(); 120 mExtras.putString(key, value); 126 final String value = nextArgRequired(); 127 mExtras.putInt(key, Integer.valueOf(value)); 130 final String value = nextArgRequired(); 131 mExtras.putLong(key, Long.valueOf(value)); 134 final String value = nextArgRequired(); 135 mExtras.putFloat(key, Long.valueOf(value)); 138 final String value = nextArgRequired(); 139 mExtras.putFloat(key, Long.valueOf(value)); [all...] |
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbDeviceConnection.java | 114 * @param value value field for this transaction 121 * or negative value for failure 123 public int controlTransfer(int requestType, int request, int value, argument 125 return native_control_request(requestType, request, value, index, buffer, length, timeout); 137 * or negative value for failure 177 private native int native_control_request(int requestType, int request, int value, argument
|
/frameworks/base/media/mca/effect/java/android/media/effect/effects/ |
H A D | BackDropperEffect.java | 90 public void setParameter(String parameterKey, Object value) { argument 93 background.setInputValue("sourceUrl", value); 96 background.setInputValue("context", value);
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 621 ALOGE("Shader Program: %s Value Error (%s): Expected value length %d " 678 bool ShaderProgram::SetUniformValue(ProgramVar var, int value) { argument 684 glUniform1i(var, value); 690 bool ShaderProgram::SetUniformValue(ProgramVar var, float value) { argument 696 glUniform1f(var, value); 726 // Set value based on type 777 // Set value based on type 825 bool ShaderProgram::SetUniformValue(const std::string& name, const Value& value) { argument 826 if (ValueIsFloat(value)) 827 return SetUniformValue(GetUniform(name), GetFloatValue(value)); 849 int value; local 856 int value[2]; local 863 int value[3]; local 870 int value[4]; local 877 float value; local 884 float value[2]; local 891 float value[3]; local 898 float value[4]; local 905 float value[4]; local 912 float value[9]; local 919 float value[16]; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | DoNotDisturbController.java | 56 final boolean value = !checked; 57 if (value != mDoNotDisturb) { 59 editor.putBoolean(Prefs.DO_NOT_DISTURB_PREF, value);
|
/frameworks/base/services/java/com/android/server/ |
H A D | ProcessMap.java | 33 public E put(String name, int uid, E value) { argument 39 uids.put(uid, value); 40 return value;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | ResultCode.java | 22 * To get the actual return code for each enum value, call {@link #code() code} 174 public int value() { method in class:ResultCode 178 public static ResultCode fromInt(int value) { argument 180 if (r.mCode == value) {
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderOperation.java | 248 throw new OperationApplicationException("Found value " + cursorValue 273 * key refers to a column and the value is an index of the back reference whose 310 * and the value is the index of the previous result that should be used for that selection 441 * and the value is an integer that is the index of the previous result whose 442 * value should be used for the column. The value is added as a {@link String}. 443 * A column value from the back references takes precedence over a value specified in 451 "only inserts, updates, and asserts can have value back-references"); 459 * A column value fro 522 withValue(String key, Object value) argument [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | Animation.java | 41 * or a positive value, the animation restarts from the beginning. 47 * or a positive value, the animation plays backward (and then forward again). 113 * This value must be set to true by {@link #initialize(int, int, int, int)}. It 120 * animation starts. The value of this variable is only relevant if mFillEnabled is true; 192 * value via getScaleFactor(). 550 * If fillEnabled is true, this animation will apply the value of fillBefore. 560 * If fillEnabled is true, the animation will apply the value of fillBefore. 564 * @param fillEnabled true if the animation should take the value of fillBefore into account 631 * {@link #getTransformation(long, Transformation, float)} will get this value 633 * call this method to get the value 986 resolveSize(int type, float value, int size, int parentSize) argument 1083 public float value; field in class:Animation.Description 1097 parseValue(TypedValue value) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 55 jstring value = (jstring) env->GetObjectArrayElement(values, i); local 62 const char* valueStr = env->GetStringUTFChars(value, NULL); 71 env->ReleaseStringUTFChars(value, valueStr); 73 env->DeleteLocalRef(value); 78 static jobject makeIntegerObject(JNIEnv *env, int32_t value) { argument 85 return env->NewObject(clazz, integerConstructID, value); 88 static jobject makeLongObject(JNIEnv *env, int64_t value) { argument 95 return env->NewObject(clazz, longConstructID, value); 98 static jobject makeFloatObject(JNIEnv *env, float value) { argument 105 return env->NewObject(clazz, floatConstructID, value); 128 SetMapInt32( JNIEnv *env, jobject hashMapObj, jmethodID hashMapPutID, const char *key, int32_t value) argument 330 const char *value = env->GetStringUTFChars((jstring)valueObj, NULL); local 345 jint value = env->CallIntMethod(valueObj, intValueID); local 353 jfloat value = env->CallFloatMethod(valueObj, floatValueID); local [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_EventLog.cpp | 45 * static native int writeEvent(int tag, int value) 48 jint tag, jint value) 50 return android_btWriteLog(tag, EVENT_TYPE_INT, &value, sizeof(value)); 55 * static native int writeEvent(long tag, long value) 58 jint tag, jlong value) 60 return android_btWriteLog(tag, EVENT_TYPE_LONG, &value, sizeof(value)); 65 * static native int writeEvent(int tag, String value) 68 jint tag, jstring value) { 47 android_util_EventLog_writeEvent_Integer(JNIEnv* env, jobject clazz, jint tag, jint value) argument 57 android_util_EventLog_writeEvent_Long(JNIEnv* env, jobject clazz, jint tag, jlong value) argument 67 android_util_EventLog_writeEvent_String(JNIEnv* env, jobject clazz, jint tag, jstring value) argument 91 android_util_EventLog_writeEvent_Array(JNIEnv* env, jobject clazz, jint tag, jobjectArray value) argument [all...] |
/frameworks/av/drm/common/ |
H A D | DrmConstraints.cpp | 32 status_t DrmConstraints::put(const String8* key, const char* value) { argument 33 int length = strlen(value); 36 strncpy(charValue, value, length); 109 String8 value = String8(mDrmConstraints->mConstraintMap.editValueAt(mIndex)); local 111 return value;
|
/frameworks/base/core/java/android/webkit/ |
H A D | CookieManagerClassic.java | 53 public void setCookie(String url, String value) { argument 54 setCookie(url, value, false); 60 * @param value The value of the cookie, as a string, using the format of 64 void setCookie(String url, String value, boolean privateBrowsing) { argument 73 nativeSetCookie(uri.toString(), value, privateBrowsing); 180 private static native void nativeSetCookie(String url, String value, boolean privateBrowsing); argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockSettingsService.java | 55 private static final String COLUMN_VALUE = "value"; 86 String value = Settings.Secure.getString(cr, validSetting); 87 if (value != null) { 88 setString(validSetting, value, 0); 125 public void setBoolean(String key, boolean value, int userId) throws RemoteException { argument 128 writeToDb(key, value ? "1" : "0", userId); 132 public void setLong(String key, long value, int userId) throws RemoteException { argument 135 writeToDb(key, Long.toString(value), userId); 139 public void setString(String key, String value, int userId) throws RemoteException { argument 142 writeToDb(key, value, userI 309 writeToDb(String key, String value, int userId) argument 313 writeToDb(SQLiteDatabase db, String key, String value, int userId) argument [all...] |
/frameworks/compile/libbcc/include/bcinfo/Wrap/ |
H A D | BCHeaderField.h | 106 static void WriteFixedSubfield(FixedSubfield value, uint8_t* buf) { argument 107 buf[0] = value & 0xFF; 108 buf[1] = (value >> 8) & 0xFF; 110 static void ReadFixedSubfield(FixedSubfield* value, const uint8_t* buf) { argument 111 *value = buf[0] | buf[1] << 8;
|
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/ |
H A D | oper_32b.c | 64 * 32 bit long signed integer (Word32) whose value falls in the * 151 * 32 bit long signed integer (Word32) whose value falls in the * 157 * 16 bit positive normalized integer whose value falls in the * 160 * 16 bit positive integer whose value falls in the * 166 * 32 bit long signed integer (Word32) whose value falls in the * 205 iLog4(x) = (Word32)(4 * log(value)/log(2.0)) 207 \return ilog4 value 210 Word16 iLog4(Word32 value) argument 214 if(value != 0){ 217 iLog4 = norm_l(value); 243 rsqrt(Word32 value, Word32 accuracy) argument [all...] |
/frameworks/base/core/java/android/database/ |
H A D | DatabaseUtils.java | 196 * @param value the value to bind 199 Object value) { 200 if (value == null) { 202 } else if (value instanceof Double || value instanceof Float) { 203 prog.bindDouble(index, ((Number)value).doubleValue()); 204 } else if (value instanceof Number) { 205 prog.bindLong(index, ((Number)value).longValue()); 206 } else if (value instanceo 198 bindObjectToProgram(SQLiteProgram prog, int index, Object value) argument 359 sqlEscapeString(String value) argument 370 appendValueToSql(StringBuilder sql, Object value) argument 1134 bind(int index, double value) argument 1144 bind(int index, float value) argument 1154 bind(int index, long value) argument 1164 bind(int index, int value) argument 1174 bind(int index, boolean value) argument 1193 bind(int index, byte[] value) argument 1207 bind(int index, String value) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | LongSparseArray.java | 151 * Adds a mapping from the specified key to the specified value, 155 public void put(long key, E value) { argument 159 mValues[i] = value; 165 mValues[i] = value; 197 mValues[i] = value; 203 * Returns the number of key-value mappings that this LongSparseArray 216 * the key from the <code>index</code>th key-value mapping that this 229 * the value from the <code>index</code>th key-value mapping that this 243 * value fo 246 setValueAt(int index, E value) argument 275 indexOfValue(E value) argument 306 append(long key, E value) argument [all...] |
H A D | SparseArray.java | 151 * Adds a mapping from the specified key to the specified value, 155 public void put(int key, E value) { argument 159 mValues[i] = value; 165 mValues[i] = value; 197 mValues[i] = value; 203 * Returns the number of key-value mappings that this SparseArray 216 * the key from the <code>index</code>th key-value mapping that this 229 * the value from the <code>index</code>th key-value mapping that this 243 * value fo 246 setValueAt(int index, E value) argument 275 indexOfValue(E value) argument 306 append(int key, E value) argument [all...] |
H A D | TypedValue.java | 20 * Container for a dynamically typed data value. Primarily used with 24 /** The value contains no data. */ 41 * dimension value. */ 47 /** Identifies the start of plain integer values. Any type value 49 * <var>data</var> field holds a generic integer value. */ 142 * If {@link #density} is equal to this value, then the density should be 143 * treated as the system's default density value: {@link DisplayMetrics#DENSITY_DEFAULT}. 148 * If {@link #density} is equal to this value, then there is no density 155 /** The type held by this value, as defined by the constants here. 159 /** If the value hold 320 applyDimension(int unit, float value, DisplayMetrics metrics) argument [all...] |