Searched refs:position (Results 126 - 147 of 147) sorted by relevance

123456

/frameworks/base/core/java/android/view/
H A DViewRoot.java1575 // to update the scroll position if the focus has changed (in which
2294 if (DEBUG_TRACKBALL) Log.v(TAG, "TB X=" + x.position + " step="
2297 + " / Y=" + y.position + " step="
3139 float position; field in class:ViewRoot.TrackballAxis
3148 position = 0;
3171 position = 0;
3181 position = 0;
3216 position += off;
3217 return (absPosition = Math.abs(position));
3235 final int dir = position >
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java584 float position = isHorizontal() ? x : y;
589 position > target : position < target;
592 position < target : position > target;
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp685 jint position) {
691 return android_media_translateErrorCode( lpTrack->setPosition(position) );
705 uint32_t position = 0; local
708 lpTrack->getPosition(&position);
709 return (jint)position;
684 android_media_AudioTrack_set_position(JNIEnv *env, jobject thiz, jint position) argument
H A Dandroid_opengl_GLES10.cpp73 positionID = _env->GetFieldID(bufferClass, "position", "I");
102 jint position; local
109 position = _env->GetIntField(buffer, positionID);
112 *remaining = (limit - position) << elementSizeShift;
140 jint position = _env->GetIntField(buffer, positionID); local
142 buf += position << elementSizeShift;
H A Dandroid_opengl_GLES11.cpp67 positionID = _env->GetFieldID(bufferClass, "position", "I");
97 jint position; local
104 position = _env->GetIntField(buffer, positionID);
107 *remaining = (limit - position) << elementSizeShift;
136 jint position = _env->GetIntField(buffer, positionID); local
138 buf += position << elementSizeShift;
H A Dandroid_opengl_GLES11Ext.cpp69 positionID = _env->GetFieldID(bufferClass, "position", "I");
99 jint position; local
106 position = _env->GetIntField(buffer, positionID);
109 *remaining = (limit - position) << elementSizeShift;
138 jint position = _env->GetIntField(buffer, positionID); local
140 buf += position << elementSizeShift;
H A Dandroid_opengl_GLES20.cpp60 positionID = _env->GetFieldID(bufferClass, "position", "I");
90 jint position; local
97 position = _env->GetIntField(buffer, positionID);
100 *remaining = (limit - position) << elementSizeShift;
129 jint position = _env->GetIntField(buffer, positionID); local
131 buf += position << elementSizeShift;
H A Dcom_google_android_gles_jni_GLImpl.cpp112 positionID = _env->GetFieldID(bufferClass, "position", "I");
141 jint position; local
148 position = _env->GetIntField(buffer, positionID);
151 *remaining = (limit - position) << elementSizeShift;
199 jint position = _env->GetIntField(buffer, positionID); local
201 buf = ((char*) buf) + (position << elementSizeShift);
/frameworks/base/media/libmedia/
H A DAudioRecord.cpp330 // the record head position will reset to 0, so if a marker is set, we need
397 status_t AudioRecord::getPosition(uint32_t *position) argument
399 if (position == 0) return BAD_VALUE;
401 *position = mCblk->user;
622 // Manage new position callback
634 // stuck here not being able to handle timed events (position, markers).
/frameworks/base/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/base/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)) {
421 if (ggl_unlikely(l.position.w)) {
531 mv.point4(&mv, &light.position, reinterpret_cast<vec4_t const*>(params));
/frameworks/base/core/java/android/widget/
H A DOverScroller.java97 * position.
194 * Instead of setting a new final position and extending
204 * Sets the final position (X) for this scroller.
211 * @deprecated OverScroller's final position may change during an animation.
212 * Instead of setting a new final position and extending
221 * Sets the final position (Y) for this scroller.
228 * @deprecated OverScroller's final position may change during an animation.
229 * Instead of setting a new final position and extending
397 * @param startX Starting/current X position
398 * @param finalX Desired final X position
628 setFinalPosition(int position) argument
[all...]
/frameworks/base/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp1547 int16_t VolumeConvertStereoPosition(int16_t position){ argument
1550 convertedPosition = (int16_t)(((float)position/1000)*96);
1562 // position: stereo position
1567 int VolumeSetStereoPosition(EffectContext *pContext, int16_t position){ argument
1575 pContext->pBundledContext->positionSaved = position;
1583 //LOGV("\tVolumeSetStereoPosition Position to be set is %d %d\n", position, Balance);
1584 pContext->pBundledContext->positionSaved = position;
1612 //position, Balance);
1629 // position
1632 VolumeGetStereoPosition(EffectContext *pContext, int16_t *position) argument
2320 int16_t position; local
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebView.java2286 // position.
2350 // the scroll position is adjusted at the beginning of the
2418 // method on the native side to compute the position of the fixed layers.
3073 // disallow WebView to change the scroll position as History Picture
3122 * title bar off the screen. Sometimes, the scroll position is set before
3124 * loading, keep track of the URL and new scroll position so we can perform
3130 * The destination Y scroll position to be used when the page finishes
3139 // return false if the view scroll to the exact position as it is requested,
3143 // disallow WebView to change the scroll position as History Picture
3146 // restore the scroll position
7360 getView(int position, View convertView, ViewGroup parent) argument
7415 item(int position) argument
7423 getItemId(int position) argument
7437 isEnabled(int position) argument
[all...]
H A DWebTextView.java649 public View getView(int position, View convertView, ViewGroup parent) { argument
651 (TextView) super.getView(position, convertView, parent);
787 * Determine the position and size of WebTextView, and add it to the
791 * @param x x-position of the textfield.
792 * @param y y-position of the textfield.
H A DHTML5VideoViewProxy.java93 // The seek position.
552 * @param time is the position in the video stream.
617 private native void nativeOnTimeupdate(int position, int nativePointer); argument
/frameworks/base/core/java/android/app/
H A DSuggestionsAdapter.java470 public View getView(int position, View convertView, ViewGroup parent) { argument
472 return super.getView(position, convertView, parent);
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp746 positionID = _env->GetFieldID(bufferClass, "position", "I");
755 jint position; local
762 position = _env->GetIntField(buffer, positionID);
765 *remaining = (limit - position) << elementSizeShift;
/frameworks/base/services/java/com/android/server/
H A DAlarmManagerService.java390 int position = 0;
395 Slog.v(TAG, position + ": " + timeStr
397 position += 1;
/frameworks/base/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1374 status_t MediaPlayerService::AudioOutput::getPosition(uint32_t *position) argument
1377 return mTrack->getPosition(position);
1574 status_t MediaPlayerService::AudioCache::getPosition(uint32_t *position) argument
1576 if (position == 0) return BAD_VALUE;
1577 *position = mSize;
/frameworks/base/media/java/android/media/
H A DAudioTrack.java158 * The listener the AudioTrack notifies when the playback position reaches a marker
564 * Returns marker position expressed in frames.
578 * Returns the playback head position expressed in frames
659 * for each periodic playback head position update.
670 * for each periodic playback head position update.
746 * Sets the position of the notification marker.
773 * Sets the playback head position. The track must be stopped for the position to be changed.
774 * @param positionInFrames playback head position expressed in frames
1023 * Interface definition for a callback to be invoked when the playback head position o
1167 native_set_position(int position) argument
[all...]
/frameworks/base/include/private/opengles/
H A Dgl_context.h292 vec4_t position; // position in eye space member in struct:android::gl::light_t

Completed in 588 milliseconds

123456