Searched defs:position (Results 151 - 175 of 220) sorted by relevance

123456789

/frameworks/native/opengl/tools/glgen/stubs/jsr239/
H A DGLCHeader.cpp109 positionID = _env->GetFieldID(bufferClass, "position", "I");
118 jint position; local
123 position = _env->GetIntField(buffer, positionID);
126 *remaining = (limit - position) << elementSizeShift;
173 jint position = _env->GetIntField(buffer, positionID); local
175 buf = ((char*) buf) + (position << elementSizeShift);
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
H A DPhotoViewFragment.java123 public PhotoViewFragment(Intent intent, int position, PhotoPagerAdapter adapter, argument
126 mPosition = position;
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTitleStrip.java230 * Set the {@link Gravity} used to position text within the title strip.
332 void updateTextPositions(int position, float positionOffset, boolean force) { argument
333 if (position != mLastKnownCurrentPage) {
334 updateText(position, mPager.getAdapter());
475 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument
478 position++;
480 updateTextPositions(position, positionOffset, false);
484 public void onPageSelected(int position) { argument
/frameworks/base/media/java/android/media/
H A DRingtoneManager.java374 * Gets a {@link Ringtone} for the ringtone at the given position in the
377 * @param position The position (in the {@link Cursor}) of the ringtone.
380 public Ringtone getRingtone(int position) { argument
385 mPreviousRingtone = getRingtone(mContext, getRingtoneUri(position), inferStreamType());
390 * Gets a {@link Uri} for the ringtone at the given position in the {@link Cursor}.
392 * @param position The position (in the {@link Cursor}) of the ringtone.
395 public Uri getRingtoneUri(int position) { argument
397 // cause position t
[all...]
/frameworks/av/drm/common/
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
/frameworks/av/drm/libdrmframework/
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/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...]
/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...]
/frameworks/base/core/java/android/widget/
H A DActivityChooserView.java529 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
531 final int itemViewType = adapter.getItemViewType(position);
539 // The item at position zero is the default already.
540 if (position > 0) {
541 mAdapter.getDataModel().setDefaultActivity(position);
546 position = mAdapter.getShowDefaultActivity() ? position : position + 1;
547 Intent launchIntent = mAdapter.getDataModel().chooseActivity(position);
645 public int getItemViewType(int position) { argument
671 getItem(int position) argument
686 getItemId(int position) argument
690 getView(int position, View convertView, ViewGroup parent) argument
[all...]
H A DSlidingDrawer.java482 private void animateClose(int position) { argument
483 prepareTracking(position);
484 performFling(position, mMaximumAcceleration, true);
487 private void animateOpen(int position) { argument
488 prepareTracking(position);
489 performFling(position, -mMaximumAcceleration, true);
492 private void performFling(int position, float velocity, boolean always) { argument
493 mAnimationPosition = position;
498 (position > mTopOffset + (mVertical ? mHandleHeight : mHandleWidth) &&
501 // us to retract. Animate back to the expanded position
541 prepareTracking(int position) argument
566 moveHandle(int position) argument
[all...]
H A DSpinner.java466 * @param delta Change in the selected position. +1 means selection is moving to the right,
493 // Make selected view and position it
528 * @param position Position in the spinner for the view to obtain
531 private View makeAndAddView(int position) { argument
536 child = mRecycler.get(position);
546 child = mAdapter.getView(position, null, this);
555 * Helper for makeAndAddView to set the position of a view
558 * @param child The view to position
724 public Object getItem(int position) { argument
725 return mAdapter == null ? null : mAdapter.getItem(position);
728 getItemId(int position) argument
732 getView(int position, View convertView, ViewGroup parent) argument
736 getDropDownView(int position, View convertView, ViewGroup parent) argument
774 isEnabled(int position) argument
783 getItemViewType(int position) argument
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DResolverActivity.java261 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
272 startSelected(position, false);
591 public ResolveInfo resolveInfoForPosition(int position) { argument
596 return mList.get(position).ri;
599 public Intent intentForPosition(int position) { argument
604 DisplayResolveInfo dri = mList.get(position);
620 public Object getItem(int position) { argument
621 return position;
624 public long getItemId(int position) { argument
625 return position;
628 getView(int position, View convertView, ViewGroup parent) argument
666 onItemLongClick(AdapterView<?> parent, View view, int position, long id) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DListScenario.java87 * Return whether the item at position is selectable (i.e is a separator).
90 private boolean isItemAtPositionSelectable(int position) { argument
91 return !mUnselectableItems.contains(position);
135 * Set the position that starts selected.
137 * @param startingSelectionPosition The selected position within the adapter's data set.
158 * @param position The position in the list.
162 int position, double itemScreenSizeFactor) {
163 mOverrideItemScreenSizeFactors.put(position, itemScreenSizeFactor);
168 * Set a position a
161 setPositionScreenSizeFactorOverride( int position, double itemScreenSizeFactor) argument
172 setPositionUnselectable(int position) argument
287 positionClicked(int position) argument
296 positionLongClicked(int position) argument
490 getValueAtPosition(int position) argument
500 getHeightForPosition(int position) argument
540 createView(int position, ViewGroup parent, int desiredHeight) argument
548 convertView(int position, View convertView, ViewGroup parent) argument
588 getItemViewType(int position) argument
613 getItem(int position) argument
617 getItemId(int position) argument
627 isEnabled(int position) argument
631 getView(int position, View convertView, ViewGroup parent) argument
652 getItemViewType(int position) argument
[all...]
/frameworks/base/libs/androidfw/
H A DVelocityTracker.cpp254 ALOGD(" %d: position (%0.3f, %0.3f), "
289 // Note that ACTION_UP and ACTION_POINTER_UP always report the last known position
290 // of the pointers that went up. ACTION_POINTER_UP does include the new position of
581 const VelocityTracker::Position& position = movement.getPosition(id);
582 x[m] = position.x;
583 y[m] = position.y;
617 // No velocity data available for this pointer, but we do have its current position.
717 const VelocityTracker::Position& position = positions[index++]; local
719 updateState(state, eventTime, position.x, position
901 const VelocityTracker::Position& position = movement.getPosition(id); local
[all...]
/frameworks/base/libs/hwui/
H A DProgram.h363 * Name of the position attribute.
365 int position; member in class:android::uirenderer::Program
/frameworks/base/libs/hwui/font/
H A DFont.cpp132 SkPathMeasure& measure, SkPoint* position, SkVector* tangent) {
139 measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent);
157 position->fX + destination[0].fX,
158 position->fY + destination[0].fY, u1, v2,
159 position->fX + destination[1].fX,
160 position->fY + destination[1].fY, u2, v2,
161 position->fX + destination[2].fX,
162 position->fY + destination[2].fY, u2, v1,
163 position->fX + destination[3].fX,
164 position
131 drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset, SkPathMeasure& measure, SkPoint* position, SkVector* tangent) argument
216 SkPoint position; local
[all...]
/frameworks/ex/common/java/com/android/common/contacts/
H A DBaseEmailAddressAdapter.java308 protected int getItemViewType(int partitionIndex, int position) { argument
315 int position, ViewGroup parent) {
325 protected void bindView(View v, int partition, Cursor cursor, int position) { argument
348 protected boolean isEnabled(int partitionIndex, int position) { argument
314 newView(Context context, int partitionIndex, Cursor cursor, int position, ViewGroup parent) argument
/frameworks/ex/photoviewer/src/com/android/ex/photo/
H A DPhotoViewActivity.java91 * will be at the proper position.
348 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument
352 public void onPageSelected(int position) { argument
353 mPhotoIndex = position;
474 final int position = mViewPager.getCurrentItem() + 1;
488 if (mIsEmpty || !hasAlbumCount || position <= 0) {
491 subtitle = getResources().getString(R.string.photo_view_count, position, mAlbumCount);
502 * at the current position so that it refers to the current image on screen.
503 * @return the cursor at the current position or
511 final int position
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewActivity.java92 * will be at the proper position.
365 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument
369 public void onPageSelected(int position) { argument
370 mPhotoIndex = position;
491 final int position = mViewPager.getCurrentItem() + 1;
505 if (mIsEmpty || !hasAlbumCount || position <= 0) {
508 subtitle = getResources().getString(R.string.photo_view_count, position, mAlbumCount);
519 * at the current position so that it refers to the current image on screen.
520 * @return the cursor at the current position or
528 final int position
[all...]
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeAac.cpp210 SLmillisecond position; local
211 SLresult res = (*caller)->GetPosition(caller, &position);
214 printf("SL_PLAYEVENT_HEADATMARKER position=%u ms\n", position);
217 printf("SL_PLAYEVENT_HEADATNEWPOS position=%u ms\n", position);
220 printf("SL_PLAYEVENT_HEADATEND position=%u ms, all decoded data has been received\n",
221 position);
385 /* Periodically ask for position and duration */
387 SLmillisecond position; local
568 SLmillisecond position; local
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dxaplay.c51 XAmillisecond seekPos = XA_TIME_UNKNOWN; // seek to this position initially
135 XAmillisecond position; local
136 result = (*caller)->GetPosition(caller, &position);
140 printf("XA_PLAYEVENT_HEADATEND current position=%u ms\n", position);
144 printf("XA_PLAYEVENT_HEADATNEWPOS current position=%u ms\n", position);
148 printf("XA_PLAYEVENT_HEADATMARKER current position=%u ms\n", position);
210 // display position periodicall
212 XAmillisecond position; local
559 XAmillisecond position; local
[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).

Completed in 4214 milliseconds

123456789