/frameworks/base/libs/camera/ |
H A D | CameraParameters.cpp | 192 // Find the value. 209 void CameraParameters::set(const char *key, const char *value) argument 217 if (strchr(value, '=') || strchr(key, ';')) { 218 //XXX LOGE("Value \"%s\"contains invalid character (= or ;)", value); 222 mMap.replaceValueFor(String8(key), String8(value)); 225 void CameraParameters::set(const char *key, int value) argument 228 sprintf(str, "%d", value); 232 void CameraParameters::setFloat(const char *key, float value) argument 235 snprintf(str, sizeof(str), "%g", value);
|
/frameworks/base/include/media/ |
H A D | AudioSystem.h | 175 // (value must be less than 0) 178 // (value must be 0) 190 static status_t setMasterVolume(float value); 197 static status_t setStreamVolume(int stream, float value, int output); 211 // key value pairs in the form: key1=value1;key2=value2;... 473 // keyRouting: to change audio routing, value is an int in AudioSystem::audio_devices 474 // keySamplingRate: to change sampling rate routing, value is an int 475 // keyFormat: to change audio format, value is an int in AudioSystem::audio_format 476 // keyChannels: to change audio channel configuration, value is an int in AudioSystem::audio_channels 477 // keyFrameCount: to change audio output frame count, value i [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | FileLoader.java | 135 TypedValue value = new TypedValue(); 136 mContext.getResources().getValue(id, value, true); 137 if (value.type == TypedValue.TYPE_STRING) { 139 value.assetCookie, value.string.toString(),
|
/frameworks/base/core/java/android/widget/ |
H A D | SimpleAdapter.java | 39 * is invoked. If the returned value is true, binding has occurred. 40 * If the returned value is false, the following views are then tried in order: 42 * <li> A view that implements Checkable (e.g. CheckBox). The expected bind value is a boolean. 43 * <li> TextView. The expected bind value is a string and {@link #setViewText(TextView, String)} 45 * <li> ImageView. The expected bind value is a resource id or a string and 235 * @param value the value retrieved from the data set 239 public void setViewImage(ImageView v, int value) { argument 240 v.setImageResource(value); 248 * By default, the value wil 260 setViewImage(ImageView v, String value) argument [all...] |
H A D | SimpleCursorAdapter.java | 33 * is invoked. If the returned value is true, binding has occured. If the 34 * returned value is false and the view to bind is a TextView, 35 * {@link #setViewText(TextView, String)} is invoked. If the returned value 98 * is invoked. If the returned value is true, binding has occured. If the 99 * returned value is false and the view to bind is a TextView, 100 * {@link #setViewText(TextView, String)} is invoked. If the returned value is 178 * By default, the value will be treated as an image resource. If the 179 * value cannot be used as an image resource, the value is used as an 186 * @param value th 188 setViewImage(ImageView v, String value) argument [all...] |
H A D | SimpleCursorTreeAdapter.java | 33 * is invoked. If the returned value is true, binding has occurred. If the 34 * returned value is false and the view to bind is a TextView, 35 * {@link #setViewText(TextView, String)} is invoked. If the returned value 269 * value will be treated as a Uri. Intended to be overridden by Adapters 273 * @param value the value retrieved from the cursor 275 protected void setViewImage(ImageView v, String value) { argument 277 v.setImageResource(Integer.parseInt(value)); 279 v.setImageURI(Uri.parse(value));
|
H A D | NumberPicker.java | 42 * The callback interface used to indicate the number value has been adjusted. 47 * @param oldVal The previous value. 48 * @param newVal The new value. 57 String toString(int value); argument 71 public String toString(int value) { 72 mArgs[0] = value; 98 * Lower value of the range of numbers allowed for the NumberPicker 103 * Upper value of the range of numbers allowed for the NumberPicker 108 * Current value of this NumberPicker 113 * Previous value o 306 formatNumber(int value) argument [all...] |
/frameworks/base/libs/ui/ |
H A D | FramebufferNativeWindow.cpp | 257 int what, int* value) 264 *value = fb->width; 267 *value = fb->height; 270 *value = fb->format; 273 *value = 0; 256 query(ANativeWindow* window, int what, int* value) argument
|
/frameworks/base/test-runner/src/junit/runner/ |
H A D | BaseTestRunner.java | 51 public void setPreference(String key, String value) { argument 52 getPreferences().setProperty(key, value); 240 String value= getPreference(key); 242 if (value == null) 245 intValue= Integer.parseInt(value);
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | HashMapTest.java | 175 * checks if the value iterator works. 189 Object value = iter.next(); 191 if (value.equals(ONE)) 193 else if (value.equals(TWO)) 195 else if (value.equals(THREE)) 197 else if (value.equals(FOUR)) 200 fail("Unkown value in hashmap"); 203 fail("value returned more than once");
|
/frameworks/base/tools/aapt/ |
H A D | XMLNode.h | 77 value.dataType = Res_value::TYPE_NULL; 82 || value.dataType == Res_value::TYPE_NULL 83 || value.dataType == Res_value::TYPE_STRING; 89 Res_value value; member in struct:XMLNode::attribute_entry 117 const String16& value);
|
H A D | ResourceTable.h | 62 String8 value; member in struct:AccessorCookie 67 value(v) 93 const String16& value, 116 const String16& value, 227 isId(o.isId), value(o.value), style(o.style), 236 value = o.value; 246 String16 value; member in class:ResourceTable::Item 279 const String16& value, [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeInflater.java | 159 ResourceValue value = null; 163 value = bridgeContext.getRenderResources().getFrameworkResource( 169 value = bridgeContext.getRenderResources().getProjectResource( 174 if (value != null) { 175 File f = new File(value.getValue());
|
/frameworks/base/tools/localize/ |
H A D | xmb.cpp | 96 XMLNode* value = res.value; local 97 string tag = value->Name(); 99 for (vector<XMLNode*>::const_iterator it=value->Children().begin(); 100 it!=value->Children().end(); it++) {
|
/frameworks/base/libs/utils/ |
H A D | ResourceTypes.cpp | 1479 attrRes, bag->map.value.dataType, bag->map.value.data, 1480 curEntry->value.dataType)); 1481 if (force || curEntry->value.dataType == Res_value::TYPE_NULL) { 1484 curEntry->value = bag->map.value; 1564 TABLE_THEME(LOGI("Theme value: type=0x%x, data=0x%08x", 1565 te.value.dataType, te.value.data)); 1566 const uint8_t type = te.value 2008 resolveReference(Res_value* value, ssize_t blockIndex, uint32_t* outLastRef, uint32_t* inoutTypeSpecFlags, ResTable_config* outConfig) const argument 2039 valueToString( const Res_value* value, size_t stringBlock, char16_t tmpBuffer[TMP_BUFFER_SIZE], size_t* outLen) argument 4016 float value = (complex&(Res_value::COMPLEX_MANTISSA_MASK local 4381 Res_value value; local [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothA2dp.java | 275 * @param value True / False 278 public boolean allowIncomingConnect(BluetoothDevice device, boolean value) { argument 279 if (DBG) log("allowIncomingConnect(" + device + ":" + value + ")"); 281 return mService.allowIncomingConnect(device, value);
|
/frameworks/base/core/java/android/preference/ |
H A D | EditTextPreference.java | 99 * @return The current preference value. 140 String value = mEditText.getText().toString(); 141 if (callChangeListener(value)) { 142 setText(value);
|
/frameworks/base/libs/rs/ |
H A D | rs.spec | 80 param size_t value 183 param uint32_t value 210 param uint32_t value 232 param RsSamplerValue value 313 param float value 318 param int32_t value
|
/frameworks/base/media/java/android/media/ |
H A D | MediaFile.java | 221 Integer value = sMimeTypeMap.get(mimeType); 222 return (value == null ? 0 : value.intValue());
|
/frameworks/base/opengl/java/javax/microedition/khronos/egl/ |
H A D | EGL10.java | 105 boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value); argument 114 boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value); argument 116 boolean eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value); argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | LayoutInflater_Delegate.java | 58 final String value = attrs.getAttributeValue(null, "layout"); 59 if (value == null) { 64 + "reference. The layout ID " + value + " is not valid.");
|
/frameworks/base/core/java/com/google/android/mms/pdu/ |
H A D | PduParser.java | 245 log("Set invalid Octet value: " + messageType + 254 /* Octect value */ 277 * The following field has a different value when 283 int value = extractByteValue(pduDataStream); 286 headers.setOctet(value, headerField); 288 log("Set invalid Octet value: " + value + 304 long value = parseLongInteger(pduDataStream); 305 headers.setLongInteger(value, headerField); 319 long value [all...] |
/frameworks/base/core/jni/ |
H A D | android_database_SQLiteQuery.cpp | 128 // offsetParam will be set to 0, an invliad value. 225 int64_t value = sqlite3_column_int64(statement, i); local 226 if (!window->putLong(numRows, i, value)) { 231 LOG_WINDOW("%d,%d is INTEGER 0x%016llx", startPos + numRows, i, value); 234 double value = sqlite3_column_double(statement, i); local 235 if (!window->putDouble(numRows, i, value)) { 240 LOG_WINDOW("%d,%d is FLOAT %lf", startPos + numRows, i, value);
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | RenderScript.java | 64 native void nDeviceSetConfig(int dev, int param, int value); argument 121 native void nAdapter1DSetConstraint(int ad, int dim, int value); argument 129 native void nAdapter2DSetConstraint(int ad, int dim, int value); argument 149 native void nScriptCAddDefineI32(String name, int value); argument 150 native void nScriptCAddDefineF(String name, float value); argument 153 native void nSamplerSet(int param, int value); argument
|
/frameworks/base/media/java/android/media/audiofx/ |
H A D | EnvironmentalReverb.java | 378 * [0, 1000]. A value of 1000 o/oo indicates a smooth reverberation decay. 411 * A value of 1000 o/oo indicates a natural sounding reverberation. Values below this level 440 * when a parameter value has changed. 444 * Method called when a parameter value has changed. The method is called only if the 450 * @param value the new parameter value. 452 void onParameterChange(EnvironmentalReverb effect, int status, int param, int value); argument 463 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { argument 478 if (value.length == 2) { 479 v = (int)byteArrayToShort(value, [all...] |