Home
last modified time | relevance | path

Searched refs:values (Results 1 – 25 of 219) sorted by relevance

123456789

/developers/samples/android/admin/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/
DProvisioningValuesLoader.java61 HashMap<String, String> values = new HashMap<>(); in loadInBackground() local
62 loadFromDisk(values); in loadInBackground()
63 gatherAdminExtras(values); in loadInBackground()
64 loadSystemValues(values); in loadInBackground()
65 return values; in loadInBackground()
69 public void deliverResult(Map<String, String> values) { in deliverResult() argument
73 mValues = values; in deliverResult()
74 super.deliverResult(values); in deliverResult()
99 private void loadFromDisk(HashMap<String, String> values) { in loadFromDisk() argument
107 loadFromFile(values, file); in loadFromDisk()
[all …]
DNfcProvisioningFragment.java212 public void onLoadFinished(Loader<Map<String, String>> loader, Map<String, String> values) { in onLoadFinished() argument
214 mProvisioningValues = values; in onLoadFinished()
216 mEditPackageName.setText(values.get( in onLoadFinished()
219 ComponentName name = ComponentName.unflattenFromString(values.get( in onLoadFinished()
223 mEditLocale.setText(values.get(DevicePolicyManager.EXTRA_PROVISIONING_LOCALE)); in onLoadFinished()
224 mEditTimezone.setText(values.get(DevicePolicyManager.EXTRA_PROVISIONING_TIME_ZONE)); in onLoadFinished()
225 mEditWifiSsid.setText(values.get(DevicePolicyManager.EXTRA_PROVISIONING_WIFI_SSID)); in onLoadFinished()
226 mEditWifiSecurityType.setText(values.get( in onLoadFinished()
228 mEditWifiPassword.setText(values.get( in onLoadFinished()
/developers/samples/android/ui/transition/CustomTransition/Application/src/main/java/com/example/android/customtransition/
DChangeColor.java44 private void captureValues(TransitionValues values) { in captureValues() argument
46 values.values.put(PROPNAME_BACKGROUND, values.view.getBackground()); in captureValues()
79 Drawable startBackground = (Drawable) startValues.values.get(PROPNAME_BACKGROUND); in createAnimator()
80 Drawable endBackground = (Drawable) endValues.values.get(PROPNAME_BACKGROUND); in createAnimator()
/developers/samples/android/wearable/wear/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/db/
DLocationDbHelper.java91 ContentValues values = new ContentValues(); in insert() local
92 values.put(COLUMN_NAME_DAY, entry.day); in insert()
93 values.put(COLUMN_NAME_LONGITUDE, entry.longitude); in insert()
94 values.put(COLUMN_NAME_LATITUDE, entry.latitude); in insert()
95 values.put(COLUMN_NAME_TIME, entry.calendar.getTimeInMillis()); in insert()
98 return db.insert(TABLE_NAME, "null", values); in insert()
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/view/autofillable/
DCustomVirtualView.java67 public void autofill(SparseArray<AutofillValue> values) { in autofill() argument
76 Log.d(TAG, "autofill(): " + values); in autofill()
81 for (int i = 0; i < values.size(); i++) { in autofill()
82 int id = values.keyAt(i); in autofill()
100 for (int i = 0; i < values.size(); i++) { in autofill()
101 int id = values.keyAt(i); in autofill()
102 AutofillValue value = values.valueAt(i); in autofill()
/developers/samples/android/sensors/AccelerometerPlay/app/src/main/java/com/example/android/accelerometerplay/
DAccelerometerPlayActivity.java373 mSensorX = event.values[0]; in onSensorChanged()
374 mSensorY = event.values[1]; in onSensorChanged()
377 mSensorX = -event.values[1]; in onSensorChanged()
378 mSensorY = event.values[0]; in onSensorChanged()
381 mSensorX = -event.values[0]; in onSensorChanged()
382 mSensorY = -event.values[1]; in onSensorChanged()
385 mSensorX = event.values[1]; in onSensorChanged()
386 mSensorY = -event.values[0]; in onSensorChanged()
/developers/samples/android/connectivity/network/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/
DNetworkFragment.java185 protected void onProgressUpdate(Integer... values) { in onProgressUpdate() argument
186 super.onProgressUpdate(values); in onProgressUpdate()
187 if (values.length >= 2) { in onProgressUpdate()
188 mCallback.onProgressUpdate(values[0], values[1]); in onProgressUpdate()
/developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/
DWeatherDataProvider.java104 public Uri insert(Uri uri, ContentValues values) { in insert() argument
116 public synchronized int update(Uri uri, ContentValues values, String selection, in update() argument
127 data.degrees = values.getAsInteger(Columns.TEMPERATURE); in update()
DWeatherWidgetProvider.java125 final ContentValues values = new ContentValues(); in onReceive()
126 values.put(WeatherDataProvider.Columns.TEMPERATURE, in onReceive()
128 r.update(uri, values, null, null); in onReceive()
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/
DFeedProvider.java122 public Uri insert(Uri uri, ContentValues values) { in insert() argument
129 long id = db.insertOrThrow(FeedContract.Entry.TABLE_NAME, null, values); in insert()
180 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
189 .update(db, values); in update()
196 .update(db, values); in update()
/developers/samples/android/content/ShareActionProvider/Application/src/main/java/com/example/android/shareactionprovider/content/
DAssetProvider.java58 public Uri insert(@NonNull Uri uri, ContentValues values) { in insert() argument
72 public int update(@NonNull Uri uri, ContentValues values, String selection, in update() argument
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/
DCustomVirtualView.kt70 override fun autofill(values: SparseArray<AutofillValue>) { in autofill()
75 Log.d(TAG, "autofill(): " + values) in autofill()
76 for (i in 0 until values.size()) { in autofill()
77 val id = values.keyAt(i) in autofill()
78 val value = values.valueAt(i) in autofill()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/settings/
DMyPreferences.java95 return Util.LogLevel.values()[mPrefs.getInt(LOGGING_LEVEL, Util.LogLevel.Off.ordinal())]; in getLoggingLevel()
104 return Util.DalCheckRequirement.values()[mPrefs.getInt(DAL_CHECK_REQUIRED, in getDalCheckRequirement()
/developers/samples/android/content/multiuser/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/
DCustomRestrictionsFragment.java158 final String[] values = mRestrictionsBundle.getStringArray( in onActivityCreated() local
160 if (values != null) { in onActivityCreated()
161 Collections.addAll(set, values); in onActivityCreated()
/developers/samples/android/common/src/java/com/example/android/common/midi/synth/
DSynthEngine.java185 Iterator<SynthVoice> iterator = mVoices.values().iterator(); in generateBuffer()
205 Iterator<SynthVoice> iterator = mVoices.values().iterator(); in allNotesOff()
250 Iterator<SynthVoice> iterator = mVoices.values().iterator(); in pitchBend()
/developers/samples/android/common/src/java/com/example/android/common/db/
DSelectionBuilder.java339 public int update(SQLiteDatabase db, ContentValues values) { in update() argument
342 return db.update(mTable, values, getSelection(), getSelectionArgs()); in update()
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
DAsyncTask.java411 protected void onProgressUpdate(Progress... values) { in onProgressUpdate() argument
646 protected final void publishProgress(Progress... values) { in publishProgress() argument
649 new AsyncTaskResult<Progress>(this, values)).sendToTarget(); in publishProgress()
/developers/samples/android/renderScript/BasicRenderScript/Application/src/main/java/com/example/android/basicrenderscript/
DMainActivity.java120 protected Integer doInBackground(Float... values) { in doInBackground() argument
127 mScript.set_saturationValue(values[0]); in doInBackground()
/developers/samples/android/wearable/wear/SpeedTracker/
DREADME7 Application/src/main/res/values/strings.xml:
/developers/build/templates/base/_MODULE_/src/template/
Dproject.properties.ftl8 # "ant.properties", and override values to adapt the script to your
/developers/samples/android/renderScript/BasicRenderScript/Application/
Dproject.properties7 # "ant.properties", and override values to adapt the script to your
/developers/build/lib/
Dassetstudio.jar ... android.assetstudiolib.ActionBarIconGenerator$Theme[] $VALUES public static com.android.assetstudiolib.ActionBarIconGenerator$ ...
/developers/samples/android/notification/Bubbles/app/src/test/java/com/example/android/bubbles/data/
DTestChatRepository.kt34 value = chats.values.map { it.contact } in <lambda>()
/developers/samples/android/media/HdrViewfinder/
DREADME.md6 the sensor's exposure time between two exposure values on even and odd frames, and then
15 by alternating the sensor's exposure time between two exposure values on even and odd
27 values for the even/odd frames, the fused image has a higher dynamic range than the regular
/developers/samples/android/common/src/java/com/example/android/common/assetprovider/
DAssetProvider.java137 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument

123456789