Searched defs:position (Results 1 - 25 of 220) sorted by path

123456789

/frameworks/av/drm/common/
H A DDrmEngineBase.cpp87 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) {
88 return onSetPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position);
86 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
H A DIDrmManagerService.cpp441 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) {
451 data.writeInt64(position);
1158 const int64_t position = data.readInt64(); local
1160 = setPlaybackStatus(uniqueId, &handle, playbackStatus, position);
440 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp311 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) {
316 result = drmEngine->setPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position);
310 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
H A DDrmManagerService.cpp155 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) {
160 return mDrmManager->setPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position);
154 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
/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 DDrmManagerClientImpl.cpp191 int playbackStatus, int64_t position) {
195 uniqueId, decryptHandle.get(), playbackStatus, position);
189 setPlaybackStatus( int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) argument
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp370 int playbackStatus, int64_t position) {
373 int playbackStatus, int position) {
369 onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp190 int playbackStatus, int64_t position) {
189 onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_FileWriter.c131 /* fseek to the last read position */
190 * @brief This function seeks at the provided position in the core file
191 * writer (selected by its 'context'). The position is related to
194 * access (more than 2GBytes), the position is provided on a 64
196 * @note If this function returns an error the current position pointer
197 * in the file must not change. Else the current position pointer
201 * @param position: (IN/OUT) Position in the file
206 * @return M4ERR_FILE_INVALID_POSITION: the position cannot be reached
232 /*The position for the seek mode between the SHP and the OSAl part are different */
252 * Go to the desired position */
414 M4OSA_FilePosition* position = (M4OSA_FilePosition*)pOptionValue; local
433 M4OSA_FilePosition* position = (M4OSA_FilePosition*)pOptionValue; local
[all...]
/frameworks/av/libvideoeditor/vss/src/
H A DM4AMRR_CoreReader.c587 M4OSA_UInt32 position, partSeekTime; local
637 position = (pStreamContext->m_streamType != M4SYS_kAMR)?9:6;
650 pStreamContext->m_pSeekIndex[count++]=position;
674 position += auSize ;
682 position ++;
687 pStreamContext->m_pSeekIndex[count++] = position;
713 position = (M4OSA_UInt32)(time_double / pStreamContext->m_seekInterval);
718 position = 0;
722 position=(position >
[all...]
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp1612 int16_t VolumeConvertStereoPosition(int16_t position){ argument
1615 convertedPosition = (int16_t)(((float)position/1000)*96);
1627 // position: stereo position
1632 int VolumeSetStereoPosition(EffectContext *pContext, int16_t position){ argument
1640 pContext->pBundledContext->positionSaved = position;
1648 //ALOGV("\tVolumeSetStereoPosition Position to be set is %d %d\n", position, Balance);
1649 pContext->pBundledContext->positionSaved = position;
1677 //position, Balance);
1694 // position
1697 VolumeGetStereoPosition(EffectContext *pContext, int16_t *position) argument
2385 int16_t position; local
[all...]
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp445 // the playback head position will reset to 0, so if a marker is set, we need
678 status_t AudioTrack::setPosition(uint32_t position) argument
688 if (position > mCblk->user) return BAD_VALUE;
690 mCblk->server = position;
696 status_t AudioTrack::getPosition(uint32_t *position) argument
698 if (position == NULL) return BAD_VALUE;
700 *position = mFlushed ? 0 : mCblk->server;
1238 // Manage new position callback
1255 // not being able to handle timed events (position, markers, loops).
/frameworks/av/media/libmediaplayerservice/
H A DMidiFile.cpp248 status_t MidiFile::seekTo(int position) argument
250 ALOGV("MidiFile::seekTo %d", position);
258 if ((result = EAS_Locate(mEasData, mEasHandle, position, false))
292 status_t MidiFile::getCurrentPosition(int* position) argument
303 *position = mPlayTime;
483 // update playback state and position
/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp878 int64_t position; local
879 getPosition(&position);
881 Playback::START, position / 1000);
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp43 virtual int Read(long long position, long length, unsigned char* buffer) { argument
44 CHECK(position >= 0);
51 ssize_t n = mSource->readAt(position, buffer, length);
/frameworks/av/media/libstagefright/mp4/
H A DFragmentedMP4Parser.cpp290 msg->setInt64("position", timeUs);
309 status_t FragmentedMP4Parser::onSeekTo(bool wantAudio, int64_t position) { argument
323 if (totalTime > position) {
332 info->mDecodingTime = position * info->mMediaTimeScale / 1000000ll;
550 int64_t position; local
551 CHECK(msg->findInt64("position", &position));
561 err = onSeekTo(wantAudio, position);
1788 // This should point to the position of the first byte of the
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h427 // Parameter 'offset' is the requested start position, expressed in
918 uint32_t position() const { return mPosition; } function in class:android::AudioFlinger::PlaybackThread::TimedTrack::TimedBuffer
/frameworks/base/core/java/android/accounts/
H A DChooseAccountActivity.java85 public void onItemClick(AdapterView<?> parent, View v, int position, long id) {
86 onListItemClick((ListView)parent, v, position, id);
119 protected void onListItemClick(ListView l, View v, int position, long id) { argument
120 Account account = (Account) mAccounts[position];
167 public View getView(int position, View convertView, ViewGroup parent) { argument
180 holder.text.setText(mInfos[position].name);
181 holder.icon.setImageDrawable(mInfos[position].drawable);
H A DChooseAccountTypeActivity.java109 public void onItemClick(AdapterView<?> parent, View v, int position, long id) {
110 setResultAndFinish(mAuthenticatorInfosToDisplay.get(position).desc.type);
184 public View getView(int position, View convertView, ViewGroup parent) { argument
197 holder.text.setText(mInfos.get(position).name);
198 holder.icon.setImageDrawable(mInfos.get(position).drawable);
/frameworks/base/core/java/android/app/
H A DActionBar.java268 * @param position Position of the item to select.
270 public abstract void setSelectedNavigationItem(int position); argument
273 * Get the position of the selected navigation item in list or tabbed navigation modes.
532 * <code>position</code>. If this is the first tab to be added it will become
536 * @param position The new position of the tab
538 public abstract void addTab(Tab tab, int position); argument
542 * <code>position</code>.
545 * @param position The new position o
548 addTab(Tab tab, int position, boolean setSelected) argument
564 removeTabAt(int position) argument
[all...]
H A DLauncherActivity.java116 public Intent intentForPosition(int position) { argument
122 ListItem item = mActivitiesList.get(position);
130 public ListItem itemForPosition(int position) { argument
135 return mActivitiesList.get(position);
142 public Object getItem(int position) { argument
143 return position;
146 public long getItemId(int position) { argument
147 return position;
150 public View getView(int position, View convertView, ViewGroup parent) { argument
158 bindView(view, mActivitiesList.get(position));
402 onListItemClick(ListView l, View v, int position, long id) argument
412 intentForPosition(int position) argument
422 itemForPosition(int position) argument
[all...]
H A DListActivity.java199 * getListView().getItemAtPosition(position) if they need to access the
204 * @param position The position of the view in the list
207 protected void onListItemClick(ListView l, View v, int position, long id) { argument
271 * position with the adapter's data
273 * @param position
275 public void setSelection(int position) { argument
276 mList.setSelection(position);
280 * Get the position of the currently selected list item.
317 public void onItemClick(AdapterView<?> parent, View v, int position, lon
[all...]
H A DListFragment.java159 public void onItemClick(AdapterView<?> parent, View v, int position, long id) {
160 onListItemClick((ListView)parent, v, position, id);
222 * getListView().getItemAtPosition(position) if they need to access the
227 * @param position The position of the view in the list
230 public void onListItemClick(ListView l, View v, int position, long id) { argument
251 * position with the adapter's data
253 * @param position
255 public void setSelection(int position) { argument
257 mList.setSelection(position);
[all...]
/frameworks/base/core/java/android/content/
H A DSyncActivityTooManyDeletes.java61 // the order of these must match up with the constants for position used in onItemClick
109 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
110 // the constants for position correspond to the items options array in onCreate()
111 if (position == 0) startSyncReallyDelete();
112 else if (position == 1) startSyncUndoDeletes();
/frameworks/base/core/java/android/database/
H A DAbstractCursor.java153 * to a new position, giving the subclass a chance to update any state it
155 * cursor will scroll to the beforeFirst position.
157 * @param oldPosition the position that we're moving from
158 * @param newPosition the position that we're moving to
195 public final boolean moveToPosition(int position) { argument
196 // Make sure position isn't past the end of the cursor
198 if (position >= count) {
203 // Make sure position isn't before the beginning of the cursor
204 if (position < 0) {
210 if (position
228 fillWindow(int position, CursorWindow window) argument
[all...]

Completed in 319 milliseconds

123456789