HomeSort by relevance Sort by last modified time
    Searched refs:rawValue (Results 1 - 25 of 51) sorted by null

1 2 3

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
ResourceValueConverter.java 4 Object convertRawValue(String rawValue);
DimenResourceLoader.java 28 public Object convertRawValue(String rawValue) {
29 int end = rawValue.length();
31 int index = rawValue.indexOf(UNITS[i]);
37 return Float.parseFloat(rawValue.substring(0, end));
ResourceReferenceResolver.java 21 public void processResource(String name, String rawValue, ResourceValueConverter loader, boolean isSystem) {
23 if (rawValue.startsWith("@" + prefix) || rawValue.startsWith("@android:" + prefix)) {
24 addAttributeReference(rawValue, valuePointer);
29 addAttribute(valuePointer, (T) loader.convertRawValue(rawValue));
57 private void addAttributeReference(String rawValue, String valuePointer) {
58 String attributeName = rawValue.substring(1);
ColorResourceLoader.java 47 public Integer convertRawValue(String rawValue) {
48 if (rawValue.startsWith("#")) {
49 long color = Long.parseLong(rawValue.substring(1), 16);
51 } else if (androidColors.containsKey(rawValue)) {
52 return androidColors.get(rawValue);
StringResourceLoader.java 24 @Override public Object convertRawValue(String rawValue) {
25 return rawValue;
IntegerResourceLoader.java 36 public Object convertRawValue( String rawValue ) {
41 return (int) Long.decode(rawValue).longValue();
43 throw new RuntimeException( rawValue + " is not an integer." , nfe );
PluralResourceLoader.java 54 @Override public Object convertRawValue(String rawValue) {
55 return rawValue;
  /frameworks/opt/vcard/java/com/android/vcard/
VCardPhoneNumberTranslationCallback.java 34 public String onValueReceived(String rawValue, int type, String label, boolean isPrimary);
VCardProperty.java 107 public void setRawValue(String rawValue) {
108 mRawValue = rawValue;
VCardBuilder.java     [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
ValueParser.java 43 byte[] rawValue = ctlv.getRawValue();
47 cmdDet.commandNumber = rawValue[valueIndex] & 0xff;
48 cmdDet.typeOfCommand = rawValue[valueIndex + 1] & 0xff;
49 cmdDet.commandQualifier = rawValue[valueIndex + 2] & 0xff;
68 byte[] rawValue = ctlv.getRawValue();
71 devIds.sourceId = rawValue[valueIndex] & 0xff;
72 devIds.destinationId = rawValue[valueIndex + 1] & 0xff;
91 byte[] rawValue = ctlv.getRawValue();
95 timeUnit = TimeUnit.values()[(rawValue[valueIndex] & 0xff)];
96 timeInterval = rawValue[valueIndex + 1] & 0xff
    [all...]
CommandParamsFactory.java 464 byte[] rawValue = ctlv.getRawValue();
466 input.minLen = rawValue[valueIndex] & 0xff;
467 input.maxLen = rawValue[valueIndex + 1] & 0xff;
687 byte[] rawValue = ctlv.getRawValue();
691 url = GsmAlphabet.gsm8BitUnpackedToString(rawValue,
763 byte[] rawValue = ctlv.getRawValue();
765 int toneVal = rawValue[valueIndex];
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
XMPUtils.java 304 * @param rawValue
308 * If the <code>rawValue</code> is <code>null</code> or empty or the
311 public static int convertToInteger(String rawValue) throws XMPException
315 if (rawValue == null || rawValue.length() == 0)
319 if (rawValue.startsWith("0x"))
321 return Integer.parseInt(rawValue.substring(2), 16);
325 return Integer.parseInt(rawValue);
351 * @param rawValue
355 * If the <code>rawValue</code> is <code>null</code> or empty or th
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/
LayoutUnit.h 120 inline int rawValue() const { return m_value; }
150 return saturatedAddition(rawValue(), kFixedPointDenominator / 2) / kFixedPointDenominator;
151 return saturatedSubtraction(rawValue(), (kFixedPointDenominator / 2) - 1) / kFixedPointDenominator;
169 fraction.setRawValue(rawValue() % kFixedPointDenominator);
175 return rawValue() == std::numeric_limits<int>::max()
176 || rawValue() == std::numeric_limits<int>::min();
249 return a.rawValue() <= b.rawValue();
274 return a.rawValue() >= b.rawValue();
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
AccountType.java 358 public int rawValue;
368 public EditType(int rawValue, int labelRes) {
369 this.rawValue = rawValue;
393 return other.rawValue == rawValue;
400 return rawValue;
406 + " rawValue=" + rawValue
417 public EventEditType(int rawValue, int labelRes)
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
ContactsSource.java 245 public int rawValue;
253 public EditType(int rawValue, int labelRes) {
254 this.rawValue = rawValue;
278 return other.rawValue == rawValue;
285 return rawValue;
  /packages/apps/Browser/src/com/android/browser/
BrowserSettings.java 505 public static int getAdjustedMinimumFontSize(int rawValue) {
506 rawValue++; // Preference starts at 0, min font at 1
507 if (rawValue > 1) {
508 rawValue += (MIN_FONT_SIZE_OFFSET - 2);
510 return rawValue;
513 public int getAdjustedTextZoom(int rawValue) {
514 rawValue = (rawValue - TEXT_ZOOM_START_VAL) * TEXT_ZOOM_STEP;
515 return (int) ((rawValue + 100) * mFontSizeMult);
522 public int getAdjustedDoubleTapZoom(int rawValue) {
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/
RawContactModifier.java 189 .get(type.rawValue) < type.specificMax);
206 * {@link EditType#rawValue} to counts, with the total overall count stored
224 final int count = typeCount.get(type.rawValue);
225 typeCount.put(type.rawValue, count + 1);
246 final Long rawValue = entry.getAsLong(kind.typeColumn);
247 if (rawValue == null) return null;
248 return getType(kind, rawValue.intValue());
257 final Integer rawValue = entry.getAsInteger(kind.typeColumn);
258 if (rawValue == null) return null;
259 return getType(kind, rawValue);
    [all...]
  /external/chromium_org/third_party/skia/src/animator/
SkMemberInfo.cpp 185 const char rawValue[], size_t rawValueLen) const
187 SkString valueStr(rawValue, rawValueLen);
232 if (strncmp(rawValue, "#string:", sizeof("#string:") - 1) == 0) {
236 rawValue = valueStr.c_str();
240 if (strncmp(rawValue, "#script:", sizeof("#script:") - 1) != 0)
312 SkString string(rawValue, rawValueLen);
319 string->set(rawValue, rawValueLen);
322 arrayStorage->begin()->fString->set(rawValue, rawValueLen);
327 base64.decode(rawValue, rawValueLen);
  /external/skia/src/animator/
SkMemberInfo.cpp 185 const char rawValue[], size_t rawValueLen) const
187 SkString valueStr(rawValue, rawValueLen);
232 if (strncmp(rawValue, "#string:", sizeof("#string:") - 1) == 0) {
236 rawValue = valueStr.c_str();
240 if (strncmp(rawValue, "#script:", sizeof("#script:") - 1) != 0)
312 SkString string(rawValue, rawValueLen);
319 string->set(rawValue, rawValueLen);
322 arrayStorage->begin()->fString->set(rawValue, rawValueLen);
327 base64.decode(rawValue, rawValueLen);
  /external/chromium_org/third_party/WebKit/Source/platform/geometry/
LayoutSize.h 61 bool isEmpty() const { return m_width.rawValue() <= 0 || m_height.rawValue() <= 0; }
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
XMPMetaImpl.java     [all...]
  /external/protobuf/java/src/main/java/com/google/protobuf/
GeneratedMessageLite.java 342 final int rawValue = input.readEnum();
344 extension.descriptor.getEnumType().findValueByNumber(rawValue);
387 final int rawValue = input.readEnum();
389 .findValueByNumber(rawValue);
AbstractMessage.java 354 final int rawValue = input.readEnum();
355 final Object value = field.getEnumType().findValueByNumber(rawValue);
403 final int rawValue = input.readEnum();
404 value = field.getEnumType().findValueByNumber(rawValue);
408 unknownFields.mergeVarintField(fieldNumber, rawValue);
  /external/chromium_org/content/browser/resources/media/
stats_graph_helper.js 114 var rawValue = getNumberFromValue(rawLabel, stats.values[i + 1]);
115 if (isNaN(rawValue)) {
126 var finalValue = rawValue;
132 rawLabel, rawValue);

Completed in 850 milliseconds

1 2 3