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

1234567891011>>

/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
H A DFwdLockEngine.h211 * @param position Position in the file (in milliseconds) where the start occurs.
220 int64_t position);
225 int position);
326 * @param offset Start position of the content
453 * Updates the file position within an open DRM file.
457 * @param offset Offset with which to update the file position.
461 * @return New file position.
483 * @param offset Offset with which to update the file position.
/frameworks/base/core/java/android/widget/
H A DAlphabetIndexer.java176 // position.
186 // Do we have the position of the previous section?
252 * Returns the section index for a given position in the list by querying the item
255 public int getSectionForPosition(int position) { argument
257 mDataCursor.moveToPosition(position);
/frameworks/base/test-runner/src/android/test/
H A DTestCaseUtil.java142 public static Test getTestAtIndex(TestSuite testSuite, int position) { argument
147 if (index == position) {
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewLayersActivity.java107 public View getView(int position, View convertView, ViewGroup parent) { argument
108 TextView v = (TextView) super.getView(position, convertView, parent);
H A DViewLayersActivity5.java126 public View getView(int position, View convertView, ViewGroup parent) { argument
127 TextView v = (TextView) super.getView(position, convertView, parent);
/frameworks/ex/chips/tests/src/com/android/ex/chips/
H A DRecipientAlternatesAdapterTest.java87 private static void assertRow(Cursor c, int position, argument
97 assertTrue(c.moveToPosition(position));
/frameworks/ex/variablespeed/jni/
H A Dring_buffer.cc78 void RingBuffer::Seek(int reader, int64 position) { argument
79 readers_[reader] = position;
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/
H A DTransportMediatorJellybeanMR2.java158 public void refreshState(boolean playing, long position, int transportControls) { argument
161 : RemoteControlClient.PLAYSTATE_STOPPED, position, playing ? 1 : 0);
/frameworks/base/core/java/android/hardware/usb/
H A DUsbRequest.java162 mBuffer.position(Math.min(bytesRead, mLength));
/frameworks/base/core/java/com/android/internal/util/
H A DFastPrintWriter.java331 int position;
332 if ((position = mBytes.position()) > 0) {
334 mOutputStream.write(mBytes.array(), 0, position);
/frameworks/base/media/java/android/media/
H A DRingtoneManager.java373 * Gets a {@link Ringtone} for the ringtone at the given position in the
376 * @param position The position (in the {@link Cursor}) of the ringtone.
379 public Ringtone getRingtone(int position) { argument
384 mPreviousRingtone = getRingtone(mContext, getRingtoneUri(position), inferStreamType());
389 * Gets a {@link Uri} for the ringtone at the given position in the {@link Cursor}.
391 * @param position The position (in the {@link Cursor}) of the ringtone.
394 public Uri getRingtoneUri(int position) { argument
396 // cause position t
[all...]
/frameworks/base/test-runner/src/android/test/mock/
H A DMockCursor.java140 public boolean moveToPosition(int position) { argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DAudioTrackDecoder.java73 buffer.position(info.offset);
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp290 // reset current position as seen by client to 0
335 // the record head position will reset to 0, so if a marker is set, we need
403 status_t AudioRecord::getPosition(uint32_t *position) const
405 if (position == NULL) {
410 *position = mProxy->getPosition();
741 // Get current position of server
742 size_t position = mProxy->getPosition(); local
748 if (!mMarkerReached && (markerPosition > 0) && (position >= markerPosition)) {
752 // Determine the number of new position callback(s) that will be needed, while locked
757 if (updatePeriod > 0 && position >
937 size_t position = mProxy->getPosition(); local
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifModifier.java51 mOffsetBase = byteBuffer.position();
60 mByteBuffer.position(0);
153 mByteBuffer.position(offset + mOffsetBase);
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
H A DTestLatencyView.java131 mTriangleVertices.position(0);
132 mTriangleVertices.put(mTriangleVerticesData2).position(0);
136 mTriangleVertices.put(mTriangleVerticesData2).position(2);
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
H A DTestView.java180 mVertexBuffer.position(index * VERTEX_SIZE / FLOAT_SIZE);
196 mVertexByteBuffer.position(0);
200 mIndexBuffer.position(0);
/frameworks/av/media/libmediaplayerservice/
H A DMidiFile.cpp252 status_t MidiFile::seekTo(int position) argument
254 ALOGV("MidiFile::seekTo %d", position);
262 if ((result = EAS_Locate(mEasData, mEasHandle, position, false))
297 status_t MidiFile::getCurrentPosition(int* position) argument
308 *position = mPlayTime;
489 // update playback state and position
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10Ext.cpp92 positionID = _env->GetFieldID(bufferClass, "position", "I");
101 jint position; local
106 position = _env->GetIntField(buffer, positionID);
109 *remaining = (limit - position) << elementSizeShift;
136 jint position = _env->GetIntField(buffer, positionID); local
138 buf += position << elementSizeShift;
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
H A DSinkActivity.java320 int position = mHidBuffer.position();
326 mHidBuffer.array(), position, count, 10000);
331 mHidBuffer.position(position + count);
/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java878 public View getView(int position, View convertView, ViewGroup parent) {
879 View view = super.getView(position, convertView, parent);
881 boolean isItemChecked = mCheckedItems[position];
883 listView.setItemChecked(position, true);
940 public void onItemClick(AdapterView parent, View v, int position, long id) {
941 mOnClickListener.onClick(dialog.mDialogInterface, position);
949 public void onItemClick(AdapterView parent, View v, int position, long id) {
951 mCheckedItems[position] = listView.isItemChecked(position);
954 dialog.mDialogInterface, position, listVie
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalActions.java340 public boolean onItemLongClick(AdapterView<?> parent, View view, int position,
342 return mAdapter.getItem(position).onLongPress();
466 public boolean isEnabled(int position) { argument
467 return getItem(position).isEnabled();
475 public Action getItem(int position) { argument
486 if (filteredPos == position) {
492 throw new IllegalArgumentException("position " + position
500 public long getItemId(int position) { argument
501 return position;
504 getView(int position, View convertView, ViewGroup parent) argument
[all...]
/frameworks/native/libs/input/
H A DVelocityTracker.cpp253 ALOGD(" %d: position (%0.3f, %0.3f), "
288 // Note that ACTION_UP and ACTION_POINTER_UP always report the last known position
289 // of the pointers that went up. ACTION_POINTER_UP does include the new position of
580 const VelocityTracker::Position& position = movement.getPosition(id);
581 x[m] = position.x;
582 y[m] = position.y;
616 // No velocity data available for this pointer, but we do have its current position.
716 const VelocityTracker::Position& position = positions[index++]; local
718 updateState(state, eventTime, position.x, position
900 const VelocityTracker::Position& position = movement.getPosition(id); local
[all...]
/frameworks/base/core/java/android/view/
H A DFocusFinder.java245 int position = focusables.lastIndexOf(focused);
246 if (position >= 0 && position + 1 < count) {
247 return focusables.get(position + 1);
258 int position = focusables.indexOf(focused);
259 if (position > 0) {
260 return focusables.get(position - 1);
/frameworks/base/services/java/com/android/server/wm/
H A DDisplayContent.java231 TaskStack createStack(int stackId, int relativeStackBoxId, int position, float weight) { argument
234 + relativeStackBoxId + " position=" + position + " weight=" + weight);
244 if (position == StackBox.TASK_STACK_GOES_OVER
245 || position == StackBox.TASK_STACK_GOES_UNDER) {
252 final int offset = position == StackBox.TASK_STACK_GOES_OVER ? 1 : 0;
259 // Remaining position values indicate a box must be split.
260 newStack = box.split(stackId, relativeStackBoxId, position, weight);
274 EventLog.writeEvent(EventLogTags.WM_STACK_CREATED, stackId, relativeStackBoxId, position,
337 * it is allowed to be. This is a nop if the home StackBox is already in the correct position
[all...]

Completed in 2380 milliseconds

1234567891011>>