Searched refs:position (Results 176 - 200 of 481) sorted by relevance

1234567891011>>

/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DPhotoPagerAdapter.java50 public Fragment getItem(Context context, Cursor cursor, int position) { argument
68 return createPhotoViewFragment(builder.build(), position, onlyShowSpinner);
76 Intent intent, int position, boolean onlyShowSpinner) {
77 return PhotoViewFragment.newInstance(intent, position, onlyShowSpinner);
75 createPhotoViewFragment( Intent intent, int position, boolean onlyShowSpinner) argument
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DThreadUtilTest.java60 public void removeTile(int generation, int position) {
62 setResultData("removeTile", generation, position);
83 public void loadTile(int position, int scrollHint) {
85 setResultData("loadTile", position, scrollHint);
/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/core/java/android/widget/
H A DDayPickerView.java181 private void updateButtonVisibility(int position) { argument
182 final boolean hasPrev = position > 0;
183 final boolean hasNext = position < (mAdapter.getCount() - 1);
280 * @param animate whether to smooth scroll to the new position
291 * @param animate whether to smooth scroll to the new position
299 final int position = getPositionFromDay(timeInMillis);
300 if (position != mViewPager.getCurrentItem()) {
301 mViewPager.setCurrentItem(position, animate);
344 // Changing the min/max date changes the selection position since we
345 // don't really have stable IDs. Jumps immediately to the new position
386 setPosition(int position) argument
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRecentsCreateFragment.java141 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
142 final DocumentStack stack = mAdapter.getItem(position);
210 public View getView(int position, View convertView, ViewGroup parent) { argument
222 final DocumentStack stack = getItem(position);
248 public DocumentStack getItem(int position) { argument
249 return mStacks.get(position);
253 public long getItemId(int position) { argument
254 return getItem(position).hashCode();
H A DRootsFragment.java176 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
177 Item item = mAdapter.getItem(position);
192 public boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id) {
193 final Item item = mAdapter.getItem(position);
360 public View getView(int position, View convertView, ViewGroup parent) { argument
361 final Item item = getItem(position);
371 public boolean isEnabled(int position) { argument
372 return getItemViewType(position) != 1;
376 public int getItemViewType(int position) { argument
377 final Item item = getItem(position);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DUserDetailView.java66 public View getView(int position, View convertView, ViewGroup parent) { argument
67 UserSwitcherController.UserRecord item = getItem(position);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
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 DViewLayersActivity2.java57 public View getView(int position, View convertView, ViewGroup parent) { argument
58 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/opt/net/wifi/service/java/com/android/server/wifi/anqp/
H A DCellularNetwork.java49 payload.position(payload.position() + plmnLen);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/eap/
H A DExpandedEAPMethod.java35 payload.position(payload.position()+7);
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneFilterTypeAdapter.java101 public FilterTypeResult getItem(int position) { argument
102 return mLiveResults.get(position);
106 public long getItemId(int position) { argument
107 return position;
111 public View getView(int position, View convertView, ViewGroup parent) { argument
123 if (position >= mLiveResults.size()) {
124 Log.e(TAG, "getView: " + position + " of " + mLiveResults.size());
127 FilterTypeResult filter = mLiveResults.get(position);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DExpandedMenuView.java88 public void onItemClick(AdapterView parent, View v, int position, long id) { argument
89 invokeItem((MenuItemImpl) getAdapter().getItem(position));
/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);
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialog.java207 public boolean isEnabled(int position) { argument
208 return getItem(position).isEnabled();
212 public View getView(int position, View convertView, ViewGroup parent) { argument
217 MediaRouter.RouteInfo route = getItem(position);
234 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
235 MediaRouter.RouteInfo route = 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/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DMonthAdapter.java153 public Object getItem(int position) { argument
158 public long getItemId(int position) { argument
159 return position;
170 public View getView(int position, View convertView, ViewGroup parent) { argument
191 final int month = position % MONTHS_IN_YEAR;
192 final int year = position / MONTHS_IN_YEAR + mController.getMinYear();
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
H A DLeanbackListPreferenceDialogFragment.java145 public void onBindViewHolder(ViewHolder holder, int position) { argument
146 holder.getWidgetView().setChecked(mEntryValues[position].equals(mSelectedValue));
147 holder.getTitleView().setText(mEntries[position]);
189 public void onBindViewHolder(ViewHolder holder, int position) { argument
191 mSelections.contains(mEntryValues[position].toString()));
192 holder.getTitleView().setText(mEntries[position]);
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteChooserDialog.java204 public boolean isEnabled(int position) { argument
205 return getItem(position).isEnabled();
209 public View getView(int position, View convertView, ViewGroup parent) { argument
214 MediaRouter.RouteInfo route = getItem(position);
231 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
232 MediaRouter.RouteInfo route = getItem(position);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatSpinner.java611 public Object getItem(int position) { argument
612 return mAdapter == null ? null : mAdapter.getItem(position);
615 public long getItemId(int position) { argument
616 return mAdapter == null ? -1 : mAdapter.getItemId(position);
619 public View getView(int position, View convertView, ViewGroup parent) { argument
620 return getDropDownView(position, convertView, parent);
623 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
625 : mAdapter.getDropDownView(position, convertView, parent);
661 public boolean isEnabled(int position) { argument
664 return adapter.isEnabled(position);
670 getItemViewType(int position) argument
[all...]
H A DListPopupWindow.java275 * @param position A position constant declaring where the prompt should be displayed.
280 public void setPromptPosition(int position) { argument
281 mPromptPosition = position;
581 * will recalculate the popup's size and position.
723 * Set the selected position of the list.
726 * @param position List position to set as selected.
728 public void setSelection(int position) { argument
732 list.setSelection(position);
778 performItemClick(int position) argument
1621 clickPressedItem(final View child, final int position) argument
1638 setPressedItem(View child, int position, float x, float y) argument
[all...]
/frameworks/av/media/libmedia/
H A DAudioTrackShared.cpp35 // for the loop and position sequence counters. It should return
528 // observed buffer position and loop count will freeze until then to give the
531 // preserve behavior to restart at mState.mLoopStart if position exceeds mState.mLoopEnd.
539 void StaticAudioTrackClientProxy::setBufferPosition(size_t position) argument
542 if (position > UINT32_MAX) {
546 mState.mPosition = (uint32_t) position;
549 // observed buffer position and loop count will freeze until then to give the
552 getBufferPositionAndLoopCount(NULL, NULL); // get last position
554 mPosLoop.mBufferPosition = position;
555 if (position >
562 setBufferPositionAndLoop(size_t position, size_t loopStart, size_t loopEnd, int loopCount) argument
575 getBufferPositionAndLoopCount( size_t *position, int *loopCount) argument
849 size_t position = localState->mPosition; local
952 size_t position = (size_t) positionOrStatus; local
[all...]
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
H A DSortedListTest.java53 public abstract void onInserted(int position, int count); argument
57 public abstract void onChanged(int position, int count); argument
71 public void onInserted(int position, int count) {
72 mAdditions.add(new Pair(position, count));
74 mInsertedCallback.onInserted(position, count);
79 public void onRemoved(int position, int count) {
80 mRemovals.add(new Pair(position, count));
89 public void onChanged(int position, int count) {
90 mUpdates.add(new Pair(position, count));
92 mChangedCallback.onChanged(position, coun
[all...]

Completed in 556 milliseconds

1234567891011>>