Home
last modified time | relevance | path

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

1234

/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.java36 result = Location.convert(testDegreesCoord); in testConvert_DegreesToDouble()
47 result = Location.convert(testMinutesCoord); in testConvert_MinutesToDouble()
58 result = Location.convert(testSecondsCoord); in testConvert_SecondsToDouble()
69 result = Location.convert(testSecondsCoord); in testConvert_SecondsToDouble2()
80 result = Location.convert(-80.075, Location.FORMAT_DEGREES); in testConvert_CoordinateToDegrees()
88 result = Location.convert(-80.0, Location.FORMAT_DEGREES); in testConvert_CoordinateToDegrees2()
97 result = Location.convert(input, Location.FORMAT_MINUTES); in testConvert_CoordinateToMinutes()
107 result = Location.convert(input, Location.FORMAT_MINUTES); in testConvert_CoordinateToMinutes2()
117 result = Location.convert(-80.075, Location.FORMAT_SECONDS); in testConvert_CoordinateToSeconds()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
DGenericConverter.java26 return convert(values); in convertArrayList()
31 return convert(values); in convertLinkedList()
34 private static <T> String convert(List<T> values) { in convert() method in GenericConverter
/frameworks/compile/slang/tests/F_vector_cast/
Dstderr.txt.expect1 vector_cast.rs:8:11: error: cannot convert between vector values of different size ('float2' (vecto…
2 vector_cast.rs:15:11: error: cannot convert between vector values of different size ('int3' (vector…
/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/base/core/java/android/animation/
DBidirectionalTypeConverter.java65 return mConverter.convert(value); in convertBack()
69 public To convert(From value) { in convert() method in BidirectionalTypeConverter.InvertedConverter
DTypeConverter.java55 public abstract V convert(T value); in convert() method in TypeConverter
/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()
/frameworks/data-binding/integration-tests/App With Spaces/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/base/core/jni/android/graphics/
DShader.cpp36 #error Need to convert float array to SkScalar array before calling the following function. in Color_HSVToColor()
122 #error Need to convert float array to SkScalar array before calling the following function. in LinearGradient_create1()
166 #error Need to convert float array to SkScalar array before calling the following function. in RadialGradient_create1()
205 #error Need to convert float array to SkScalar array before calling the following function. in SweepGradient_create1()
DInterpolator.cpp34 #error Need to convert float array to SkScalar array before calling the following function. in Interpolator_setKeyFrame()
DPathEffect.cpp42 #error Need to convert float array to SkScalar array before calling the following function. in Dash_constructor()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/database/
DCursorMapper.java43 public Object convert(Cursor cursor) { in convert() method in CursorMapper
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetailItems.java65 public static QSDetailItems convertOrInflate(Context context, View convert, ViewGroup parent) { in convertOrInflate() argument
66 if (convert instanceof QSDetailItems) { in convertOrInflate()
67 return (QSDetailItems) convert; in convertOrInflate()
/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/services/audiopolicy/engineconfigurable/wrapper/
DAndroid.mk14 $(TOPDIR)frameworks/av/services/audiopolicy/utilities/convert \
/frameworks/base/services/core/java/com/android/server/notification/
DRankingReconsideration.java65 return unit.convert(mDelay, TimeUnit.MILLISECONDS); in getDelay()
/frameworks/av/services/audioflinger/
Dtest-resample.cpp476 int16_t* convert = (int16_t*) malloc(output_frames * channels * sizeof(int16_t)); in main() local
496 convert[i * channels + j] = int16_t(s); in main()
511 (void) sf_writef_short(sf, convert, output_frames); in main()
/frameworks/av/include/media/stagefright/
DColorConverter.h36 status_t convert(
/frameworks/av/media/libstagefright/include/
DDataConverter.h34 status_t convert(const sp<ABuffer> &source, sp<ABuffer> &target);
/frameworks/base/docs/html/distribute/analyze/
Dbuild-better-apps.jd13 convert, so see if drawing more users to that action has an impact on your
24 know what’s successful at getting users to convert, derive a hypothesis as to
37 inclined to convert. Lastly, the <em>Discovered Secret Stairwell</em> is
/frameworks/volley/src/main/java/com/android/volley/toolbox/
DRequestFuture.java97 return doGet(TimeUnit.MILLISECONDS.convert(timeout, unit)); in get()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DCursorObjectAdapter.java148 item = mMapper.convert(mCursor); in get()
/frameworks/base/docs/html/training/wearables/data-layer/
Dassets.jd38 Here, we convert a bitmap to a byte stream and then call
111 // convert asset into a file descriptor and block until it's ready
/frameworks/av/media/libstagefright/
DDataConverter.cpp30 status_t DataConverter::convert(const sp<ABuffer> &source, sp<ABuffer> &target) { in convert() function in android::DataConverter

1234