Home
last modified time | relevance | path

Searched refs:convert (Results 1 – 25 of 47) 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/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.java161 public static JType convert(CType ctype, boolean useArray) { in convert() method in JType
DJniCodeEmitter.java76 jfunc = JFunc.convert(cfunc, true); in emitCode()
101 jfunc = JFunc.convert(cfunc, false); in emitCode()
/frameworks/compile/libbcc/lib/ScriptCRT/
Drs_sample.c94 #define SAMPLE_1D_FUNC(vecsize, intype, outtype, convert) \ argument
100 outtype p0 = convert(*p0c); \
101 outtype p1 = convert(*p1c); \
104 #define SAMPLE_2D_FUNC(vecsize, intype, outtype, convert) \ argument
112 outtype p0 = convert(*p0c); \
113 outtype p1 = convert(*p1c); \
114 outtype p2 = convert(*p2c); \
115 outtype p3 = convert(*p3c); \
DAndroid.mk29 convert.ll \
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/
DAdbUtils.java43 public static String convert(int host) { in convert() method in AdbUtils
116 String cmd = "tcp:" + remotePort + ":" + convert(remoteAddress); in getForwardedSocket()
/frameworks/compile/libbcc/runtime/
DREADME.txt277 double __extendsfdf2vfp(float a); // Appears to convert from
279 int __fixdfsivfp(double a); // Appears to convert from
281 int __fixsfsivfp(float a); // Appears to convert from
283 unsigned int __fixunssfsivfp(float a); // Appears to convert from
285 unsigned int __fixunsdfsivfp(double a); // Appears to convert from
287 double __floatsidfvfp(int a); // Appears to convert from
289 float __floatsisfvfp(int a); // Appears to convert from
291 double __floatunssidfvfp(unsigned int a); // Appears to convert from
293 float __floatunssisfvfp(unsigned int a); // Appears to convert from
320 float __truncdfsf2vfp(double a); // Appears to convert from
/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/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
DUT_convert.java33 ScriptC_convert s = new ScriptC_convert(pRS, mRes, R.raw.convert); in run()
/frameworks/av/include/media/stagefright/
DColorConverter.h36 status_t convert(
/frameworks/base/core/java/com/google/android/mms/util/
DDrmConvertSession.java83 public byte [] convert(byte[] inBuffer, int size) { in convert() method in DrmConvertSession
/frameworks/base/location/java/android/location/
DLocation.java163 public static String convert(double coordinate, int outputType) { in convert() method in Location
210 public static double convert(String coordinate) { in convert() method in Location
/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp160 mConverter->convert( in render()
DColorConverter.cpp79 status_t ColorConverter::convert( in convert() function in android::ColorConverter
/frameworks/base/docs/html/tools/
Dindex.jd38 …<li>Visual refactoring lets you extracts layout for inclusion, convert layouts, extract styles</li>
/frameworks/base/core/java/android/text/
DHtml.java138 return converter.convert(); in fromHtml()
431 public Spanned convert() { in convert() method in HtmlToSpannedConverter
/frameworks/av/media/libstagefright/
DStagefrightMetadataRetriever.cpp255 err = converter.convert( in extractVideoFrameWithCodecFlags()
/frameworks/base/docs/html/guide/topics/renderscript/
Dcompute.jd50 recommend you convert your code to another Android graphics rendering option.</p>
193 //multipliers to convert a RGB colors to black and white
/frameworks/base/tests/RenderScriptTests/tests_v14/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/base/core/java/com/google/android/mms/pdu/
DPduPersister.java840 byte[] convertedData = drmConvertSession.convert(buffer, len); in persistData()
856 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

12