Home
last modified time | relevance | path

Searched refs:parseInt (Results 1 – 25 of 337) sorted by relevance

12345678910>>...14

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipPixel.java125 minWidth = Integer.parseInt(m1.group(1)); in BipPixel()
126 maxWidth = Integer.parseInt(m1.group(1)); in BipPixel()
127 minHeight = Integer.parseInt(m1.group(2)); in BipPixel()
128 maxHeight = Integer.parseInt(m1.group(2)); in BipPixel()
137 minWidth = Integer.parseInt(m2.group(1)); in BipPixel()
138 minHeight = Integer.parseInt(m2.group(2)); in BipPixel()
139 maxWidth = Integer.parseInt(m2.group(3)); in BipPixel()
140 maxHeight = Integer.parseInt(m2.group(4)); in BipPixel()
148 minWidth = Integer.parseInt(m3.group(1)); in BipPixel()
149 maxWidth = Integer.parseInt(m3.group(2)); in BipPixel()
[all …]
DBipDateTime.java69 builder.setDate(Integer.parseInt(m.group(1)), /* year */ in BipDateTime()
70 Integer.parseInt(m.group(2)) - 1, /* month */ in BipDateTime()
71 Integer.parseInt(m.group(3))); /* day of month */ in BipDateTime()
74 builder.setTimeOfDay(Integer.parseInt(m.group(4)), /* hours */ in BipDateTime()
75 Integer.parseInt(m.group(5)), /* minutes */ in BipDateTime()
76 Integer.parseInt(m.group(6)), /* seconds */ in BipDateTime()
DBipImageFormat.java132 mSize = parseInt(size); in BipImageFormat()
133 mMaxSize = parseInt(maxSize); in BipImageFormat()
136 private static int parseInt(String s) { in parseInt() method in BipImageFormat
139 return Integer.parseInt(s); in parseInt()
DBipImageDescriptor.java206 mSize = parseInt(xpp.getAttributeValue(null, "size")); in parse()
207 mMaxSize = parseInt(xpp.getAttributeValue(null, "maxsize")); in parse()
228 private static int parseInt(String s) { in parseInt() method in BipImageDescriptor
231 return Integer.parseInt(s); in parseInt()
DBipAttachmentFormat.java82 mSize = parseInt(size); in BipAttachmentFormat()
111 private static int parseInt(String s) { in parseInt() method in BipAttachmentFormat
114 return Integer.parseInt(s); in parseInt()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DObexTime.java58 builder.setDate(Integer.parseInt(m.group(1)), /* year */ in ObexTime()
59 Integer.parseInt(m.group(2)) - 1, /* month */ in ObexTime()
60 Integer.parseInt(m.group(3))); /* day of month */ in ObexTime()
63 builder.setTimeOfDay(Integer.parseInt(m.group(4)), /* hours */ in ObexTime()
64 Integer.parseInt(m.group(5)), /* minutes */ in ObexTime()
65 Integer.parseInt(m.group(6)), /* seconds */ in ObexTime()
73 int ohh = Integer.parseInt(m.group(9)); in ObexTime()
74 int omm = Integer.parseInt(m.group(10)); in ObexTime()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DHbpcdLookupDatabaseHelper.java238 row.put(MccIdd.MCC, Integer.parseInt(parser.nextText())); in getTableMccIddRow()
259 row.put(MccLookup.MCC, Integer.parseInt(parser.nextText())); in getTableMccLookupTableRow()
261 row.put(MccLookup.COUNTRY_CODE, Integer.parseInt(parser.nextText())); in getTableMccLookupTableRow()
294 row.put(MccSidConflicts.MCC, Integer.parseInt(parser.nextText())); in getTableMccSidConflictRow()
296 row.put(MccSidConflicts.SID_CONFLICT, Integer.parseInt(parser.nextText())); in getTableMccSidConflictRow()
315 row.put(MccSidRange.MCC, Integer.parseInt(parser.nextText())); in getTableMccSidRangeRow()
317 row.put(MccSidRange.RANGE_LOW, Integer.parseInt(parser.nextText())); in getTableMccSidRangeRow()
319 row.put(MccSidRange.RANGE_HIGH, Integer.parseInt(parser.nextText())); in getTableMccSidRangeRow()
338 row.put(NanpAreaCode.AREA_CODE, Integer.parseInt(parser.nextText())); in getTableNanpAreaCodeRow()
357 row.put(ArbitraryMccSidMatch.MCC, Integer.parseInt(parser.nextText())); in getTableArbitraryMccSidMatch()
[all …]
DSmsProvider.java193 threadID = Integer.parseInt(url.getPathSegments().get(1)); in query()
269 subId = Integer.parseInt(url.getPathSegments().get(1)); in query()
288 messageIndex = Integer.parseInt(url.getPathSegments().get(1)); in query()
290 subId = Integer.parseInt(url.getPathSegments().get(1)); in query()
291 messageIndex = Integer.parseInt(url.getPathSegments().get(2)); in query()
494 Integer.parseInt(url.getPathSegments().get(0)); in getType()
625 subId = Integer.parseInt(url.getPathSegments().get(1)); in insertInner()
866 int message_id = Integer.parseInt(url.getPathSegments().get(0)); in delete()
878 threadID = Integer.parseInt(url.getPathSegments().get(1)); in delete()
922 subId = Integer.parseInt(url.getPathSegments().get(1)); in delete()
[all …]
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DCombinedInputOutput.java126 probabilityInfo = new ProbabilityInfo(Integer.parseInt(params[1]), in readDictionaryCombined()
138 Integer.parseInt(historicalInfoParams[0]), in readDictionaryCombined()
139 Integer.parseInt(historicalInfoParams[1]), in readDictionaryCombined()
140 Integer.parseInt(historicalInfoParams[2])); in readDictionaryCombined()
159 bigramProbabilityInfo = new ProbabilityInfo(Integer.parseInt(params[1]), in readDictionaryCombined()
170 Integer.parseInt(historicalInfoParams[0]), in readDictionaryCombined()
171 Integer.parseInt(historicalInfoParams[1]), in readDictionaryCombined()
172 Integer.parseInt(historicalInfoParams[2])); in readDictionaryCombined()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DInputDeviceCriteria.java26 Integer.parseInt("0000010000000", 2);
28 Integer.parseInt("0000000000100", 2);
30 Integer.parseInt("0000000001000", 2);
32 Integer.parseInt("0000001000000", 2);
34 Integer.parseInt("0000000001100", 2);
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DBpf2Apf.java60 int label = Integer.parseInt(line.substring(1, 4)); in convertLine()
97 int memory_slot = Integer.parseInt(arg.substring(2, arg.length() - 1)); in convertLine()
109 int offset = Integer.parseInt(arg.substring(5, arg.length() - 1)); in convertLine()
125 int offset = Integer.parseInt(arg.substring(1, arg.length() - 1)); in convertLine()
148 int memory_slot = Integer.parseInt(arg.substring(2, arg.length() - 1)); in convertLine()
212 boolean true_label_is_fallthrough = Integer.parseInt(true_label) == label + 1; in convertLine()
213 boolean false_label_is_fallthrough = Integer.parseInt(false_label) == label + 1; in convertLine()
/packages/apps/TV/src/com/android/tv/data/
DChannelNumber.java84 int major = Integer.parseInt(majorNumber); in compareTo()
85 int minor = hasDelimiter ? Integer.parseInt(minorNumber) : 0; in compareTo()
87 int opponentMajor = Integer.parseInt(another.majorNumber); in compareTo()
88 int opponentMinor = another.hasDelimiter ? Integer.parseInt(another.minorNumber) : 0; in compareTo()
174 Integer.parseInt(string); in isInteger()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DFace.java37 mPosition.left = Integer.parseInt(tokenizer.nextToken()); in Face()
38 mPosition.top = Integer.parseInt(tokenizer.nextToken()); in Face()
39 mPosition.right = Integer.parseInt(tokenizer.nextToken()); in Face()
40 mPosition.bottom = Integer.parseInt(tokenizer.nextToken()); in Face()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DCodesArrayParser.java61 final int codePoint = Integer.parseInt(codeInHex, BASE_HEX); in parseLabel()
81 return Integer.parseInt(strs[2]); in getMinSupportSdkVersion()
90 return Integer.parseInt(codeSpec, BASE_HEX); in parseCode()
102 final int codePoint = Integer.parseInt(codeInHex, BASE_HEX); in parseOutputText()
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterRenderingService.java23 import static java.lang.Integer.parseInt;
342 emulateKeyEvent(parseInt(args[1])); in execShellCommand()
366 Rect unobscuredArea = new Rect(parseInt(args[2]), parseInt(args[3]), in execShellCommand()
367 parseInt(args[4]), parseInt(args[5])); in execShellCommand()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/logging/
DContextualCardLogUtils.java164 builder.setSliceRow(Integer.parseInt(parts[2])) in parseCardClickLog()
165 .setSliceTapTarget(Integer.parseInt(parts[3])) in parseCardClickLog()
166 .setUiPosition(Integer.parseInt(parts[4])) in parseCardClickLog()
233 if (Integer.parseInt(parts[0]) < 0) { in parseCardListLog()
/packages/apps/Camera2/tests/src/com/android/camera/stress/
DCameraStressTestRunner.java52 mVideoIterations = Integer.parseInt(video_iterations); in onCreate()
55 mImageIterations = Integer.parseInt(image_iterations); in onCreate()
58 mVideoDuration = Integer.parseInt(video_duration); in onCreate()
/packages/apps/LegacyCamera/tests/src/com/android/camera/
DCameraStressTestRunner.java54 mVideoIterations = Integer.parseInt(video_iterations); in onCreate()
57 mImageIterations = Integer.parseInt(image_iterations); in onCreate()
60 mVideoDuration = Integer.parseInt(video_duration); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/logging/
DContextualCardLogUtils.java164 builder.setSliceRow(Integer.parseInt(parts[2])) in parseCardClickLog()
165 .setSliceTapTarget(Integer.parseInt(parts[3])) in parseCardClickLog()
166 .setUiPosition(Integer.parseInt(parts[4])) in parseCardClickLog()
233 if (Integer.parseInt(parts[0]) < 0) { in parseCardListLog()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
DBluetoothNameUtils.java55 return Integer.parseInt(typeStr); in getSetupType()
84 0xff000000 | Integer.parseInt(cm.group(1), 16), in getColorConfiguration()
85 0xff000000 | Integer.parseInt(cm.group(2), 16), in getColorConfiguration()
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunChannelScan.java146 recordingProhibited = (Integer.parseInt(drm)) != 0; in readProgram()
165 major = Integer.parseInt(parts[0]); in readProgram()
166 minor = Integer.parseInt(parts[1]); in readProgram()
168 major = Integer.parseInt(guideNumber); in readProgram()
/packages/services/Telephony/src/com/android/phone/
DTelephonyShellCommand.java476 slotId = Integer.parseInt(getNextArgRequired()); in handleImsSetServiceCommand()
496 Integer result = Integer.parseInt(features[i]); in handleImsSetServiceCommand()
561 slotId = Integer.parseInt(getNextArgRequired()); in handleImsGetServiceCommand()
578 featureType = Integer.parseInt(getNextArg()); in handleImsGetServiceCommand()
620 slotId = Integer.parseInt(getNextArgRequired()); in handleEnableIms()
647 slotId = Integer.parseInt(getNextArgRequired()); in handleDisableIms()
740 slotId = Integer.parseInt(slotString); in slotStringToSubId()
1114 bundle.putInt(key, Integer.parseInt(valueList.get(0))); in getOverrideBundle()
1128 valueIntArray[i] = Integer.parseInt(valueList.get(i)); in getOverrideBundle()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
DImapUtility.java70 Integer.parseInt(item); // Don't need the value; just ensure it's valid in getImapSequenceValues()
103 int first = Integer.parseInt(range.substring(0, colonPos)); in getImapRangeValues()
104 int second = Integer.parseInt(range.substring(colonPos + 1)); in getImapRangeValues()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DSettingsDAO.java233 return Integer.parseInt(crescendoSeconds) * DateUtils.SECOND_IN_MILLIS; in getAlarmCrescendoDuration()
242 return Integer.parseInt(crescendoSeconds) * DateUtils.SECOND_IN_MILLIS; in getTimerCrescendoDuration()
252 final int firstCalendarDay = Integer.parseInt(value); in getWeekdayOrder()
301 return Integer.parseInt(string); in getAlarmTimeout()
310 return Integer.parseInt(string); in getSnoozeLength()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/
DWallpaperManagerCompatVL.java149 Integer wallpaperId = Integer.parseInt(parts[1]); in parseValue()
155 int primary = parts.length > 2 ? Integer.parseInt(parts[2]) : 0; in parseValue()
156 int secondary = parts.length > 3 ? Integer.parseInt(parts[3]) : 0; in parseValue()
157 int tertiary = parts.length > 4 ? Integer.parseInt(parts[4]) : 0; in parseValue()

12345678910>>...14