HomeSort by relevance Sort by last modified time
    Searched refs:position (Results 51 - 75 of 4027) sorted by null

1 23 4 5 6 7 8 91011>>

  /cts/tests/tests/widget/src/android/widget/cts/
AdapterView_AdapterContextMenuInfoTest.java 28 int position = 1; local
30 menuInfo = new AdapterView.AdapterContextMenuInfo(testView, position, id);
32 assertEquals(position, menuInfo.position);
  /dalvik/dx/src/com/android/dx/dex/code/
CodeAddress.java 37 * @param position {@code non-null;} source position
39 public CodeAddress(SourcePosition position) {
40 this(position, false);
47 * @param position {@code non-null;} source position
51 public CodeAddress(SourcePosition position, boolean bindsClosely) {
52 super(position);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
List6.java 49 protected void onListItemClick(ListView l, View v, int position, long id)
51 ((SpeechListAdapter)getListAdapter()).toggle(position);
85 public Object getItem(int position) {
86 return position;
93 public long getItemId(int position) {
94 return position;
101 public View getView(int position, View convertView, ViewGroup parent) {
104 sv = new SpeechView(mContext, mTitles[position], mDialogue[position], mExpanded[position]);
    [all...]
List5.java 58 public boolean isEnabled(int position) {
59 return !mStrings[position].startsWith("-");
62 public Object getItem(int position) {
63 return position;
66 public long getItemId(int position) {
67 return position;
70 public View getView(int position, View convertView, ViewGroup parent) {
78 tv.setText(mStrings[position]);
  /external/chromium-trace/catapult/tracing/tracing/ui/tracks/
drawing_container.css 11 position: relative;
18 position: absolute;
thread_track.css 9 position: relative;
  /external/deqp/framework/referencerenderer/
rrFragmentPacket.hpp 52 tcu::IVec2 position; //!< Position of (0,0) fragment. member in struct:rr::FragmentPacket
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
CountingAdapter.java 26 public Object getItem(int position) {
31 public long getItemId(int position) {
36 public View getView(int position, View convertView, ViewGroup parent) {
38 textView.setText("Item " + position);
  /frameworks/base/core/java/android/database/
CrossProcessCursor.java 45 * row position until all of the data in the cursor is exhausted
54 * The current position of the cursor, as returned by {@link #getPosition},
58 * @param position The zero-based index of the first row to copy into the window.
61 void fillWindow(int position, CursorWindow window);
65 * to a new position, giving the subclass a chance to update any state it
67 * cursor will scroll to the beforeFirst position.
73 * @param oldPosition The position that we're moving from.
74 * @param newPosition The position that we're moving to.
  /frameworks/base/core/java/android/widget/
Adapter.java 57 * Get the data item associated with the specified position in the data set.
59 * @param position Position of the item whose data we want within the adapter's
61 * @return The data at the specified position.
63 Object getItem(int position);
66 * Get the row id associated with the specified position in the list.
68 * @param position The position of the item within the adapter's data set whose row id we want.
69 * @return The id of the item at the specified position.
71 long getItemId(int position);
    [all...]
  /libcore/support/src/test/java/tests/support/
Support_OutputStream.java 19 private int position; field in class:Support_OutputStream
36 position = 0;
85 if (position < size) {
86 buffer[position] = (byte)(oneByte & 255);
87 position++;
94 byte[] toReturn = new byte[position];
95 System.arraycopy(buffer, 0, toReturn, 0, position);
100 return new String(buffer, 0, position);
104 return position;
  /packages/apps/Contacts/src/com/android/contacts/widget/
NotifyingSpinner.java 30 void onSetSelection(NotifyingSpinner view, int position);
48 public void setSelection(int position) {
49 super.setSelection(position);
52 mListener.onSetSelection(this, position);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
SuggestionsListAdapter.java 74 public Object getItem(int position) {
75 return getSuggestion(position);
79 public long getItemId(int position) {
80 return position;
84 public View getView(int position, View convertView, ViewGroup parent) {
86 getCurrentSuggestions(), position, position, convertView, parent);
90 public int getItemViewType(int position) {
91 return getSuggestionViewType(getCurrentSuggestions(), position);
  /frameworks/base/core/java/com/android/internal/policy/
DividerSnapAlgorithm.java 31 * Calculates the snap targets and the snap position given a position and a velocity. All positions
133 public SnapTarget calculateSnapTarget(int position, float velocity) {
134 return calculateSnapTarget(position, velocity, true /* hardDismiss */);
138 * @param position the top/left position of the divider
142 public SnapTarget calculateSnapTarget(int position, float velocity, boolean hardDismiss) {
143 if (position < mFirstSplitTarget.position && velocity < -mMinDismissVelocityPxPerSecond) {
146 if (position > mLastSplitTarget.position && velocity > mMinDismissVelocityPxPerSecond)
313 int position = DockedDividerUtils.calculateMiddlePosition(isHorizontalDivision, local
379 public final int position; field in class:DividerSnapAlgorithm.SnapTarget
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
MtpAdapter.java 93 public Object getItem(int position) {
94 return mModel.get(position, mSortOrder);
103 public boolean isEnabled(int position) {
108 public long getItemId(int position) {
109 return position;
118 public int getItemViewType(int position) {
119 // If the position is the first in its section, then it corresponds to
121 if (position == getPositionForSection(getSectionForPosition(position))) {
128 public boolean itemAtPositionIsBucket(int position) {
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
PagerAdapter.java 51 * independent of its position in the adapter. A call to the PagerAdapter method
74 * set change may involve pages being added, removed, or changing position. The
99 * Create the page for the given position. The adapter is responsible
105 * @param position The page position to be instantiated.
109 public Object instantiateItem(ViewGroup container, int position) {
110 return instantiateItem((View) container, position);
114 * Remove a page for the given position. The adapter is responsible
119 * @param position The page position to be removed
    [all...]
  /frameworks/support/v4/java/android/support/v4/view/
PagerAdapter.java 51 * independent of its position in the adapter. A call to the PagerAdapter method
74 * set change may involve pages being added, removed, or changing position. The
100 * Create the page for the given position. The adapter is responsible
106 * @param position The page position to be instantiated.
110 public Object instantiateItem(ViewGroup container, int position) {
111 return instantiateItem((View) container, position);
115 * Remove a page for the given position. The adapter is responsible
120 * @param position The page position to be removed
    [all...]
  /libcore/ojluni/src/main/java/java/nio/
HeapCharBuffer.java 81 this.position() + offset,
88 this.position(),
99 this.position(),
126 System.arraycopy(hb, ix(position()), dst, offset, length);
127 position(position() + length);
162 System.arraycopy(src, offset, hb, ix(position()), length);
163 position(position() + length);
178 System.arraycopy(sb.hb, sb.ix(sb.position()),
    [all...]
  /art/runtime/base/
bit_field.h 33 static constexpr size_t position = kPosition; member in class:art::BitField
36 static_assert(position < sizeof(uintptr_t) * kBitsPerByte, "Invalid position.");
39 static_assert(size + position <= sizeof(uintptr_t) * kBitsPerByte, "Invalid position + size.");
54 return ((kUintPtrTOne << size) - 1) << position;
60 return position;
71 return static_cast<uintptr_t>(value) << position;
76 return static_cast<T>((value >> position) & ((kUintPtrTOne << size) - 1));
84 return (static_cast<uintptr_t>(value) << position) |
    [all...]
  /cts/tests/app/app/src/android/app/stubs/
MockListActivity.java 29 protected void onListItemClick(ListView l, View v, int position, long id) {
32 clickedItemPosition = position;
  /development/apps/Development/src/com/android/development/
ArrayAdapter.java 42 public E itemForPosition(int position) {
47 return mList.get(position);
54 public Object getItem(int position) {
55 return position;
58 public long getItemId(int position) {
59 return position;
62 public View getView(int position, View convertView, ViewGroup parent) {
69 bindView(view, mList.get(position));
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLBIOSource.java 73 return source.limit() - source.position();
78 int originalPosition = source.position();
80 return source.position() - originalPosition;
86 int originalPosition = source.position();
88 return source.position() - originalPosition;
98 int originalPosition = source.position();
99 source.position((int) (originalPosition + byteCount));
100 return source.position() - originalPosition;
  /external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/
d3d11blit.hlsl 32 float4 position : POSITION;
38 float4 position : SV_POSITION;
45 result.position = input.position;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
SliceSliceDirectByteBufferTest.java 24 buf.position(1);
26 buf.position(1);
  /packages/apps/Messaging/src/com/android/messaging/ui/
CustomHeaderViewPagerAdapter.java 28 public CharSequence getPageTitle(int position) {
29 // The tab strip will handle RTL internally so we should use raw position.
30 return getViewHolder(position, false /* rtlAware */)

Completed in 1027 milliseconds

1 23 4 5 6 7 8 91011>>