Searched refs:position (Results 51 - 75 of 420) sorted by relevance

1234567891011>>

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DAnimatedAdapter.java389 public int getItemViewType(int position) { argument
391 if (mHeaders.size() > position) {
393 } else if (mShowFooter && position == getCount() - 1) {
400 // types. In a future release, use position/id map to try to make
403 } else if (mSpecialViews.get(getSpecialViewsPos(position)) != null) {
413 * {@link Conversation#position} set to the position of these conversations
430 * {@link Conversation#position} set to the position of these conversations
454 if (c.position >
472 getView(int position, View convertView, ViewGroup parent) argument
696 getFadeLeaveBehindItem(int position, Conversation target) argument
701 getItemId(int position) argument
732 getDeletingView(int position, Conversation conversation, ViewGroup parent, boolean swipe) argument
748 getUndoingView(int position, Conversation conv, ViewGroup parent, boolean swipe) argument
771 newConversationItemView(int position, ViewGroup parent, Conversation conversation) argument
788 getItem(int position) argument
863 isEnabled(final int position) argument
1113 getPositionOffset(int position) argument
1132 getSpecialViewsPos(final int position) argument
[all...]
H A DLimitedMultiSelectDialogFragment.java96 final AdapterView<?> parent, final View view, final int position,
98 final String entryValue = (String) parent.getItemAtPosition(position);
184 public String getItem(final int position) { argument
185 return mEntryValues.get(position);
189 public long getItemId(final int position) { argument
190 return getItem(position).hashCode();
194 public int getItemViewType(final int position) { argument
199 public View getView(final int position, final View convertView, final ViewGroup parent) { argument
209 checkedTextView.setText(mEntries.get(position));
210 checkedTextView.setEnabled(isEnabled(position));
242 isEnabled(final int position) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/util/
H A DGusterpolator.java70 int position = Math.min(
74 float quantized = position * STEP_SIZE;
78 return VALUES[position] + weight * (VALUES[position + 1] - VALUES[position]);
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
H A DMtpFullscreenView.java89 public void setPositionAndBroker(int position, CheckBroker b) { argument
93 mPosition = position;
96 setChecked(mBroker.isItemChecked(position));
109 public void onCheckedChanged(int position, boolean isChecked) { argument
110 if (position == mPosition) {
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
H A DPairingUtils.java196 final int pos = msg.position();
197 msg.position(pos + len);
217 System.arraycopy(msg.array(), msg.position(), result, 0, len);
218 final int pos = msg.position();
219 msg.position(pos + len);
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
H A DMtpPagerAdapter.java69 public int translatePositionWithLabels(int position) { argument
73 return mModel.getPositionWithoutLabelsFromPosition(position, mSortOrder);
88 public void destroyItem(ViewGroup container, int position, Object object) { argument
96 public Object instantiateItem(ViewGroup container, int position) { argument
104 IngestObjectInfo i = mModel.getWithoutLabels(position, mSortOrder);
106 v.setPositionAndBroker(position, mBroker);
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DActionsViewContainer.java27 * Custom {@link LinearLayout} which remembers its position in the {@link ListView}. Should be
46 public void setPosition(int position) { argument
47 mContextMenuInfo = new AdapterView.AdapterContextMenuInfo(this, position, -1);
/packages/apps/Contacts/src/com/android/contacts/list/
H A DLegacyPhoneNumberListAdapter.java69 public String getContactDisplayName(int position) { argument
70 return ((Cursor)getItem(position)).getString(PHONE_DISPLAY_NAME_COLUMN_INDEX);
73 public Uri getPhoneUri(int position) { argument
74 Cursor cursor = ((Cursor)getItem(position));
81 Context context, int partition, Cursor cursor, int position, ViewGroup parent) {
83 super.newView(context, partition, cursor, position, parent);
89 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
90 super.bindView(itemView, partition, cursor, position);
80 newView( Context context, int partition, Cursor cursor, int position, ViewGroup parent) argument
H A DLegacyPhoneNumberPickerFragment.java39 protected Uri getPhoneUri(int position) { argument
41 return adapter.getPhoneUri(position);
H A DPostalAddressPickerFragment.java48 protected void onItemClick(int position, long id) { argument
49 if (getAdapter().getItem(position) == null) {
54 pickPostalAddress(adapter.getDataUri(position));
57 pickPostalAddress(adapter.getContactMethodUri(position));
H A DEmailAddressListAdapter.java111 public String getContactDisplayName(int position) { argument
112 return ((Cursor) getItem(position)).getString(EmailQuery.EMAIL_DISPLAY_NAME);
117 * position.
119 public Uri getDataUri(int position) { argument
120 long id = ((Cursor) getItem(position)).getLong(EmailQuery.EMAIL_ID);
126 Context context, int partition, Cursor cursor, int position, ViewGroup parent) {
127 ContactListItemView view = super.newView(context, partition, cursor, position, parent);
134 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
135 super.bindView(itemView, partition, cursor, position);
137 bindSectionHeaderAndDivider(view, position);
125 newView( Context context, int partition, Cursor cursor, int position, ViewGroup parent) argument
157 bindSectionHeaderAndDivider(final ContactListItemView view, int position) argument
[all...]
H A DEmailAddressPickerFragment.java46 protected void onItemClick(int position, long id) { argument
48 if (getAdapter().getItem(position) == null) {
51 pickEmailAddress(adapter.getDataUri(position));
H A DGroupMemberTileAdapter.java55 public int getItemViewType(int position) { argument
75 public ArrayList<ContactEntry> getItem(int position) { argument
77 int contactIndex = position * mColumnCount;
H A DPostalAddressListAdapter.java101 public String getContactDisplayName(int position) { argument
102 return ((Cursor) getItem(position)).getString(PostalQuery.POSTAL_DISPLAY_NAME);
107 * position.
109 public Uri getDataUri(int position) { argument
110 long id = ((Cursor)getItem(position)).getLong(PostalQuery.POSTAL_ID);
116 Context context, int partition, Cursor cursor, int position, ViewGroup parent) {
117 ContactListItemView view = super.newView(context, partition, cursor, position, parent);
125 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
126 super.bindView(itemView, partition, cursor, position);
128 bindSectionHeaderAndDivider(view, position);
115 newView( Context context, int partition, Cursor cursor, int position, ViewGroup parent) argument
148 bindSectionHeaderAndDivider(final ContactListItemView view, int position) argument
[all...]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/
H A DPartialInputStream.java40 if (limit > position)
61 return (int)Math.min(Integer.MAX_VALUE, limit - position);
/packages/apps/Dialer/src/com/android/dialer/list/
H A DListsFragment.java168 final int position = mViewPager.getCurrentItem();
169 switch (getRtlPosition(position)) {
177 throw new IllegalStateException("No fragment at position " + position);
186 public long getItemId(int position) { argument
187 return getRtlPosition(position);
191 public Fragment getItem(int position) { argument
192 switch (getRtlPosition(position)) {
205 throw new IllegalStateException("No fragment at position " + position);
209 instantiateItem(ViewGroup container, int position) argument
231 getPageTitle(int position) argument
351 onPageScrolled(int position, float positionOffset, int positionOffsetPixels) argument
360 onPageSelected(int position) argument
426 getRtlPosition(int position) argument
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimerFragmentAdapter.java40 // Force return NONE so that the adapter always assumes the item position has changed
50 public Fragment getItem(int position) { argument
51 return TimerItemFragment.newInstance(mTimerList.get(position));
60 public TimerObj getTimerAt(int position) { argument
61 return mTimerList.get(position);
/packages/apps/Gallery2/src/com/android/photos/adapters/
H A DPhotoThumbnailAdapter.java64 public float getIntrinsicAspectRatio(int position) { argument
65 Cursor cursor = getItem(position);
72 public Cursor getItem(int position) { argument
73 return (Cursor) super.getItem(position);
/packages/apps/Mms/src/com/android/mms/ui/
H A DDivot.java67 public void setPosition(int position); argument
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DCursorBackedSuggestionExtras.java41 static CursorBackedSuggestionExtras createExtrasIfNecessary(Cursor cursor, int position) { argument
44 return new CursorBackedSuggestionExtras(cursor, position, extraColumns);
85 private CursorBackedSuggestionExtras(Cursor cursor, int position, List<String> extraColumns) { argument
88 mCursorPosition = position;
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DCursorPhotoSource.java27 // An invalid cursor position to represent the uninitialized state.
29 // An invalid cursor position to represent the error state.
46 current.cursor.moveToPosition(current.position);
52 data.position = current.cursor.getPosition();
63 current.cursor.moveToPosition(current.position);
69 data.position = current.cursor.getPosition();
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DSlotView.java45 public void onScrollPositionChanged(int position, int total); argument
53 @Override public void onScrollPositionChanged(int position, int total) {} argument
112 int position = WIDE
115 setScrollPosition(position);
126 int position = visibleBegin;
128 position = visibleBegin;
130 position = slotBegin;
132 position = slotEnd - visibleLength;
135 setScrollPosition(position);
138 public void setScrollPosition(int position) { argument
169 startScatteringAnimation(RelativePosition position) argument
181 updateScrollPosition(int position, boolean force) argument
550 setScrollPosition(int position) argument
[all...]
H A DScrollBarView.java61 // The content position is between 0 to "total". The current position is
62 // in "position".
63 public void setContentPosition(int position, int total) { argument
64 if (position == mContentPosition && total == mContentTotal) {
70 mContentPosition = position;
/packages/apps/Camera/src/com/android/camera/ui/
H A DMoreSettingPopup.java84 public View getView(int position, View convertView, ViewGroup parent) { argument
87 ListPreference pref = mListItem.get(position);
95 if (position >= 0 && position < mEnabled.length) {
96 view.setEnabled(mEnabled[position]);
99 + " position " + position);
105 public boolean isEnabled(int position) { argument
106 if (position >= 0 && position < mEnable
183 onItemClick(AdapterView<?> parent, View view, int position, long id) argument
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DCreateShortcut.java40 protected void onListItemClick(ListView l, View v, int position, long id) { argument
41 Intent shortcutIntent = intentForPosition(position);
47 intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, itemForPosition(position).label);

Completed in 841 milliseconds

1234567891011>>