Searched defs:position (Results 126 - 150 of 316) sorted by relevance

1234567891011>>

/frameworks/av/drm/libdrmframework/
H A DDrmManagerClient.cpp85 sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) {
87 ->setPlaybackStatus(mUniqueId, decryptHandle, playbackStatus, position);
84 setPlaybackStatus( sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) argument
H A DNoOpDrmManagerClientImpl.cpp77 int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) {
76 setPlaybackStatus( int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) argument
/frameworks/av/media/libmediaplayerservice/
H A DMidiFile.cpp254 status_t MidiFile::seekTo(int position) argument
256 ALOGV("MidiFile::seekTo %d", position);
264 if ((result = EAS_Locate(mEasData, mEasHandle, position, false))
299 status_t MidiFile::getCurrentPosition(int* position) argument
310 *position = mPlayTime;
491 // update playback state and position
/frameworks/base/core/java/android/database/
H A DCursor.java63 * Returns the current position of the cursor in the row set.
67 * the last entry, at a position of count().
69 * @return the current cursor position.
75 * current position. Positive offsets move forwards, negative offsets move
76 * backwards. If the final position is outside of the bounds of the result
77 * set then the resultant position will be pinned to -1 or count() depending
83 * the position will be pinned at -1, and false will be returned.
85 * @param offset the offset to be applied from the current position.
91 * Move the cursor to an absolute position. The valid
92 * range of values is -1 &lt;= position
100 moveToPosition(int position) argument
[all...]
H A DCursorWrapper.java161 public boolean moveToPosition(int position) { argument
162 return mCursor.moveToPosition(position);
/frameworks/base/core/java/android/preference/
H A DPreferenceGroupAdapter.java64 * Maps a position into this adapter -> {@link Preference}. These
211 public Preference getItem(int position) { argument
212 if (position < 0 || position >= getCount()) return null;
213 return mPreferenceList.get(position);
216 public long getItemId(int position) { argument
217 if (position < 0 || position >= getCount()) return ListView.INVALID_ROW_ID;
218 return this.getItem(position).getId();
224 public void setHighlighted(int position) { argument
235 getView(int position, View convertView, ViewGroup parent) argument
258 isEnabled(int position) argument
289 getItemViewType(int position) argument
[all...]
/frameworks/base/core/java/android/text/
H A DSelection.java375 public int preceding(int position); argument
376 public int following(int position); argument
/frameworks/base/core/java/android/widget/
H A DArrayAdapter.java336 public T getItem(int position) { argument
337 return mObjects.get(position);
341 * Returns the position of the specified item in the array.
343 * @param item The item to retrieve the position of.
345 * @return The position of the specified item.
354 public long getItemId(int position) { argument
355 return position;
361 public View getView(int position, View convertView, ViewGroup parent) { argument
362 return createViewFromResource(position, convertView, parent, mResource);
365 private View createViewFromResource(int position, Vie argument
414 getDropDownView(int position, View convertView, ViewGroup parent) argument
[all...]
H A DCursorAdapter.java209 public Object getItem(int position) { argument
211 mCursor.moveToPosition(position);
221 public long getItemId(int position) { argument
223 if (mCursor.moveToPosition(position)) {
241 public View getView(int position, View convertView, ViewGroup parent) { argument
245 if (!mCursor.moveToPosition(position)) {
246 throw new IllegalStateException("couldn't move cursor to position " + position);
259 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
261 mCursor.moveToPosition(position);
[all...]
H A DSimpleAdapter.java99 public Object getItem(int position) { argument
100 return mData.get(position);
106 public long getItemId(int position) { argument
107 return position;
113 public View getView(int position, View convertView, ViewGroup parent) { argument
114 return createViewFromResource(position, convertView, parent, mResource);
117 private View createViewFromResource(int position, View convertView, argument
126 bindView(position, v);
142 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
143 return createViewFromResource(position, convertVie
146 bindView(int position, View view) argument
[all...]
H A DSimpleMonthAdapter.java117 public Object getItem(int position) { argument
122 public long getItemId(int position) { argument
123 return position;
133 public View getView(int position, View convertView, ViewGroup parent) { argument
154 final int currentMonth = position + minMonth;
H A DYearPickerView.java121 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
123 if (position != mSelectedPosition) {
124 mSelectedPosition = position;
127 mController.onYearSelected(mAdapter.getItem(position));
142 public View getView(int position, View convertView, ViewGroup parent) { argument
144 super.getView(position, convertView, parent);
147 int year = getItem(position);
161 public void postSetSelectionCentered(final int position) { argument
162 postSetSelectionFromTop(position, mViewSize / 2 - mChildSize / 2);
165 public void postSetSelectionFromTop(final int position, fina argument
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DLocalePicker.java168 public View getView(int position, View convertView, ViewGroup parent) {
179 LocaleInfo item = getItem(position);
233 public void onListItemClick(ListView l, View v, int position, long id) { argument
235 final Locale locale = ((LocaleInfo)getListAdapter().getItem(position)).locale;
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/java/com/android/internal/view/menu/
H A DListMenuPresenter.java164 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
165 mMenu.performItemAction(mAdapter.getItem(position), this, 0);
237 public MenuItemImpl getItem(int position) { argument
239 position += mItemIndexOffset;
240 if (mExpandedIndex >= 0 && position >= mExpandedIndex) {
241 position++;
243 return items.get(position);
246 public long getItemId(int position) { argument
247 // Since a menu item's ID is optional, we'll use the position as an
249 return position;
252 getView(int position, View convertView, ViewGroup parent) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DGridScenario.java112 * Set the position that starts selected.
114 * @param startingSelectionPosition The selected position within the adapter's data set.
135 * @param position The position in the grid.
139 int position, double itemScreenSizeFactor) {
140 mOverrideItemScreenSizeFactors.put(position, itemScreenSizeFactor);
266 public void onItemSelected(AdapterView parent, View v, int position, long id) {
267 positionSelected(position);
315 public final String getValueAtPosition(int position) { argument
316 return "postion " + position;
138 setPositionScreenSizeFactorOverride( int position, double itemScreenSizeFactor) argument
328 createView(int position, ViewGroup parent, int desiredHeight) argument
348 getItem(int position) argument
352 getItemId(int position) argument
356 getView(int position, View convertView, ViewGroup parent) argument
[all...]
/frameworks/base/libs/common_time/
H A Dclock_recovery.cpp107 void ClockRecoveryLoop::reset(bool position, bool frequency) { argument
109 reset_l(position, frequency);
306 void ClockRecoveryLoop::reset_l(bool position, bool frequency) {
309 if (position) {
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp371 env->GetMethodID(byteBufClass.get(), "position", "()I");
378 jint position = env->CallIntMethod(valueObj, positionID); local
381 sp<ABuffer> buffer = new ABuffer(limit - position);
387 (const uint8_t *)data + position,
400 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/PrintSpooler/src/com/android/printspooler/ui/
H A DSelectPrinterActivity.java127 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
128 if (!((DestinationAdapter) mListView.getAdapter()).isActionable(position)) {
132 PrinterInfo printer = (PrinterInfo) mListView.getAdapter().getItem(position);
188 final int position = ((AdapterContextMenuInfo) menuInfo).position;
189 PrinterInfo printer = (PrinterInfo) mListView.getAdapter().getItem(position);
513 public Object getItem(int position) { argument
515 return mFilteredPrinters.get(position);
520 public long getItemId(int position) { argument
521 return position;
525 getDropDownView(int position, View convertView, ViewGroup parent) argument
530 getView(int position, View convertView, ViewGroup parent) argument
578 isActionable(int position) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyguardUserSwitcher.java245 public View getView(int position, View convertView, ViewGroup parent) { argument
246 UserSwitcherController.UserRecord item = getItem(position);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockCursor.java138 public boolean moveToPosition(int position) { argument
/frameworks/base/tests/touchlag/
H A Dtouchlag.cpp190 struct position { struct in struct:Queue
194 position q[16];
/frameworks/compile/slang/
H A Dslang_rs_reflect_utils.cpp141 int position = kEntriesPerLine; // We start with a new line and indent. local
143 if (++position >= kEntriesPerLine) {
146 position = 0;

Completed in 3912 milliseconds

1234567891011>>