OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:listFragment
(Results
1 - 6
of
6
) sorted by null
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ListFragmentTest.java
3
import android.support.v4.app.
ListFragment
;
23
ListFragment
listFragment
= new
ListFragment
();
24
Robolectric.shadowOf(
listFragment
).setView(new ListView(null));
26
listFragment
.setListAdapter(adapter);
28
assertThat(
listFragment
.getListAdapter(), is(notNullValue()));
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
ShadowGridActivity.java
20
import android.support.v4.app.
ListFragment
;
32
ListFragment
listFragment
= new
ListFragment
() {
40
listFragment
.setListAdapter(new ArrayAdapter<>(this,
42
fm.beginTransaction().add(android.R.id.content,
listFragment
).commit();
MainActivity.java
23
import android.support.v4.app.
ListFragment
;
57
ListFragment
listFragment
= new
ListFragment
() {
73
listFragment
.setListAdapter(new SimpleAdapter(this, getData(path),
76
fm.beginTransaction().add(android.R.id.content,
listFragment
).commit();
/frameworks/base/tests/UiBench/src/com/android/test/uibench/listview/
CompatListActivity.java
20
import android.support.v4.app.
ListFragment
;
32
ListFragment
listFragment
= new
ListFragment
();
33
listFragment
.setListAdapter(createListAdapter());
34
fm.beginTransaction().add(android.R.id.content,
listFragment
).commit();
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastListActivity.java
22
import android.app.
ListFragment
;
69
CursorLoaderListFragment
listFragment
= new CursorLoaderListFragment();
70
fm.beginTransaction().add(android.R.id.content,
listFragment
).commit();
77
public static class CursorLoaderListFragment extends
ListFragment
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
ContentFragment.java
143
Fragment
listFragment
= getFragmentManager().findFragmentById(R.id.titles_frag);
144
mSoloFragment =
listFragment
== null ? true : false;
Completed in 100 milliseconds