/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrintActivity.java | 1917 public boolean isEnabled(int position) { argument 1918 Object item = getItem(position); 1928 public Object getItem(int position) { argument 1930 if (position == 0) { 1934 if (position < 1) { 1935 return mPrinterHolders.get(position); 1937 if (position == 1) { 1940 if (position < getCount() - 1) { 1941 return mPrinterHolders.get(position - 1); 1948 public long getItemId(int position) { argument 1967 getDropDownView(int position, View convertView, ViewGroup parent) argument 1974 getView(int position, View convertView, ViewGroup parent) argument 2234 onItemSelected(AdapterView<?> spinner, View view, int position, long id) argument [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | TestCaseUtil.java | 142 public static Test getTestAtIndex(TestSuite testSuite, int position) { argument 147 if (index == position) {
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ViewLayersActivity.java | 107 public View getView(int position, View convertView, ViewGroup parent) { argument 108 TextView v = (TextView) super.getView(position, convertView, parent);
|
H A D | ViewLayersActivity5.java | 126 public View getView(int position, View convertView, ViewGroup parent) { argument 127 TextView v = (TextView) super.getView(position, convertView, parent);
|
/frameworks/opt/chips/tests/src/com/android/ex/chips/ |
H A D | RecipientAlternatesAdapterTest.java | 92 private static void assertRow(Cursor c, int position, argument 102 assertTrue(c.moveToPosition(position));
|
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/ |
H A D | TransportMediatorJellybeanMR2.java | 158 public void refreshState(boolean playing, long position, int transportControls) { argument 161 : RemoteControlClient.PLAYSTATE_STOPPED, position, playing ? 1 : 0);
|
/frameworks/base/core/java/android/app/ |
H A D | ActionBar.java | 347 * @param position Position of the item to select. 354 public abstract void setSelectedNavigationItem(int position); argument 357 * Get the position of the selected navigation item in list or tabbed navigation modes. 652 * <code>position</code>. If this is the first tab to be added it will become 656 * @param position The new position of the tab 663 public abstract void addTab(Tab tab, int position); argument 667 * <code>position</code>. 670 * @param position The new position o 678 addTab(Tab tab, int position, boolean setSelected) argument 704 removeTabAt(int position) argument [all...] |
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbRequest.java | 162 mBuffer.position(Math.min(bytesRead, mLength));
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FastPrintWriter.java | 331 int position; 332 if ((position = mBytes.position()) > 0) { 334 mOutputStream.write(mBytes.array(), 0, position);
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | RenderState.cpp | 263 || (vertices.position != nullptr); 264 meshState().bindPositionVertexPointer(force, vertices.position, vertices.stride); 300 // NOTE: alpha vertex position is computed assuming no VBO 301 const void* alphaCoords = ((const GLbyte*) vertices.position) + kVertexAlphaOffset; 321 const GLbyte* vertexData = static_cast<const GLbyte*>(vertices.position);
|
/frameworks/base/media/java/android/media/ |
H A D | RingtoneManager.java | 386 * Gets a {@link Ringtone} for the ringtone at the given position in the 389 * @param position The position (in the {@link Cursor}) of the ringtone. 392 public Ringtone getRingtone(int position) { argument 397 mPreviousRingtone = getRingtone(mContext, getRingtoneUri(position), inferStreamType()); 402 * Gets a {@link Uri} for the ringtone at the given position in the {@link Cursor}. 404 * @param position The position (in the {@link Cursor}) of the ringtone. 407 public Uri getRingtoneUri(int position) { argument 409 // cause position t [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 | 155 int position = 0; 157 data[position] = 160 position++; 207 dup.limit(dup.position() + len);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | GuidedStepFragment.java | 290 * Returns the view corresponding to the action at the indicated position in the list of 292 * @param position The integer position of the action of interest. 293 * @return The View corresponding to the action at the indicated position, or null if that 296 public View getActionItemView(int position) { argument 297 return mListView.findViewHolderForPosition(position).itemView; 301 * Scrolls the action list to the position indicated, selecting that action's view. 302 * @param position The integer position of the action of interest. 304 public void setSelectedActionPosition(int position) { argument [all...] |
H A D | HeadersFragment.java | 80 int position, int subposition) { 82 if (viewHolder != null && position >= 0) { 83 Row row = (Row) getAdapter().get(position); 79 onRowSelected(RecyclerView parent, RecyclerView.ViewHolder viewHolder, int position, int subposition) argument
|
H A D | HeadersSupportFragment.java | 82 int position, int subposition) { 84 if (viewHolder != null && position >= 0) { 85 Row row = (Row) getAdapter().get(position); 81 onRowSelected(RecyclerView parent, RecyclerView.ViewHolder viewHolder, int position, int subposition) argument
|
/frameworks/base/core/java/android/util/ |
H A D | EventLog.java | 118 mBuffer.position(offset + DATA_OFFSET); // Just after the tag. 129 /** @return the loggable item at the current position in mBuffer. */ 145 int start = mBuffer.position(); 146 mBuffer.position(start + length);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | BaseActivity.java | 596 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument 603 while (state.stack.size() > position + 1) { 626 public DocumentInfo getItem(int position) { argument 628 return state.stack.get(state.stack.size() - position - 1); 632 public long getItemId(int position) { argument 633 return position; 637 public View getView(int position, View convertView, ViewGroup parent) { argument 644 final DocumentInfo doc = getItem(position); 646 if (position == 0) { 657 public View getDropDownView(int position, Vie argument [all...] |
H A D | DirectoryFragment.java | 483 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 484 final Cursor cursor = mAdapter.getItem(position); 579 ActionMode mode, int position, long id, boolean checked) { 585 final Cursor cursor = mAdapter.getItem(position); 604 mCurrentView.setItemChecked(position, false); 839 public View getView(int position, View convertView, ViewGroup parent) { argument 840 if (position < mCursorCount) { 841 return getDocumentView(position, convertView, parent); 843 position -= mCursorCount; 844 convertView = mFooters.get(position) 852 getDocumentView(int position, View convertView, ViewGroup parent) argument 1064 getItem(int position) argument 1074 getItemId(int position) argument 1084 getItemViewType(int position) argument [all...] |
/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/opt/net/wifi/service/java/com/android/server/wifi/anqp/eap/ |
H A D | EAPMethod.java | 40 paramPayload.limit(paramPayload.position() + length - 2); 41 payload.position(payload.position() + length - 2);
|
/frameworks/base/core/java/android/net/ |
H A D | IpReachabilityMonitor.java | 125 bytes.position(0); 413 final int position = byteBuffer.position(); 416 byteBuffer.position(position);
|