HomeSort by relevance Sort by last modified time
    Searched refs:position (Results 176 - 200 of 3483) sorted by null

1 2 3 4 5 6 78 91011>>

  /libcore/luni/src/main/java/java/nio/
NIOAccess.java 26 * Buffer starting at the Buffer's current position, or 0 if the
33 * position, or 0 if there is none
40 return address + (b.position << b._elementSizeShift);
59 * account the Buffer's current position. This method is only
66 return b.hasArray() ? ((b.arrayOffset() + b.position) << b._elementSizeShift) : 0;
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactsSectionIndexer.java 55 int position = 0; local
63 mPositions[i] = position;
64 position += counts[i];
66 mCount = position;
81 public int getSectionForPosition(int position) {
82 if (position < 0 || position >= mCount) {
86 int index = Arrays.binarySearch(mPositions, position);
90 * position is 4. The section corresponding to position 4 starts a
    [all...]
  /cts/tests/src/android/widget/cts/util/
ListUtil.java 41 * Set the selected position of the list view.
42 * @param pos The desired position.
68 * Arrow (up or down as appropriate) to the desired position in the list.
69 * @param desiredPos The desired position
70 * @throws IllegalStateException if the position can't be reached within 20 presses.
80 private void arrowDownToSelectedPosition(int position) {
82 while(mListView.getSelectedItemPosition() < position && --maxDowns > 0) {
85 if (position != mListView.getSelectedItemPosition()) {
91 private void arrowUpToSelectedPosition(int position) {
93 while(mListView.getSelectedItemPosition() > position && --maxUps > 0)
    [all...]
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityEndToEndActivity.java 42 public View getView(int position, View convertView, ViewGroup parent) {
45 textView.setText((String) getItem(position));
49 public long getItemId(int position) {
50 return position;
53 public Object getItem(int position) {
54 if (position == 0) {
  /developers/samples/android/ui/lists/CustomChoiceList/CustomChoiceListSample/src/main/java/com/example/android/customchoicelist/
MainActivity.java 48 public String getItem(int position) {
49 return Cheeses.CHEESES[position];
53 public long getItemId(int position) {
54 return Cheeses.CHEESES[position].hashCode();
58 public View getView(int position, View convertView, ViewGroup container) {
64 .setText(getItem(position));
  /development/samples/browseable/CustomChoiceList/src/com.example.android.customchoicelist/
MainActivity.java 48 public String getItem(int position) {
49 return Cheeses.CHEESES[position];
53 public long getItemId(int position) {
54 return Cheeses.CHEESES[position].hashCode();
58 public View getView(int position, View convertView, ViewGroup container) {
64 .setText(getItem(position));
  /external/chromium_org/chrome/browser/policy/
policy_path_parser_linux.cc 35 size_t position = result.find(kUserNamePolicyVarName); local
36 if (position != std::string::npos) {
39 result.replace(position, strlen(kUserNamePolicyVarName), user->pw_name);
44 position = result.find(kMachineNamePolicyVarName);
45 if (position != std::string::npos) {
48 result.replace(position, strlen(kMachineNamePolicyVarName), machinename);
  /external/chromium_org/chrome/browser/resources/local_ntp/
most_visited_thumbnail.css 6 position: absolute;
19 position: absolute;
35 position: absolute;
  /external/chromium_org/media/filters/
file_data_source.cc 48 void FileDataSource::Read(int64 position, int size, uint8* data,
58 CHECK_GE(position, 0);
61 // Cap position and size within bounds.
62 position = std::min(position, file_size);
63 int64 clamped_size = std::min(static_cast<int64>(size), file_size - position);
65 memcpy(data, file_.data() + position, clamped_size);
  /external/chromium_org/media/tools/player_x11/
data_source_logger.cc 15 int64 position, int size,
17 VLOG(1) << "Read(" << position << ", " << size << ") -> " << result;
39 int64 position, int size, uint8* data,
41 VLOG(1) << "Read(" << position << ", " << size << ")";
42 data_source_->Read(position, size, data, base::Bind(
43 &LogAndRunReadCB, position, size, read_cb));
  /external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
BoundedByteString.java 135 private int position; field in class:BoundedByteString.BoundedByteIterator
139 position = getOffsetIntoBytes();
140 limit = position + size();
144 return (position < limit);
153 if (position >= limit) {
156 return bytes[position++];
  /external/e2fsprogs/lib/ss/
request_tbl.c 22 void ss_add_request_table(sci_idx, rqtbl_ptr, position, code_ptr)
25 int position; /* 1 -> becomes second... */
43 if (position > size - 2)
44 position = size - 2;
47 for (i = size - 2; i >= position; i--)
50 info->rqt_tables[position] = rqtbl_ptr;
  /external/jmonkeyengine/engine/src/android/jme3test/android/
DemoLaunchAdapter.java 33 public Object getItem(int position) {
34 return listDemos.get(position);
37 public long getItemId(int position) {
38 return position;
41 public View getView(int position, View convertView, ViewGroup viewGroup) {
42 DemoLaunchEntry entry = listDemos.get(position);
  /frameworks/base/core/tests/coretests/src/android/util/
ListUtil.java 43 * Set the selected position of the list view.
44 * @param pos The desired position.
70 * Arrow (up or down as appropriate) to the desired position in the list.
71 * @param desiredPos The desired position
72 * @throws IllegalStateException if the position can't be reached within 20 presses.
82 private void arrowDownToSelectedPosition(int position) {
84 while(mListView.getSelectedItemPosition() < position && --maxDowns > 0) {
87 if (position != mListView.getSelectedItemPosition()) {
93 private void arrowUpToSelectedPosition(int position) {
95 while(mListView.getSelectedItemPosition() > position && --maxUps > 0)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/gridview/
GridDelete.java 95 public Object getItem(int position) {
96 return mData.get(position);
99 public long getItemId(int position) {
100 return mData.get(position);
103 public View getView(int position, View convertView, ViewGroup parent) {
105 return createView(mData.get(position), parent, desiredHeight);
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListTakeFocusFromSide.java 55 public Object getItem(int position) {
56 return position;
59 public long getItemId(int position) {
60 return position;
63 public View getView(int position, View convertView, ViewGroup parent) {
71 view.setText(mTitles[position]);
  /frameworks/base/tests/BiDiTests/src/com/android/bidi/
BiDiTestGalleryImages.java 52 public Object getItem(int position) {
53 return position;
57 public long getItemId(int position) {
58 return position;
62 public View getView(int position, View convertView, ViewGroup parent) {
64 i.setImageResource(mImageIds[position]);
  /libcore/luni/src/main/java/java/security/
MessageDigestSpi.java 80 int position = input.position(); local
82 engineUpdate(tmp, offset+position, limit - position);
83 input.position(limit);
85 tmp = new byte[input.limit() - input.position()];
  /libcore/luni/src/main/java/javax/crypto/
MacSpi.java 89 * buffer, starting at {@link ByteBuffer#position()}, including the next
103 int position = input.position(); local
105 engineUpdate(bInput, offset + position, limit - position);
106 input.position(limit);
108 bInput = new byte[input.limit() - input.position()];
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
SectionedAlbumDataAdapter.java 113 public boolean isEnabled(int position) {
114 if (isHeader(position)) {
117 return mAlbumData.isEnabled(internalPosition(position));
129 public Object getItem(int position) {
130 if (isHeader(position)) {
131 return mAlbumData.getItem(internalPosition(position+1)).account;
133 return mAlbumData.getItem(internalPosition(position));
138 public long getItemId(int position) {
139 return position;
143 public int getItemViewType(int position) {
    [all...]
  /frameworks/opt/mailcommon/java/com/android/mailcommon/
MergedAdapter.java 100 * For a given merged position, find the corresponding Adapter and local position within that
101 * Adapter by iterating through Adapters and summing their counts until the merged position is
104 * @param position a merged (global) position
105 * @return the matching Adapter and local position, or null if not found
107 public LocalAdapterPosition<T> getAdapterOffsetForItem(final int position) {
115 if (position < newCount) {
116 return new LocalAdapterPosition<T>(a, position - count);
125 public Object getItem(int position) {
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
MergedAdapter.java 99 * For a given merged position, find the corresponding Adapter and local position within that
100 * Adapter by iterating through Adapters and summing their counts until the merged position is
103 * @param position a merged (global) position
104 * @return the matching Adapter and local position, or null if not found
106 public LocalAdapterPosition<T> getAdapterOffsetForItem(final int position) {
114 if (position < newCount) {
115 return new LocalAdapterPosition<T>(a, position - count);
124 public Object getItem(int position) {
    [all...]
  /external/chromium-trace/trace-viewer/src/ui/
quad_stack.css 12 position: relative;
22 position: relative;
28 position: absolute;
37 background-position: left top, right top, left top;
45 position: absolute;
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
FakeAdapter.java 86 public boolean isEnabled(int position) {
96 public Object getItem(int position) {
97 return mItems.get(position);
101 public long getItemId(int position) {
102 return position;
106 public int getItemViewType(int position) {
107 return mItems.get(position).getType();
111 public View getView(int position, View convertView, ViewGroup parent) {
113 AdapterItem item = mItems.get(position);
129 public View getDropDownView(int position, View convertView, ViewGroup parent)
    [all...]
  /external/chromium_org/content/browser/geolocation/
network_location_request.cc 53 Geoposition* position,
57 // Sets |*position| to the parsed location if a valid fix was received,
61 Geoposition* position,
116 Geoposition position; local
125 &position,
143 DVLOG(1) << "NetworkLocationRequest::Run() : Calling listener with position.";
144 listener_->LocationResponseAvailable(position, server_error, access_token,
243 Geoposition* position) {
244 position->error_code = Geoposition::ERROR_CODE_POSITION_UNAVAILABLE;
245 position->error_message = "Network location provider at '"
    [all...]

Completed in 1326 milliseconds

1 2 3 4 5 6 78 91011>>