Searched refs:position (Results 201 - 225 of 729) sorted by relevance

1234567891011>>

/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/libs/common_time/
H A Dclock_recovery.h41 void reset(bool position, bool frequency);
96 void reset_l(bool position, bool frequency);
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/
H A DAsn1Decoder.java88 new Asn1Constructed(0, null, data.remaining(), data, data.position());
96 int tagPosition = data.position();
114 data.position(root.getEndOfData() + 2); // advance past '00'
132 copy.limit(copy.position() + length);
133 base.position(base.position() + length);
183 throw new DecodeException("Tag overflow", data.position());
205 throw new DecodeException("Length overflow", data.position());
/frameworks/base/services/net/java/android/net/netlink/
H A DRtNetlinkNeighborMessage.java69 byteBuffer.position(byteBuffer.position() + nlAttr.getAlignedLength());
83 final int baseOffset = byteBuffer.position();
89 byteBuffer.position(baseOffset);
95 byteBuffer.position(baseOffset);
101 byteBuffer.position(baseOffset);
111 byteBuffer.position(byteBuffer.limit());
113 byteBuffer.position(baseOffset + kAdditionalSpace);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewLayersActivity3.java54 public View getView(int position, View convertView, ViewGroup parent) { argument
55 TextView v = (TextView) super.getView(position, convertView, parent);
/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/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
H A DRvArrayAdapter.java56 public void onBindViewHolder(ViewHolder viewHolder, final int position) { argument
57 viewHolder.getTextView().setText(mDataSet[position]);
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DLinearLayoutManagerJankActivity.java49 public void onBindViewHolder(ViewHolder holder, int position) {
50 super.onBindViewHolder(holder, position);
H A DNestedRecyclerViewActivity.java74 public void onBindViewHolder(ViewHolder holder, int position) { argument
75 holder.mTextView.setText(mData[position]);
76 boolean even = position % 2 == 0;
123 public void onBindViewHolder(ViewHolder holder, int position) { argument
124 holder.mRecyclerView.setAdapter(mAdapters.get(position));
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DLinearLayoutManagerJankActivity.java49 public void onBindViewHolder(ViewHolder holder, int position) {
50 super.onBindViewHolder(holder, position);
H A DNestedRecyclerViewActivity.java74 public void onBindViewHolder(ViewHolder holder, int position) { argument
75 holder.mTextView.setText(mData[position]);
76 boolean even = position % 2 == 0;
123 public void onBindViewHolder(ViewHolder holder, int position) { argument
124 holder.mRecyclerView.setAdapter(mAdapters.get(position));
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSparseArrayObjectAdapter.java40 public Object get(int position) { argument
41 return mItems.valueAt(position);
68 * @param positionStart The position of first item that has changed.
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DPreferenceRecyclerViewAccessibilityDelegate.java55 int position = mRecyclerView.getChildAdapterPosition(host);
63 Preference preference = preferenceGroupAdapter.getItem(position);
H A DPreferenceGroupAdapter.java54 * Maps a position into this adapter -> {@link Preference}. These
205 public Preference getItem(int position) { argument
206 if (position < 0 || position >= getItemCount()) return null;
207 return mPreferenceList.get(position);
211 public long getItemId(int position) { argument
215 return this.getItem(position).getId();
272 public int getItemViewType(int position) { argument
273 final Preference preference = this.getItem(position);
319 public void onBindViewHolder(PreferenceViewHolder holder, int position) { argument
[all...]
/frameworks/base/core/java/android/util/apk/
H A DZipUtils.java132 buf.position(eocdOffsetInBuf);
139 * Returns the position at which ZIP End of Central Directory record starts in the provided
213 zipEndOfCentralDirectory.position() + ZIP_EOCD_CENTRAL_DIR_OFFSET_FIELD_OFFSET);
226 zipEndOfCentralDirectory.position() + ZIP_EOCD_CENTRAL_DIR_OFFSET_FIELD_OFFSET,
239 zipEndOfCentralDirectory.position() + ZIP_EOCD_CENTRAL_DIR_SIZE_FIELD_OFFSET);
260 buffer.putInt(buffer.position() + offset, (int) value);
/frameworks/support/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/
H A DActionBarTabsPager.java124 public Fragment getItem(int position) { argument
125 TabInfo info = mTabs.get(position);
130 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument
134 public void onPageSelected(int position) { argument
135 mActionBar.setSelectedNavigationItem(position);
H A DFragmentNestingPagerSupport.java122 public Fragment getItem(int position) { argument
123 TabInfo info = mTabs.get(position);
128 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument
132 public void onPageSelected(int position) { argument
133 mActionBar.setSelectedNavigationItem(position);
H A DFragmentNestingStatePagerSupport.java122 public Fragment getItem(int position) { argument
123 TabInfo info = mTabs.get(position);
128 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument
132 public void onPageSelected(int position) { argument
133 mActionBar.setSelectedNavigationItem(position);
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/
H A DActionBarTabsPager.java124 public Fragment getItem(int position) { argument
125 TabInfo info = mTabs.get(position);
130 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument
134 public void onPageSelected(int position) { argument
135 mActionBar.setSelectedNavigationItem(position);
H A DFragmentNestingPagerSupport.java122 public Fragment getItem(int position) { argument
123 TabInfo info = mTabs.get(position);
128 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument
132 public void onPageSelected(int position) { argument
133 mActionBar.setSelectedNavigationItem(position);
H A DFragmentNestingStatePagerSupport.java122 public Fragment getItem(int position) { argument
123 TabInfo info = mTabs.get(position);
128 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument
132 public void onPageSelected(int position) { argument
133 mActionBar.setSelectedNavigationItem(position);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActivityChooserView.java567 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
569 final int itemViewType = adapter.getItemViewType(position);
577 // The item at position zero is the default already.
578 if (position > 0) {
579 mAdapter.getDataModel().setDefaultActivity(position);
584 position = mAdapter.getShowDefaultActivity() ? position : position + 1;
585 Intent launchIntent = mAdapter.getDataModel().chooseActivity(position);
688 public int getItemViewType(int position) { argument
716 getItem(int position) argument
732 getItemId(int position) argument
737 getView(int position, View convertView, ViewGroup parent) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DArrayAdapter.java348 public @Nullable T getItem(int position) { argument
349 return mObjects.get(position);
353 * Returns the position of the specified item in the array.
355 * @param item The item to retrieve the position of.
357 * @return The position of the specified item.
364 public long getItemId(int position) { argument
365 return position;
369 public @NonNull View getView(int position, @Nullable View convertView, argument
371 return createViewFromResource(mInflater, position, convertView, parent, mResource);
374 private @NonNull View createViewFromResource(@NonNull LayoutInflater inflater, int position, argument
454 getDropDownView(int position, @Nullable View convertView, @NonNull ViewGroup parent) argument
[all...]
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
H A DMultiSelectManagerTest.java329 private void longPress(int position) { argument
330 mManager.onLongPress(TestInputEvent.tap(position));
333 private void tap(int position) { argument
334 mManager.onSingleTapUp(TestInputEvent.tap(position));
337 private void shiftTap(int position) { argument
338 mManager.onSingleTapUp(TestInputEvent.shiftTap(position));
341 private void click(int position) { argument
342 mManager.onSingleTapUp(TestInputEvent.click(position));
345 private void shiftClick(int position) { argument
346 mManager.onSingleTapUp(TestInputEvent.shiftClick(position));
[all...]

Completed in 3404 milliseconds

1234567891011>>