Searched refs:position (Results 51 - 75 of 147) sorted by relevance

123456

/frameworks/base/core/java/android/app/
H A DLauncherActivity.java112 public Intent intentForPosition(int position) { argument
118 ListItem item = mActivitiesList.get(position);
126 public ListItem itemForPosition(int position) { argument
131 return mActivitiesList.get(position);
138 public Object getItem(int position) { argument
139 return position;
142 public long getItemId(int position) { argument
143 return position;
146 public View getView(int position, View convertView, ViewGroup parent) { argument
154 bindView(view, mActivitiesList.get(position));
362 onListItemClick(ListView l, View v, int position, long id) argument
372 intentForPosition(int position) argument
382 itemForPosition(int position) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DExpandableListConnector.java34 * <li> flPos - Flat list position, the position used by ListView
35 * <li> gPos - Group position, the position of a group among all the groups
36 * <li> cPos - Child position, the position of a child among all the children
46 * Internally, this connector translates the flat list position that the
96 * Translates a flat list position to either a) group pos if the specified
97 * flat list position corresponds to a group, or b) child pos if it
102 * @param flPos the flat list position t
955 public ExpandableListPosition position; field in class:ExpandableListConnector.PositionMetadata
[all...]
H A DSlidingDrawer.java476 private void animateClose(int position) { argument
477 prepareTracking(position);
478 performFling(position, mMaximumAcceleration, true);
481 private void animateOpen(int position) { argument
482 prepareTracking(position);
483 performFling(position, -mMaximumAcceleration, true);
486 private void performFling(int position, float velocity, boolean always) { argument
487 mAnimationPosition = position;
492 (position > mTopOffset + (mVertical ? mHandleHeight : mHandleWidth) &&
495 // us to retract. Animate back to the expanded position
535 prepareTracking(int position) argument
560 moveHandle(int position) argument
[all...]
H A DGridView.java140 int position;
142 position = lookForSelectablePosition(mItemCount - 1, false);
144 position = lookForSelectablePosition(0, true);
146 setSelectedPositionInt(position);
147 setNextSelectedPositionInt(position);
159 int lookForSelectablePosition(int position, boolean lookDown) { argument
165 if (position < 0 || position >= mItemCount) {
168 return position;
184 int position
451 fillSpecific(int position, int top) argument
1205 makeAndAddView(int position, int y, boolean flow, int childrenLeft, boolean selected, int where) argument
1246 setupChild(View child, int position, int y, boolean flow, int childrenLeft, boolean selected, boolean recycled, int where) argument
1339 setSelection(int position) argument
1355 setSelectionInt(int position) argument
[all...]
/frameworks/base/core/java/android/database/
H A DAbstractCursor.java129 * to a new position, giving the subclass a chance to update any state it
131 * cursor will scroll to the beforeFirst position.
133 * @param oldPosition the position that we're moving from
134 * @param newPosition the position that we're moving to
169 public final boolean moveToPosition(int position) { argument
170 // Make sure position isn't past the end of the cursor
172 if (position >= count) {
177 // Make sure position isn't before the beginning of the cursor
178 if (position < 0) {
184 if (position
206 fillWindow(int position, CursorWindow window) argument
[all...]
H A DIBulkCursor.java40 public void onMove(int position) throws RemoteException; argument
59 public boolean deleteRow(int position) throws RemoteException; argument
H A DCursorToBulkCursorAdaptor.java127 public void onMove(int position) { argument
128 mCursor.onMove(mCursor.getPosition(), position);
211 public boolean deleteRow(int position) { argument
219 if (mCursor.moveToPosition(position) == false) {
H A DBulkCursorNative.java136 int position = data.readInt();
137 boolean result = deleteRow(position);
145 int position = data.readInt();
146 onMove(position);
230 public void onMove(int position) throws RemoteException { argument
236 data.writeInt(position);
367 public boolean deleteRow(int position) throws RemoteException argument
374 data.writeInt(position);
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListOfButtons.java63 public View getView(int position, View convertView, ViewGroup parent) { argument
64 String label = getItem(position);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListScrollListener.java57 public void onItemSelected(AdapterView parent, View v, int position, long id) { argument
58 mText.setText("Position " + position);
/frameworks/base/opengl/java/android/opengl/
H A DObject3D.java203 allbb.position(0);
207 mVertexBuffer.position(0);
210 allbb.position(allbb.limit());
211 allbb.limit(allbb.position() + 4*2*numTuples);
214 mTexcoordBuffer.position(0);
217 allbb.position(allbb.limit());
218 allbb.limit(allbb.position() + 4*3*numTuples);
221 mNormalBuffer.position(0);
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DTestActivity.java66 public void onListItemClick(ListView l, View v, int position, long id) argument
68 Test t = mTests[position];
/frameworks/ex/common/java/com/android/common/
H A DArrayListCursor.java65 public void fillWindow(int position, CursorWindow window) { argument
66 if (position < 0 || position > getCount()) {
73 mPos = position - 1;
75 window.setStartPosition(position);
/frameworks/base/core/tests/utillib/src/coretestutils/http/
H A DMockResponse.java194 public MockResponse setCloseConnectionAfterXBytes(int position) { argument
195 closeConnectionAfterXBytes = position;
213 public MockResponse setPauseConnectionAfterXBytes(int position) { argument
214 pauseConnectionAfterXBytes = position;
/frameworks/base/core/java/android/accounts/
H A DChooseAccountActivity.java62 protected void onListItemClick(ListView l, View v, int position, long id) { argument
63 Account account = (Account) mAccounts[position];
/frameworks/base/core/java/com/android/internal/view/menu/
H A DExpandedMenuView.java92 public void onItemClick(AdapterView parent, View v, int position, long id) { argument
93 invokeItem((MenuItemImpl) getAdapter().getItem(position));
/frameworks/base/core/tests/coretests/src/android/view/
H A DListContextMenu.java65 public Object getItem(int position) { argument
66 return position;
69 public long getItemId(int position) { argument
70 return position;
73 public View getView(int position, View convertView, ViewGroup parent) { argument
81 view.setText("List item " + mTitles[position]);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalActions.java293 public boolean isEnabled(int position) { argument
294 return getItem(position).isEnabled();
302 public Action getItem(int position) { argument
313 if (filteredPos == position) {
319 throw new IllegalArgumentException("position " + position + " out of "
326 public long getItemId(int position) { argument
327 return position;
330 public View getView(int position, View convertView, ViewGroup parent) { argument
331 Action action = getItem(position);
[all...]
/frameworks/base/opengl/tools/glgen/stubs/gles11/
H A DGLES10cHeader.cpp72 positionID = _env->GetFieldID(bufferClass, "position", "I");
101 jint position; local
108 position = _env->GetIntField(buffer, positionID);
111 *remaining = (limit - position) << elementSizeShift;
139 jint position = _env->GetIntField(buffer, positionID); local
141 buf += position << elementSizeShift;
H A DGLES11ExtcHeader.cpp68 positionID = _env->GetFieldID(bufferClass, "position", "I");
98 jint position; local
105 position = _env->GetIntField(buffer, positionID);
108 *remaining = (limit - position) << elementSizeShift;
137 jint position = _env->GetIntField(buffer, positionID); local
139 buf += position << elementSizeShift;
H A DGLES11cHeader.cpp66 positionID = _env->GetFieldID(bufferClass, "position", "I");
96 jint position; local
103 position = _env->GetIntField(buffer, positionID);
106 *remaining = (limit - position) << elementSizeShift;
135 jint position = _env->GetIntField(buffer, positionID); local
137 buf += position << elementSizeShift;
H A DGLES20cHeader.cpp59 positionID = _env->GetFieldID(bufferClass, "position", "I");
89 jint position; local
96 position = _env->GetIntField(buffer, positionID);
99 *remaining = (limit - position) << elementSizeShift;
128 jint position = _env->GetIntField(buffer, positionID); local
130 buf += position << elementSizeShift;
H A DGLES10ExtcHeader.cpp59 positionID = _env->GetFieldID(bufferClass, "position", "I");
89 jint position; local
96 position = _env->GetIntField(buffer, positionID);
99 *remaining = (limit - position) << elementSizeShift;
/frameworks/base/core/java/android/util/
H A DEventLog.java105 mBuffer.position(DATA_START); // Just after the tag.
116 /** @return the loggable item at the current position in mBuffer. */
129 int start = mBuffer.position();
130 mBuffer.position(start + length);
/frameworks/base/core/java/android/webkit/
H A DHTML5Audio.java84 int position = mMediaPlayer.getCurrentPosition();
85 nativeOnTimeupdate(position, mNativePointer);
223 private native void nativeOnTimeupdate(int position, int nativePointer); argument

Completed in 297 milliseconds

123456