Searched defs:position (Results 51 - 75 of 220) sorted by relevance

123456789

/frameworks/base/core/java/android/webkit/
H A DHTML5VideoInline.java51 HTML5VideoInline(int videoLayerId, int position, boolean skipPrepare) { argument
52 init(videoLayerId, position, skipPrepare);
/frameworks/base/core/java/android/widget/
H A DAlphabetIndexer.java176 // position.
186 // Do we have the position of the previous section?
252 * Returns the section index for a given position in the list by querying the item
255 public int getSectionForPosition(int position) { argument
257 mDataCursor.moveToPosition(position);
H A DRemoteViewsService.java90 * @param position The position of the item within the Factory's data set of the item whose
92 * @return A RemoteViews object corresponding to the data at the specified position.
94 public RemoteViews getViewAt(int position); argument
115 * @param position The position of the item within the data set whose row id we want.
116 * @return The id of the item at the specified position.
118 public long getItemId(int position); argument
161 public synchronized RemoteViews getViewAt(int position) { argument
164 rv = mFactory.getViewAt(position);
194 getItemId(int position) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DExpandedMenuView.java70 public void onItemClick(AdapterView parent, View v, int position, long id) { argument
71 invokeItem((MenuItemImpl) getAdapter().getItem(position));
/frameworks/base/core/tests/coretests/src/android/view/
H A DListContextMenu.java65 public Object getItem(int position) { argument
66 return position;
69 public long getItemId(int position) { argument
70 return position;
73 public View getView(int position, View convertView, ViewGroup parent) { argument
81 view.setText("List item " + mTitles[position]);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DAutoCompleteTextViewSimple.java99 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
100 Log.d(LOG_TAG, "onItemClick() position " + position);
102 mItemClickPosition = position;
108 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument
109 Log.d(LOG_TAG, "onItemSelected() position " + position);
111 mItemSelectedPosition = position;
H A DListViewTest.java136 public View getView(int position, View convertView, ViewGroup parent) { argument
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListWithMailMessages.java126 public View getView(int position, View convertView, ViewGroup parent) { argument
127 MailMessage message = getItem(position);
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridDelete.java95 public Object getItem(int position) { argument
96 return mData.get(position);
99 public long getItemId(int position) { argument
100 return mData.get(position);
103 public View getView(int position, View convertView, ViewGroup parent) { argument
105 return createView(mData.get(position), parent, desiredHeight);
H A DGridThrasher.java81 public Object getItem(int position) { argument
82 return position;
85 public long getItemId(int position) { argument
86 return position;
89 public View getView(int position, View convertView, ViewGroup parent) { argument
97 view.setText(mTitles[position] + " " + mVersion[position]);
103 int position = mRandomizer.nextInt(getCount());
104 mVersion[position]++;
128 public void onItemSelected(AdapterView parent, View v, int position, lon argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DAdjacentListsWithAdjacentISVsInside.java113 public Object getItem(int position) { argument
114 return position;
117 public long getItemId(int position) { argument
118 return position;
121 public View getView(int position, View convertView, ViewGroup parent) { argument
H A DListScrollListener.java57 public void onItemSelected(AdapterView parent, View v, int position, long id) { argument
58 mText.setText("Position " + position);
H A DListThrasher.java79 public Object getItem(int position) { argument
80 return position;
83 public long getItemId(int position) { argument
84 return position;
87 public View getView(int position, View convertView, ViewGroup parent) { argument
95 view.setText(mTitles[position] + " " + mVersion[position]);
101 int position = mRandomizer.nextInt(getCount());
102 mVersion[position]++;
124 public void onItemSelected(AdapterView parent, View v, int position, lon argument
[all...]
H A DListWithEmptyView.java42 public long getItemId(int position) { argument
43 if (position < 0 || position >= this.getCount()) {
46 return super.getItemId(position);
/frameworks/base/libs/hwui/
H A DLayerCache.cpp164 size_t position = 0; local
166 position = mCache.size() - 1;
168 Layer* victim = mCache.itemAt(position).mLayer;
170 mCache.removeAt(position);
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestActivity.java45 public void onItemClick(AdapterView<?> parent, View v, int position, long id) {
46 onListItemClick((ListView)parent, v, position, id);
50 private void onListItemClick(ListView lv, View v, int position, long id) { argument
52 Map<String, Object> map = (Map<String, Object>)lv.getItemAtPosition(position);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewLayersActivity5.java77 public View getView(int position, View convertView, ViewGroup parent) { argument
78 TextView v = (TextView) super.getView(position, convertView, parent);
/frameworks/base/tests/backup/src/com/android/backuptest/
H A DBackupTestActivity.java197 public void onListItemClick(ListView l, View v, int position, long id) argument
199 Test t = mTests[position];
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DFakeAdapter.java78 public boolean isEnabled(int position) { argument
88 public Object getItem(int position) { argument
89 return mItems.get(position);
93 public long getItemId(int position) { argument
94 return position;
98 public int getItemViewType(int position) { argument
99 return mItems.get(position).getType();
103 public View getView(int position, View convertView, ViewGroup parent) { argument
105 AdapterItem item = mItems.get(position);
117 public View getDropDownView(int position, Vie argument
[all...]
/frameworks/compile/mclinker/include/mcld/Support/
H A DPositionDependentOption.h54 unsigned int position() function in class:mcld::PositionDependentOption
57 unsigned int position() const function in class:mcld::PositionDependentOption
/frameworks/opt/mailcommon/java/com/android/mailcommon/
H A DMultiAdapterSpinner.java69 * Whether or not an item at position should become the new selected spinner item and change
72 boolean canSelect(int position); argument
76 void onClick(int position); argument
88 public View getView(int position, View convertView, ViewGroup parent) { argument
89 return super.getDropDownView(position, convertView, parent);
112 public void setSelectedItem(final FancySpinnerAdapter adapter, final int position) { argument
119 globalPosition += position;
126 if (adapter.canSelect(position)) {
128 View itemView = adapter.getView(position, null, this);
133 if (position < adapte
163 onItemClick(AdapterView<?> parent, View view, int position, long id) argument
[all...]
/frameworks/support/v13/java/android/support/v13/app/
H A DFragmentStatePagerAdapter.java84 * Return the Fragment associated with a specified position.
86 public abstract Fragment getItem(int position); argument
93 public Object instantiateItem(ViewGroup container, int position) { argument
98 if (mFragments.size() > position) {
99 Fragment f = mFragments.get(position);
109 Fragment fragment = getItem(position);
110 if (DEBUG) Log.v(TAG, "Adding item #" + position + ": f=" + fragment);
111 if (mSavedState.size() > position) {
112 Fragment.SavedState fss = mSavedState.get(position);
117 while (mFragments.size() <= position) {
129 destroyItem(ViewGroup container, int position, Object object) argument
147 setPrimaryItem(ViewGroup container, int position, Object object) argument
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentStatePagerAdapter.java80 * Return the Fragment associated with a specified position.
82 public abstract Fragment getItem(int position); argument
89 public Object instantiateItem(ViewGroup container, int position) { argument
94 if (mFragments.size() > position) {
95 Fragment f = mFragments.get(position);
105 Fragment fragment = getItem(position);
106 if (DEBUG) Log.v(TAG, "Adding item #" + position + ": f=" + fragment);
107 if (mSavedState.size() > position) {
108 Fragment.SavedState fss = mSavedState.get(position);
113 while (mFragments.size() <= position) {
125 destroyItem(ViewGroup container, int position, Object object) argument
143 setPrimaryItem(ViewGroup container, int position, Object object) argument
[all...]
/frameworks/wilhelm/tests/listening/
H A DseekTorture.c100 unsigned position, duration; local
101 while (fscanf(fp_map, "%u %u", &position, &duration) == 2) {
102 printf("%u %u\n", position, duration);
103 result = (*playerSeek)->SetPosition(playerSeek, (SLmillisecond) position,
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DStorageBrowser.java64 public Object getItem(int position) { argument
65 return mStorageList.get(position);
68 public long getItemId(int position) { argument
69 return position;
72 public View getView(int position, View convertView, ViewGroup parent) { argument
81 MtpStorageInfo info = mStorageList.get(position);
114 protected void onListItemClick(ListView l, View v, int position, long id) { argument
117 intent.putExtra("storage", mStorageList.get(position).getStorageId());

Completed in 1434 milliseconds

123456789