Searched refs:position (Results 201 - 225 of 277) sorted by relevance

1234567891011>>

/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTabStrip.java275 void updateTextPositions(int position, float positionOffset, boolean force) { argument
284 super.updateTextPositions(position, positionOffset, force);
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java378 // now update the buffer's position
379 int position = dst.position();
380 position += pixelSize >> shift;
381 dst.position(position);
385 * Copy the pixels from the buffer, beginning at the current position,
1154 * (index 1) offset needed to position the returned bitmap
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp169 SkPathMeasure& measure, SkPoint* position, SkVector* tangent) {
176 measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent);
194 position->fX + destination[0].fX,
195 position->fY + destination[0].fY, u1, v2,
196 position->fX + destination[1].fX,
197 position->fY + destination[1].fY, u2, v2,
198 position->fX + destination[2].fX,
199 position->fY + destination[2].fY, u2, v1,
200 position->fX + destination[3].fX,
201 position
168 drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset, SkPathMeasure& measure, SkPoint* position, SkVector* tangent) argument
253 SkPoint position; local
[all...]
H A DProgram.cpp46 position = bindAttrib("position", kBindingPosition);
/frameworks/av/media/libaah_rtp/
H A Daah_tx_player.cpp645 int position; local
648 position = mSeekTimeUs / 1000;
664 position = static_cast<int>(mediaTimeNow / 1000);
666 position = 0;
671 *msec = clamp(position, 0, duration);
673 *msec = (position >= 0) ? position : 0;
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java256 public View getView(int position, View convertView, ViewGroup parent) { argument
274 Header header = getItem(position);
960 protected void onListItemClick(ListView l, View v, int position, long id) { argument
961 super.onListItemClick(l, v, position, id);
964 Object item = mAdapter.getItem(position);
965 if (item instanceof Header) onHeaderClick((Header) item, position);
976 * @param position The header's position in the list.
978 public void onHeaderClick(Header header, int position) { argument
/frameworks/base/core/java/android/widget/
H A DGallery.java82 * position, measured in milliseconds.
109 * The position of the item that received the user's down touch.
180 * If true, mFirstPosition is the position of the rightmost child, and
258 * changes position. Only relevant if animation is turned on.
308 // Current scroll position is the same as the selected position
561 // Common case where the current selected position is correct
602 * @param delta Change in the selected position. +1 means the selection is
624 // Update to the new selected position.
818 * @param position Positio
827 makeAndAddView(int position, int offset, int x, boolean fromLeft) argument
1158 dispatchLongPress(View view, int position, long id) argument
1277 setSelectedPositionInt(int position) argument
[all...]
H A DMediaController.java415 int position = mPlayer.getCurrentPosition();
420 long pos = 1000L * position / duration;
430 mCurrentTime.setText(stringForTime(position));
432 return position;
527 // session to avoid jumps in the position in case of ongoing playback.
531 // we will simply apply the updated position without suspending regular updates.
549 // the progress bar's position.
H A DEditor.java151 * is attached to the window (so its position is still unknown).
173 // Global listener that detects changes in the global position of the TextView
614 // If a URLSpan (web address, email, phone...) is found at that position, select it.
717 final float[] position = TEMP_POSITION;
718 position[0] = positionX;
719 position[1] = positionY;
725 position[0] -= view.getScrollX();
726 position[1] -= view.getScrollY();
729 if (position[0] < 0 || position[
2264 getItem(int position) argument
2269 getItemId(int position) argument
2274 getView(int position, View convertView, ViewGroup parent) argument
2539 onItemClick(AdapterView<?> parent, View view, int position, long id) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsPanelView.java148 public Object getItem(int position) { argument
149 return position; // we only need the index
152 public long getItemId(int position) { argument
153 return position; // we just need something unique for this position
178 public View getView(int position, View convertView, ViewGroup parent) { argument
192 final int index = mRecentTaskDescriptions.size() - position - 1;
809 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLTextureViewActivity.java154 "attribute vec4 position;\n" +
159 " gl_Position = position;\n" +
187 triangleVertices.put(mTriangleVerticesData).position(0);
192 int attribPosition = glGetAttribLocation(program, "position");
217 triangleVertices.position(TRIANGLE_VERTICES_DATA_POS_OFFSET);
222 triangleVertices.position(TRIANGLE_VERTICES_DATA_UV_OFFSET);
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
H A DGL2CameraEye.java144 mTriangleVertices.put(mTriangleVerticesData).position(0);
207 mTriangleVertices.position(TRIANGLE_VERTICES_DATA_POS_OFFSET);
214 mTriangleVertices.position(TRIANGLE_VERTICES_DATA_UV_OFFSET);
/frameworks/av/drm/libdrmframework/include/
H A DDrmManager.h97 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position);
H A DDrmManagerClientImpl.h200 * @param[in] position Position in the file (in milliseconds) where the start occurs.
206 int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position);
301 * @param[in] offset Start position of the content
383 * @param[in] offset Offset with which to update the file position.
H A DIDrmManagerService.h122 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) = 0;
209 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position);
/frameworks/av/drm/libdrmframework/plugins/common/include/
H A DIDrmEngine.h220 * @param[in] position Position in the file (in milliseconds) where the start occurs.
226 int playbackStatus, int64_t position) = 0;
321 * @param[in] offset Start position of the content
409 * @param[in] offset Offset with which to update the file position.
/frameworks/av/include/media/
H A DAudioRecord.h55 EVENT_MARKER = 2, // Record head is at the specified marker position
57 EVENT_NEW_POS = 3, // Record head is at a new position
101 * - EVENT_MARKER: pointer to an uin32_t containing the marker position in frames.
102 * - EVENT_NEW_POS: pointer to an uin32_t containing the new position in frames.
237 /* Sets marker position. When record reaches the number of frames specified,
245 * marker: marker position expressed in frames.
255 /* Sets position update period. Every time the number of frames specified has been recorded,
257 * Calling setPositionUpdatePeriod with updatePeriod == 0 cancels new position notification
264 * updatePeriod: position update notification period expressed in frames.
274 /* Gets record head position
[all...]
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoViewProxy.java85 // The seek position.
160 // save the current position.
652 public void play(String url, int position, int videoLayerID) { argument
657 if (position > 0) {
658 seek(position);
668 * @param time is the position in the video stream.
750 private native void nativeOnTimeupdate(int position, int nativePointer); argument
H A DHTML5VideoFullScreen.java133 HTML5VideoFullScreen(Context context, int videoLayerId, int position, boolean skipPrepare) { argument
138 init(videoLayerId, position, skipPrepare);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DListViewTest.java136 public View getView(int position, View convertView, ViewGroup parent) { argument
/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/native/opengl/tests/gl2_java/src/com/android/gl2java/
H A DGL2JavaView.java61 mTriangleVertices.put(mTriangleVerticesData).position(0);
/frameworks/base/core/java/android/text/
H A DSelection.java366 public int preceding(int position); argument
367 public int following(int position); argument
/frameworks/base/tests/touchlag/
H A Dtouchlag.cpp190 struct position { struct in struct:Queue
194 position q[16];
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java586 float position = isHorizontal() ? x : y;
591 position > target : position < target;
594 position < target : position > target;

Completed in 1221 milliseconds

1234567891011>>