Searched refs:position (Results 401 - 425 of 580) sorted by relevance

<<11121314151617181920>>

/packages/apps/Launcher3/src/com/android/launcher3/folder/
H A DFolderPagedView.java228 * Adds the {@param view} to the layout based on {@param rank} and updated the position
309 * Updates position and rank of all the children in the view.
335 int position = 0;
343 if (currentPage == null || position >= mMaxItemsPerPage) {
350 position = 0;
355 newX = position % mGridCountX;
356 newY = position / mGridCountX;
378 position++;
421 * @return the rank of the cell nearest to the provided pixel position.
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
H A DWidgetService.java391 * @return the {@link RemoteViews} for a specific position in the list.
394 public RemoteViews getViewAt(int position) { argument
398 || (mShouldShowViewMore && position >= getConversationCount())) {
402 if (!mConversationCursor.moveToPosition(position)) {
403 // If we ever fail to move to a position, return the
406 LogUtils.e(LOG_TAG, "Failed to move to position %d in the cursor.", position);
514 public long getItemId(int position) { argument
515 return position;
599 * Note: This seeks to the first position i
[all...]
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPicasaSource.java120 if (data.position == UNINITIALIZED) {
127 while (data.position == -1 && data.cursor.moveToNext()) {
130 data.position = data.cursor.getPosition();
133 if (data.position == -1) {
135 data.position = INVALID;
157 data.position = UNINITIALIZED;
225 log(TAG, "moving to position: " + mLastPosition);
/packages/apps/Camera2/src/com/android/camera/util/
H A DXmpUtil.java278 int position = (sections.get(0).marker == M_APP1) ? 1 : 0;
279 newSections.addAll(sections.subList(0, position));
281 newSections.addAll(sections.subList(position, sections.size()));
309 * return data.length, otherwise return 1 + the position of last '>'
/packages/apps/Contacts/src/com/android/contacts/list/
H A DDefaultContactListAdapter.java262 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
263 super.bindView(itemView, partition, cursor, position);
272 bindSectionHeaderAndDivider(view, position, cursor);
H A DJoinContactListFragment.java164 protected void onItemClick(int position, long id) { argument
165 final Uri contactUri = getAdapter().getContactUri(position);
/packages/apps/Contacts/tests/src/com/android/contacts/model/account/
H A DExternalAccountTypeTest.java241 private static String insertMarkerAt(String s, int position) { argument
243 if (position > s.length()) {
246 return new StringBuilder(s).insert(position, MARKER).toString();
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestEvent.java431 public Builder at(int position) { argument
432 mState.mDetails.mPosition = position; // this is both "adapter position" and "item position".
433 mState.mDetails.mModelId = String.valueOf(position);
/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/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/Car/Dialer/src/com/android/car/dialer/
H A DStrequentsAdapter.java111 public int getItemViewType(int position) { argument
114 } else if (position == 0 && mLastCallData != null) {
160 public void onBindViewHolder(final CallLogViewHolder viewHolder, int position) { argument
174 int positionIntoData = position;
176 // If there is last call data, then decrement the position so there is not an out of
/packages/apps/Dialer/java/com/android/incallui/maps/impl/
H A DStaticMapFragment.java72 googleMap.addMarker(new MarkerOptions().position(latLng).flat(true).draggable(false));
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DConversationFastScroller.java47 * Adds a "fast-scroll" bar to the conversation RecyclerView that shows the current position within
48 * the conversation and allows quickly moving to another position by dragging the scrollbar thumb
50 * date/time of the first visible message at the current position.
60 * @param position where the scrollbar should appear (either {@code POSITION_RIGHT_SIDE} or
65 public static ConversationFastScroller addTo(RecyclerView rv, int position) { argument
67 return new ConversationFastScroller(rv, position);
122 private ConversationFastScroller(RecyclerView rv, int position) { argument
134 mPosRight = (position == POSITION_RIGHT_SIDE);
294 * Returns the current position in the conversation, as a value between 0 and 1, inclusive.
404 // Convert the desired position fro
[all...]
/packages/apps/TV/src/com/android/tv/ui/
H A DSelectInputView.java326 public void onBindViewHolder(ViewHolder holder, final int position) { argument
327 TvInputInfo input = mInputList.get(position);
349 mSelectedInput = mInputList.get(position);
361 mSelectedInput = mInputList.get(position);
/packages/services/Car/service/src/com/android/car/
H A DBluetoothDevicesInfo.java177 // Update the position of the device in the device Queue
224 * Get the position of the given device in the list of connectable devices for this profile.
518 // Get the position of this device in the device list maintained for this profile.
637 * Move the item in the given position to the front of the queue and push the rest down.
639 * @param position - current position of the device that it is moving from
641 private void moveDeviceToQueueFrontLocked(int position) { argument
643 // If the device is a primary or secondary, its position is fixed.
644 if (position <= topOfList) {
647 DeviceInfo deviceInfo = mDeviceInfoList.get(position);
[all...]
/packages/apps/Car/Radio/src/com/android/car/radio/
H A DRadioDisplayController.java113 * Set the given position as the radio station that should be be displayed first in the channel
116 public void setCurrentStationInList(int position) { argument
118 mChannelList.shiftToPosition(position);
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/app/
H A DCarDrawerActivity.java289 public void scrollToPosition(int position) { argument
290 mDrawerList.getRecyclerView().smoothScrollToPosition(position);
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DContactEditorAccountsChangedActivity.java62 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
66 saveAccountAndReturnResult(mAccountListAdapter.getItem(position));
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DAccountHeaderPresenter.java186 public void onItemClick(AdapterView<?> parent, View view, int position,
189 final AccountWithDataSet newAccount = adapter.getItem(position);
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DExportDialogFragment.java99 public View getView(int position, View convertView, ViewGroup parent) {
107 text.setText(getItem(position).mLabel);
/packages/apps/Contacts/src/com/android/contacts/util/
H A DAccountSelectionUtil.java111 public View getView(int position, View convertView, ViewGroup parent) {
122 final AccountWithDataSet account = this.getItem(position);
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DSelectPhoneAccountDialogFragment.java225 public View getView(int position, View convertView, ViewGroup parent) { argument
246 PhoneAccountHandle accountHandle = getItem(position);
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
H A DUiDataModel.java251 * @param position the position of the tab in the user interface
254 public Tab getTabAt(int position) { argument
256 return mTabModel.getTabAt(position);
276 * @param tabScrollListener to be notified when the scroll position of the selected tab changes
284 * @param tabScrollListener to be notified when the scroll position of the selected tab changes
294 * @param tab an enumerated value indicating the tab reporting its vertical scroll position
295 * @param scrolledToTop {@code true} iff the vertical scroll position of the tab is at the top

Completed in 581 milliseconds

<<11121314151617181920>>