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

123456789

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
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.java116 public View getView(int position, View convertView, ViewGroup parent) { argument
117 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/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/libs/hwui/
H A DVertex.h24 * Simple structure to describe a vertex with a position and a texture.
27 float position[2]; member in struct:android::uirenderer::Vertex
30 vertex[0].position[0] = x;
31 vertex[0].position[1] = y;
36 * Simple structure to describe a vertex with a position and a texture.
39 float position[2]; member in struct:android::uirenderer::TextureVertex
43 vertex[0].position[0] = x;
44 vertex[0].position[1] = y;
56 * Simple structure to describe a vertex with a position and an alpha value.
72 * Simple structure to describe a vertex with a position an
[all...]
/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];
/frameworks/ex/chips/src/com/android/ex/chips/
H A DSingleRecipientArrayAdapter.java42 public View getView(int position, View convertView, ViewGroup parent) { argument
46 bindView(convertView, convertView.getContext(), getItem(position));
/frameworks/ex/chips/tests/src/com/android/ex/chips/
H A DRecipientAlternatesAdapterTest.java82 private static void assertRow(Cursor c, int position, argument
92 assertTrue(c.moveToPosition(position));
/frameworks/ex/photoviewer/src/com/android/ex/photo/adapters/
H A DPhotoPagerAdapter.java42 public Fragment getItem(Context context, Cursor cursor, int position) { argument
53 return new PhotoViewFragment(builder.build(), position, this);
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DPhotoPagerAdapter.java45 public Fragment getItem(Context context, Cursor cursor, int position) { argument
67 return new PhotoViewFragment(builder.build(), position, this, onlyShowSpinner);
/frameworks/wilhelm/src/itf/
H A DIMIDITime.c39 static SLresult IMIDITime_SetPosition(SLMIDITimeItf self, SLuint32 position) argument
45 if (!(position < thiz->mDuration)) {
49 thiz->mPosition = position;
67 SLuint32 position = thiz->mPosition; local
69 *pPosition = position;
/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_FileWriter.c131 /* fseek to the last read position */
190 * @brief This function seeks at the provided position in the core file
191 * writer (selected by its 'context'). The position is related to
194 * access (more than 2GBytes), the position is provided on a 64
196 * @note If this function returns an error the current position pointer
197 * in the file must not change. Else the current position pointer
201 * @param position: (IN/OUT) Position in the file
206 * @return M4ERR_FILE_INVALID_POSITION: the position cannot be reached
232 /*The position for the seek mode between the SHP and the OSAl part are different */
252 * Go to the desired position */
414 M4OSA_FilePosition* position = (M4OSA_FilePosition*)pOptionValue; local
433 M4OSA_FilePosition* position = (M4OSA_FilePosition*)pOptionValue; local
[all...]
/frameworks/base/core/java/android/accounts/
H A DChooseAccountTypeActivity.java109 public void onItemClick(AdapterView<?> parent, View v, int position, long id) {
110 setResultAndFinish(mAuthenticatorInfosToDisplay.get(position).desc.type);
184 public View getView(int position, View convertView, ViewGroup parent) { argument
197 holder.text.setText(mInfos.get(position).name);
198 holder.icon.setImageDrawable(mInfos.get(position).drawable);
/frameworks/base/core/java/android/app/
H A DListActivity.java199 * getListView().getItemAtPosition(position) if they need to access the
204 * @param position The position of the view in the list
207 protected void onListItemClick(ListView l, View v, int position, long id) { argument
271 * position with the adapter's data
273 * @param position
275 public void setSelection(int position) { argument
276 mList.setSelection(position);
280 * Get the position of the currently selected list item.
317 public void onItemClick(AdapterView<?> parent, View v, int position, lon
[all...]
/frameworks/base/core/java/android/database/
H A DBulkCursorNative.java102 int position = data.readInt();
103 onMove(position);
155 public CursorWindow getWindow(int position) throws RemoteException argument
161 data.writeInt(position);
177 public void onMove(int position) throws RemoteException { argument
182 data.writeInt(position);
H A DIBulkCursor.java33 * Gets a cursor window that contains the specified position.
34 * The window will contain a range of rows around the specified position.
36 public CursorWindow getWindow(int position) throws RemoteException; argument
39 * Notifies the cursor that the position has changed.
42 * @param position The new position
44 public void onMove(int position) throws RemoteException; argument

Completed in 2912 milliseconds

123456789