/frameworks/base/core/java/android/app/ |
H A D | ActionBar.java | 352 * @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 D | LocalePicker.java | 183 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 D | FastPrintWriter.java | 349 int position; 350 if ((position = mBytes.position()) > 0) { 352 mOutputStream.write(mBytes.array(), 0, position);
|
H A D | FastXmlSerializer.java | 230 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 D | MainActivity.java | 130 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 D | NavigationBarGestureHelper.java | 236 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 D | TaskStack.java | 514 // 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 D | AudioTrackDecoder.java | 80 buffer.position(info.offset);
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
H A D | Decoder.java | 61 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 D | Utils.java | 176 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 D | BrowseFragment.java | 193 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 D | Playback.java | 218 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 D | BrowseFragment.java | 193 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 D | Playback.java | 218 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 D | ActionBar.java | 344 * @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 D | BaseGridLayoutManagerTest.java | 230 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 D | AudioStreamRecord.cpp | 210 // 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 D | PreferenceScreen.java | 240 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 D | EventLog.java | 141 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 D | GlopBuilderTests.cpp | 69 EXPECT_EQ(expectedMesh.vertices.position, builtMesh.vertices.position); 73 if (builtMesh.vertices.position) {
|
/frameworks/base/packages/Osu/src/com/android/anqp/eap/ |
H A D | EAPMethod.java | 39 paramPayload.limit(paramPayload.position() + length - 2); 40 payload.position(payload.position() + length - 2);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifModifier.java | 50 mOffsetBase = byteBuffer.position(); 59 mByteBuffer.position(0); 152 mByteBuffer.position(offset + mOffsetBase);
|
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/ |
H A D | TestLatencyView.java | 131 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 D | TestView.java | 180 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 D | DrawerLayoutActivity.java | 252 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument 253 mContent.setText(Shakespeare.DIALOGUE[position]); 254 mToolbar.setTitle(Shakespeare.TITLES[position]);
|