Home
last modified time | relevance | path

Searched refs:getDouble (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryHistEntry.java88 mTotalPower = getDouble(values, KEY_TOTAL_POWER); in BatteryHistEntry()
89 mConsumePower = getDouble(values, KEY_CONSUME_POWER); in BatteryHistEntry()
90 mPercentOfTotal = getDouble(values, KEY_PERCENT_OF_TOTAL); in BatteryHistEntry()
109 mTotalPower = getDouble(cursor, KEY_TOTAL_POWER); in BatteryHistEntry()
110 mConsumePower = getDouble(cursor, KEY_CONSUME_POWER); in BatteryHistEntry()
111 mPercentOfTotal = getDouble(cursor, KEY_PERCENT_OF_TOTAL); in BatteryHistEntry()
243 private double getDouble(ContentValues values, String key) { in getDouble() method in BatteryHistEntry
251 private double getDouble(Cursor cursor, String key) { in getDouble() method in BatteryHistEntry
254 return cursor.getDouble(columnIndex); in getDouble()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/multichip/
DChipInfoParams.java77 double positionX = bundle.getDouble(KEY_POSITION_X, 0.0); in fromBundle()
78 double positionY = bundle.getDouble(KEY_POSITION_Y, 0.0); in fromBundle()
79 double positionZ = bundle.getDouble(KEY_POSITION_Z, 0.0); in fromBundle()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DMockSuggestionProviderCursor.java56 public double getDouble(int column) { in getDouble() method in MockSuggestionProviderCursor
57 return mRows.get(getPosition()).getDouble(column); in getDouble()
111 public double getDouble(int column) { in getDouble() method in MockSuggestionProviderCursor.Row
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalVideo.java105 latitude = cursor.getDouble(INDEX_LATITUDE); in loadFromCursor()
106 longitude = cursor.getDouble(INDEX_LONGITUDE); in loadFromCursor()
137 latitude = uh.update(latitude, cursor.getDouble(INDEX_LATITUDE)); in updateFromCursor()
138 longitude = uh.update(longitude, cursor.getDouble(INDEX_LONGITUDE)); in updateFromCursor()
DLocalImage.java137 latitude = cursor.getDouble(INDEX_LATITUDE); in loadFromCursor()
138 longitude = cursor.getDouble(INDEX_LONGITUDE); in loadFromCursor()
156 latitude = uh.update(latitude, cursor.getDouble(INDEX_LATITUDE)); in updateFromCursor()
157 longitude = uh.update(longitude, cursor.getDouble(INDEX_LONGITUDE)); in updateFromCursor()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DReorderingCursorWrapper.java67 public double getDouble(int column) { in getDouble() method in ReorderingCursorWrapper
68 return mCursor.getDouble(column); in getDouble()
DAbstractContactsProvider.java545 pw.print(c.getDouble(index)); in dumpDoubleColumn()
558 return c.getDouble(0); in doubleForQuery()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DMediaView.java148 double altitude = tags.getDouble(ExifInterface.TAG_GPS_ALTITUDE); in showExifData()
164 R.string.metadata_aperture_format, tags.getDouble(ExifInterface.TAG_APERTURE))); in showExifData()
169 formatShutterSpeed(tags.getDouble(ExifInterface.TAG_SHUTTER_SPEED_VALUE))); in showExifData()
174 double length = tags.getDouble(ExifInterface.TAG_FOCAL_LENGTH); in showExifData()
/packages/apps/Camera2/src/com/android/camera/data/
DVideoDataFactory.java68 double latitude = c.getDouble(VideoDataQuery.COL_LATITUDE); in fromCursor()
69 double longitude = c.getDouble(VideoDataQuery.COL_LONGITUDE); in fromCursor()
DPhotoDataFactory.java66 double latitude = c.getDouble(PhotoDataQuery.COL_LATITUDE); in fromCursor()
67 double longitude = c.getDouble(PhotoDataQuery.COL_LONGITUDE); in fromCursor()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DRootCursorWrapper.java117 public double getDouble(int column) { in getDouble() method in RootCursorWrapper
118 return mCursor.getDouble(column); in getDouble()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DFilteringCursorWrapper.java117 public double getDouble(int column) { in getDouble() method in FilteringCursorWrapper
118 return mCursor.getDouble(column); in getDouble()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DVhalJsonReader.java89 (float) rawEvent.getDouble(JSON_FIELD_VALUE)); in getEvent()
127 builder.addFloatValue((float) jsonArray.getDouble(i)); in copyValuesArray()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DSaveVideoFileUtils.java124 double latitude = cursor.getDouble(1); in insertContent()
125 double longitude = cursor.getDouble(2); in insertContent()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortingCursorWrapper.java127 public double getDouble(int column) { in getDouble() method in SortingCursorWrapper
128 return mCursor.getDouble(column); in getDouble()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsDetail.java110 mWeightToRam = args.getDouble(EXTRA_WEIGHT_TO_RAM); in onCreate()
112 mMaxMemoryUsage = args.getDouble(EXTRA_MAX_MEMORY_USAGE); in onCreate()
113 mTotalScale = args.getDouble(EXTRA_TOTAL_SCALE); in onCreate()
/packages/apps/Dialer/java/com/android/contacts/common/database/
DEmptyCursor.java72 public double getDouble(int column) { in getDouble() method in EmptyCursor
/packages/apps/Contacts/src/com/android/contacts/database/
DEmptyCursor.java72 public double getDouble(int column) { in getDouble() method in EmptyCursor
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DVideoStore.java261 double latitude = cursor.getDouble(latitudeColumn); in loadData()
262 double longitude = cursor.getDouble(longitudeColumn); in loadData()
/packages/services/Car/packages/ScriptExecutor/tests/functional/src/com/android/car/scriptexecutortest/functional/
DScriptExecutorFunctionalTest.java163 assertThat(mListener.mInterimResult.getDouble("number")).isEqualTo(1.1); in invokeScript_allSupportedPrimitiveTypes()
274 assertThat(mListener.mInterimResult.getDouble("number")).isEqualTo(0.2); in invokeScript_allSupportedPrimitiveTypesWorkRoundTripWithKeyNamesPreserved()
594 assertThat(mListener.mFinalResult.getDouble("number")).isEqualTo(0.2); in invokeScript_allPrimitiveSupportedTypesForReturningFinalResult()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DContactFilterCursor.java463 public double getDouble(int columnIndex) { in getDouble() method in ContactFilterCursor
464 return cursor.getDouble(columnIndex); in getDouble()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSuggestionCursorBackedCursor.java184 public double getDouble(int column) { in getDouble() method in SuggestionCursorBackedCursor
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DEntrySchema.java130 field.setDouble(object, cursor.getDouble(columnIndex)); in cursorToObject()
217 values.put(columnName, field.getDouble(object)); in objectToValues()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/
DDirectoryContactsCursorLoader.java130 values[i] = cursor.getDouble(i); in objectArrayFromCursor()
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/
DSensorMetadata.java179 return (float) json.getDouble(key); in readFloatFromJSON()

12