/frameworks/base/core/java/android/text/format/ |
Formatter.java | 31 * @param number size value to be formated 73 String value; local 75 value = String.format("%.2f", result); 78 value = String.format("%.1f", result); 80 value = String.format("%.2f", result); 84 value = String.format("%.0f", result); 86 value = String.format("%.2f", result); 89 value = String.format("%.0f", result); 93 value, context.getString(suffix));
|
/frameworks/base/core/java/com/android/internal/preference/ |
YesNoPreference.java | 57 * Sets the value of this preference, and saves it to the persistent store 60 * @param value The value of the preference. 62 public void setValue(boolean value) { 63 mWasPositiveResult = value; 65 persistBoolean(value); 67 notifyDependencyChange(!value); 71 * Gets the value of this preference. 73 * @return The value of the preference.
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
Tone.java | 150 Tone(int value) { 151 mValue = value; 156 * @param value Integer value to be converted to a Tone object. 157 * @return Tone object whose value is {@code value}. If no Tone object has 158 * that value, null is returned. 160 public static Tone fromInt(int value) { 162 if (e.mValue == value) {
|
/frameworks/base/tools/localize/ |
XLIFFFile_test.cpp | 20 printf("STRING!!! id=%s index=%d value='%s' pos=%s file=%s version=%d(%s)\n", 22 str.value->ContentsToString(ANDROID_NAMESPACES).c_str(), 48 res.value = XMLNode::NewElement(GENERATED_POS, "", "something", attrs, XMLNode::EXACT); 49 res.value->EditChildren().push_back(XMLNode::NewText(GENERATED_POS, " begin ", XMLNode::EXACT)); 53 child = add_html_tag(res.value, "b"); 56 child = add_html_tag(res.value, "i"); 62 child = add_html_tag(res.value, "u"); 66 res.value->EditChildren().push_back(XMLNode::NewText(GENERATED_POS, " end ", XMLNode::EXACT)); 70 string oldString = res.value->ToString(XLIFF_NAMESPACES);
|
/packages/apps/Phone/src/com/android/phone/ |
CLIRListPreference.java | 66 // set the value of the preference based upon the clirArgs. 67 int value = CommandsInterface.CLIR_DEFAULT; local 74 value = CommandsInterface.CLIR_INVOCATION; 77 value = CommandsInterface.CLIR_SUPPRESSION; 81 value = CommandsInterface.CLIR_DEFAULT; 88 value = CommandsInterface.CLIR_DEFAULT; 91 setValueIndex(value); 93 // set the string summary to reflect the value 95 switch (value) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/configurations/ |
LanguageQualifier.java | 53 * Returns the folder name segment for the given value. This is equivalent to calling 55 * @param value the value of the qualifier, as returned by {@link #getValue()}. 57 public static String getFolderSegment(String value) { 58 String segment = value.toLowerCase(); 70 public LanguageQualifier(String value) { 71 mValue = value; 103 public boolean checkAndSet(String value, FolderConfiguration config) { 104 LanguageQualifier qualifier = getQualifier(value);
|
/sdk/traceview/src/com/android/traceview/ |
TickScaler.java | 93 // Convert a time value to a 0-based pixel value 94 public int valueToPixel(double value) { 95 return (int) Math.ceil(mPixelsPerRange * (value - mMinVal) - 0.5); 98 // Convert a time value to a 0-based fractional pixel 99 public double valueToPixelFraction(double value) { 100 return mPixelsPerRange * (value - mMinVal); 103 // Convert a 0-based pixel value to a time value
|
/dalvik/libcore/xml/src/main/java/org/apache/xalan/templates/ |
DecimalFormatProperties.java | 78 * declares the default decimal-format. The value of the name 83 * value for all attributes (taking into account any default values).</p> 120 * @return the value of the "name" attribute. 134 * the default value is the period character (.). 146 * the default value is the period character (.). 158 * (e.g. thousands) separator; the default value is the comma character (,). 170 * (e.g. thousands) separator; the default value is the comma character (,). 182 * the default value is the string Infinity. 194 * the default value is the string Infinity. 206 * default value is the hyphen-minus character (-, #x2D) [all...] |
/dalvik/libcore/xml/src/main/java/org/xml/sax/ext/ |
Attributes2Impl.java | 81 * Returns the current value of the attribute's "declared" flag. 94 * Returns the current value of the attribute's "declared" flag. 110 * Returns the current value of the attribute's "declared" flag. 125 * Returns the current value of an attribute's "specified" flag. 128 * @return current flag value 142 * Returns the current value of an attribute's "specified" flag. 147 * @return current flag value 164 * Returns the current value of an attribute's "specified" flag. 167 * @return current flag value 223 * "specified" flag to true. To set that flag's value [all...] |
/external/srec/portable/src/ |
PANSIFileImpl.c | 65 impl->value = NULL; 120 if (impl->value != NULL) 126 impl->value = fopen(impl->Interface.filename, mode); 128 if (impl->value == NULL) 149 if (fclose(impl->value) != 0) 152 PLogMessage(L("%s: file %s, handle"), ESR_rc2str(rc), impl->Interface.filename, impl->value); 155 impl->value = NULL; 176 *count = fread(buffer, size, *count, impl->value); 177 if (*count == 0 && ferror(impl->value)) 237 *count = fwrite(temp, size, *count, impl->value); [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.6.2-1.js | 59 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value "; 68 // tests for boolean primitive, boolean object, Object object, a "MyObject" whose value is 69 // a boolean primitive and a boolean object, and "MyValuelessObject", where the value is 117 // tests for number primitive, number object, Object object, a "MyObject" whose value is 118 // a number primitive and a number object, and "MyValuelessObject", where the value is 178 function MyProtolessObject( value ) { 179 this.valueOf = new Function( "return this.value" ); 181 this.value = value; 183 function MyValuelessObject(value) { [all...] |
11.8.1.js | 47 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value "; 109 function MyObject(value) { 110 this.value = value; 111 this.valueOf = new Function( "return this.value" ); 112 this.toString = new Function( "return this.value +''" ); 114 function MyValueObject(value) { 115 this.value = value; 116 this.valueOf = new Function( "return this.value" ); [all...] |
11.8.2.js | 47 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value "; 110 function MyObject(value) { 111 this.value = value; 112 this.valueOf = new Function( "return this.value" ); 113 this.toString = new Function( "return this.value +''" ); 115 function MyValueObject(value) { 116 this.value = value; 117 this.valueOf = new Function( "return this.value" ); [all...] |
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ |
AtomicIntegerFieldUpdaterTest.java | 87 * get returns the last value set or assigned 106 * compareAndSet succeeds in changing value if equal to expected else fails 127 * compareAndSet in one thread enables another waiting for value 156 * repeated weakCompareAndSet succeeds in changing value when equal 175 * getAndSet returns previous value and sets to given value 191 * getAndAdd returns previous value and adds given value 208 * getAndDecrement returns previous value and decrements 224 * getAndIncrement returns previous value and increment [all...] |
AtomicLongFieldUpdaterTest.java | 89 * get returns the last value set or assigned 107 * compareAndSet succeeds in changing value if equal to expected else fails 128 * compareAndSet in one thread enables another waiting for value 157 * repeated weakCompareAndSet succeeds in changing value when equal 176 * getAndSet returns previous value and sets to given value 192 * getAndAdd returns previous value and adds given value 209 * getAndDecrement returns previous value and decrements 225 * getAndIncrement returns previous value and increment [all...] |
/external/bluetooth/glib/tests/refcount/ |
signals.c | 21 gint value; member in struct:_GTest 57 const GValue * value, GParamSpec * pspec); 59 GValue * value, GParamSpec * pspec); 129 test->value = 0; 146 const GValue * value, GParamSpec * pspec) 154 test->value = g_value_get_int (value); 164 GValue * value, GParamSpec * pspec) 172 g_value_set_int (value, test->value); 228 gint value; local [all...] |
/external/guava/src/com/google/common/primitives/ |
Ints.java | 49 * value. 54 * Returns a hash code for {@code value}; equal to the result of invoking 55 * {@code ((Integer) value).hashCode()}. 57 * @param value a primitive {@code int} value 58 * @return a hash code for the value 60 public static int hashCode(int value) { 61 return value; 65 * Returns the {@code int} value that is equal to {@code value}, if possible [all...] |
/external/icu4c/tools/genccode/ |
genccode.c | 102 options[kOptDestDir].value = "."; 145 if (!checkAssemblyHeaderName(options[kOptAssembly].value)) { 147 "Assembly type \"%s\" is unknown.\n", options[kOptAssembly].value); 172 writeCCode(filename, options[kOptDestDir].value, 173 options[kOptName].doesOccur ? options[kOptName].value : NULL, 174 options[kOptFilename].doesOccur ? options[kOptFilename].value : NULL, 178 writeAssemblyCode(filename, options[kOptDestDir].value, 179 options[kOptEntryPoint].doesOccur ? options[kOptEntryPoint].value : NULL, 180 options[kOptFilename].doesOccur ? options[kOptFilename].value : NULL, 185 writeObjectCode(filename, options[kOptDestDir].value, [all...] |
/external/opencore/nodes/pvomxencnode/include/ |
pvmf_omx_enc_port.h | 134 * Allocate a specified number of key-value pairs and set the keys 136 * @param aKvp Output parameter to hold the allocated key-value pairs 137 * @param aKey Key for the allocated key-value pairs 138 * @param aNumParams Number of key-value pairs to be allocated 144 * Verify one key-value pair parameter against capability of the port and 145 * if the aSetParam flag is set, set the value of the parameter corresponding to 148 * @param aKvp Key-value pair parameter to be verified 149 * @param aSetParam If true, set the value of parameter corresponding to the key. 207 if (pv_mime_strcmp(aKvp->value.pChar_value, PVMF_MIME_YUV420) == 0) 211 else if (pv_mime_strcmp(aKvp->value.pChar_value, PVMF_MIME_YUV422) == 0 [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ |
math_private.h | 31 value. That is non-ANSI, and, moreover, the gcc instruction 51 double value; member in union:__anon4489 63 double value; member in union:__anon4491 78 ew_u.value = (d); \ 88 gh_u.value = (d); \ 97 gl_u.value = (d); \ 108 (d) = iw_u.value; \ 116 sh_u.value = (d); \ 118 (d) = sh_u.value; \ 126 sl_u.value = (d); 136 float value; member in union:__anon4493 [all...] |
/external/skia/include/core/ |
SkString.h | 95 void insertS32(size_t offset, int32_t value); 96 void insertHex(size_t offset, uint32_t value, int minDigits = 0); 103 void appendS32(int32_t value) { this->insertS32((size_t)-1, value); } 104 void appendHex(uint32_t value, int minDigits = 0) { this->insertHex((size_t)-1, value, minDigits); } 105 void appendScalar(SkScalar value) { this->insertScalar((size_t)-1, value); } 111 void prependS32(int32_t value) { this->insertS32(0, value); } [all...] |
/external/v8/src/ |
parser.h | 62 void set_start_pos(int value) { backing_[kStartPosOffset] = value; } 65 void set_end_pos(int value) { backing_[kEndPosOffset] = value; } 68 void set_literal_count(int value) { backing_[kLiteralCountOffset] = value; } 71 void set_property_count(int value) { backing_[kPropertyCountOffset] = value; } 177 // Get the value as a compile time value [all...] |
string-stream.h | 75 FmtElm(int value) : type_(INT) { // NOLINT 76 data_.u_int_ = value; 78 explicit FmtElm(double value) : type_(DOUBLE) { 79 data_.u_double_ = value; 81 FmtElm(const char* value) : type_(C_STR) { // NOLINT 82 data_.u_c_str_ = value; 84 FmtElm(const Vector<const uc16>& value) : type_(LC_STR) { // NOLINT 85 data_.u_lc_str_ = &value; 87 FmtElm(Object* value) : type_(OBJ) { // NOLINT 88 data_.u_obj_ = value; [all...] |
/external/webkit/JavaScriptCore/runtime/ |
JSObject.cpp | 97 void JSObject::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) 99 ASSERT(value); 100 ASSERT(!Heap::heap(value) || Heap::heap(value) == Heap::heap(this)); 103 // Setting __proto__ to a non-object, non-null value is silently ignored to match Mozilla. 104 if (!value.isObject() && !value.isNull()) 107 JSValue nextPrototypeValue = value; 111 throwError(exec, GeneralError, "cyclic __proto__ value"); 117 setPrototype(value); 266 JSValue value = callDefaultValueFunction(exec, this, exec->propertyNames().toString); local 273 JSValue value = callDefaultValueFunction(exec, this, exec->propertyNames().valueOf); local [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Statements/ |
12.10-1.js | 73 testcases[tc].reason += ( testcases[tc].passed ) ? "" : "wrong value "; 82 // although the scope chain changes, the this value is immutable for a given 134 function WithObject( value ) { 138 this.value = value; 142 this.parseInt = new Function( "return this.value" ); 143 this.NaN = value; 144 this.Infinity = value; 145 this.unescape = new Function( "return this.value" ); 146 this.escape = new Function( "return this.value" ); [all...] |