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/tests/frameworktests/src/android/adservices/ondevicepersonalization/
DLocalDataTest.java107 HashMap<String, byte[]> mContents = new HashMap<String, byte[]>(); field in LocalDataTest.LocalDataService
110 mContents.put("a", new byte[] {1, 2, 3}); in LocalDataService()
111 mContents.put("b", new byte[] {4, 5, 6}); in LocalDataService()
112 mContents.put("c", new byte[] {7, 8, 9}); in LocalDataService()
124 new HashSet<>(mContents.keySet())); in onRequest()
155 if (mContents.containsKey(key)) { in onRequest()
156 existingValue = mContents.get(key); in onRequest()
159 mContents.remove(key); in onRequest()
162 mContents.put(key, value); in onRequest()
DRemoteDataTest.java74 HashMap<String, byte[]> mContents = new HashMap<String, byte[]>(); field in RemoteDataTest.RemoteDataService
77 mContents.put("a", new byte[] {1, 2, 3}); in RemoteDataService()
78 mContents.put("b", new byte[] {4, 5, 6}); in RemoteDataService()
79 mContents.put("c", new byte[] {7, 8, 9}); in RemoteDataService()
91 new HashSet<>(mContents.keySet())); in onRequest()
119 if (mContents.containsKey(key)) { in onRequest()
120 value = mContents.get(key); in onRequest()
/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/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.java209 private final Map<String, byte[]> mContents; field in IsolatedWorkerTest.TestKeyValueStore
211 mContents = contents; in TestKeyValueStore()
214 return mContents.keySet(); in keySet()
217 return mContents.getOrDefault(key, null); in get()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapContentObserverTest.java144 HashSet<String> mContents = new HashSet<String>(); field in BluetoothMapContentObserverTest.ExceptionTestProvider
166 if (address != null) mContents.add((String) address); in insert()
235 Assert.assertEquals(3, mProvider.mContents.size()); in testPushGroupMMS()
236 Assert.assertTrue(mProvider.mContents.contains(TEST_NUMBER_ONE)); in testPushGroupMMS()
237 Assert.assertTrue(mProvider.mContents.contains(TEST_NUMBER_TWO)); in testPushGroupMMS()