Searched refs:position (Results 226 - 250 of 353) sorted by relevance

1234567891011>>

/frameworks/ex/chips/src/com/android/ex/chips/
H A DBaseRecipientAdapter.java920 public Object getItem(int position) { argument
921 return getEntries().get(position);
925 public long getItemId(int position) { argument
926 return position;
935 public int getItemViewType(int position) { argument
936 return getEntries().get(position).getEntryType();
940 public boolean isEnabled(int position) { argument
941 return getEntries().get(position).isSelectable();
945 public View getView(int position, View convertView, ViewGroup parent) { argument
946 final RecipientEntry entry = getEntries().get(position);
[all...]
/frameworks/base/core/java/android/widget/
H A DFastScroller.java150 /** The position of the first visible item in the list. */
159 /** The current scrollbar position. */
207 /** Whether to precisely match the thumb position to the list. */
418 public void setScrollbarPosition(int position) { argument
419 if (position == View.SCROLLBAR_POSITION_DEFAULT) {
420 position = mList.isLayoutRtl() ?
424 if (mScrollbarPosition != position) {
425 mScrollbarPosition = position;
426 mLayoutFromRight = position != View.SCROLLBAR_POSITION_LEFT;
625 // Don't adjust the vertical position
896 scrollTo(float position) argument
1103 setThumbPos(float position) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLLogWrapper.java935 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/av/include/media/
H A DAudioTrack.h56 EVENT_MARKER = 3, // Playback head is at the specified marker position
58 EVENT_NEW_POS = 4, // Playback head is at a new position
67 // in the mapping from frame position to presentation time.
110 * - EVENT_MARKER: pointer to const uint32_t containing the marker position in frames.
111 * - EVENT_NEW_POS: pointer to const uint32_t containing the new position in frames.
169 * to provide new data and inform of marker, position updates, etc.
361 /* Sets marker position. When playback reaches the number of frames specified, a callback with
363 * notification callback. To set a marker at a position which would compute as 0,
364 * a workaround is to the set the marker at a nearby position such as ~0 or 1.
370 * marker: marker position expresse
[all...]
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
H A DCameraPreviewActivity.java178 View view, int position, long id) {
179 if (mPreviewSizes.get(position) != mPreviewSize) {
180 mNextPreviewSize = mPreviewSizes.get(position);
/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp110 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 DMyGLSurfaceView.java88 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 DDrmManagerService.h82 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position);
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
H A DDrmPassthruPlugIn.h59 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position);
/frameworks/av/include/drm/
H A DDrmManagerClient.h67 * @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/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DarmVCM4P2_SetPredDir_s.s23 ; * 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 DarmVCM4P2_SetPredDir_s.s23 ; * position as defined in subclause 6.1.3.8, of ISO/IEC
/frameworks/base/core/java/com/android/internal/util/
H A DFastXmlSerializer.java229 int position;
230 if ((position = mBytes.position()) > 0) {
232 mOutputStream.write(mBytes.array(), 0, 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/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
/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
/frameworks/av/drm/libdrmframework/plugins/common/include/
H A DDrmEngineBase.h65 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position);
277 * @param[in] position Position in the file (in milliseconds) where the start occurs.
283 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) = 0;
378 * @param[in] offset Start position of the content
393 * @param[in] offset Start position of the content
516 * @param[in] offset Offset with which to update the file position.
/frameworks/base/media/java/android/media/
H A DMiniThumbFile.java165 mBuffer.position(0);
247 mBuffer.position(0);
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DManualActivity.java171 int position, long id) {
172 DisplayModifier.setIndex(mIndex, position);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DHwTests.java147 protected void onListItemClick(ListView l, View v, int position, long id) { argument
148 Map<String, Object> map = (Map<String, Object>)l.getItemAtPosition(position);
/frameworks/base/tests/backup/src/com/android/backuptest/
H A DBackupTestActivity.java197 public void onListItemClick(ListView l, View v, int position, long id) argument
199 Test t = mTests[position];
/frameworks/compile/mclinker/lib/Support/Unix/
H A DPathV3.inc45 // -> pop previous position of '/' P
/frameworks/compile/mclinker/lib/Support/Windows/
H A DPathV3.inc38 // -> pop previous position of '/' P
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A Dcarousel.rs44 float3 position;
176 float startAngle; // position of initial card, in radians
235 static float2 touchPosition; // position of first touch, as defined by last call to doStart(x,y)
392 // Return angle of slot in position p.
398 // Return angle for card in position p.
436 // from - position of the camera in x,y,z
863 // Compute position in screen space of top corner or bottom corner of card
924 // Compute alpha based on position. We fade cards quickly so they cannot overlap
1077 const float3 point = (ray.position + t*ray.direction);
1084 const float3 point = (ray.position
[all...]
/frameworks/ex/common/tests/src/com/android/common/widget/
H A DGroupingListAdapterTests.java225 // 4th to the 6th position
301 private void assertPositionMetadata(int position, int itemType, boolean isExpanded, argument
304 mAdapter.obtainPositionMetadata(metadata, position);

Completed in 7373 milliseconds

1234567891011>>