HomeSort by relevance Sort by last modified time
    Searched refs:position (Results 226 - 250 of 3487) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/support/v13/java/android/support/v13/app/
FragmentPagerAdapter.java 78 * Return the Fragment associated with a specified position.
80 public abstract Fragment getItem(int position);
87 public Object instantiateItem(ViewGroup container, int position) {
92 final long itemId = getItemId(position);
101 fragment = getItem(position);
115 public void destroyItem(ViewGroup container, int position, Object object) {
119 if (DEBUG) Log.v(TAG, "Detaching item #" + getItemId(position) + ": f=" + object
125 public void setPrimaryItem(ViewGroup container, int position, Object object) {
164 * Return a unique identifier for the item at the given position.
166 * <p>The default implementation returns the given position
    [all...]
  /frameworks/support/v4/java/android/support/v4/app/
FragmentPagerAdapter.java 74 * Return the Fragment associated with a specified position.
76 public abstract Fragment getItem(int position);
83 public Object instantiateItem(ViewGroup container, int position) {
88 final long itemId = getItemId(position);
97 fragment = getItem(position);
111 public void destroyItem(ViewGroup container, int position, Object object) {
115 if (DEBUG) Log.v(TAG, "Detaching item #" + getItemId(position) + ": f=" + object
121 public void setPrimaryItem(ViewGroup container, int position, Object object) {
160 * Return a unique identifier for the item at the given position.
162 * <p>The default implementation returns the given position
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
AbstractTestListActivity.java 38 private Intent getIntent(int position) {
39 TestListItem item = mAdapter.getItem(position);
65 protected void onListItemClick(ListView listView, View view, int position, long id) {
66 super.onListItemClick(listView, view, position, id);
67 Intent intent = getIntent(position);
  /external/chromium/chrome/browser/sync/sessions/
ordered_commit_set.h 47 // Return the Id at index |position| in this OrderedCommitSet. Note that
54 const syncable::Id& GetCommitIdAt(const size_t position) const {
55 return commit_ids_[position];
59 syncable::ModelType GetModelTypeAt(const size_t position) const {
60 return types_[position];
94 CommitItem GetCommitItemAt(const int position) const;
  /external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/app/
style.css 24 position: absolute;
31 position: relative;
56 background-position: -183px -90px;
62 background-position: -426px -90px;
66 /* The default background-position: 0 0; is fine */
71 background-position: -243px 0;
75 background-position: -122px 0;
80 background-position: -365px 0;
84 background-position: -61px -45px;
89 background-position: -304px -45px
    [all...]
  /external/chromium_org/sync/sessions/
ordered_commit_set.h 47 // Return the Id at index |position| in this OrderedCommitSet. Note that
54 const syncable::Id& GetCommitIdAt(const size_t position) const {
55 return commit_ids_[position];
59 ModelType GetModelTypeAt(const size_t position) const {
60 return types_[position];
106 CommitItem GetCommitItemAt(const size_t position) const;
  /external/chromium_org/third_party/WebKit/Source/core/platform/
PlatformGestureEvent.h 45 PlatformGestureEvent(Type type, const IntPoint& position, const IntPoint& globalPosition, double timestamp, float deltaX, float deltaY, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey)
47 , m_position(position)
54 PlatformGestureEvent(Type type, const IntPoint& position, const IntPoint& globalPosition, double timestamp, const IntSize& area, const FloatPoint& delta, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey)
56 , m_position(position)
64 const IntPoint& position() const { return m_position; } // PlatformWindow coordinates. function in class:WebCore::PlatformGestureEvent
PlatformMouseEvent.h 47 PlatformMouseEvent(const IntPoint& position, const IntPoint& globalPosition, MouseButton button, PlatformEvent::Type type,
50 , m_position(position)
58 const IntPoint& position() const { return m_position; } function in class:WebCore::PlatformMouseEvent
  /external/icu4c/layout/
LEInsertionList.cpp 18 le_int32 position; member in struct:InsertionRecord
54 LEGlyphID *LEInsertionList::insert(le_int32 position, le_int32 count, LEErrorCode &success)
66 insertion->position = position;
88 if (callback->applyInsertion(rec->position, rec->count, rec->glyphs)) {
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
SortingCursorWrapper.java 169 private static void binarySort(int[] position, String[] value) {
170 final int count = position.length;
172 final int pivotPosition = position[start];
202 position[left + 2] = position[left + 1];
205 position[left + 1] = position[left];
209 System.arraycopy(position, left, position, left + 1, n);
213 position[left] = pivotPosition
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/luni/tests/java/util/
ScannerParseLargeFileBenchmarkTest.java 49 static int position = 0; field in class:ScannerParseLargeFileBenchmarkTest.MyReader
63 position = 0;
67 buf[i] = CONTENT[(i + position) % CONTENT.length];
71 position = (length + position) % CONTENT.length;
  /packages/apps/Gallery2/src/com/android/photos/views/
HeaderGridView.java 307 public boolean isEnabled(int position) {
310 if (position < numHeadersAndPlaceholders) {
311 return (position % mNumColumns == 0)
312 && mHeaderViewInfos.get(position / mNumColumns).isSelectable;
316 final int adjPosition = position - numHeadersAndPlaceholders;
325 throw new ArrayIndexOutOfBoundsException(position);
329 public Object getItem(int position) {
332 if (position < numHeadersAndPlaceholders) {
333 if (position % mNumColumns == 0) {
334 return mHeaderViewInfos.get(position / mNumColumns).data
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
ucol_cnt.cpp 30 if(tbl->position == tbl->size) {
69 tbl->position = 0;
93 el->position = 0;
136 table->position = 0;
150 table->offsets[i] = table->position+mainOffset;
151 table->position += table->elements[i]->position;
158 table->CEs = (uint32_t *)uprv_malloc(table->position*sizeof(uint32_t));
165 uprv_memset(table->CEs, '?', table->position*sizeof(uint32_t));
170 table->codePoints = (UChar *)uprv_malloc(table->position*sizeof(UChar))
481 uint32_t position = 0; local
571 uint32_t position = 0; local
    [all...]
  /external/icu4c/i18n/
ucol_cnt.cpp 30 if(tbl->position == tbl->size) {
69 tbl->position = 0;
93 el->position = 0;
136 table->position = 0;
150 table->offsets[i] = table->position+mainOffset;
151 table->position += table->elements[i]->position;
158 table->CEs = (uint32_t *)uprv_malloc(table->position*sizeof(uint32_t));
165 uprv_memset(table->CEs, '?', table->position*sizeof(uint32_t));
170 table->codePoints = (UChar *)uprv_malloc(table->position*sizeof(UChar))
481 uint32_t position = 0; local
571 uint32_t position = 0; local
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/
OldAndroidNIOTest.java 35 assertTrue(0 <= b.position());
36 assertTrue(b.position() <= b.limit());
98 b.position(0);
108 b.position(0);
118 b.position(b.limit() - 2);
126 b.position(0);
137 b.position(0);
152 b.position(0);
173 b.position(0);
194 b.position(6)
    [all...]
  /frameworks/ex/common/java/com/android/common/widget/
GroupingListAdapter.java 264 * Figures out whether the item at the specified position represents a
266 * corresponding cursor position.
268 public void obtainPositionMetadata(PositionMetadata metadata, int position) {
271 if (metadata.listPosition == position) {
279 // Check cache for the supplied position. What we are looking for is
280 // the group descriptor immediately preceding the supplied position.
281 // Once we have that, we will be able to tell whether the position
284 if (position <= mLastCachedListPosition) {
287 int index = mPositionCache.indexOfKey(position);
289 // If we get back a positive number, the position corresponds t
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/selectcalendars/
SelectCalendarsSimpleAdapter.java 217 public View getView(final int position, View convertView, ViewGroup parent) {
218 if (position >= mRowCount) {
221 String name = mData[position].displayName;
222 boolean selected = mData[position].selected;
224 int color = Utils.getDisplayColorFromColor(mData[position].color);
256 if (!hasMoreColors(position)) {
261 mColorPickerDialog = CalendarColorPickerDialog.newInstance(mData[position].id,
264 mColorPickerDialog.setCalendarId(mData[position].id);
287 colorView.setEnabled(hasMoreColors(position));
290 if (!TextUtils.isEmpty(mData[position].ownerAccount
    [all...]
  /external/chromium_org/content/browser/geolocation/
gps_location_provider_unittest_linux.cc 18 virtual bool GetPositionIfFixed(Geoposition* position) OVERRIDE {
19 CHECK(position); variable
21 *position = get_position_;
78 const Geoposition& position) {
120 Geoposition position; local
121 provider_->GetPosition(&position);
122 EXPECT_FALSE(position.Validate());
123 EXPECT_EQ(Geoposition::ERROR_CODE_POSITION_UNAVAILABLE, position.error_code);
136 Geoposition position; local
137 provider_->GetPosition(&position);
182 Geoposition position; local
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAdapterView.java 215 public Object getItemAtPosition(int position) {
217 return (adapter == null || position < 0) ? null : adapter.getItem(position);
221 public long getItemIdAtPosition(int position) {
223 return (adapter == null || position < 0) ? AdapterView.INVALID_ROW_ID : adapter.getItemId(position);
227 public void setSelection(final int position) {
228 selectedPosition = position;
235 onItemSelectedListener.onItemSelected(realAdapterView, getChildAt(position), position, getAdapter().getItemId(position))
    [all...]
  /external/skia/tests/
PathMeasureTest.cpp 120 SkPoint position; local
122 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent));
124 SkScalarNearlyEqual(position.fX,
127 REPORTER_ASSERT(reporter, position.fY == 0);
147 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent));
149 SkScalarNearlyEqual(position.fX,
152 REPORTER_ASSERT(reporter, position.fY == 0);
155 REPORTER_ASSERT(reporter, meas.getPosTan(SkFloatToScalar(2.5f), &position, &tangent));
157 SkScalarNearlyEqual(position.fX, SK_Scalar1, SkFloatToScalar(0.0001f)));
159 SkScalarNearlyEqual(position.fY, SkFloatToScalar(1.5f)))
    [all...]
  /frameworks/base/core/tests/coretests/src/android/util/
GridScenario.java 112 * Set the position that starts selected.
114 * @param startingSelectionPosition The selected position within the adapter's data set.
135 * @param position The position in the grid.
139 int position, double itemScreenSizeFactor) {
140 mOverrideItemScreenSizeFactors.put(position, itemScreenSizeFactor);
266 public void onItemSelected(AdapterView parent, View v, int position, long id) {
267 positionSelected(position);
315 public final String getValueAtPosition(int position) {
316 return "postion " + position;
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
ContactEntryAdapter.java 97 * Resets the section data and returns the position of the given entry.
100 * @param entry the entry to return the position for
101 * @return the position of entry, or -1 if it isn't found
108 int position = 0; local
115 position += j;
116 return position;
119 position += sectionSize;
143 public final boolean isEnabled(int position) {
156 if (position == 0) {
160 position -= sectionSize
    [all...]
  /external/chromium_org/ash/display/
display_layout.h 26 enum Position {
36 static DisplayLayout FromInts(int position, int offsets);
39 DisplayLayout(Position position, int offset);
53 Position position; member in struct:ash::DisplayLayout
55 // The offset of the position of the secondary display. The offset is
  /external/chromium_org/chrome/browser/policy/
policy_path_parser_win.cc 87 size_t position = result.find(win_folder_mapping[i].name); local
88 if (position != std::wstring::npos) {
92 result.replace(position, wcslen(win_folder_mapping[i].name), path_string);
96 size_t position = result.find(kUserNamePolicyVarName); local
97 if (position != std::wstring::npos) {
104 result.replace(position, wcslen(kUserNamePolicyVarName), username_string);
107 position = result.find(kMachineNamePolicyVarName);
108 if (position != std::wstring::npos) {
117 position, wcslen(kMachineNamePolicyVarName), machinename_string);
120 position = result.find(kWinClientName)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
VerticalPositionCache.h 54 void set(RenderObject* renderer, FontBaseline baselineType, int position)
57 m_alphabeticPositions.set(renderer, position);
59 m_ideographicPositions.set(renderer, position);

Completed in 2315 milliseconds

1 2 3 4 5 6 7 8 91011>>