Lines Matching refs:position

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.
123 public void destroyItem(ViewGroup container, int position, Object object) {
124 destroyItem((View) container, position, object);
132 * @param position The page position that is now the primary.
136 public void setPrimaryItem(ViewGroup container, int position, Object object) {
137 setPrimaryItem((View) container, position, object);
162 * Create the page for the given position. The adapter is responsible
168 * @param position The page position to be instantiated.
174 public Object instantiateItem(View container, int position) {
180 * Remove a page for the given position. The adapter is responsible
185 * @param position The page position to be removed.
191 public void destroyItem(View container, int position, Object object) {
200 * @param position The page position that is now the primary.
206 public void setPrimaryItem(View container, int position, Object object) {
253 * Called when the host view is attempting to determine if an item's position
254 * has changed. Returns {@link #POSITION_UNCHANGED} if the position of the given
259 * change position and always returns {@link #POSITION_UNCHANGED}.
263 * @return object's new position index from [0, {@link #getCount()}),
264 * {@link #POSITION_UNCHANGED} if the object's position has not changed,
303 * @param position The position of the title requested
306 public CharSequence getPageTitle(int position) {
314 * @param position The position of the page requested
315 * @return Proportional width for the given page position
317 public float getPageWidth(int position) {