/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Cube.java | 29 public Cube(Volume v, float delta, float[] trim) { in Cube() argument 31 this.mTrim = trim; in Cube() 32 float minx = delta + trim[0] * (v.mDimx - delta); in Cube() 33 float miny = delta + trim[1] * (v.mDimy - delta); in Cube() 34 float minz = delta + trim[2] * (v.mDimz - delta); in Cube() 35 float maxx = v.mDimx - delta - trim[3] * (v.mDimx - delta); in Cube() 36 float maxy = v.mDimy - delta - trim[4] * (v.mDimy - delta); in Cube() 37 float maxz = v.mDimz - delta - trim[5] * (v.mDimz - delta); in Cube()
|
D | VrPipline1.java | 42 private static String trim(double d) { in trim() method in VrPipline1 47 private static String trim(float[] d) { in trim() method in VrPipline1 50 ret += ((i == 0) ? "[ " : " , ") + trim(d[i]); in trim()
|
/frameworks/opt/chips/tests/src/com/android/ex/chips/ |
D | ChipsTest.java | 190 int firstEnd = firstStart + first.trim().length(); in testSanitizeBetween() 192 int secondEnd = secondStart + second.trim().length(); in testSanitizeBetween() 227 int firstEnd = firstStart + first.trim().length(); in testSanitizeEnd() 229 int secondEnd = secondStart + second.trim().length(); in testSanitizeEnd() 254 int thirdEnd = thirdStart + third.trim().length(); in testMoreChipPlainText() 306 int firstEnd = firstStart + first.trim().length(); in testMoreChip() 308 int secondEnd = secondStart + second.trim().length(); in testMoreChip() 310 int thirdEnd = thirdStart + third.trim().length(); in testMoreChip() 374 int firstEnd = firstStart + first.trim().length(); in testMoreChipLotsOfUsers() 376 int secondEnd = secondStart + second.trim().length(); in testMoreChipLotsOfUsers() [all …]
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | StochasticLinearRankerWithPrior.java | 182 mAlpha = Float.valueOf(value.trim()).floatValue(); in setModelParameter() 184 mAutoAlpha = Float.valueOf(value.trim()).floatValue(); in setModelParameter() 186 mForgetRate = Float.valueOf(value.trim()).floatValue(); in setModelParameter() 188 mMinReqTrainingPair = (int) Float.valueOf(value.trim()).floatValue(); in setModelParameter() 190 mUserRankerPerf = Float.valueOf(value.trim()).floatValue(); in setModelParameter() 192 mPriorRankerPerf = Float.valueOf(value.trim()).floatValue(); in setModelParameter() 194 mNumTrainPair = (int) Float.valueOf(value.trim()).floatValue(); in setModelParameter()
|
/frameworks/base/media/java/android/media/ |
D | SRTRenderer.java | 131 while (!((s = br.readLine()) == null || s.trim().equals(""))) { in onData() 194 long hours = Long.parseLong(in.split(":")[0].trim()); in parseMs() 195 long minutes = Long.parseLong(in.split(":")[1].trim()); in parseMs() 196 long seconds = Long.parseLong(in.split(":")[2].split(",")[0].trim()); in parseMs() 197 long millies = Long.parseLong(in.split(":")[2].split(",")[1].trim()); in parseMs()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | HardwareConfig.java | 129 split[1].trim(), /* uuid */ in HardwareConfig() 141 split[1].trim(), /* uuid */ in HardwareConfig() 143 split[3].trim() /* modem-uuid */ in HardwareConfig()
|
D | RetryManager.java | 255 splitStr[0] = splitStr[0].trim(); in configure() 258 splitStr[1] = splitStr[1].trim(); in configure() 283 splitStr[0] = splitStr[0].trim(); in configure() 291 splitStr[1] = splitStr[1].trim(); in configure()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
D | CertPinInstallReceiverTest.java | 166 signer.update(content.trim().getBytes()); in createSignature() 167 signer.update(version.trim().getBytes()); in createSignature() 179 signer.update(content.trim().getBytes()); in verifySignature() 180 signer.update(version.trim().getBytes()); in verifySignature() 181 signer.update(requiredPrevious.trim().getBytes()); in verifySignature()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardParserImpl_V21.java | 200 } else if (line.trim().length() > 0) { in getNonEmptyLine() 246 } else if (line.trim().length() > 0) { in readBeginVCard() 257 if (length == 2 && strArray[0].trim().equalsIgnoreCase("BEGIN") in readBeginVCard() 258 && strArray[1].trim().equalsIgnoreCase("VCARD")) { in readBeginVCard() 446 final String paramName = strArray[0].trim().toUpperCase(); 447 String paramValue = strArray[1].trim(); 766 if (firstString.trim().endsWith("=")) { 780 if (line.trim().endsWith("=")) { 855 Log.w(LOG_TAG, "Problematic line: " + line.trim()); 868 builder.append(line.trim());
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/ |
D | HTTPResponse.java | 87 statusCode = Integer.parseInt(status[1].trim()); in parseHeader() 98 String key = line.substring(0, keyEnd).trim(); in parseHeader() 99 String value = line.substring(keyEnd + 1).trim(); in parseHeader() 174 return csPos < 0 ? null : contentType.substring(csPos + csIndicator.length()).trim(); in getCharset()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ASessionDescription.cpp | 120 key.trim(); in parse() 121 value.trim(); in parse() 148 key.trim(); in parse() 149 value.trim(); in parse()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | VpnConfig.java | 115 if (routesStr.trim().equals("")) { in addLegacyRoutes() 118 String[] routes = routesStr.trim().split(" "); in addLegacyRoutes() 128 if (addressesStr.trim().equals("")) { in addLegacyAddresses() 131 String[] addresses = addressesStr.trim().split(" "); in addLegacyAddresses()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataCallResponse.java | 138 addr = addr.trim(); in setLinkProperties() 179 addr = addr.trim(); in setLinkProperties() 196 dnsAddr = dnsAddr.trim(); in setLinkProperties() 222 addr = addr.trim(); in setLinkProperties()
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
D | ByteArrayPool.java | 121 trim(); in returnBuf() 127 private synchronized void trim() { in trim() method in ByteArrayPool
|
D | HttpHeaderParser.java | 67 String token = tokens[i].trim(); in parseCacheHeaders() 149 String[] pair = params[i].trim().split("="); in parseCharset()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNativeTest.java | 224 fateReport.toTableRowString().replaceAll("\\s+", " ").trim().matches( in testTxFateReportToTableRowString() 243 fateReport.toTableRowString().replaceAll("\\s+", " ").trim().matches( in testTxFateReportToTableRowString() 263 fateReport.toTableRowString().replaceAll("\\s+", " ").trim().matches( in testTxFateReportToTableRowString() 328 fateReport.toTableRowString().replaceAll("\\s+", " ").trim().matches( in testRxFateReportToTableRowString() 349 fateReport.toTableRowString().replaceAll("\\s+", " ").trim().matches( in testRxFateReportToTableRowString()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageItemInfo.java | 111 if (name != null) name = name.trim(); in PackageItemInfo() 115 if (nonLocalizedLabel != null) nonLocalizedLabel = nonLocalizedLabel.toString().trim(); in PackageItemInfo() 141 return label.toString().trim(); in loadLabel() 195 labelStr = labelStr.trim(); in loadSafeLabel()
|
/frameworks/base/services/tests/servicestests/src/android/net/apf/ |
D | Bpf2Apf.java | 62 String opcode = line.substring(6, 10).trim(); in convertLine() 63 String arg = line.substring(15, Math.min(32, line.length())).trim(); in convertLine() 210 String true_label = line.substring(jt_offset + 2, jf_offset).trim(); in convertLine() 211 String false_label = line.substring(jf_offset + 2).trim(); in convertLine()
|
/frameworks/av/media/libstagefright/wifi-display/ |
D | Parameters.cpp | 52 name.trim(); in parse() 64 value.trim(); in parse()
|
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
D | SimpleRecipientChip.java | 44 mValue = entry.getDestination().trim(); in SimpleRecipientChip() 102 mOriginalText = text.trim(); in setOriginalText()
|
/frameworks/base/core/java/android/util/ |
D | KeyValueListParser.java | 60 mValues.put(pair.substring(0, sep).trim(), pair.substring(sep + 1).trim()); in setString()
|
/frameworks/av/media/libstagefright/httplive/ |
D | M3UParser.cpp | 445 codec.trim(); in getTypeURI() 811 attr.trim(); in parseStreamInf() 821 key.trim(); in parseStreamInf() 824 val.trim(); in parseStreamInf() 921 attr.trim(); in parseCipherInfo() 931 key.trim(); in parseCipherInfo() 934 val.trim(); in parseCipherInfo() 991 lenStr.trim(); in parseByteRange() 1003 offStr.trim(); in parseByteRange() 1058 attr.trim(); in parseMedia() [all …]
|
/frameworks/base/services/core/java/com/android/server/updates/ |
D | ConfigUpdateInstallReceiver.java | 112 return Integer.parseInt(extraValue.trim()); in getVersionFromIntent() 120 return extraValue.trim(); in getRequiredHashFromIntent() 125 String strVersion = IoUtils.readFileAsString(updateVersion.getCanonicalPath()).trim(); in getCurrentVersion()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/ |
D | MIMEContainer.java | 216 value.append(' ').append(line.trim()); in parseHeader() 229 valueList.add(segment.trim()); in parseHeader() 237 value.append(line.substring(nameEnd+1).trim()); in parseHeader() 244 valueList.add(segment.trim()); in parseHeader()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/samsung/ |
D | SamsungRecommendationPlugin.java | 92 modelName = usb_mfg.trim() + " " + usb_mdl.trim(); in getModelName()
|