Searched refs:position (Results 276 - 300 of 420) sorted by relevance

<<11121314151617

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DNinePatchTexture.java106 // Move the accessed item one position to the front, so it
259 * @param x output, the corresponding position of these dividers on the
389 mXyBuffer.put(xy, 0, pntCount * 2).position(0);
390 mUvBuffer.put(uv, 0, pntCount * 2).position(0);
391 mIndexBuffer.put(index, 0, idxCount).position(0);
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DSuggestionCursorUtil.java43 public static void assertSameSuggestion(String message, int position, argument
45 assertSameSuggestion(message, expected, position, observed, position);
222 assertNotNull(message + ", no extras at position " + i, extras);
224 assertNotNull(message + ", extras columns is null at position " + i, columns);
226 "' not reported by extras at position " + i, columns.contains(extraColumn));
/packages/screensavers/Basic/src/com/android/dreams/basic/
H A DColorsGLRenderer.java367 vertexBuffer.position(0);
380 drawListBuffer.position(0);
423 colorBuffer.position(0);
/packages/apps/Browser/src/com/android/browser/
H A DTabControl.java48 // Current position in mTabs.
115 * Return the tab at the specified position.
116 * @return The Tab for the specified position or null if the tab does not
119 Tab getTab(int position) { argument
120 if (position >= 0 && position < mTabs.size()) {
121 return mTabs.get(position);
135 * Return the current tab position.
136 * @return The current tab position
143 * Given a Tab, find it's position
[all...]
H A DTabScrollView.java100 void setSelectedTab(int position) { argument
105 mSelected = position;
206 // TabViews base their drawing based on their absolute position within the
H A DUrlInputView.java274 AdapterView<?> parent, View view, int position, long id) {
275 SuggestItem item = mAdapter.getItem(position);
273 onItemClick( AdapterView<?> parent, View view, int position, long id) argument
/packages/apps/Browser/src/com/android/browser/widget/
H A DBookmarkThumbnailWidgetService.java205 public long getItemId(int position) { argument
206 return position;
216 public RemoteViews getViewAt(int position) { argument
217 if (!mBookmarks.moveToPosition(position)) {
/packages/apps/Calendar/src/com/android/calendar/month/
H A DMonthByWeekAdapter.java188 public View getView(int position, View convertView, ViewGroup parent) { argument
190 return super.getView(position, convertView, parent);
231 if (mSelectedWeek == position) {
241 drawingParams.put(SimpleWeekView.VIEW_PARAMS_WEEK, position);
/packages/apps/Mms/src/com/android/mms/ui/
H A DMessageListAdapter.java165 int position = cursor.getPosition();
166 mli.bind(msgItem, mIsGroupConversation, position);
281 public int getItemViewType(int position) { argument
282 Cursor cursor = (Cursor)getItem(position);
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
H A DStopwatchFragment.java109 public long getItemId(int position) { argument
110 return position;
114 public View getView(int position, View convertView, ViewGroup parent) { argument
115 if (mLaps.size() == 0 || position >= mLaps.size()) {
118 Lap lap = getItem(position);
127 count.setText(String.format(mLapFormat, mLaps.size() - position).toUpperCase());
146 public Lap getItem(int position) { argument
147 if (mLaps.size() == 0 || position >= mLaps.size()) {
150 return mLaps.get(position);
/packages/apps/Dialer/src/com/android/dialer/
H A DDialtactsActivity.java192 * The position of the currently selected tab in the attached {@link ListsFragment}.
1095 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument
1096 position = mListsFragment.getRtlPosition(position);
1098 // the middle to right position only on the transition from the first tab to the second
1102 // viewpager will report that the starting tab position is 1 rather than 0, due to the
1105 final boolean shouldScrollButton = position == (isLayoutRtl
1110 } else if (position != ListsFragment.TAB_INDEX_SPEED_DIAL) {
1116 public void onPageSelected(int position) { argument
1117 position
[all...]
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DContactEditorAccountsChangedActivity.java59 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
63 saveAccountAndReturnResult(mAccountListAdapter.getItem(position));
/packages/apps/Contacts/src/com/android/contacts/list/
H A DDefaultContactBrowseListFragment.java89 protected void onItemClick(int position, long id) { argument
90 final Uri uri = getAdapter().getContactUri(position);
/packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/
H A DImportExportDialogFragment.java97 public View getView(int position, View convertView, ViewGroup parent) {
101 final int resId = getItem(position);
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DAccountSelectionUtil.java109 public View getView(int position, View convertView, ViewGroup parent) {
122 final AccountWithDataSet account = this.getItem(position);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DEditorPanel.java59 int position = adapter.undo();
60 masterImage.onHistoryItemClick(position);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/
H A DUserPresetsAdapter.java93 public View getView(int position, View convertView, ViewGroup parent) { argument
108 Action action = getItem(position);
/packages/apps/Gallery2/src/com/android/photos/
H A DAlbumFragment.java103 public void onGridItemClick(GridView g, View v, int position, long id) { argument
108 Cursor item = (Cursor) getItemAtPosition(position);
/packages/apps/MusicFX/src/com/android/musicfx/
H A DActivityMusic.java505 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
506 if (position != mPRPresetPrevious) {
507 presetReverbSetPreset(position);
509 mPRPresetPrevious = position;
527 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
528 if (position != mEQPresetPrevious) {
529 equalizerSetPreset(position);
531 mEQPresetPrevious = position;
/packages/apps/Settings/src/com/android/settings/
H A DBandMode.java82 int position, long id) {
88 mTargetBand = (BandListItem) parent.getAdapter().getItem(position);
H A DTrustedCredentialsSettings.java383 @Override public CertHolder getItem(int position) { argument
384 return mData.mCertHoldersByUserId.valueAt(0).get(position);
386 @Override public long getItemId(int position) { argument
387 return position;
389 @Override public View getView(int position, View view, ViewGroup parent) { argument
390 return getViewForCertificate(getItem(position), mData.mTab, view, parent);
626 public void onItemSelected(AdapterView<?> parent, View view, int position,
629 views.get(i).setVisibility(i == position ? View.VISIBLE : View.GONE);
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiApDialog.java172 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument
173 mSecurityTypeIndex = position;
/packages/apps/Tag/canon/src/com/android/apps/tagcanon/
H A DTagCanon.java149 public void onListItemClick(ListView l, View v, int position, long id) { argument
150 TagDescription description = mAdapter.getItem(position);
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DFolderWatcher.java112 LogUtils.d(LOG_TAG, "Watching %s, at position %d.", uri, location);
122 * Locates the next empty position in {@link #mUris} and inserts the URI there, returning the
131 // Hole in the list, use this position
149 * Returns the loader ID for a position inside the {@link #mUris} table.
150 * @param position position in the {@link #mUris} list
153 private static int getLoaderFromPosition(int position) { argument
154 return position + AbstractActivityController.LAST_LOADER_ID;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DLeaveBehindItem.java48 public int position; field in class:LeaveBehindItem
114 position = pos;

Completed in 787 milliseconds

<<11121314151617