Searched refs:position (Results 476 - 500 of 580) sorted by relevance

<<11121314151617181920>>

/packages/apps/Messaging/src/com/android/messaging/util/exif/
H A DExifOutputStream.java108 int byteNeeded = requestByteCount - mBuffer.position();
143 if (mBuffer.position() < 2) {
162 if (mBuffer.position() == 2) {
169 if (mBuffer.position() < 4) {
/packages/apps/Messaging/src/com/android/messaging/widget/
H A DWidgetConversationService.java121 * @return the {@link RemoteViews} for a specific position in the list.
132 final int position = getCount() - originalPosition - 1;
133 if (!mCursor.moveToPosition(position)) {
134 // If we ever fail to move to a position, return the "View More messages"
136 LogUtil.w(TAG, "Failed to move to position: " + position);
171 LogUtil.v(TAG, "getViewAt position: " + originalPosition +
172 " computed position: " + position +
/packages/apps/Music/src/com/android/music/
H A DMusicPicker.java351 public int getSectionForPosition(int position) { argument
618 protected void onListItemClick(ListView l, View v, int position, long id) { argument
619 mCursor.moveToPosition(position);
621 Log.v(TAG, "Click on " + position + " (id=" + id + ", cursid="
H A DQueryBrowserActivity.java262 protected void onListItemClick(ListView l, View v, int position, long id) { argument
265 mQueryCursor.moveToPosition(position);
284 } else if (position >= 0 && id >= 0) {
288 Log.e("QueryBrowser", "invalid position/id: " + position + "/" + id);
H A DMediaPickerActivity.java87 protected void onListItemClick(ListView l, View v, int position, long id) { argument
88 mCursor.moveToPosition(position);
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/
H A DSimpleSampleBuffer.java129 sample.data.position(0).limit(sample.size);
/packages/apps/TV/tests/unit/src/com/android/tv/data/
H A DChannelDataManagerTest.java517 public ChannelInfoWrapper get(int position) { argument
518 return mChannelInfoList.get(mChannelInfoList.keyAt(position));
525 public long keyAt(int position) { argument
526 return mChannelInfoList.keyAt(position);
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DEventFieldEditorView.java173 final ParsePosition position = new ParsePosition(0);
175 ? null : kind.dateFormatWithoutYear.parse(oldValue, position);
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DImportDialogFragment.java135 public View getView(int position, View convertView, ViewGroup parent) {
140 final AdapterEntry entry = getItem(position);
/packages/apps/Dialer/java/com/android/contacts/common/widget/
H A DSelectPhoneAccountDialogFragment.java247 public View getView(int position, View convertView, ViewGroup parent) { argument
267 PhoneAccountHandle accountHandle = getItem(position);
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
H A DContactsFragment.java201 private ContactViewHolder getContactHolder(int position) { argument
202 return ((ContactViewHolder) recyclerView.findViewHolderForAdapterPosition(position));
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/
H A DBandController_GridModelTest.java62 public String getModelId(int position) {
63 return Integer.toString(position);
202 // This is manually figured and will need to be adjusted if the separator position is
322 // Create a partially populated row at the separator position.
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
H A DPageIndicatorDots.java85 * The current position of the active dot including the animation progress.
87 * 0.0 => Active dot is at position 0
88 * 0.33 => Active dot is at position 0 and is moving towards 1
89 * 0.50 => Active dot is at position [0, 1]
90 * 0.77 => Active dot has left position 0 and is collapsing towards position 1
91 * 1.0 => Active dot is at position 1
146 private void animateToPosition(float position) { argument
147 mFinalPosition = position;
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DSharePopup.java82 public View getView(int position, View convertView, ViewGroup parent) { argument
83 View v = super.getView(position, convertView, parent);
/packages/apps/Settings/src/com/android/settings/dashboard/
H A DDashboardSummary.java260 public Tile getSuggestionForPosition(int position) { argument
261 return mAdapter.getSuggestion(position);
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
H A DSettingsDialog.java168 public void onChildSelected(ViewGroup parent, View view, int position, long id) { argument
169 mFocusedSetting = mSettings.get(position);
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
H A DListener.java154 int position = mTmpRanking.getRank();
155 sNotifications.set(position, delta.mSbn);
/packages/apps/Settings/src/com/android/settings/
H A DTrustedCredentialsSettings.java552 @Override public CertHolder getItem(int position) { argument
553 return mParent.getChild(mGroupPosition, position);
555 @Override public long getItemId(int position) { argument
556 return mParent.getChildId(mGroupPosition, position);
558 @Override public View getView(int position, View convertView, ViewGroup parent) { argument
559 return mParent.getChildView(mGroupPosition, position, false, convertView, parent);
/packages/apps/TV/libs/
H A Dexoplayer_v2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer2/ ...
H A Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
H A DRecurrencePickerDialog.java1065 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument
1067 mModel.freq = position;
1069 switch (position) {
1241 public View getView(int position, View convertView, ViewGroup parent) { argument
1252 switch (position) {
1307 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
1317 item.setText(mStrings.get(position));
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventView.java845 View view, int position, long id) {
853 mAvailabilityCurrentlySelected = position;
856 if (mAvailabilityCurrentlySelected != position &&
860 mAvailabilityCurrentlySelected = position;
1473 int position = 0;
1477 return position;
1479 position++;
1484 // Find the calendar position in the cursor that matches calendar in
1497 int position = 0;
1508 return position;
1722 onItemSelected(AdapterView<?> parent, View view, int position, long id) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/list/
H A DCustomContactListFilterActivity.java457 public GroupDelta getGroup(int position) { argument
458 if (position < mSyncedGroups.size()) {
459 return mSyncedGroups.get(position);
461 position -= mSyncedGroups.size();
462 return mUnsyncedGroups.get(position);
/packages/apps/Settings/src/com/android/settings/widget/
H A DDotsPageIndicator.java201 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument
204 pageChangeListener.onPageScrolled(position, positionOffset, positionOffsetPixels);
209 public void onPageSelected(int position) { argument
212 setSelectedPage(position);
220 pageChangeListener.onPageSelected(position);
614 // set a flag so that we continue to draw the unselected dot in the target position
627 // unless dot isn't in position yet – then don't delay!
763 // travelling in. Also look at the current selected dot position, i.e. we're moving on
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
H A DContactFragment.java272 public void onItemClick(AdapterView parent, View v, int position, long id) { argument
274 ViewEntry entry = ViewAdapter.getEntry(mSections, position, SHOW_SEPARATORS);
664 public View getView(int position, View convertView, ViewGroup parent) { argument
665 ViewEntry entry = getEntry(mSections, position, false);
702 protected View newView(int position, ViewGroup parent) { argument

Completed in 595 milliseconds

<<11121314151617181920>>