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

1234567891011>>

/packages/apps/Dialer/java/com/android/dialer/compat/
H A DPathInterpolatorCompat.java52 final float[] position = new float[2];
55 pathMeasure.getPosTan(distance, position, null /* tangent */);
57 x[i] = position[0];
58 y[i] = position[1];
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
H A DSearchAdapter.java97 public @RowType int getItemViewType(int position) { argument
98 return searchCursorManager.getRowType(position);
102 public void onBindViewHolder(ViewHolder holder, int position) { argument
104 ((SearchContactViewHolder) holder).bind(searchCursorManager.getCursor(position), query);
106 ((NearbyPlaceViewHolder) holder).bind(searchCursorManager.getCursor(position), query);
108 ((DirectoryContactViewHolder) holder).bind(searchCursorManager.getCursor(position), query);
111 searchCursorManager.getCursor(position).getString(SearchCursor.HEADER_TEXT_POSITION);
116 searchCursorManager.getSearchAction(position),
117 position,
/packages/apps/Email/src/com/beetstra/jutf7/
H A DUTF7StyleCharsetDecoder.java104 in.position(in.position() - 1);
165 * Resets the input buffer position to just before the last byte read, and
173 in.position(in.position() - 1);
/packages/apps/Gallery2/src/com/android/photos/
H A DMultiSelectGridFragment.java113 * getGridView().getItemAtPosition(position) if they need to access the data
118 * @param position The position of the view in the grid
121 public void onGridItemClick(GridView g, View v, int position, long id) { argument
141 * Set the currently selected grid item to the specified position with the
144 * @param position
146 public void setSelection(int position) { argument
148 mGrid.setSelection(position);
152 * Get the position of the currently selected grid item.
323 public Object getItemAtPosition(int position) { argument
328 getPathForItemAtPosition(int position) argument
345 onItemClick(AdapterView<?> parent, View v, int position, long id) argument
[all...]
/packages/apps/Messaging/src/com/android/messaging/ui/debug/
H A DDebugMmsConfigFragment.java62 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
63 listView.setAdapter(new MmsConfigAdapter(getActivity(), subIdArray[position]));
65 final int[] mccmnc = PhoneUtils.get(subIdArray[position]).getMccMnc();
110 public View getView(final int position, final View convertView, final ViewGroup parent) { argument
118 final String key = mKeys.get(position);
138 public Object getItem(int position) { argument
139 return mKeys.get(position);
143 public long getItemId(int position) { argument
144 return position;
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
H A DFakeCursor.java74 public boolean moveToPosition(final int position) { argument
75 if (position < 0 || position >= mData.length) {
78 mIndex = position;
/packages/apps/PhoneCommon/src/com/android/phone/common/compat/
H A DPathInterpolatorCompat.java52 final float[] position = new float[2];
55 pathMeasure.getPosTan(distance, position, null /* tangent */);
57 mX[i] = position[0];
58 mY[i] = position[1];
/packages/apps/Settings/src/com/android/settings/
H A DUsageStatsActivity.java156 public Object getItem(int position) { argument
157 return mPackageStats.get(position);
161 public long getItemId(int position) { argument
162 return position;
166 public View getView(int position, View convertView, ViewGroup parent) { argument
191 UsageStats pkgStats = mPackageStats.get(position);
200 Log.w(TAG, "No usage stats info for package:" + position);
247 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument
248 mAdapter.sortList(position);
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
H A DDashboardDataTest.java164 final int position = mDashboardDataWithOneConditions
166 assertThat(position).isNotEqualTo(DashboardData.POSITION_NOT_FOUND);
172 final int position = mDashboardDataWithOneConditions.getPositionByEntity(condition);
173 assertThat(position).isEqualTo(DashboardData.POSITION_NOT_FOUND);
178 final int position = mDashboardDataWithOneConditions.getPositionByTile(mTestCategoryTile);
179 assertThat(position).isNotEqualTo(DashboardData.POSITION_NOT_FOUND);
186 final int position = mDashboardDataWithOneConditions.getPositionByTile(tile);
187 assertThat(position).isNotEqualTo(DashboardData.POSITION_NOT_FOUND);
194 final int position = mDashboardDataWithOneConditions.getPositionByTile(tile);
195 assertThat(position)
332 onInserted(int position, int count) argument
337 onRemoved(int position, int count) argument
348 onChanged(int position, int count, Object payload) argument
[all...]
/packages/apps/TV/src/com/android/tv/guide/
H A DTimeListAdapter.java75 public int getItemViewType(int position) { argument
80 public void onBindViewHolder(TimeViewHolder holder, int position) { argument
81 long startTime = mStartUtcMs + position * TIME_UNIT_MS;
96 if (position == 0) {
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DFromAddressSpinnerAdapter.java57 public View getView(int position, View convertView, ViewGroup parent) { argument
58 final ReplyFromAccount fromItem = getItem(position);
77 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
78 final ReplyFromAccount fromItem = getItem(position);
101 // Get the position of the current account
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DDictEncoder.java34 public void setPosition(final int position); argument
/packages/apps/Contacts/src/com/android/contacts/list/
H A DPhoneNumberListAdapter.java68 void onVideoCallIconClicked(int position); argument
323 public String getContactDisplayName(int position) { argument
324 return ((Cursor) getItem(position)).getString(PhoneQuery.DISPLAY_NAME);
327 public String getPhoneNumber(int position) { argument
328 final Cursor item = (Cursor)getItem(position);
333 * Builds a {@link Data#CONTENT_URI} for the given cursor position.
337 public Uri getDataUri(int position) { argument
338 final int partitionIndex = getPartitionForPosition(position);
339 final Cursor item = (Cursor)getItem(position);
363 * Retrieves the lookup key for the given cursor position
368 getLookupKey(int position) argument
374 newView( Context context, int partition, Cursor cursor, int position, ViewGroup parent) argument
408 bindView(View itemView, int partition, Cursor cursor, int position) argument
466 bindPhoneNumber(ContactListItemView view, Cursor cursor, boolean displayNumber, int position) argument
503 bindSectionHeaderAndDivider(final ContactListItemView view, int position) argument
[all...]
/packages/apps/Dialer/java/com/android/contacts/common/list/
H A DPhoneNumberListAdapter.java235 public String getPhoneNumber(int position) { argument
236 final Cursor item = (Cursor) getItem(position);
241 * Retrieves the lookup key for the given cursor position.
243 * @param position The cursor position.
246 public String getLookupKey(int position) { argument
247 final Cursor item = (Cursor) getItem(position);
251 public DialerContact getDialerContact(int position) { argument
252 Cursor cursor = (Cursor) getItem(position);
295 Context context, int partition, Cursor cursor, int position, ViewGrou
294 newView( Context context, int partition, Cursor cursor, int position, ViewGroup parent) argument
307 bindView(View itemView, int partition, Cursor cursor, int position) argument
363 bindPhoneNumber( ContactListItemView view, Cursor cursor, boolean displayNumber, int position) argument
427 bindSectionHeaderAndDivider(final ContactListItemView view, int position) argument
577 onVideoCallIconClicked(int position) argument
579 onDuoVideoIconClicked(int position) argument
581 onCallAndShareIconClicked(int position) argument
[all...]
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
H A DDigestMd5Utils.java233 private int position = 0; field in class:DigestMd5Utils.DigestMessageParser
243 while (position < message.length()) {
245 if (position != message.length()) {
265 throw new IllegalStateException("unexpected character " + message.charAt(position));
271 position++;
276 return message.charAt(position);
281 position++;
286 int start = position;
288 return message.substring(start, position);
322 position
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DFolderListFragment.java570 public void onListItemClick(ListView l, View v, int position, long id) { argument
571 viewFolderOrChangeAccount(position);
598 * Display the conversation list from the folder at the position given.
599 * @param position a zero indexed position into the list.
601 protected void viewFolderOrChangeAccount(int position) { argument
603 final Object item = getListView().getAdapter().getItem(position);
604 LogUtils.d(LOG_TAG, "viewFolderOrChangeAccount(%d): %s", position, item);
905 public View getView(int position, View convertView, ViewGroup parent) { argument
906 final DrawerItem item = (DrawerItem) getItem(position);
935 getItemViewType(int position) argument
945 isEnabled(int position) argument
1185 getItem(int position) argument
1195 getItemId(int position) argument
1227 getItemViewType(int position) argument
1233 getView(int position, View convertView, ViewGroup parent) argument
1323 getItem(int position) argument
1333 getItemId(int position) argument
1338 getView(int position, View convertView, ViewGroup parent) argument
1393 getItem(int position) argument
1398 getItemId(int position) argument
1409 getItemViewType(int position) argument
1419 getView(int position, View convertView, ViewGroup parent) argument
1651 getItem(int position) argument
1661 getItemId(int position) argument
1666 getView(int position, View convertView, ViewGroup parent) argument
[all...]
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
H A DCallHistoryListItemProvider.java52 public ListItem get(int position) { argument
53 return mItems.get(position);
/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/
H A DFanSpeedBarController.java84 public void onFanSpeedSegmentClicked(int position) {
88 mHvacController.setFanSpeed(position + 1);
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
H A DInCallPagerAdapter.java44 public Fragment getItem(int position) { argument
50 } else if (position == getButtonGridPosition()) {
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DScrollerHelper.java41 * Call this when you want to know the new location. The position will be
65 public void setPosition(int position) { argument
67 position, 0, // startX, startY
70 // This forces the scroller to reach the final position.
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
H A DBuglePhotoViewFragment.java34 public static PhotoViewFragment newInstance(Intent intent, int position, argument
37 initializeArguments(intent, position, onlyShowSpinner, f);
/packages/apps/Settings/src/com/android/settings/display/
H A DNightDisplayIntensityPreferenceController.java73 public boolean setSliderPosition(int position) { argument
74 return mController.setColorTemperature(convertTemperature(position));
/packages/apps/Settings/src/com/android/settings/utils/
H A DProfileSettingsPreferenceFragment.java48 public void onItemSelected(AdapterView<?> parent, View view, int position,
50 UserHandle selectedUser = profileSpinnerAdapter.getUserHandle(position);
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
H A DSettingsSliderPreferenceControllerTest.java87 public boolean setSliderPosition(int position) { argument
88 mPosition = position;
H A DSliderPreferenceControllerTest.java85 public boolean setSliderPosition(int position) { argument
86 mPosition = position;

Completed in 719 milliseconds

1234567891011>>