/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
H A D | ListPopupWindowTest.java | 83 public void onItemClick(AdapterView<?> parent, View view, int position, argument 272 // position. Note that we use any() for other parameters, as we don't want to tie ourselves 302 // position. Note that we use any() for other parameters, as we don't want to tie ourselves 470 public Object getItem(int position) { 471 return POPUP_CONTENT[position]; 475 public long getItemId(int position) { 476 return position; 480 public View getView(int position, View convertView, ViewGroup parent) { 490 viewHolder.title.setText(POPUP_CONTENT[position]);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ChooserActivity.java | 470 Log.d(TAG, "position of selected app/service/caller is " + 1055 public int getPositionTargetType(int position) { argument 1059 if (position < callerTargetCount) { 1065 if (position - offset < serviceTargetCount) { 1071 if (position - offset < standardTargetCount) { 1079 public TargetInfo getItem(int position) { argument 1080 return targetInfoForPosition(position, true); 1084 public TargetInfo targetInfoForPosition(int position, boolean filtered) { argument 1088 if (position < callerTargetCount) { 1089 return mCallerTargets.get(position); 1356 getItem(int position) argument 1362 getItemId(int position) argument 1367 getView(int position, View convertView, ViewGroup parent) argument [all...] |
H A D | AlertController.java | 1071 public View getView(int position, View convertView, ViewGroup parent) { 1072 View view = super.getView(position, convertView, parent); 1074 boolean isItemChecked = mCheckedItems[position]; 1076 listView.setItemChecked(position, true); 1141 public void onItemClick(AdapterView<?> parent, View v, int position, long id) { 1142 mOnClickListener.onClick(dialog.mDialogInterface, position); 1151 public void onItemClick(AdapterView<?> parent, View v, int position, long id) { 1153 mCheckedItems[position] = listView.isItemChecked(position); 1156 dialog.mDialogInterface, position, listVie 1188 getItemId(int position) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 526 * <p>After this method returns, the current position of the buffer is 527 * updated: the position is incremented by the number of elements written 555 // now update the buffer's position 556 int position = dst.position(); 557 position += pixelSize >> shift; 558 dst.position(position); 562 * <p>Copy the pixels from the buffer, beginning at the current position, 567 * <p>After this method returns, the current position o [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | CalendarViewLegacyDelegate.java | 234 * Command for adjusting the position after a scroll/fling. 815 int position = getWeeksSinceMinDate(date); 819 if (position < firstFullyVisiblePosition || position > lastFullyVisiblePosition 828 position = 0; 830 position = getWeeksSinceMinDate(mFirstDayOfMonth); 835 mListView.smoothScrollToPositionFromTop(position, mListScrollTopOffset, 838 mListView.setSelectionFromTop(position, mListScrollTopOffset); 985 // Fix the position after a scroll or a fling ends 1075 public Object getItem(int position) { argument 1080 getItemId(int position) argument 1085 getView(int position, View convertView, ViewGroup parent) argument [all...] |
H A D | FastScroller.java | 141 // Used to convert between y-coordinate and thumb position within track. 160 /** The position of the first visible item in the list. */ 169 /** The current scrollbar position. */ 218 /** Whether to precisely match the thumb position to the list. */ 477 public void setScrollbarPosition(int position) { argument 478 if (position == View.SCROLLBAR_POSITION_DEFAULT) { 479 position = mList.isLayoutRtl() ? 483 if (mScrollbarPosition != position) { 484 mScrollbarPosition = position; 485 mLayoutFromRight = position ! 989 scrollTo(float position) argument 1196 setThumbPos(float position) argument [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLLogWrapper.java | 935 int position = input2.position(); 937 byteCount = input2.limit() - position; 943 input2.position(position); 946 int position = input2.position(); 948 byteCount = (input2.limit() - position) * 2; 955 input2.position(position); [all...] |
/frameworks/base/services/net/java/android/net/ip/ |
H A D | RouterAdvertisementDaemon.java | 283 mRaLength = ra.position(); 294 mRaLength = ra.position(); 298 mRaLength = ra.position(); 304 mRaLength = ra.position(); 311 mRaLength = ra.position(); 318 mRaLength = ra.position();
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | MediaBrowserServiceSupport.java | 394 public void onSeekTo(long position) { argument 395 Log.d(TAG, "onSeekTo:" + position); 396 mPlayback.seekTo((int) position); 643 long position = PlaybackStateCompat.PLAYBACK_POSITION_UNKNOWN; 645 position = mPlayback.getCurrentStreamPosition(); 661 stateBuilder.setState(state, position, 1.0f, SystemClock.elapsedRealtime());
|
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
H A D | PlaybackStateCompat.java | 39 * {@link PlaybackStateCompat#STATE_PLAYING}, the current playback position, 322 * Use this value for the position to indicate the position is not known. 530 PlaybackStateCompat(int state, long position, long bufferedPosition, argument 535 mPosition = position; 566 bob.append(", position=").append(mPosition); 567 bob.append(", buffered position=").append(mBufferedPosition); 622 * Get the current playback position in ms. 629 * Get the current buffered position in ms. This is the farthest playback 630 * point that can be reached from the current position usin 1133 setState(@tate int state, long position, float playbackSpeed) argument 1171 setState(@tate int state, long position, float playbackSpeed, long updateTime) argument [all...] |
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | MediaBrowserServiceSupport.java | 394 public void onSeekTo(long position) { argument 395 Log.d(TAG, "onSeekTo:" + position); 396 mPlayback.seekTo((int) position); 643 long position = PlaybackStateCompat.PLAYBACK_POSITION_UNKNOWN; 645 position = mPlayback.getCurrentStreamPosition(); 661 stateBuilder.setState(state, position, 1.0f, SystemClock.elapsedRealtime());
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
H A D | DiffUtil.java | 123 // These arrays lines keep the max reachable position for each k-line. 301 * @param oldItemPosition The position of the item in the old list 302 * @param newItemPosition The position of the item in the new list 320 * @param oldItemPosition The position of the item in the old list 321 * @param newItemPosition The position of the item in the new list which replaces the 339 * @param oldItemPosition The position of the item in the old list 340 * @param newItemPosition The position of the item in the new list 422 * position. 434 // earlier position and its move will be dispatched when we process the matching removal 569 * @param x The x position i [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GLDepthTestActivity.java | 122 mTriangleVertices.put(mTriangleVerticesData).position(0); 152 mTriangleVertices.position(TRIANGLE_VERTICES_DATA_POS_OFFSET); 156 mTriangleVertices.position(TRIANGLE_VERTICES_DATA_UV_OFFSET);
|
/frameworks/compile/slang/ |
H A D | slang_rs_reflect_utils.cpp | 142 int position = kEntriesPerLine; // We start with a new line and indent. local 144 if (++position >= kEntriesPerLine) { 147 position = 0;
|
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/ |
H A D | CameraPreviewActivity.java | 179 View view, int position, long id) { 180 if (mPreviewSizes.get(position) != mPreviewSize) { 181 mNextPreviewSize = mPreviewSizes.get(position);
|
/frameworks/support/wear/src/android/support/wear/widget/drawer/ |
H A D | WearableActionDrawerMenu.java | 218 void menuItemChanged(int position); argument 220 void menuItemAdded(int position); argument 222 void menuItemRemoved(int position); argument
|
/frameworks/wilhelm/tests/listening/ |
H A D | slesTest_playMuteSolo.cpp | 110 SLmillisecond position; local 111 res = (*playItf)->GetPosition(playItf, &position); ExitOnError(res); 112 printf("position=%u\n", (unsigned) position); 295 /* Setup to receive playback events on position updates */
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | MyGLSurfaceView.java | 88 mVertices.put(mVerticesData).position(0); 114 mVertices.position(VERTICES_DATA_POS_OFFSET); 121 mVertices.position(VERTICES_DATA_UV_OFFSET);
|
/frameworks/av/drm/libdrmframework/include/ |
H A D | NoOpDrmManagerClientImpl.h | 46 int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position);
|
/frameworks/av/drm/libdrmframework/plugins/passthru/include/ |
H A D | DrmPassthruPlugIn.h | 59 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position);
|
/frameworks/av/include/drm/ |
H A D | DrmManagerClient.h | 67 * @param[in] offset Start position of the content 123 * @param[in] position Position in the file (in milliseconds) where the start occurs. 129 sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position); 180 * @param[in] offset Offset with which to update the file position.
|
/frameworks/av/media/libaaudio/src/client/ |
H A D | AudioStreamInternal.cpp | 385 int64_t framePosition = command.timestamp.position; 407 processTimestamp(message->timestamp.position, message->timestamp.timestamp); 555 void AudioStreamInternal::processTimestamp(uint64_t position, int64_t time) { argument 556 mClockModel.processTimestamp(position, time);
|
H A D | AudioStreamInternal.h | 139 // Offset from underlying frame position. 156 void processTimestamp(uint64_t position, int64_t time);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
H A D | armVCM4P2_SetPredDir_s.s | 37 ; * position as defined in subclause 6.1.3.8, of ISO/IEC
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/ |
H A D | armVCM4P2_SetPredDir_s.s | 37 ; * position as defined in subclause 6.1.3.8, of ISO/IEC
|