Searched defs:position (Results 26 - 50 of 316) sorted by relevance

1234567891011>>

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryView.java50 public void setPosition(float position) { argument
51 mPosition = position;
/frameworks/base/test-runner/src/android/test/
H A DTestCaseUtil.java142 public static Test getTestAtIndex(TestSuite testSuite, int position) { argument
147 if (index == position) {
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestGalleryImages.java52 public Object getItem(int position) { argument
53 return position;
57 public long getItemId(int position) { argument
58 return position;
62 public View getView(int position, View convertView, ViewGroup parent) { argument
64 i.setImageResource(mImageIds[position]);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewLayersActivity.java107 public View getView(int position, View convertView, ViewGroup parent) { argument
108 TextView v = (TextView) super.getView(position, convertView, parent);
H A DViewLayersActivity2.java57 public View getView(int position, View convertView, ViewGroup parent) { argument
58 TextView v = (TextView) super.getView(position, convertView, parent);
H A DViewLayersActivity3.java54 public View getView(int position, View convertView, ViewGroup parent) { argument
55 TextView v = (TextView) super.getView(position, convertView, parent);
H A DListActivity.java112 public View getView(int position, View convertView, ViewGroup parent) { argument
113 TextView v = (TextView) super.getView(position, convertView, parent);
H A DTransparentListActivity.java110 public View getView(int position, View convertView, ViewGroup parent) { argument
111 TextView v = (TextView) super.getView(position, convertView, parent);
H A DViewLayersActivity4.java61 public View getView(int position, View convertView, ViewGroup parent) { argument
62 TextView v = (TextView) super.getView(position, convertView, parent);
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DListViewAddRemove.java93 int position = listview.getPositionForView(view);
102 int position = listview.getPositionForView(view);
114 public void onItemClick(AdapterView<?> parent, final View view, int position, long id) {
116 String item = (String) parent.getItemAtPosition(position);
156 public long getItemId(int position) { argument
157 String item = getItem(position);
H A DListViewAddRemoveNoTransition.java55 public void onItemClick(AdapterView<?> parent, final View view, int position, long id) {
56 String item = (String) parent.getItemAtPosition(position);
92 public long getItemId(int position) { argument
93 String item = getItem(position);
/frameworks/compile/mclinker/unittests/
H A DInputTreeTest.cpp67 size_t position = 0; local
68 actions.push_back(new StartGroupAction(position++));
69 actions.push_back(new InputFileAction(position++, "path1"));
70 actions.push_back(new EndGroupAction(position++));
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgram.h36 // known locations for position and texture coordinates
37 enum { position=0, texCoords=1 }; enumerator in enum:android::Program::__anon1445
/frameworks/opt/chips/src/com/android/ex/chips/
H A DSingleRecipientArrayAdapter.java47 public View getView(int position, View convertView, ViewGroup parent) { argument
48 return mDropdownChipLayouter.bindView(convertView, parent, getItem(position), position,
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DOnChildSelectedListener.java34 * @param position The position of the view in the adapter, or NO_POSITION
39 void onChildSelected(ViewGroup parent, View view, int position, long id); argument
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
H A DNavItemSelectedListener.java38 public void onItemSelected(AdapterViewCompat<?> parent, View view, int position, long id) { argument
40 mListener.onNavigationItemSelected(position, id);
/frameworks/base/core/java/android/widget/
H A DAdapter.java57 * Get the data item associated with the specified position in the data set.
59 * @param position Position of the item whose data we want within the adapter's
61 * @return The data at the specified position.
63 Object getItem(int position); argument
66 * Get the row id associated with the specified position in the list.
68 * @param position The position of the item within the adapter's data set whose row id we want.
69 * @return The id of the item at the specified position.
71 long getItemId(int position); argument
82 * Get a View that displays the data at the specified position i
99 getView(int position, View convertView, ViewGroup parent) argument
123 getItemViewType(int position) argument
[all...]
H A DBaseAdapter.java66 public boolean isEnabled(int position) { argument
70 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
71 return getView(position, convertView, parent);
74 public int getItemViewType(int position) { argument
/frameworks/base/core/tests/coretests/src/android/util/
H A DListItemFactory.java37 * @param position The position within the list.
42 public static View twoButtonsSeparatedByFiller(int position, Context context, int desiredHeight) { argument
59 topButton.setText("top (position " + position + ")");
71 bottomButton.setText("bottom (position " + position + ")");
149 * @param position The position within the list.
155 public static View button(int position, Contex argument
176 convertButton(View convertView, String text, int position) argument
195 text(int position, Context context, String text, int desiredHeight) argument
216 convertText(View convertView, String text, int position) argument
236 doubleText(int position, Context context, String text, int desiredHeight) argument
279 convertDoubleText(View convertView, String text, int position) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListOfEditTexts.java112 public View getView(int position, View convertView, ViewGroup parent) { argument
113 String body = getItem(position);
H A DListWithFooterViewAndNewLabels.java85 public Object getItem(int position) { argument
86 return mLabels.get(position);
89 public long getItemId(int position) { argument
90 return position;
93 public View getView(int position, View convertView, ViewGroup parent) { argument
94 String label = mLabels.get(position);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListTakeFocusFromSide.java55 public Object getItem(int position) { argument
56 return position;
59 public long getItemId(int position) { argument
60 return position;
63 public View getView(int position, View convertView, ViewGroup parent) { argument
71 view.setText(mTitles[position]);
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DA3DSelector.java87 protected void onListItemClick(ListView l, View v, int position, long id) { argument
88 if (position == 0) {
98 File selectedFile = mCurrentSubList[position - 1];
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DFileSelector.java87 protected void onListItemClick(ListView l, View v, int position, long id) { argument
88 if (position == 0) {
98 File selectedFile = mCurrentSubList[position - 1];
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DTestActivity.java66 public void onListItemClick(ListView l, View v, int position, long id) argument
68 Test t = mTests[position];

Completed in 5105 milliseconds

1234567891011>>