Searched refs:position (Results 276 - 300 of 353) sorted by relevance

<<1112131415

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DSmartCamera.java165 // of the screen. Based on the item position that is selected, we inflate that
170 int position, long id) {
172 numImages = position+1;
/frameworks/base/tests/touchlag/
H A Dtouchlag.cpp190 struct position { struct in struct:Queue
194 position q[16];
/frameworks/base/core/java/android/transition/
H A DTransition.java384 int position = parent.getPositionForView(view);
385 long itemId = parent.getItemIdAtPosition(position);
1094 int position = listview.getPositionForView(view);
1095 itemId = listview.getItemIdAtPosition(position);
1180 int position = listview.getPositionForView(view);
1181 long itemId = listview.getItemIdAtPosition(position);
/frameworks/av/services/audioflinger/
H A DTracks.cpp1157 uint32_t consumedAlready = buf.position();
1285 ((head.position() / mFrameSize) * mLocalTimeFreq / sr);
1290 // that the sample's position in the output stream is so far out of
1308 head.pts(), head.position(), pts,
1314 // the current output position is within this threshold, then we will
1330 head.position(), buffer->frameCount);
1339 // the gap between the current output position and the proper start of
1350 head.position() + lateFrames * mFrameSize;
1365 ALOGV("*** late: head.pos=%d frameCount=%u", head.position(), buffer->frameCount);
1382 head.position());
[all...]
/frameworks/base/core/java/android/widget/
H A DLinearLayout.java355 final int position;
357 position = child.getRight() + lp.rightMargin;
359 position = child.getLeft() - lp.leftMargin - mDividerWidth;
361 drawVerticalDivider(canvas, position);
368 int position;
371 position = getPaddingLeft();
373 position = getWidth() - getPaddingRight() - mDividerWidth;
378 position = child.getLeft() - lp.leftMargin - mDividerWidth;
380 position = child.getRight() + lp.rightMargin;
383 drawVerticalDivider(canvas, position);
[all...]
H A DEditor.java165 * is attached to the window (so its position is still unknown).
187 // Global listener that detects changes in the global position of the TextView
660 // If a URLSpan (web address, email, phone...) is found at that position, select it.
763 final float[] position = TEMP_POSITION;
764 position[0] = positionX;
765 position[1] = positionY;
771 position[0] -= view.getScrollX();
772 position[1] -= view.getScrollY();
775 if (position[0] < 0 || position[
2401 getItem(int position) argument
2406 getItemId(int position) argument
2411 getView(int position, View convertView, ViewGroup parent) argument
2673 onItemClick(AdapterView<?> parent, View view, int position, long id) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java269 public View getView(int position, View convertView, ViewGroup parent) { argument
287 Header header = getItem(position);
999 protected void onListItemClick(ListView l, View v, int position, long id) { argument
1003 super.onListItemClick(l, v, position, id);
1006 Object item = mAdapter.getItem(position);
1007 if (item instanceof Header) onHeaderClick((Header) item, position);
1018 * @param position The header's position in the list.
1020 public void onHeaderClick(Header header, int position) { argument
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp649 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>());
650 position[0] = tr.transform(win.left, win.top);
651 position[1] = tr.transform(win.left, win.bottom);
652 position[2] = tr.transform(win.right, win.bottom);
653 position[3] = tr.transform(win.right, win.top);
655 position[i].y = hw_h - position[i].y;
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java588 float position = isHorizontal() ? x : y;
593 position > target : position < target;
596 position < target : position > target;
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp705 jint position) {
712 return android_media_translateErrorCode( lpTrack->setPosition(position) );
719 uint32_t position = 0; local
726 lpTrack->getPosition(&position);
727 return (jint)position;
704 android_media_AudioTrack_set_position(JNIEnv *env, jobject thiz, jint position) argument
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DVideoDumpView.java355 mTriangleVertices.put(mTriangleVerticesData).position(0);
400 mTriangleVertices.position(TRIANGLE_VERTICES_DATA_POS_OFFSET);
409 mTriangleVertices.position(TRIANGLE_VERTICES_DATA_UV_OFFSET);
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
H A DScoAudioTest.java634 int position, long id) {
635 if (mCurrentMode != position) {
636 mCurrentMode = position;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java133 "attribute vec4 position;\n" +
139 " gl_Position = projection * position;\n" +
436 // position it appropriately. As such, we no longer needed
521 final int attribPosition = glGetAttribLocation(program, "position");
545 triangleVertices.position(TRIANGLE_VERTICES_DATA_POS_OFFSET);
549 triangleVertices.position(TRIANGLE_VERTICES_DATA_UV_OFFSET);
575 triangleVertices.put(verticesData).position(0);
/frameworks/native/opengl/libagl/
H A Dlight.cpp69 c->lighting.lights[i].position.z = 0x10000;
226 &l.objPosition, &l.position);
228 l.objPosition = l.position;
382 if (ggl_unlikely(l.position.w)) {
428 if (ggl_unlikely(l.position.w)) {
538 mv.point4(&mv, &light.position, reinterpret_cast<vec4_t const*>(params));
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClientImpl.cpp182 int playbackStatus, int64_t position) {
186 uniqueId, decryptHandle.get(), playbackStatus, position);
180 setPlaybackStatus( int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) argument
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.cpp378 status_t VideoEditorPlayer::VeAudioOutput::getPosition(uint32_t *position) const {
381 return mTrack->getPosition(position);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h86 virtual status_t getPosition(uint32_t *position) const;
196 virtual status_t getPosition(uint32_t *position) const;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s26 ; * [in] pBitOffset pointer to the bit position in the byte pointed
48 ; * current bit position in the byte pointed by
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s26 ; * [in] pBitOffset pointer to the bit position in the byte pointed
48 ; * current bit position in the byte pointed by
/frameworks/compile/mclinker/lib/CodeGen/
H A DMCLinker.cpp48 return (X->position() < Y->position());
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
H A DPhotoViewFragment.java92 protected final static String ARG_POSITION = "arg-position";
147 * @param position
151 Intent intent, int position, boolean onlyShowSpinner) {
154 b.putInt(ARG_POSITION, position);
543 // If the cursor changes, and new items are added at an earlier position than
545 // try to find a photo with the same url and move the cursor to that position.
150 newInstance( Intent intent, int position, boolean onlyShowSpinner) argument
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneData.java94 public TimeZoneInfo get(int position) { argument
95 return mTimeZones.get(position);
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java268 public void onItemClick(AdapterView<?> adapterView,View view, int position,
272 .getRecipientEntry(position));
455 // Desired position shows at least 1 line of chips below the action
1490 // regardless of the position of the chip tapped.
1524 public void onCheckedItemChanged(int position) { argument
1527 listView.setItemChecked(position, true);
1529 mCheckedItem = position;
1671 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
1672 if (position < 0) {
1675 submitItemAtPosition(position);
1678 submitItemAtPosition(int position) argument
[all...]
/frameworks/av/include/media/
H A DAudioRecord.h44 EVENT_MARKER = 2, // Record head is at the specified marker position
46 EVENT_NEW_POS = 3, // Record head is at a new position
89 * - EVENT_MARKER: pointer to const uint32_t containing the marker position in frames.
90 * - EVENT_NEW_POS: pointer to const uint32_t containing the new position in frames.
140 * to consume new PCM data and inform of marker, position updates, etc.
235 /* Sets marker position. When record reaches the number of frames specified,
238 * To set a marker at a position which would compute as 0,
239 * a workaround is to the set the marker at a nearby position such as ~0 or 1.
245 * marker: marker position expressed in wrapping (overflow) frame units,
255 /* Sets position updat
[all...]
H A DMediaPlayerInterface.h99 virtual status_t getPosition(uint32_t *position) const = 0;

Completed in 755 milliseconds

<<1112131415