HomeSort by relevance Sort by last modified time
    Searched full:dataset (Results 226 - 250 of 923) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
TestUtil.java 55 String accountName, String accountType, String dataSet) {
62 .appendQueryParameter(RawContacts.DATA_SET, dataSet)
  /developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/
AuthActivity.java 24 import android.service.autofill.Dataset;
49 * It is launched when an Autofill Response or specific Dataset within the Response requires
54 // Unique id for dataset intents.
148 private void setDatasetIntent(Dataset dataset) {
149 mReplyIntent.putExtra(EXTRA_AUTHENTICATION_RESULT, dataset);
  /developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/
AuthActivity.kt 25 import android.service.autofill.Dataset
44 * It is launched when an Autofill Response or specific Dataset within the Response requires
112 private fun setDatasetIntent(dataset: Dataset) {
113 replyIntent?.putExtra(EXTRA_AUTHENTICATION_RESULT, dataset)
118 // Unique autofillId for dataset intents.
  /developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/
AuthActivity.kt 25 import android.service.autofill.Dataset
44 * It is launched when an Autofill Response or specific Dataset within the Response requires
112 private fun setDatasetIntent(dataset: Dataset) {
113 replyIntent?.putExtra(EXTRA_AUTHENTICATION_RESULT, dataset)
118 // Unique autofillId for dataset intents.
  /frameworks/base/services/autofill/java/com/android/server/autofill/
Helper.java 25 import android.service.autofill.Dataset;
64 * Maximum number of visible datasets in the dataset picker UI.
101 static ArrayMap<AutofillId, AutofillValue> getFields(@NonNull Dataset dataset) {
102 final ArrayList<AutofillId> ids = dataset.getFieldIds();
103 final ArrayList<AutofillValue> values = dataset.getFieldValues();
Session.java 63 import android.service.autofill.Dataset;
212 * List of dataset ids selected by the user.
1005 final Dataset dataset = authenticatedResponse.getDatasets().get(datasetIdx); local
1029 final Dataset dataset = (Dataset) result; local
1136 final Dataset dataset = datasets.get(j); local
1226 final Dataset dataset = datasets.get(k); local
1605 final Dataset dataset = datasets.get(i); local
2232 final Dataset dataset = datasets.get(i); local
2345 final Dataset dataset = datasets.get(i); local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/group/
GroupMetaData.java 50 public final String dataSet;
75 this.dataSet = cursor.getString(GroupMetaDataLoader.DATA_SET);
92 dataSet = source.readString();
106 dest.writeString(dataSet);
133 .add("dataSet", dataSet)
  /cts/tests/autofillservice/src/android/autofillservice/cts/
CannedFillResponse.java 27 import android.service.autofill.Dataset;
143 * Creates a new response, replacing the dataset field ids by the real ids from the assist
151 final Dataset dataset = cannedDataset.asDataset(nodeResolver); local
152 assertWithMessage("Cannot create datase").that(dataset).isNotNull();
153 builder.addDataset(dataset);
293 public Builder addDataset(CannedDataset dataset) {
295 mDatasets.add(dataset);
477 * Helper class used to produce a {@link Dataset} based on expected fields that should be
513 * Creates a new dataset, replacing the field ids by the real ids from the assist structure
    [all...]
UiBot.java 140 * Asserts the dataset picker is not shown anymore.
143 * dataset picker is shown - if that's not the case, call
156 * Asserts the dataset picker was never shown.
159 * cases where the dataset picker was not previous shown.
162 assertNeverShown("dataset picker", DATASET_PICKER_SELECTOR,
167 * Asserts the dataset chooser is shown and contains exactly the given datasets.
169 * @return the dataset picker object.
177 assertWithMessage("wrong dataset names").that(getChildrenAsText(picker))
189 * Asserts the dataset chooser is shown and contains the given datasets.
191 * @return the dataset picker object
    [all...]
OptionalSaveActivityTest.java 199 // Initial dataset
224 // Initial dataset
248 // Initial dataset
272 // Initial dataset
295 private void autofillAndSaveOnChangeTest(CannedDataset.Builder dataset, Runnable changes,
302 .addDataset(dataset.setPresentation(createPresentation("Da Dataset")).build())
313 mUiBot.selectDataset("Da Dataset");
391 private void autofillNoChangeNoSaveTest(CannedDataset.Builder dataset, Runnable changes)
398 .addDataset(dataset.setPresentation(createPresentation("Da Dataset")).build()
    [all...]
  /frameworks/base/core/java/android/service/autofill/
FillResponse.java 74 private final @Nullable ParceledListSlice<Dataset> mDatasets;
110 public @Nullable List<Dataset> getDatasets() {
185 * one dataset or set an authentication intent with a presentation view.
188 private ArrayList<Dataset> mDatasets;
300 * Adds a new {@link Dataset} to this response.
305 * {@link Dataset.Builder#setAuthentication(IntentSender) authenticated dataset} at the end
309 * size can still be reached if each dataset itself is too big.
313 public @NonNull Builder addDataset(@Nullable Dataset dataset) {
    [all...]
FillEventHistory.java 172 * A dataset was selected. The dataset selected can be read from {@link #getDatasetId()}.
176 * {@link Dataset.Builder#setAuthentication(IntentSender) dataset authentication} was
177 * selected and the service returned a dataset in the
185 * A {@link Dataset.Builder#setAuthentication(IntentSender) dataset authentication} was
186 * selected. The dataset authenticated can be read from {@link #getDatasetId()}.
208 * <li>Which fields in the selected datasets were changed by the user after the dataset
216 * <li>The service provides at least one dataset in th
    [all...]
  /external/tensorflow/tensorflow/python/data/kernel_tests/
interleave_dataset_op_test.py 69 # Cycle length 1 acts like `Dataset.flat_map()`.
107 dataset = (
108 dataset_ops.Dataset.from_tensor_slices(input_values)
110 .interleave(lambda x: dataset_ops.Dataset.from_tensors(x).repeat(x),
112 iterator = dataset.make_initializable_iterator()
117 # Cycle length 1 acts like `Dataset.flat_map()`.
186 return dataset_ops.Dataset.from_tensor_slices(
190 dataset_ops.Dataset.range(10).map(_map_fn).interleave(
206 dataset_ops.Dataset.from_tensor_slices([])
208 .interleave(dataset_ops.Dataset.from_tensors, cycle_length=2
    [all...]
range_dataset_op_test.py 48 iterator = dataset_ops.Dataset.range(stop).make_initializable_iterator()
62 iterator = dataset_ops.Dataset.range(start,
78 iterator = dataset_ops.Dataset.range(start, stop,
94 iterator = dataset_ops.Dataset.range(start, stop,
106 iterator = dataset_ops.Dataset.range(start, stop,
123 iterator = dataset_ops.Dataset.range(start,
141 iterator = dataset_ops.Dataset.range(start, stop,
159 iterator = dataset_ops.Dataset.range(start, stop,
192 iterator = dataset_ops.Dataset.range(start,
241 dataset = dataset_ops.Dataset.range(start, stop).repeat(num_epochs
    [all...]
iterator_ops_cluster_test.py 49 dataset_3 = dataset_ops.Dataset.from_tensor_slices([1, 2, 3])
64 dataset_3 = dataset_ops.Dataset.from_tensor_slices([1, 2, 3])
126 input_sentences = dataset_ops.Dataset.from_tensor_slices(
147 # Tests whether a parallel map dataset will be cleaned up correctly when
160 dataset = (
161 dataset_ops.Dataset.from_tensor_slices(components).map(_map_fn)
164 iterator = dataset.make_initializable_iterator()
  /developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/model/
FilledAutofillFieldCollection.java 18 import android.service.autofill.Dataset;
39 * plus the dataset name associated with it.
99 * Returns the name of the {@link Dataset}.
106 * Sets the {@link Dataset} name.
154 * Populates a {@link Dataset.Builder} with appropriate values for each {@link AutofillId}
158 * {@link Dataset.Builder} by applying saved values (from this {@code FilledAutofillFieldCollection})
163 Dataset.Builder datasetBuilder) {
  /external/tensorflow/tensorflow/examples/get_started/regression/
imports85.py 15 """A dataset loader for imports85.data."""
74 def dataset(y_name="price", train_fraction=0.7): function
75 """Load the imports85 data as a (train,test) pair of `Dataset`.
77 Each dataset generates (features_dict, label) pairs.
118 # If you randomly split the dataset you won't get the same split in both
120 # random split won't work with a dataset that's too big to `.cache()` as
176 train_fraction: the fraction of the dataset to use for training.
  /external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
AudioFragment.java 275 LineDataSet dataSet = new LineDataSet(entries, "Waveform");
276 dataSet.setColor(Color.BLACK);
277 dataSet.setValueTextColor(Color.BLACK);
278 dataSet.setCircleColor(ContextCompat.getColor(getContext(), R.color.DarkGreen));
279 dataSet.setCircleRadius(1.5f);
280 dataSet.setCircleColorHole(Color.DKGRAY);
281 LineData lineData = new LineData(dataSet);
  /external/tensorflow/tensorflow/contrib/eager/python/examples/mnist/
mnist.py 119 def train_one_epoch(model, optimizer, dataset, log_interval=None):
120 """Trains model on `dataset` using `optimizer`."""
124 for (batch, (images, labels)) in enumerate(tfe.Iterator(dataset)):
138 def test(model, dataset):
139 """Perform an evaluation of `model` on the examples from `dataset`."""
143 for (images, labels) in tfe.Iterator(dataset):
156 """Returns training and test tf.data.Dataset objects."""
158 train_ds = tf.data.Dataset.from_tensor_slices((data.train.images,
160 test_ds = tf.data.Dataset.from_tensors((data.test.images, data.test.labels))
  /external/tensorflow/tensorflow/docs_src/tutorials/
recurrent.md 15 (PTB) dataset, which is a popular benchmark for measuring the quality of these
25 on the PTB dataset.
33 `ptb_word_lm.py` | The code to train a language model on the PTB dataset.
34 `reader.py` | The code to read the dataset.
39 [PTB dataset from Tomas Mikolov's webpage](http://www.fit.vutbr.cz/~imikolov/rnnlm/simple-examples.tgz).
41 The dataset is already preprocessed and contains overall 10000 different words,
127 And this is how to implement an iteration over the whole dataset:
198 Before running the code, download the PTB dataset, as discussed at the beginning
199 of this tutorial. Then, extract the PTB dataset underneath your home directory
  /packages/apps/Calendar/src/com/android/calendar/
StickyHeaderListView.java 46 * 5. The implementation should register to listen to dataset changes. Right now this is not done
47 * since a change the dataset in a listview forces a call to OnScroll. The needed code is
69 // This code is needed only if dataset changes do not force a call to OnScroll
90 * @param position - Position of the item in the ListView dataset
131 // This code is needed only if dataset changes do not force a call to
139 // This code is needed only if dataset changes do not force a call
182 // This code is needed only if dataset changes do not force a call to OnScroll
201 // This code is needed only if dataset changes do not force a call to OnScroll
364 // This code is needed only if dataset changes do not force a call to OnScroll
  /external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/
synthetic_test.py 29 """Test synthetic dataset generation"""
47 - return type is `Dataset`
59 self.assertIsInstance(circ, datasets.base.Dataset)
97 - return type is `Dataset`
108 self.assertIsInstance(spir, datasets.base.Dataset)
  /external/tensorflow/tensorflow/python/data/util/
sparse.py 15 """Python dataset sparse tensor utility functitons."""
32 classes: a structure of objects that identify the dataset item classes
45 classes: a structure of objects that identify the dataset item classes
64 classes: a structure of objects that identify the dataset item classes
85 classes: a structure of objects that identify the dataset item classes
  /external/tensorflow/tensorflow/python/keras/_impl/keras/datasets/
reuters.py 15 """Reuters topic classification dataset.
42 """Loads the Reuters newswire classification dataset.
45 path: where to cache the data (relative to `~/.keras/dataset`).
52 test_split: Fraction of the dataset to be used as test data.
122 path: where to cache the data (relative to `~/.keras/dataset`).
  /packages/apps/ExactCalculator/src/com/android/calculator2/
HistoryAdapter.java 49 public HistoryAdapter(ArrayList<HistoryItem> dataSet) {
50 mDataSet = dataSet;
127 public void setDataSet(ArrayList<HistoryItem> dataSet) {
128 mDataSet = dataSet;
173 * Gets the HistoryItem from mDataSet, lazy-filling the dataSet if necessary.

Completed in 425 milliseconds

1 2 3 4 5 6 7 8 91011>>