Searched refs:position (Results 151 - 175 of 430) sorted by relevance

1234567891011>>

/frameworks/ex/variablespeed/jni/
H A Dring_buffer.h25 // Circular buffer of multichannel audio, maintaining the position of the
46 // Gets the position of a reading head.
48 // @returns position pointed to by the #reader reading head.
53 // @param position target position.
54 void Seek(int reader, int64 position);
67 // Flushes the content of the buffer and reset the position of the heads.
97 // Returns the position of the laziest reader.
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgram.h36 // known locations for position and texture coordinates
37 enum { position=0, texCoords=1 }; enumerator in enum:android::Program::__anon1445
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DPhotoPagerAdapter.java50 public Fragment getItem(Context context, Cursor cursor, int position) { argument
68 return createPhotoViewFragment(builder.build(), position, onlyShowSpinner);
76 Intent intent, int position, boolean onlyShowSpinner) {
77 return PhotoViewFragment.newInstance(intent, position, onlyShowSpinner);
75 createPhotoViewFragment( Intent intent, int position, boolean onlyShowSpinner) argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DDetailsFragment.java165 // align the top edge of item to a fixed position
190 * Sets the selected row position with smooth animation.
192 public void setSelectedPosition(int position) { argument
193 setSelectedPosition(position, true);
197 * Sets the selected row position.
199 public void setSelectedPosition(int position, boolean smooth) { argument
200 mSetSelectionRunnable.mPosition = position;
H A DDetailsSupportFragment.java167 // align the top edge of item to a fixed position
192 * Sets the selected row position with smooth animation.
194 public void setSelectedPosition(int position) { argument
195 setSelectedPosition(position, true);
199 * Sets the selected row position.
201 public void setSelectedPosition(int position, boolean smooth) { argument
202 mSetSelectionRunnable.mPosition = position;
/frameworks/wilhelm/tests/listening/
H A DseekTorture.c100 unsigned position, duration; local
101 while (fscanf(fp_map, "%u %u", &position, &duration) == 2) {
102 printf("%u %u\n", position, duration);
103 result = (*playerSeek)->SetPosition(playerSeek, (SLmillisecond) position,
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRecentsCreateFragment.java140 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
141 final DocumentStack stack = mAdapter.getItem(position);
209 public View getView(int position, View convertView, ViewGroup parent) { argument
221 final DocumentStack stack = getItem(position);
247 public DocumentStack getItem(int position) { argument
248 return mStacks.get(position);
252 public long getItemId(int position) { argument
253 return getItem(position).hashCode();
H A DRootsFragment.java178 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
180 final Item item = mAdapter.getItem(position);
193 public boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id) {
194 final Item item = mAdapter.getItem(position);
361 public View getView(int position, View convertView, ViewGroup parent) { argument
362 final Item item = getItem(position);
372 public boolean isEnabled(int position) { argument
373 return getItemViewType(position) != 1;
377 public int getItemViewType(int position) { argument
378 final Item item = getItem(position);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DUserDetailView.java65 public View getView(int position, View convertView, ViewGroup parent) { argument
66 UserSwitcherController.UserRecord item = getItem(position);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DListActivity.java112 public View getView(int position, View convertView, ViewGroup parent) { argument
113 TextView v = (TextView) super.getView(position, convertView, parent);
H A DTransparentListActivity.java110 public View getView(int position, View convertView, ViewGroup parent) { argument
111 TextView v = (TextView) super.getView(position, convertView, parent);
H A DViewLayersActivity2.java57 public View getView(int position, View convertView, ViewGroup parent) { argument
58 TextView v = (TextView) super.getView(position, convertView, parent);
H A DViewLayersActivity4.java61 public View getView(int position, View convertView, ViewGroup parent) { argument
62 TextView v = (TextView) super.getView(position, convertView, parent);
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneFilterTypeAdapter.java101 public FilterTypeResult getItem(int position) { argument
102 return mLiveResults.get(position);
106 public long getItemId(int position) { argument
107 return position;
111 public View getView(int position, View convertView, ViewGroup parent) { argument
123 if (position >= mLiveResults.size()) {
124 Log.e(TAG, "getView: " + position + " of " + mLiveResults.size());
127 FilterTypeResult filter = mLiveResults.get(position);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DExpandedMenuView.java88 public void onItemClick(AdapterView parent, View v, int position, long id) { argument
89 invokeItem((MenuItemImpl) getAdapter().getItem(position));
/frameworks/base/core/java/android/database/
H A DBulkCursorNative.java102 int position = data.readInt();
103 onMove(position);
155 public CursorWindow getWindow(int position) throws RemoteException argument
161 data.writeInt(position);
177 public void onMove(int position) throws RemoteException { argument
182 data.writeInt(position);
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialog.java207 public boolean isEnabled(int position) { argument
208 return getItem(position).isEnabled();
212 public View getView(int position, View convertView, ViewGroup parent) { argument
217 MediaRouter.RouteInfo route = getItem(position);
234 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
235 MediaRouter.RouteInfo route = getItem(position);
/frameworks/base/core/tests/coretests/src/android/view/
H A DListContextMenu.java65 public Object getItem(int position) { argument
66 return position;
69 public long getItemId(int position) { argument
70 return position;
73 public View getView(int position, View convertView, ViewGroup parent) { argument
81 view.setText("List item " + mTitles[position]);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DMonthAdapter.java153 public Object getItem(int position) { argument
158 public long getItemId(int position) { argument
159 return position;
170 public View getView(int position, View convertView, ViewGroup parent) { argument
191 final int month = position % MONTHS_IN_YEAR;
192 final int year = position / MONTHS_IN_YEAR + mController.getMinYear();
H A DDayPickerView.java186 final int position = (day.year - mController.getMinYear())
204 // Compute the first and last position visible
217 Log.d(TAG, "GoTo position " + position);
221 if (position != selectedPosition || forceScroll) {
226 position, LIST_TOP_OFFSET, GOTO_SCROLL_DURATION);
229 postSetSelection(position);
237 public void postSetSelection(final int position) { argument
243 setSelection(position);
308 // Fix the position afte
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseGridView.java35 * Always keep focused item at a aligned position. Developer can use
37 * In this mode, the last focused position will be remembered and restored when focus
449 public void setSelectedPosition(int position) { argument
450 mLayoutManager.setSelection(this, position);
455 * position.
457 public void setSelectedPositionSmooth(int position) { argument
458 mLayoutManager.setSelectionSmooth(this, position);
462 * Get the selected item position.
512 * Get the x/y offsets to final position from current position i
588 hasPreviousViewInSameRow(int position) argument
[all...]
/frameworks/support/v4/java/android/support/v4/media/session/
H A DPlaybackStateCompat.java27 * {@link PlaybackStateCompat#STATE_PLAYING}, the current playback position,
206 * Use this value for the position to indicate the position is not known.
220 private PlaybackStateCompat(int state, long position, long bufferedPosition, argument
223 mPosition = position;
245 bob.append(", position=").append(mPosition);
246 bob.append(", buffered position=").append(mBufferedPosition);
288 * Get the current playback position in ms.
295 * Get the current buffered position in ms. This is the farthest playback
296 * point that can be reached from the current position usin
639 setState(int state, long position, float playbackSpeed) argument
673 setState(int state, long position, float playbackSpeed, long updateTime) argument
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteChooserDialog.java204 public boolean isEnabled(int position) { argument
205 return getItem(position).isEnabled();
209 public View getView(int position, View convertView, ViewGroup parent) { argument
214 MediaRouter.RouteInfo route = getItem(position);
231 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
232 MediaRouter.RouteInfo route = getItem(position);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java280 throw new RuntimeException("Cannot find span group index for position "
283 Log.w(TAG, "Cannot find span size for pre layout position. " + viewPosition);
300 throw new RuntimeException("Cannot find span index for pre layout position. It is"
303 Log.w(TAG, "Cannot find span size for pre layout position. It is"
321 throw new RuntimeException("Cannot find span size for pre layout position. It is"
324 Log.w(TAG, "Cannot find span size for pre layout position. It is"
348 throw new IllegalArgumentException("Item at position " + pos + " requires " +
452 // To calculate correct layout position, we subtract margins.
456 Log.d(TAG, "laid out child at position " + getPosition(view) + ", with l:"
503 // make sure we traverse from min position t
583 getSpanSize(int position) argument
613 getCachedSpanIndex(int position, int spanCount) argument
649 getSpanIndex(int position, int spanCount) argument
680 findReferenceIndexFromCache(int position) argument
744 getSpanSize(int position) argument
749 getSpanIndex(int position, int spanCount) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DListPopupWindow.java275 * @param position A position constant declaring where the prompt should be displayed.
280 public void setPromptPosition(int position) { argument
281 mPromptPosition = position;
581 * will recalculate the popup's size and position.
723 * Set the selected position of the list.
726 * @param position List position to set as selected.
728 public void setSelection(int position) { argument
732 list.setSelection(position);
778 performItemClick(int position) argument
1619 clickPressedItem(final View child, final int position) argument
1636 setPressedItem(View child, int position, float x, float y) argument
[all...]

Completed in 616 milliseconds

1234567891011>>