Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 111) sorted by relevance

12345

/developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/
DEventScheduler.java156 FastEventQueue list = mEventBuffer.get(event.getTimestamp()); in add() local
157 if (list == null) { in add()
160 list = new FastEventQueue(event); in add()
161 mEventBuffer.put(event.getTimestamp(), list); in add() local
168 list.add(event); in add()
176 FastEventQueue list = mEventBuffer.get(lowestTime); in removeNextEventLocked() local
178 if ((list.size() == 1)) { in removeNextEventLocked()
181 event = list.remove(); in removeNextEventLocked()
/developers/samples/android/common/src/java/com/example/android/common/midi/
DEventScheduler.java156 FastEventQueue list = mEventBuffer.get(event.getTimestamp()); in add() local
157 if (list == null) { in add()
160 list = new FastEventQueue(event); in add()
161 mEventBuffer.put(event.getTimestamp(), list); in add() local
168 list.add(event); in add()
176 FastEventQueue list = mEventBuffer.get(lowestTime); in removeNextEventLocked() local
178 if ((list.size() == 1)) { in removeNextEventLocked()
181 event = list.remove(); in removeNextEventLocked()
/developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/model/
DMockMovieService.java29 private static List<Movie> list; field in MockMovieService
73 if (list == null || list.isEmpty()) { in getList()
74 list = createMovieList(); in getList()
76 return list; in getList()
92 List<Movie> list = new ArrayList<>(); in createMovieList() local
135 list.add( in createMovieList()
146 return list; in createMovieList()
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/
DEventScheduler.java156 FastEventQueue list = mEventBuffer.get(event.getTimestamp()); in add() local
157 if (list == null) { in add()
160 list = new FastEventQueue(event); in add()
161 mEventBuffer.put(event.getTimestamp(), list); in add() local
168 list.add(event); in add()
176 FastEventQueue list = mEventBuffer.get(lowestTime); in removeNextEventLocked() local
178 if ((list.size() == 1)) { in removeNextEventLocked()
181 event = list.remove(); in removeNextEventLocked()
/developers/samples/android/connectivity/wifirtt/WifiRttScan/Application/src/main/java/com/example/android/wifirttscan/
DMyAdapter.java42 public MyAdapter(List<ScanResult> list, ScanResultClickListener scanResultClickListener) { in MyAdapter() argument
43 mWifiAccessPointsWithRtt = list; in MyAdapter()
70 public void swapData(List<ScanResult> list) { in swapData() argument
75 if ((list != null) && (list.size() > 0)) { in swapData()
76 mWifiAccessPointsWithRtt.addAll(list); in swapData()
/developers/build/prebuilts/gradle/WifiRttScan/Application/src/main/java/com/example/android/wifirttscan/
DMyAdapter.java42 public MyAdapter(List<ScanResult> list, ScanResultClickListener scanResultClickListener) { in MyAdapter() argument
43 mWifiAccessPointsWithRtt = list; in MyAdapter()
70 public void swapData(List<ScanResult> list) { in swapData() argument
75 if ((list != null) && (list.size() > 0)) { in swapData()
76 mWifiAccessPointsWithRtt.addAll(list); in swapData()
/developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/util/
DSharedPreferencesHelper.java115 List<T> list = new ArrayList<>(stringSet.size()); in getList() local
118 list.add(mGson.fromJson(contactString, clazz)); in getList()
124 return list; in getList()
135 private static <T> void setList(Context context, List<T> list, String key) { in setList() argument
140 Set<String> strings = new LinkedHashSet<>(list.size()); in setList()
141 for (T item : list) { in setList()
/developers/build/templates/base/_MODULE_/
Dbuild.gradle.ftl33 <#list sample.repository as rep>
35 </#list>
63 <#list sample.dependency as dep>
67 </#list>
69 <#list sample.dependency_external as dep>
71 </#list>
73 <#list sample.annotationProcessor as ap>
75 </#list>
141 <#list sample.aapt.noCompress as noCompress>
143 </#list>
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/db/
DConverters.java47 public static String intListToStoredString(IntList list) { in intListToStoredString() argument
49 for (Integer integer : list.ints) { in intListToStoredString()
71 public static String stringListToStoredString(StringList list) { in stringListToStoredString() argument
73 for (String string : list.strings) { in stringListToStoredString()
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/db/
DConverters.java47 public static String intListToStoredString(IntList list) { in intListToStoredString() argument
49 for (Integer integer : list.ints) { in intListToStoredString()
71 public static String stringListToStoredString(StringList list) { in stringListToStoredString() argument
73 for (String string : list.strings) { in stringListToStoredString()
/developers/build/templates/base-application/_MODULE_/
Dbuild.gradle.ftl33 <#list sample.repository as rep>
35 </#list>
58 <#list sample.dependency as dep>
62 </#list>
64 <#list sample.dependency_external as dep>
66 </#list>
124 <#list sample.aapt.noCompress as noCompress>
126 </#list>
/developers/samples/android/content/DirectShare/Application/src/main/java/com/example/android/directshare/
DSelectContactActivity.java53 ListView list = (ListView) findViewById(R.id.list); in onCreate() local
54 list.setAdapter(mAdapter); in onCreate()
55 list.setOnItemClickListener(mOnItemClickListener); in onCreate()
/developers/build/templates/unmanaged/.google/
Dpackaging.yaml.ftl19 <#list sample.metadata.api_refs.android as ref>
21 </#list>
22 <#list sample.metadata.api_refs.ext as ref>
24 </#list></#if>
/developers/build/templates/base-build/.google/
Dpackaging.yaml.ftl19 <#list sample.metadata.api_refs.android as ref>
21 </#list>
22 <#list sample.metadata.api_refs.ext as ref>
24 </#list></#if>
/developers/build/templates/base/.google/
Dpackaging.yaml.ftl19 <#list sample.metadata.api_refs.android as ref>
21 </#list>
22 <#list sample.metadata.api_refs.ext as ref>
24 </#list></#if>
/developers/build/prebuilts/gradle/DirectShare/Application/src/main/java/com/example/android/directshare/
DSelectContactActivity.java53 ListView list = (ListView) findViewById(R.id.list); in onCreate() local
54 list.setAdapter(mAdapter); in onCreate()
55 list.setOnItemClickListener(mOnItemClickListener); in onCreate()
/developers/build/templates/unmanaged/
D_index.jd.ftl2 page.tags=<#list sample.tag as tag>"${tag}",</#list>"${sample.name}"
/developers/build/templates/base/
D_index.jd.ftl2 page.tags=<#list sample.tag as tag>"${tag}",</#list>"${sample.name}"
/developers/build/templates/base-build/
D_index.jd.ftl2 page.tags=<#list sample.tag as tag>"${tag}",</#list>"${sample.name}"
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
DVerticalGridFragment.java61 List<Movie> list = entry.getValue(); in setupFragment() local
62 Collections.shuffle(list, new Random(seed)); in setupFragment()
63 for (int j = 0; j < list.size(); j++) { in setupFragment()
64 mAdapter.add(list.get(j)); in setupFragment()
/developers/build/templates/WearPlusShared/_MODULE_/
Dbuild.gradle.ftl33 <#list sample.repository as rep>
35 </#list>
40 <#list sample.dependency as dep>
44 </#list>
45 <#list sample.dependency_external as dep>
47 </#list>
/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/util/
DSharedPreferencesHelper.java182 List<T> list = new ArrayList<>(contactsSet.size()); in getList() local
184 list.add(gson.fromJson(contactString, clazz)); in getList()
186 return list; in getList()
198 private static <T> void setList(Context context, List<T> list, String key) { in setList() argument
203 Set<String> strings = new LinkedHashSet<>(list.size()); in setList()
204 for (T t : list) { in setList()
/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/util/
DSharedPreferencesHelper.java182 List<T> list = new ArrayList<>(contactsSet.size()); in getList() local
184 list.add(gson.fromJson(contactString, clazz)); in getList()
186 return list; in getList()
198 private static <T> void setList(Context context, List<T> list, String key) { in setList() argument
203 Set<String> strings = new LinkedHashSet<>(list.size()); in setList()
204 for (T t : list) { in setList()
/developers/build/templates/Wear/Wearable/
Dbuild.gradle.ftl33 <#list sample.repository as rep>
35 </#list>
43 <#list sample.dependency_wearable as dep>
47 </#list>
49 <#list sample.provided_dependency_wearable as dep>
51 </#list>
/developers/build/prebuilts/gradle/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/
DDeviceOwnerFragment.java177 List<ResolveInfo> list = activity.getPackageManager() in retrieveCurrentSettings() local
179 mAdapter = new LauncherAdapter(activity, list); in retrieveCurrentSettings()
187 for (int i = 0; i < list.size(); ++i) { in retrieveCurrentSettings()
188 if (list.get(i).activityInfo.packageName.equals(packageName)) { in retrieveCurrentSettings()
309 public LauncherAdapter(Context context, List<ResolveInfo> list) { in LauncherAdapter() argument
310 super(context, createData(list), android.R.layout.simple_list_item_1, in LauncherAdapter()
315 private static List<HashMap<String, String>> createData(List<ResolveInfo> list) { in createData() argument
317 for (ResolveInfo info : list) { in createData()

12345