OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:listview
(Results
201 - 225
of
1727
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
completion1-expected-completion12.txt
25
<
ListView
></
ListView
>
completion9-expected-completion64.txt
25
<
ListView
></
ListView
>
fragmentlayout-expected-complation77.txt
3
android.app.ListFragment : <p> ListFragment hosts a <code><a href="/reference/android/widget/
ListView
.html">
ListView
</a></code> object that can be bound to different data sources, typically either an array or a Cursor holding query results. Binding, screen layout, and row layout are discussed ...
fragmentlayout-expected-complation78.txt
3
android.app.ListFragment : <p> ListFragment hosts a <code><a href="/reference/android/widget/
ListView
.html">
ListView
</a></code> object that can be bound to different data sources, typically either an array or a Cursor holding query results. Binding, screen layout, and row layout are discussed ...
/developers/build/prebuilts/gradle/CustomChoiceList/
README.md
5
This sample demonstrates how to create custom checkable layouts, for use with
ListView
's choiceMode
11
This sample demonstrates how to create custom single- or multi-choice [
ListView
][1] UIs on Android.
13
When a
ListView
has a `android:choiceMode` attribute set, it will allow users to "choose" one or more items. For
17
<
ListView
android:id="@android:id/list"
39
[1]: http://developer.android.com/reference/android/widget/
ListView
.html
/developers/build/prebuilts/gradle/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/swiperefreshmultipleviews/
MultiSwipeRefreshLayout.java
96
final AbsListView
listView
= (AbsListView) view;
97
return
listView
.getChildCount() > 0 &&
98
(
listView
.getFirstVisiblePosition() > 0
99
||
listView
.getChildAt(0).getTop() <
listView
.getPaddingTop());
/developers/samples/android/content/WidgetData/
template-params.xml
29
This sample uses a collection view (a
ListView
) to present some mock weather data in a widget.
68
This sample uses a collection view (a
ListView
) to present some mock weather data in a widget.
74
We define a [ContentProvider][1] that handles queries from a [RemoteView][2] [
ListView
][3] widget.
76
Data for the widget is provided by a [RemoteViewsService][5] that populates a RemoteView collection (the
ListView
).
80
[3]: http://developer.android.com/reference/android/widget/
ListView
.html
/developers/samples/android/ui/lists/CustomChoiceList/
README.md
5
This sample demonstrates how to create custom checkable layouts, for use with
ListView
's choiceMode
11
This sample demonstrates how to create custom single- or multi-choice [
ListView
][1] UIs on Android.
13
When a
ListView
has a `android:choiceMode` attribute set, it will allow users to "choose" one or more items. For
17
<
ListView
android:id="@android:id/list"
39
[1]: http://developer.android.com/reference/android/widget/
ListView
.html
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/swiperefreshmultipleviews/
MultiSwipeRefreshLayout.java
96
final AbsListView
listView
= (AbsListView) view;
97
return
listView
.getChildCount() > 0 &&
98
(
listView
.getFirstVisiblePosition() > 0
99
||
listView
.getChildAt(0).getTop() <
listView
.getPaddingTop());
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
MyRssReader.java
23
import android.widget.
ListView
;
37
// Load some simple values into the
ListView
38
mRssList = (
ListView
) findViewById(R.id.rssListView);
48
// We'd like to store the current
ListView
selection.
106
ListView
mRssList;
MyRssReader2.java
27
import android.widget.
ListView
;
35
ListView
mRssList = null;
49
// Populate ArrayAdapter and bind it to
ListView
50
mRssList = (
ListView
)findViewById(R.id.rssListView);
54
mLogger.warning("MyRssReader.onCreate-2 -- Couldn't instantiate a
ListView
!");
61
mLogger.warning("MyRssReader.onCreate-4 -- Couldn't instantiate a
ListView
!");
80
// We'd like to store the current
ListView
selection.
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/
MultiSwipeRefreshLayout.java
96
final AbsListView
listView
= (AbsListView) view;
97
return
listView
.getChildCount() > 0 &&
98
(
listView
.getFirstVisiblePosition() > 0
99
||
listView
.getChildAt(0).getTop() <
listView
.getPaddingTop());
/external/libgdx/tests/gdx-tests-android/src/com/badlogic/gdx/tests/android/
FragmentTestStarter.java
21
import android.widget.
ListView
;
89
((
ListView
)view.findViewById(android.R.id.list)).setSelectionFromTop(prefs.getInt("index", 0), prefs.getInt("top", 0));
94
public void onListItemClick (
ListView
listView
, View view, int position, long id) {
95
super.onListItemClick(
listView
, view, position, id);
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
GlifListLayoutTest.java
31
import android.widget.
ListView
;
118
View
listView
= layout.findViewById(android.R.id.list);
119
assertTrue("@android:id/list should be a
ListView
",
listView
instanceof
ListView
);
/packages/providers/MediaProvider/src/com/android/providers/media/
RingtonePickerActivity.java
37
import android.widget.
ListView
;
208
public void onPrepareListView(
ListView
listView
) {
211
mDefaultRingtonePos = addDefaultRingtoneItem(
listView
);
219
mSilentPos = addSilentItem(
listView
);
239
* @param
listView
The
ListView
to add to.
243
private int addStaticItem(
ListView
listView
, int textResId) {
245
com.android.internal.R.layout.select_dialog_singlechoice_material,
listView
, false)
[
all
...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
FrameworkActionBar.java
42
import android.widget.
ListView
;
145
ListView
listView
= new
ListView
(mActionBar.getPopupContext(), null,
158
listView
.setLayoutParams(layoutParams);
159
listView
.setAdapter(adapter);
162
listView
.setBackground(a.getDrawable(R.styleable.PopupWindow_popupBackground));
163
listView
.setDivider(a.getDrawable(R.attr.actionBarDivider));
165
listView
.setElevation(mActionBar.getMenuPopupElevation());
167
mEnclosingLayout.addView(
listView
);
[
all
...]
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
InsertionListView.java
40
import android.widget.
ListView
;
49
* This
ListView
displays a set of ListItemObjects. By calling addRow with a new
50
* ListItemObject, it is added to the top of the
ListView
and the new row is animated
51
* in. If the
ListView
content is at the top (the scroll offset is 0), the animation of
53
* corresponding item in the
ListView
.
55
public class InsertionListView extends
ListView
{
95
* to the first item of the
ListView
. The new cell is then animated into place from
96
* above the bounds of the
ListView
.
104
* cell present in the
ListView
before the data set change takes place.
150
* in the top row of the
ListView
. *
[
all
...]
/cts/tests/tests/widget/src/android/widget/cts/
TabHost_TabSpecTest.java
34
import android.widget.
ListView
;
149
// TabContentFactory to create a
ListView
as the content of the tab.
153
assertTrue(mTabHost.getCurrentView() instanceof
ListView
);
169
// TabContentFactory to create a
ListView
as the content of the tab.
173
assertTrue(mTabHost.getCurrentView() instanceof
ListView
);
210
final
ListView
lv = new
ListView
(mActivity);
/developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
DeviceListActivity.java
32
import android.widget.
ListView
;
93
// Find and set up the
ListView
for paired devices
94
ListView
pairedListView = (
ListView
) findViewById(R.id.paired_devices);
98
// Find and set up the
ListView
for newly discovered devices
99
ListView
newDevicesListView = (
ListView
) findViewById(R.id.new_devices);
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
BrowseFragment.java
31
import android.widget.
ListView
;
46
* that can be browsed are shown in a
ListView
.
131
ListView
listView
= (
ListView
) rootView.findViewById(R.id.list_view);
132
listView
.setAdapter(mBrowserAdapter);
133
listView
.setOnItemClickListener(new AdapterView.OnItemClickListener() {
/developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
DeviceListActivity.java
32
import android.widget.
ListView
;
93
// Find and set up the
ListView
for paired devices
94
ListView
pairedListView = (
ListView
) findViewById(R.id.paired_devices);
98
// Find and set up the
ListView
for newly discovered devices
99
ListView
newDevicesListView = (
ListView
) findViewById(R.id.new_devices);
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
BrowseFragment.java
31
import android.widget.
ListView
;
46
* that can be browsed are shown in a
ListView
.
131
ListView
listView
= (
ListView
) rootView.findViewById(R.id.list_view);
132
listView
.setAdapter(mBrowserAdapter);
133
listView
.setOnItemClickListener(new AdapterView.OnItemClickListener() {
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DeviceListActivity.java
36
import android.widget.
ListView
;
84
// Find and set up the
ListView
for paired devices
85
ListView
pairedListView = (
ListView
) findViewById(R.id.paired_devices);
89
// Find and set up the
ListView
for newly discovered devices
90
ListView
newDevicesListView = (
ListView
) findViewById(R.id.new_devices);
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DeviceListActivity.java
32
import android.widget.
ListView
;
93
// Find and set up the
ListView
for paired devices
94
ListView
pairedListView = (
ListView
) findViewById(R.id.paired_devices);
98
// Find and set up the
ListView
for newly discovered devices
99
ListView
newDevicesListView = (
ListView
) findViewById(R.id.new_devices);
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
BrowseFragment.java
31
import android.widget.
ListView
;
46
* that can be browsed are shown in a
ListView
.
131
ListView
listView
= (
ListView
) rootView.findViewById(R.id.list_view);
132
listView
.setAdapter(mBrowserAdapter);
133
listView
.setOnItemClickListener(new AdapterView.OnItemClickListener() {
Completed in 1315 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>