Searched refs:position (Results 101 - 125 of 300) sorted by relevance

1234567891011>>

/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DGLES10cHeader.cpp70 positionID = _env->GetFieldID(bufferClass, "position", "I");
79 jint position; local
84 position = _env->GetIntField(buffer, positionID);
87 *remaining = (limit - position) << elementSizeShift;
114 jint position = _env->GetIntField(buffer, positionID); local
116 buf += position << elementSizeShift;
H A DGLES11ExtcHeader.cpp66 positionID = _env->GetFieldID(bufferClass, "position", "I");
76 jint position; local
81 position = _env->GetIntField(buffer, positionID);
84 *remaining = (limit - position) << elementSizeShift;
111 jint position = _env->GetIntField(buffer, positionID); local
113 buf += position << elementSizeShift;
H A DGLES11cHeader.cpp64 positionID = _env->GetFieldID(bufferClass, "position", "I");
74 jint position; local
79 position = _env->GetIntField(buffer, positionID);
82 *remaining = (limit - position) << elementSizeShift;
110 jint position = _env->GetIntField(buffer, positionID); local
112 buf += position << elementSizeShift;
H A DGLES20cHeader.cpp57 positionID = _env->GetFieldID(bufferClass, "position", "I");
67 jint position; local
72 position = _env->GetIntField(buffer, positionID);
75 *remaining = (limit - position) << elementSizeShift;
103 jint position = _env->GetIntField(buffer, positionID); local
105 buf += position << elementSizeShift;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuPopupHelper.java154 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
156 adapter.mAdapterMenu.performItemAction(adapter.getItem(position), 0);
200 // Recompute window size and position
322 public MenuItemImpl getItem(int position) { argument
325 if (mExpandedIndex >= 0 && position >= mExpandedIndex) {
326 position++;
328 return items.get(position);
331 public long getItemId(int position) { argument
332 // Since a menu item's ID is optional, we'll use the position as an
334 return position;
337 getView(int position, View convertView, ViewGroup parent) argument
[all...]
/frameworks/base/core/java/android/net/dhcp/
H A DDhcpPacket.java272 ipLengthOffset = buf.position();
278 ipChecksumOffset = buf.position();
283 endIpHeader = buf.position();
286 udpHeaderOffset = buf.position();
289 udpLengthOffset = buf.position();
291 udpChecksumOffset = buf.position();
314 buf.position(buf.position() +
322 if ((buf.position() & 1) == 1) {
330 short udpLen = (short)(buf.position()
[all...]
/frameworks/base/core/java/android/widget/
H A DSpinner.java466 * @param delta Change in the selected position. +1 means selection is moving to the right,
493 // Make selected view and position it
528 * @param position Position in the spinner for the view to obtain
531 private View makeAndAddView(int position) { argument
536 child = mRecycler.get(position);
546 child = mAdapter.getView(position, null, this);
555 * Helper for makeAndAddView to set the position of a view
558 * @param child The view to position
724 public Object getItem(int position) { argument
725 return mAdapter == null ? null : mAdapter.getItem(position);
728 getItemId(int position) argument
732 getView(int position, View convertView, ViewGroup parent) argument
736 getDropDownView(int position, View convertView, ViewGroup parent) argument
774 isEnabled(int position) argument
783 getItemViewType(int position) argument
[all...]
/frameworks/base/core/java/android/accounts/
H A DChooseAccountActivity.java85 public void onItemClick(AdapterView<?> parent, View v, int position, long id) {
86 onListItemClick((ListView)parent, v, position, id);
119 protected void onListItemClick(ListView l, View v, int position, long id) { argument
120 Account account = (Account) mAccounts[position];
167 public View getView(int position, View convertView, ViewGroup parent) { argument
180 holder.text.setText(mInfos[position].name);
181 holder.icon.setImageDrawable(mInfos[position].drawable);
/frameworks/base/core/java/android/content/
H A DSyncActivityTooManyDeletes.java61 // the order of these must match up with the constants for position used in onItemClick
109 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
110 // the constants for position correspond to the items options array in onCreate()
111 if (position == 0) startSyncReallyDelete();
112 else if (position == 1) startSyncUndoDeletes();
/frameworks/base/libs/hwui/
H A DLayerCache.cpp164 size_t position = 0; local
166 position = mCache.size() - 1;
168 Layer* victim = mCache.itemAt(position).mLayer;
170 mCache.removeAt(position);
/frameworks/ex/variablespeed/jni/
H A Dring_buffer.h25 // Circular buffer of multichannel audio, maintaining the position of the
46 // Gets the position of a reading head.
48 // @returns position pointed to by the #reader reading head.
53 // @param position target position.
54 void Seek(int reader, int64 position);
67 // Flushes the content of the buffer and reset the position of the heads.
97 // Returns the position of the laziest reader.
/frameworks/wilhelm/tests/listening/
H A DseekTorture.c100 unsigned position, duration; local
101 while (fscanf(fp_map, "%u %u", &position, &duration) == 2) {
102 printf("%u %u\n", position, duration);
103 result = (*playerSeek)->SetPosition(playerSeek, (SLmillisecond) position,
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientAlternatesAdapter.java217 public long getItemId(int position) { argument
219 if (c.moveToPosition(position)) {
225 public RecipientEntry getRecipientEntry(int position) { argument
227 c.moveToPosition(position);
240 public View getView(int position, View convertView, ViewGroup parent) { argument
242 cursor.moveToPosition(position);
247 mCheckedItemPosition = position;
260 int position = cursor.getPosition();
264 RecipientEntry entry = getRecipientEntry(position);
265 if (position
297 onCheckedItemChanged(int position) argument
[all...]
H A DSingleRecipientArrayAdapter.java42 public View getView(int position, View convertView, ViewGroup parent) { argument
46 bindView(convertView, convertView.getContext(), getItem(position));
/frameworks/av/libvideoeditor/osal/inc/
H A DM4OSA_FileReader.h53 /** Get the file position (M4OSA_fpos*)*/
86 M4OSA_FilePosition* position);
114 M4OSA_FilePosition* position);
H A DM4OSA_FileWriter.h82 M4OSA_FilePosition* position);
109 the position in the file (from the beginning) after the seek in the "position"
115 M4OSA_FilePosition* position);
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoInline.java51 HTML5VideoInline(int videoLayerId, int position, boolean skipPrepare) { argument
52 init(videoLayerId, position, skipPrepare);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DListActivity.java116 public View getView(int position, View convertView, ViewGroup parent) { argument
117 TextView v = (TextView) super.getView(position, convertView, parent);
H A DTransparentListActivity.java110 public View getView(int position, View convertView, ViewGroup parent) { argument
111 TextView v = (TextView) super.getView(position, convertView, parent);
H A DViewLayersActivity2.java57 public View getView(int position, View convertView, ViewGroup parent) { argument
58 TextView v = (TextView) super.getView(position, convertView, parent);
H A DViewLayersActivity4.java61 public View getView(int position, View convertView, ViewGroup parent) { argument
62 TextView v = (TextView) super.getView(position, convertView, parent);
/frameworks/ex/chips/tests/src/com/android/ex/chips/
H A DRecipientAlternatesAdapterTest.java82 private static void assertRow(Cursor c, int position, argument
92 assertTrue(c.moveToPosition(position));
/frameworks/ex/photoviewer/src/com/android/ex/photo/
H A DPhotoViewActivity.java91 * will be at the proper position.
348 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument
352 public void onPageSelected(int position) { argument
353 mPhotoIndex = position;
474 final int position = mViewPager.getCurrentItem() + 1;
488 if (mIsEmpty || !hasAlbumCount || position <= 0) {
491 subtitle = getResources().getString(R.string.photo_view_count, position, mAlbumCount);
502 * at the current position so that it refers to the current image on screen.
503 * @return the cursor at the current position or
511 final int position
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DPhotoPagerAdapter.java45 public Fragment getItem(Context context, Cursor cursor, int position) { argument
67 return new PhotoViewFragment(builder.build(), position, this, onlyShowSpinner);
/frameworks/base/core/java/android/database/
H A DBulkCursorNative.java102 int position = data.readInt();
103 onMove(position);
155 public CursorWindow getWindow(int position) throws RemoteException argument
161 data.writeInt(position);
177 public void onMove(int position) throws RemoteException { argument
182 data.writeInt(position);

Completed in 304 milliseconds

1234567891011>>