Searched refs:convert (Results 1 - 25 of 139) sorted by relevance

123456

/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
H A DGenericConverter.java26 return convert(values);
31 return convert(values);
34 private static <T> String convert(List<T> values) { method in class:GenericConverter
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/types/
H A DCompositeTypeConverter.kt29 override fun convert(inputVarName: String, outputVarName: String, scope: CodeGenScope) {
33 conv1.convert(inputVarName, tmp, scope)
34 conv2.convert(tmp, outputVarName, scope)
H A DTypeConverter.kt23 * A code generator that can convert from 1 type to another
26 abstract fun convert(inputVarName: String, outputVarName: String, scope: CodeGenScope)
H A DNoOpConverter.kt33 override fun convert(inputVarName: String, outputVarName: String, scope: CodeGenScope) {
H A DBoxedBooleanToBoxedIntConverter.kt34 override fun convert(inputVarName: String, outputVarName: String,
41 override fun convert(inputVarName: String, outputVarName: String,
H A DCompositeAdapter.kt41 fromCursorConverter.convert(tmpCursorValue, outVarName, scope)
53 intoStatementConverter.convert(valueVarName, tmpVar, scope)
H A DPrimitiveBooleanToIntConverter.kt34 override fun convert(inputVarName: String, outputVarName: String,
40 override fun convert(inputVarName: String, outputVarName: String,
/frameworks/base/core/java/android/app/usage/
H A DStorageStatsManager.java19 import static android.os.storage.StorageManager.convert;
69 return mService.isQuotaSupported(convert(storageUuid), mContext.getOpPackageName());
78 return isQuotaSupported(convert(uuid));
85 return mService.isReservedSupported(convert(storageUuid), mContext.getOpPackageName());
109 return mService.getTotalBytes(convert(storageUuid), mContext.getOpPackageName());
121 return getTotalBytes(convert(uuid));
141 return mService.getFreeBytes(convert(storageUuid), mContext.getOpPackageName());
153 return getFreeBytes(convert(uuid));
159 return mService.getCacheBytes(convert(storageUuid), mContext.getOpPackageName());
171 return getCacheBytes(convert(uui
[all...]
/frameworks/support/leanback/src/main/java/androidx/leanback/database/
H A DCursorMapper.java19 * Abstract class used to convert the current {@link Cursor} row to a single
43 public Object convert(Cursor cursor) { method in class:CursorMapper
/frameworks/base/location/tests/locationtests/src/android/location/
H A DLocationManagerTest.java88 String loc1 = Location.convert(-80.075, Location.FORMAT_DEGREES);
92 String loc1b = Location.convert(-80.0, Location.FORMAT_DEGREES);
96 String loc2 = Location.convert(-80.085, Location.FORMAT_DEGREES);
100 String loc3 = Location.convert(-80.085, Location.FORMAT_MINUTES);
104 String loc4 = Location.convert(-80.085, Location.FORMAT_SECONDS);
108 String loc5 = Location.convert(5 + 0.5f / 60.0f, Location.FORMAT_MINUTES);
120 String loc6 = Location.convert(0.1, Location.FORMAT_DEGREES);
124 String loc7 = Location.convert(0.1, Location.FORMAT_MINUTES);
128 String loc8 = Location.convert(0.1, Location.FORMAT_SECONDS);
/frameworks/base/core/java/android/animation/
H A DBidirectionalTypeConverter.java19 * Abstract base class used convert type T to another type V and back again. This
36 * @param value The Object to convert.
43 * The inverted converter uses this convert to call {@link #convertBack(Object)} for
44 * {@link #convert(Object)} calls and {@link #convert(Object)} for
65 return mConverter.convert(value);
69 public To convert(From value) { method in class:BidirectionalTypeConverter.InvertedConverter
H A DTypeConverter.java20 * Abstract base class used convert type T to another type V. This
37 * @return The Class to convert the input to.
52 * @param value The Object to convert.
55 public abstract V convert(T value); method in class:TypeConverter
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/query/result/
H A DQueryResultAdapter.kt25 abstract fun convert(outVarName: String, cursorVarName: String, scope: CodeGenScope)
H A DRowAdapter.kt34 * Called to convert a single row.
36 abstract fun convert(outVarName: String, cursorVarName: String, scope: CodeGenScope)
H A DSingleColumnRowAdapter.kt26 override fun convert(outVarName: String, cursorVarName: String, scope: CodeGenScope) {
H A DGuavaOptionalQueryResultAdapter.kt33 override fun convert(
37 resultAdapter.convert(valueVarName, cursorVarName, scope)
H A DOptionalQueryResultAdapter.kt35 override fun convert(
39 resultAdapter.convert(valueVarName, cursorVarName, scope)
H A DSingleEntityQueryResultAdapter.kt30 override fun convert(outVarName: String, cursorVarName: String, scope: CodeGenScope) {
35 rowAdapter?.convert(outVarName, cursorVarName, scope)
H A DArrayQueryResultAdapter.kt28 override fun convert(outVarName: String, cursorVarName: String, scope: CodeGenScope) {
40 rowAdapter?.convert(tmpVarName, cursorVarName, scope)
H A DListQueryResultAdapter.kt29 override fun convert(outVarName: String, cursorVarName: String, scope: CodeGenScope) {
41 rowAdapter?.convert(tmpVarName, cursorVarName, scope)
/frameworks/wilhelm/tools/mphtogen/
H A Dmphtogen.c25 static void convert(const signed char MPH_to[MPH_MAX], const char *filename) function
50 #define _(x) convert(MPH_to_##x, "../../src/autogen/MPH_to_" #x ".h");
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemjob/
H A DSystemJobInfoConverterTest.java74 JobInfo jobInfo = mConverter.convert(workSpec, JOB_ID);
84 JobInfo jobInfo = mConverter.convert(
91 * {@link IllegalArgumentException}. This is testing that {@link SystemJobInfoConverter#convert}
99 mConverter.convert(new WorkSpec("id", TestWorker.class.getName()), JOB_ID);
109 JobInfo jobInfo = mConverter.convert(workSpec, JOB_ID);
120 JobInfo jobInfo = mConverter.convert(workSpec, JOB_ID);
129 JobInfo jobInfo = mConverter.convert(workSpec, JOB_ID);
139 JobInfo jobInfo = mConverter.convert(workSpec, JOB_ID);
150 JobInfo jobInfo = mConverter.convert(workSpec, JOB_ID);
164 JobInfo jobInfo = mConverter.convert(workSpe
[all...]
/frameworks/support/paging/common/src/main/java/androidx/paging/
H A DWrapperPositionalDataSource.java60 callback.onResult(convert(mListFunction, data), position, totalCount);
65 callback.onResult(convert(mListFunction, data), position);
76 callback.onResult(convert(mListFunction, data));
H A DWrapperPageKeyedDataSource.java62 callback.onResult(convert(mListFunction, data), position, totalCount,
69 callback.onResult(convert(mListFunction, data), previousPageKey, nextPageKey);
80 callback.onResult(convert(mListFunction, data), adjacentPageKey);
91 callback.onResult(convert(mListFunction, data), adjacentPageKey);
/frameworks/support/work/workmanager-firebase/src/androidTest/java/androidx/work/impl/background/firebase/
H A DFirebaseJobConverterTest.java79 Job job = mConverter.convert(workSpec);
95 Job job = mConverter.convert(workSpec);
98 .convert(givenBackoffDelayDuration, TimeUnit.MILLISECONDS);
109 Job job = mConverter.convert(workSpec);
128 Job job = mConverter.convert(workSpec);
144 Job job = mConverter.convert(workSpec);
161 Job job = mConverter.convert(workSpec);
179 Job job = mConverter.convert(workSpec);
192 Job job = mConverter.convert(workSpec);
205 Job job = mConverter.convert(workSpe
[all...]

Completed in 165 milliseconds

123456