Searched refs:position (Results 476 - 500 of 821) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/app/
H A DActionBar.java352 * @param position Position of the item to select.
360 public abstract void setSelectedNavigationItem(int position); argument
363 * Get the position of the selected navigation item in list or tabbed navigation modes.
665 * <code>position</code>. If this is the first tab to be added it will become
669 * @param position The new position of the tab
677 public abstract void addTab(Tab tab, int position); argument
681 * <code>position</code>.
684 * @param position The new position o
693 addTab(Tab tab, int position, boolean setSelected) argument
721 removeTabAt(int position) argument
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DLocalePicker.java183 public View getView(int position, View convertView, ViewGroup parent) {
194 LocaleInfo item = getItem(position);
248 public void onListItemClick(ListView l, View v, int position, long id) { argument
250 final Locale locale = ((LocaleInfo)getListAdapter().getItem(position)).locale;
/frameworks/base/core/java/com/android/internal/util/
H A DFastPrintWriter.java349 int position;
350 if ((position = mBytes.position()) > 0) {
352 mOutputStream.write(mBytes.array(), 0, position);
H A DFastXmlSerializer.java230 int position;
231 if ((position = mBytes.position()) > 0) {
233 mOutputStream.write(mBytes.array(), 0, position);
/frameworks/base/packages/Osu/src/com/android/hotspot2/app/
H A DMainActivity.java130 public void onItemClick(AdapterView<?> adapterView, View view, int position, long id) {
131 OSUData osuData = (OSUData) adapterView.getAdapter().getItem(position);
276 public View getView(int position, View convertView, ViewGroup parent) { argument
281 OSUData osuData = getItem(position);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNavigationBarGestureHelper.java236 int position = !mIsVertical ? (int) event.getRawY() : (int) event.getRawX();
238 .calculateSnapTarget(position, 0f /* velocity */, false /* hardDismiss */);
239 mDivider.getView().resizeStack(position, snapTarget.position, snapTarget);
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskStack.java514 // Calculate the current position.
523 // Snap the position to a target.
533 // Recalculate the bounds based on the position of the target.
534 DockedDividerUtils.calculateBoundsForPosition(target.position, dockSide,
540 void addTask(Task task, int position) { argument
541 addTask(task, position, task.showForAllUsers(), true /* moveParents */);
549 * @param position Target position to add the task to.
552 void addTask(Task task, int position, boolean showForAllUsers, boolean moveParents) { argument
566 // Move child to a proper position, a
571 positionChildAt(int position, Task child, boolean includingParents) argument
580 positionChildAt(int position, Task child, boolean includingParents, boolean showForAllUsers) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DAudioTrackDecoder.java80 buffer.position(info.offset);
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
H A DDecoder.java61 throw new DecoderException(sig, mBuf.position() - 1);
94 super(String.format("Unexpected byte %c seen at position %d", (char)seen, pos));
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DUtils.java176 int position = 0;
178 data[position] =
181 position++;
228 dup.limit(dup.position() + len);
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DBrowseFragment.java193 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
194 MediaBrowserCompat.MediaItem item = mBrowserAdapter.getItem(position);
269 public View getView(int position, View convertView, ViewGroup parent) { argument
286 MediaBrowserCompat.MediaItem item = getItem(position);
H A DPlayback.java218 public void seekTo(int position) { argument
219 Log.d(TAG, "seekTo called with " + position);
222 // If we do not have a current media player, simply update the current position
223 mCurrentPosition = position;
228 mMediaPlayer.seekTo(position);
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DBrowseFragment.java193 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
194 MediaBrowserCompat.MediaItem item = mBrowserAdapter.getItem(position);
269 public View getView(int position, View convertView, ViewGroup parent) { argument
286 MediaBrowserCompat.MediaItem item = getItem(position);
H A DPlayback.java218 public void seekTo(int position) { argument
219 Log.d(TAG, "seekTo called with " + position);
222 // If we do not have a current media player, simply update the current position
223 mCurrentPosition = position;
228 mMediaPlayer.seekTo(position);
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBar.java344 * @param position Position of the item to select.
352 public abstract void setSelectedNavigationItem(int position); argument
355 * Get the position of the selected navigation item in list or tabbed navigation modes.
653 * <code>position</code>. If this is the first tab to be added it will become
657 * @param position The new position of the tab
665 public abstract void addTab(Tab tab, int position); argument
669 * <code>position</code>.
672 * @param position The new position o
681 addTab(Tab tab, int position, boolean setSelected) argument
709 removeTabAt(int position) argument
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseGridLayoutManagerTest.java230 final int position = mCurrentPosition;
233 assertEquals("position of the returned view must match current position",
234 position, RecyclerView.getChildViewHolderInt(next).getLayoutPosition());
351 public int getSpanSize(int position) {
352 return mFullSpanItems.contains(position) ? glm.getSpanCount() : mSpanPerItem;
/frameworks/av/media/libaaudio/src/legacy/
H A DAudioStreamRecord.cpp210 // Get current position so we can detect when the track is playing.
253 aaudio_wrapping_frames_t position; local
258 err = mAudioRecord->getPosition(&position);
261 } else if (position != mPositionWhenStarting) {
/frameworks/base/core/java/android/preference/
H A DPreferenceScreen.java240 public void onItemClick(AdapterView parent, View view, int position, long id) { argument
243 position -= ((ListView) parent).getHeaderViewsCount();
245 Object item = getRootAdapter().getItem(position);
/frameworks/base/core/java/android/util/
H A DEventLog.java141 mBuffer.position(offset + DATA_OFFSET); // Just after the tag.
154 /** @return the loggable item at the current position in mBuffer. */
170 int start = mBuffer.position();
171 mBuffer.position(start + length);
225 // Not using ByteBuffer.equals since it takes buffer position into account and we
238 // Not using ByteBuffer.hashCode since it takes buffer position into account and we
/frameworks/base/libs/hwui/tests/unit/
H A DGlopBuilderTests.cpp69 EXPECT_EQ(expectedMesh.vertices.position, builtMesh.vertices.position);
73 if (builtMesh.vertices.position) {
/frameworks/base/packages/Osu/src/com/android/anqp/eap/
H A DEAPMethod.java39 paramPayload.limit(paramPayload.position() + length - 2);
40 payload.position(payload.position() + length - 2);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifModifier.java50 mOffsetBase = byteBuffer.position();
59 mByteBuffer.position(0);
152 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/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DDrawerLayoutActivity.java252 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
253 mContent.setText(Shakespeare.DIALOGUE[position]);
254 mToolbar.setTitle(Shakespeare.TITLES[position]);

Completed in 626 milliseconds

<<11121314151617181920>>