OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:clientFormData
(Results
1 - 11
of
11
) sorted by null
/developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofillframework/service/datasource/
LocalAutofillRepository.java
22
import com.example.android.autofillframework.service.model.
ClientFormData
;
59
public HashMap<String,
ClientFormData
> getClientFormData(List<String> focusedAutofillHints,
64
HashMap<String,
ClientFormData
> clientFormDataMap = new HashMap<>();
67
ClientFormData
clientFormData
=
ClientFormData
69
if (
clientFormData
!= null) {
70
if (
clientFormData
.helpsWithHints(focusedAutofillHints)) {
73
if (
clientFormData
.helpsWithHints(allAutofillHints)) {
74
clientFormDataMap.put(
clientFormData
.getDatasetName(), clientFormData)
[
all
...]
AutofillRepository.java
18
import com.example.android.autofillframework.service.model.
ClientFormData
;
26
* Gets saved
ClientFormData
that contains some objects that can autofill fields with these
29
HashMap<String,
ClientFormData
> getClientFormData(List<String> focusedAutofillHints,
35
void saveClientFormData(
ClientFormData
clientFormData
);
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/service/datasource/
LocalAutofillRepository.java
22
import com.example.android.autofillframework.service.model.
ClientFormData
;
59
public HashMap<String,
ClientFormData
> getClientFormData(List<String> focusedAutofillHints,
64
HashMap<String,
ClientFormData
> clientFormDataMap = new HashMap<>();
67
ClientFormData
clientFormData
=
ClientFormData
69
if (
clientFormData
!= null) {
70
if (
clientFormData
.helpsWithHints(focusedAutofillHints)) {
73
if (
clientFormData
.helpsWithHints(allAutofillHints)) {
74
clientFormDataMap.put(
clientFormData
.getDatasetName(), clientFormData)
[
all
...]
AutofillRepository.java
18
import com.example.android.autofillframework.service.model.
ClientFormData
;
26
* Gets saved
ClientFormData
that contains some objects that can autofill fields with these
29
HashMap<String,
ClientFormData
> getClientFormData(List<String> focusedAutofillHints,
35
void saveClientFormData(
ClientFormData
clientFormData
);
/developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofillframework/service/
AutofillHelper.java
29
import com.example.android.autofillframework.service.model.
ClientFormData
;
46
AutofillFieldsCollection autofillFields,
ClientFormData
clientFormData
) {
48
(newRemoteViews(context.getPackageName(),
clientFormData
.getDatasetName()));
49
boolean setValueAtLeastOnce =
clientFormData
.applyToFields(autofillFields, datasetBuilder);
69
HashMap<String,
ClientFormData
> clientFormDataMap) {
74
ClientFormData
clientFormData
= clientFormDataMap.get(datasetName);
78
(context.getPackageName(),
clientFormData
.getDatasetName()));
80
.getAuthIntentSenderForDataset(context,
clientFormData
.getDatasetName())
[
all
...]
MyAutofillService.java
35
import com.example.android.autofillframework.service.model.
ClientFormData
;
98
HashMap<String,
ClientFormData
> clientFormDataMap =
115
ClientFormData
clientFormData
= parser.getClientFormData();
116
LocalAutofillRepository.getInstance(this).saveClientFormData(
clientFormData
);
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/service/
AutofillHelper.java
29
import com.example.android.autofillframework.service.model.
ClientFormData
;
46
AutofillFieldsCollection autofillFields,
ClientFormData
clientFormData
) {
48
(newRemoteViews(context.getPackageName(),
clientFormData
.getDatasetName()));
49
boolean setValueAtLeastOnce =
clientFormData
.applyToFields(autofillFields, datasetBuilder);
69
HashMap<String,
ClientFormData
> clientFormDataMap) {
74
ClientFormData
clientFormData
= clientFormDataMap.get(datasetName);
78
(context.getPackageName(),
clientFormData
.getDatasetName()));
80
.getAuthIntentSenderForDataset(context,
clientFormData
.getDatasetName())
[
all
...]
MyAutofillService.java
35
import com.example.android.autofillframework.service.model.
ClientFormData
;
98
HashMap<String,
ClientFormData
> clientFormDataMap =
115
ClientFormData
clientFormData
= parser.getClientFormData();
116
LocalAutofillRepository.getInstance(this).saveClientFormData(
clientFormData
);
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/datasource/
SharedPrefsAutofillRepository.kt
47
Gson().fromJson<FilledAutofillFieldCollection>(clientFormDataString, type)?.let {
clientFormData
->
48
if (
clientFormData
.helpsWithHints(focusedAutofillHints)) {
52
clientFormData
.datasetName?.let { datasetName ->
53
if (
clientFormData
.helpsWithHints(allAutofillHints)) {
56
clientFormDataMap.put(datasetName,
clientFormData
)
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/
AutofillHelper.kt
70
filledAutofillFieldCollectionMap[datasetName]?.let {
clientFormData
->
71
val dataset = newDataset(context, autofillFieldMetadata,
clientFormData
, datasetAuth)
AuthActivity.kt
100
it[datasetName]?.let {
clientFormData
->
101
AutofillHelper.newDataset(this, autofillFields,
clientFormData
, false)?.let(this::setDatasetIntent)
Completed in 5883 milliseconds