Searched refs:position (Results 126 - 150 of 277) sorted by relevance

1234567891011>>

/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DGLES10ExtcHeader.cpp57 positionID = _env->GetFieldID(bufferClass, "position", "I");
67 jint position; local
74 position = _env->GetIntField(buffer, positionID);
77 *remaining = (limit - position) << elementSizeShift;
/frameworks/base/core/java/android/widget/
H A DSearchView.java222 * @param position the absolute position in the list of suggestions.
227 boolean onSuggestionSelect(int position); argument
231 * @param position the absolute position of the clicked item in the list of suggestions.
237 boolean onSuggestionClick(int position); argument
965 int position = mQueryTextView.getListSelection();
966 return onItemClicked(position, KeyEvent.KEYCODE_UNKNOWN, null);
999 int position = mQueryTextView.getListSelection();
1000 if (position !
1300 onItemClicked(int position, int actionKey, String actionMsg) argument
1311 onItemSelected(int position) argument
1353 rewriteQueryFromSuggestion(int position) argument
1386 launchSuggestion(int position, int actionKey, String actionMsg) argument
[all...]
H A DCursorTreeAdapter.java48 * The map of a group position to the group's children cursor helper (the
216 * already moved to the correct position.
230 * already moved to the correct position.
260 * already moved to the correct position.
274 * already moved to the correct position.
433 long getId(int position) { argument
435 if (mCursor.moveToPosition(position)) {
445 Cursor moveTo(int position) { argument
446 if (mDataValid && (mCursor != null) && mCursor.moveToPosition(position)) {
H A DAutoCompleteTextView.java807 * Set the position of the dropdown view selection.
809 * @param position The position to move the selector to.
811 public void setListSelection(int position) { argument
812 mPopup.setSelection(position);
816 * Get the position of the dropdown view selection, if there is one. Returns
820 * @return the position of the current selection, if there is one, or
860 private void performCompletion(View selectedView, int position, long id) { argument
863 if (position < 0) {
866 selectedItem = mAdapter.getItem(position);
1176 onItemClick(AdapterView parent, View v, int position, long id) argument
[all...]
/frameworks/wilhelm/src/itf/
H A DIPlay.c185 // otherwise the duration will be updated each time a new maximum position is detected
203 SLmillisecond position; local
207 // and doesn't cache the position
210 android_audioPlayer_getPosition(thiz, &position);
213 android_Player_getPosition(thiz, &position);
220 // on other platforms we depend on periodic updates to the current position
221 position = thiz->mPosition;
222 // if a seek is pending, then lie about current position so the seek appears synchronous
227 position = pos;
232 *pMsec = position;
[all...]
/frameworks/base/core/java/android/database/
H A DCursorWrapper.java161 public boolean moveToPosition(int position) { argument
162 return mCursor.moveToPosition(position);
H A DCursor.java60 * Returns the current position of the cursor in the row set.
64 * the last entry, at a position of count().
66 * @return the current cursor position.
72 * current position. Positive offsets move forwards, negative offsets move
73 * backwards. If the final position is outside of the bounds of the result
74 * set then the resultant position will be pinned to -1 or count() depending
80 * the position will be pinned at -1, and false will be returned.
82 * @param offset the offset to be applied from the current position.
88 * Move the cursor to an absolute position. The valid
89 * range of values is -1 &lt;= position
97 moveToPosition(int position) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListOfEditTexts.java112 public View getView(int position, View convertView, ViewGroup parent) { argument
113 String body = getItem(position);
H A DListWithMailMessages.java126 public View getView(int position, View convertView, ViewGroup parent) { argument
127 MailMessage message = getItem(position);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewLayersActivity6.java77 public View getView(int position, View convertView, ViewGroup parent) { argument
78 TextView v = (TextView) super.getView(position, convertView, parent);
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
H A DTriangleRenderer.java150 mFVertexBuffer.position(0);
151 mIndexBuffer.position(0);
/frameworks/wilhelm/tests/sandbox/
H A Dxaplay.c51 XAmillisecond seekPos = XA_TIME_UNKNOWN; // seek to this position initially
135 XAmillisecond position; local
136 result = (*caller)->GetPosition(caller, &position);
140 printf("XA_PLAYEVENT_HEADATEND current position=%u ms\n", position);
144 printf("XA_PLAYEVENT_HEADATNEWPOS current position=%u ms\n", position);
148 printf("XA_PLAYEVENT_HEADATMARKER current position=%u ms\n", position);
210 // display position periodicall
212 XAmillisecond position; local
559 XAmillisecond position; local
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalActions.java284 public boolean onItemLongClick(AdapterView<?> parent, View view, int position,
286 return mAdapter.getItem(position).onLongPress();
361 public boolean isEnabled(int position) { argument
362 return getItem(position).isEnabled();
370 public Action getItem(int position) { argument
381 if (filteredPos == position) {
387 throw new IllegalArgumentException("position " + position
395 public long getItemId(int position) { argument
396 return position;
399 getView(int position, View convertView, ViewGroup parent) argument
[all...]
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeAac.cpp210 SLmillisecond position; local
211 SLresult res = (*caller)->GetPosition(caller, &position);
214 printf("SL_PLAYEVENT_HEADATMARKER position=%u ms\n", position);
217 printf("SL_PLAYEVENT_HEADATNEWPOS position=%u ms\n", position);
220 printf("SL_PLAYEVENT_HEADATEND position=%u ms, all decoded data has been received\n",
221 position);
385 /* Periodically ask for position and duration */
387 SLmillisecond position; local
568 SLmillisecond position; local
[all...]
/frameworks/av/libvideoeditor/osal/inc/
H A DLVOSA_FileReader_optim.h76 M4OSA_FilePosition* position );
H A DM4OSA_FileCommon_priv.h96 M4OSA_FilePosition* position);
/frameworks/base/core/java/android/app/
H A DActionBar.java268 * @param position Position of the item to select.
270 public abstract void setSelectedNavigationItem(int position); argument
273 * Get the position of the selected navigation item in list or tabbed navigation modes.
532 * <code>position</code>. If this is the first tab to be added it will become
536 * @param position The new position of the tab
538 public abstract void addTab(Tab tab, int position); argument
542 * <code>position</code>.
545 * @param position The new position o
548 addTab(Tab tab, int position, boolean setSelected) argument
564 removeTabAt(int position) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DAutoCompletePopup.java163 mPopup.show(); // update its position
169 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
173 if (id == 0 && position == 0 && mInputConnection.getIsAutoFillable()) {
192 if (position < 0) {
195 selectedItem = mAdapter.getItem(position);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListManagedCursor.java55 public void onItemClick(AdapterView parent, View view, int position, long id) { argument
/frameworks/base/opengl/java/android/opengl/
H A DETC1Util.java162 headerBuffer.put(ioBuffer, 0, ETC1.ETC_PKM_HEADER_SIZE).position(0);
179 dataBuffer.position(0);
208 int originalPosition = dataBuffer.position();
225 dataBuffer.position(originalPosition);
/frameworks/base/services/common_time/
H A Dclock_recovery.cpp89 void ClockRecoveryLoop::reset(bool position, bool frequency) { argument
91 reset_l(position, frequency);
289 void ClockRecoveryLoop::reset_l(bool position, bool frequency) {
292 if (position) {
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestActivity.java45 public void onItemClick(AdapterView<?> parent, View v, int position, long id) {
46 onListItemClick((ListView)parent, v, position, id);
50 private void onListItemClick(ListView lv, View v, int position, long id) { argument
52 Map<String, Object> map = (Map<String, Object>)lv.getItemAtPosition(position);
/frameworks/ex/common/tests/src/com/android/common/widget/
H A DCompositeCursorAdapterTest.java58 protected View newView(Context context, int sectionIndex, Cursor cursor, int position, argument
64 protected void bindView(View v, int partition, Cursor cursor, int position) { argument
65 if (!cursor.moveToPosition(position)) {
66 fail("Invalid position:" + partition + " " + cursor.getColumnNames()[0] + " "
67 + position);
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DFrameworkPerfActivity.java209 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument
211 TestService.Op op = TestService.mAvailOps[position];
213 mFgTestIndex = position;
215 ((TextView)findViewById(R.id.fgtext)).setText(mAvailOpDescriptions[position]);
217 mBgTestIndex = position;
219 ((TextView)findViewById(R.id.bgtext)).setText(mAvailOpDescriptions[position]);
221 mLimitIsIterations = (position != 0);
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTitleStrip.java226 * Set the {@link Gravity} used to position text within the title strip.
326 void updateTextPositions(int position, float positionOffset, boolean force) { argument
327 if (position != mLastKnownCurrentPage) {
328 updateText(position, mPager.getAdapter());
469 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument
472 position++;
474 updateTextPositions(position, positionOffset, false);
478 public void onPageSelected(int position) { argument

Completed in 571 milliseconds

1234567891011>>