Home
last modified time | relevance | path

Searched refs:mContents (Results 1 – 9 of 9) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryAddWordFragment.java55 private UserDictionaryAddWordContents mContents; field in UserDictionaryAddWordFragment
75 if (null == mContents) { in onCreateView()
76 mContents = new UserDictionaryAddWordContents(mRootView, getArguments()); in onCreateView()
83 mContents = new UserDictionaryAddWordContents(mRootView, in onCreateView()
84 mContents /* oldInstanceToBeEdited */); in onCreateView()
87 getActivity(), mContents.getCurrentUserDictionaryLocale())); in onCreateView()
117 mContents.delete(getActivity()); in onOptionsItemSelected()
133 final ArrayList<LocaleRenderer> localesList = mContents.getLocalesList(getActivity()); in updateSpinner()
149 mContents.apply(getActivity(), null); in onPause()
161 mContents.updateLocale(locale.getLocaleString()); in onItemSelected()
[all …]
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryAddWordFragment.java45 private UserDictionaryAddWordContents mContents; field in UserDictionaryAddWordFragment
64 if (null == mContents) { in onCreateView()
65 mContents = new UserDictionaryAddWordContents(mRootView, getArguments()); in onCreateView()
72 mContents = new UserDictionaryAddWordContents(mRootView, in onCreateView()
73 mContents /* oldInstanceToBeEdited */); in onCreateView()
76 getActivity(), mContents.getCurrentUserDictionaryLocale())); in onCreateView()
98 mContents.delete(getActivity()); in onOptionsItemSelected()
119 final ArrayList<LocaleRenderer> localesList = mContents.getLocalesList(getActivity()); in updateSpinner()
131 mContents.apply(getActivity(), null); in onPause()
DUserDictionaryAddWordActivity.java38 private UserDictionaryAddWordContents mContents; field in UserDictionaryAddWordActivity
70 mContents = new UserDictionaryAddWordContents(getWindow().getDecorView(), args); in onCreate()
75 mContents.saveStateIntoBundle(outState); in onSaveInstanceState()
102 final int resultCode = mContents.apply(this, parameters); in onClickConfirm()
/packages/modules/OnDevicePersonalization/framework/java/com/android/ondevicepersonalization/internal/util/
DByteArrayParceledSlice.java37 @NonNull private final ByteArrayParceledListSlice mContents; field in ByteArrayParceledSlice
50 mContents = new ByteArrayParceledListSlice(slices); in ByteArrayParceledSlice()
52 mContents = null; in ByteArrayParceledSlice()
58 if (mContents == null) { in getByteArray()
61 List<byte[]> slices = mContents.getList(); in getByteArray()
85 out.writeParcelable(mContents, flags); in writeToParcel()
100 mContents = in.readParcelable(null, ByteArrayParceledListSlice.class); in ByteArrayParceledSlice()
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/
DLocalDataTest.java158 HashMap<String, byte[]> mContents = new HashMap<String, byte[]>(); field in LocalDataTest.LocalDataService
163 mContents.put("a", new byte[] {1, 2, 3}); in LocalDataService()
164 mContents.put("b", new byte[] {4, 5, 6}); in LocalDataService()
165 mContents.put("c", new byte[] {7, 8, 9}); in LocalDataService()
177 new HashSet<>(mContents.keySet())); in onRequest()
217 if (mContents.containsKey(key)) { in onRequest()
218 existingValue = mContents.get(key); in onRequest()
221 mContents.remove(key); in onRequest()
224 mContents.put(key, value); in onRequest()
DRemoteDataTest.java102 HashMap<String, byte[]> mContents = new HashMap<String, byte[]>(); field in RemoteDataTest.RemoteDataService
107 mContents.put("a", new byte[] {1, 2, 3}); in RemoteDataService()
108 mContents.put("b", new byte[] {4, 5, 6}); in RemoteDataService()
109 mContents.put("c", new byte[] {7, 8, 9}); in RemoteDataService()
121 new HashSet<>(mContents.keySet())); in onRequest()
158 if (mContents.containsKey(key)) { in onRequest()
159 value = mContents.get(key); in onRequest()
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/present/
DPresentTestFragment.java269 ? presentation.mContents : null; in getView()
314 private DemoPresentationContents mContents; field in PresentTestFragment.DemoPresentation
318 mContents = contents; in DemoPresentation()
332 int photo = mContents.mPhoto; in onCreate()
335 findViewById(android.R.id.content).setBackgroundColor(mContents.mColor); in onCreate()
/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/
DIsolatedWorkerTest.java247 private final Map<String, byte[]> mContents; field in IsolatedWorkerTest.TestKeyValueStore
249 mContents = contents; in TestKeyValueStore()
252 return mContents.keySet(); in keySet()
255 return mContents.getOrDefault(key, null); in get()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapContentObserverTest.java146 HashSet<String> mContents = new HashSet<String>(); field in BluetoothMapContentObserverTest.ExceptionTestProvider
168 if (address != null) mContents.add((String) address); in insert()
235 assertThat(mProvider.mContents).hasSize(3); in testPushGroupMMS()
236 assertThat(mProvider.mContents).contains(TEST_NUMBER_ONE); in testPushGroupMMS()
237 assertThat(mProvider.mContents).contains(TEST_NUMBER_TWO); in testPushGroupMMS()