/frameworks/base/core/java/android/widget/ |
H A D | AlphabetIndexer.java | 176 // 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);
|
H A D | FastScroller.java | 183 public void setScrollbarPosition(int position) { argument 184 if (position == View.SCROLLBAR_POSITION_DEFAULT) { 185 position = mList.isLayoutRtl() ? 188 mPosition = position; 189 switch (position) { 521 void scrollTo(float position) { argument 529 int section = (int) (position * nSections); 571 // position actually returns Q's. So we need to look ahead to make 572 // sure that there is really a Q at Q's position. If not, move 585 if (prevSection == exactSection && position [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/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | FileList.java | 121 protected void onListItemClick(ListView l, View v, int position, long id) argument 123 Map map = (Map) l.getItemAtPosition(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);
|
/frameworks/ex/variablespeed/jni/ |
H A D | ring_buffer.cc | 78 void RingBuffer::Seek(int reader, int64 position) { argument 79 readers_[reader] = position;
|
/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 | FastXmlSerializer.java | 209 int position; 210 if ((position = mBytes.position()) > 0) { 212 mOutputStream.write(mBytes.array(), 0, position);
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockCursor.java | 140 public boolean moveToPosition(int position) { argument
|
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
H A D | ProfileActivity.java | 84 int position, long id) { 85 String speedStr = parent.getItemAtPosition(position).toString(); 98 int position, long id) { 99 String movementStr = parent.getItemAtPosition(position).toString(); 83 onItemSelected(AdapterView<?> parent, View view, int position, long id) argument 97 onItemSelected(AdapterView<?> parent, View view, int position, long id) argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | HTML5Audio.java | 126 int position = mMediaPlayer.getCurrentPosition(); 127 nativeOnTimeupdate(position, mNativePointer); 342 private native void nativeOnTimeupdate(int position, int nativePointer); argument
|
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES10Ext.cpp | 58 positionID = _env->GetFieldID(bufferClass, "position", "I"); 68 jint position; local 73 position = _env->GetIntField(buffer, positionID); 76 *remaining = (limit - position) << elementSizeShift;
|
/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/av/media/libmediaplayerservice/ |
H A D | MidiFile.cpp | 248 status_t MidiFile::seekTo(int position) argument 250 ALOGV("MidiFile::seekTo %d", position); 258 if ((result = EAS_Locate(mEasData, mEasHandle, position, false)) 292 status_t MidiFile::getCurrentPosition(int* position) argument 303 *position = mPlayTime; 483 // update playback state and position
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | AlertController.java | 878 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/libs/androidfw/ |
H A D | VelocityTracker.cpp | 254 ALOGD(" %d: position (%0.3f, %0.3f), " 289 // Note that ACTION_UP and ACTION_POINTER_UP always report the last known position 290 // of the pointers that went up. ACTION_POINTER_UP does include the new position of 581 const VelocityTracker::Position& position = movement.getPosition(id); 582 x[m] = position.x; 583 y[m] = position.y; 617 // No velocity data available for this pointer, but we do have its current position. 717 const VelocityTracker::Position& position = positions[index++]; local 719 updateState(state, eventTime, position.x, position 901 const VelocityTracker::Position& position = movement.getPosition(id); local [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | GlobalActions.java | 336 public boolean onItemLongClick(AdapterView<?> parent, View view, int position, 338 return mAdapter.getItem(position).onLongPress(); 449 public boolean isEnabled(int position) { argument 450 return getItem(position).isEnabled(); 458 public Action getItem(int position) { argument 469 if (filteredPos == position) { 475 throw new IllegalArgumentException("position " + position 483 public long getItemId(int position) { argument 484 return position; 487 getView(int position, View convertView, ViewGroup parent) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | FocusFinder.java | 251 int position = focusables.lastIndexOf(focused); 252 if (position >= 0 && position + 1 < count) { 253 return focusables.get(position + 1); 271 int position = focusables.indexOf(focused); 272 if (position > 0) { 273 return focusables.get(position - 1);
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | BaseRecipientAdapter.java | 837 public Object getItem(int position) { argument 838 return getEntries().get(position); 842 public long getItemId(int position) { argument 843 return position; 852 public int getItemViewType(int position) { argument 853 return getEntries().get(position).getEntryType(); 857 public boolean isEnabled(int position) { argument 858 return getEntries().get(position).isSelectable(); 862 public View getView(int position, View convertView, ViewGroup parent) { argument 863 final RecipientEntry entry = getEntries().get(position); [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLLogWrapper.java | 935 int position = input2.position(); 937 byteCount = input2.limit() - position; 943 input2.position(position); 946 int position = input2.position(); 948 byteCount = (input2.limit() - position) * 2; 955 input2.position(position); [all...] |
/frameworks/base/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/ |
H A D | CameraPreviewActivity.java | 176 View view, int position, long id) { 177 if (mPreviewSizes.get(position) != mPreviewSize) { 178 mNextPreviewSize = mPreviewSizes.get(position);
|
/frameworks/compile/mclinker/lib/CodeGen/ |
H A D | SectLinker.cpp | 74 // ----- convert position dependent options into tree of input files ----- // 386 fatal(diag::err_cannot_identify_option) << (*option)->position() 402 return (X->position() < Y->position());
|
/frameworks/wilhelm/tests/listening/ |
H A D | slesTest_playMuteSolo.cpp | 110 SLmillisecond position; local 111 res = (*playItf)->GetPosition(playItf, &position); ExitOnError(res); 112 printf("position=%u\n", (unsigned) position); 295 /* Setup to receive playback events on position updates */
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | MyGLSurfaceView.java | 88 mVertices.put(mVerticesData).position(0); 114 mVertices.position(VERTICES_DATA_POS_OFFSET); 121 mVertices.position(VERTICES_DATA_UV_OFFSET);
|