Home
last modified time | relevance | path

Searched refs:convert (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/location/tests/locationtests/src/android/location/
DLocationManagerTest.java88 String loc1 = Location.convert(-80.075, Location.FORMAT_DEGREES); in testLocationConversions()
92 String loc1b = Location.convert(-80.0, Location.FORMAT_DEGREES); in testLocationConversions()
96 String loc2 = Location.convert(-80.085, Location.FORMAT_DEGREES); in testLocationConversions()
100 String loc3 = Location.convert(-80.085, Location.FORMAT_MINUTES); in testLocationConversions()
104 String loc4 = Location.convert(-80.085, Location.FORMAT_SECONDS); in testLocationConversions()
108 String loc5 = Location.convert(5 + 0.5f / 60.0f, Location.FORMAT_MINUTES); in testLocationConversions()
120 String loc6 = Location.convert(0.1, Location.FORMAT_DEGREES); in testLocationConversions()
124 String loc7 = Location.convert(0.1, Location.FORMAT_MINUTES); in testLocationConversions()
128 String loc8 = Location.convert(0.1, Location.FORMAT_SECONDS); in testLocationConversions()
DLocationTest.java35 result = Location.convert(testDegreesCoord); in testConvert_DegreesToDouble()
46 result = Location.convert(testMinutesCoord); in testConvert_MinutesToDouble()
57 result = Location.convert(testSecondsCoord); in testConvert_SecondsToDouble()
68 result = Location.convert(testSecondsCoord); in testConvert_SecondsToDouble2()
79 result = Location.convert(-80.075, Location.FORMAT_DEGREES); in testConvert_CoordinateToDegrees()
87 result = Location.convert(-80.0, Location.FORMAT_DEGREES); in testConvert_CoordinateToDegrees2()
96 result = Location.convert(input, Location.FORMAT_MINUTES); in testConvert_CoordinateToMinutes()
106 result = Location.convert(input, Location.FORMAT_MINUTES); in testConvert_CoordinateToMinutes2()
116 result = Location.convert(-80.075, Location.FORMAT_SECONDS); in testConvert_CoordinateToSeconds()
/frameworks/compile/slang/tests/F_vector_cast/
Dstderr.txt.expect1 vector_cast.rs:8:11: error: can't convert between vector values of different size ('float2' and 'in…
2 vector_cast.rs:15:11: error: can't convert between vector values of different size ('int3' and 'flo…
/frameworks/wilhelm/tools/mphtogen/
Dmphtogen.c25 static void convert(const signed char MPH_to[MPH_MAX], const char *filename) in convert() function
50 #define _(x) convert(MPH_to_##x, "../../src/autogen/MPH_to_" #x ".h");
/frameworks/native/opengl/tools/glgen/src/
DJFunc.java121 public static JFunc convert(CFunc cfunc, boolean useArray) { in convert() method in JFunc
125 jfunc.setType(JType.convert(cfunc.getType(), false)); in convert()
140 jfunc.addArgument(cArgName, JType.convert(cArgType, useArray), i); in convert()
DJType.java199 public static JType convert(CType ctype, boolean useArray) { in convert() method in JType
DJniCodeEmitter.java79 jfunc = JFunc.convert(cfunc, true); in emitCode()
108 jfunc = JFunc.convert(cfunc, false); in emitCode()
/frameworks/av/services/audioflinger/
Dtest-resample.cpp247 int16_t* convert = (int16_t*) malloc(out_frames * channels * sizeof(int16_t)); in main() local
253 convert[i * channels + j] = int16_t(s); in main()
270 write(output_fd, convert, out_frames * channels * sizeof(int16_t)); in main()
/frameworks/compile/slang/
DRSCCOptions.td56 HelpText<"Build ASTs then convert to LLVM, emit .ll file">;
58 HelpText<"Build ASTs then convert to LLVM, emit .bc file">;
60 HelpText<"Build ASTs then convert to LLVM, but emit nothing">;
/frameworks/av/include/media/stagefright/
DColorConverter.h36 status_t convert(
/frameworks/rs/driver/runtime/
DAndroid.mk30 convert.ll \
/frameworks/volley/src/com/android/volley/toolbox/
DRequestFuture.java97 return doGet(TimeUnit.MILLISECONDS.convert(timeout, unit)); in get()
/frameworks/opt/mms/src/java/com/google/android/mms/util/
DDrmConvertSession.java83 public byte [] convert(byte[] inBuffer, int size) { in convert() method in DrmConvertSession
/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp159 mConverter->convert( in render()
DColorConverter.cpp79 status_t ColorConverter::convert( in convert() function in android::ColorConverter
/frameworks/base/location/java/android/location/
DLocation.java178 public static String convert(double coordinate, int outputType) { in convert() method in Location
225 public static double convert(String coordinate) { in convert() method in Location
/frameworks/base/docs/html/training/location/
Dindex.jd69 Learn how to convert a location's latitude and longitude into an address (reverse
/frameworks/base/docs/html/tools/
Dindex.jd39 …<li>Visual refactoring lets you extracts layout for inclusion, convert layouts, extract styles.</l…
/frameworks/base/core/java/android/text/
DHtml.java139 return converter.convert(); in fromHtml()
441 public Spanned convert() { in convert() method in HtmlToSpannedConverter
/frameworks/av/media/libstagefright/
DStagefrightMetadataRetriever.cpp290 err = converter.convert( in extractVideoFrameWithCodecFlags()
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Dmath.rs.bak372 rsDebug("Testing convert from " #from " to " #to, 0); \
Dmath.rs.orig386 rsDebug("Testing convert from " #from " to " #to, 0); \
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
DPduPersister.java856 byte[] convertedData = drmConvertSession.convert(buffer, len); in persistData()
872 byte[] convertedData = drmConvertSession.convert(data, data.length); in persistData()
/frameworks/base/docs/html/training/basics/network-ops/
Dconnecting.jd259 it's common to decode or convert it into a
/frameworks/base/docs/html/tools/help/
Dproguard.jd160 or Mac OS X can convert an obfuscated stack trace to a readable one. It is located in the

12