Searched defs:position (Results 151 - 175 of 316) sorted by relevance

1234567891011>>

/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A Dcommon.cpp70 positionID = _env->GetFieldID(bufferClass, "position", "I");
79 jint position; local
84 position = _env->GetIntField(buffer, positionID);
87 *remaining = (limit - position) << elementSizeShift;
114 jint position = _env->GetIntField(buffer, positionID); local
116 buf += position << elementSizeShift;
/frameworks/opt/chips/src/com/android/ex/chips/
H A DDropdownChipLayouter.java65 * @param position The position in the list.
71 public View bindView(View convertView, ViewGroup parent, RecipientEntry entry, int position, argument
73 return bindView(convertView, parent, entry, position, type, constraint, null);
80 public View bindView(View convertView, ViewGroup parent, RecipientEntry entry, int position, argument
112 viewHolder.topDivider.setVisibility(position == 0 ? View.VISIBLE : View.GONE);
116 if (position != 0) {
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DMonthAdapter.java153 public Object getItem(int position) { argument
158 public long getItemId(int position) { argument
159 return position;
170 public View getView(int position, View convertView, ViewGroup parent) { argument
191 final int month = position % MONTHS_IN_YEAR;
192 final int year = position / MONTHS_IN_YEAR + mController.getMinYear();
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneData.java94 public TimeZoneInfo get(int position) { argument
95 return mTimeZones.get(position);
H A DTimeZoneFilterTypeAdapter.java101 public FilterTypeResult getItem(int position) { argument
102 return mLiveResults.get(position);
106 public long getItemId(int position) { argument
107 return position;
111 public View getView(int position, View convertView, ViewGroup parent) { argument
123 if (position >= mLiveResults.size()) {
124 Log.e(TAG, "getView: " + position + " of " + mLiveResults.size());
127 FilterTypeResult filter = mLiveResults.get(position);
H A DTimeZonePickerView.java152 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
H A DTimeZoneResultAdapter.java243 public Object getItem(int position) { argument
244 if (position < 0 || position >= mFilteredTimeZoneLength) {
248 return mTimeZoneData.get(mFilteredTimeZoneIndices[position]);
257 public boolean isEnabled(int position) { argument
258 return mFilteredTimeZoneIndices[position] >= 0;
262 public long getItemId(int position) { argument
263 return mFilteredTimeZoneIndices[position];
267 public View getView(int position, View convertView, ViewGroup parent) { argument
270 if (mFilteredTimeZoneIndices[position]
308 onItemClick(AdapterView<?> parent, View v, int position, long id) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBaseRowFragment.java43 public void onChildSelected(ViewGroup parent, View view, int position, long id) {
44 onRowSelected(parent, view, position, id);
48 void onRowSelected(ViewGroup parent, View view, int position, long id) { argument
118 * Sets the selected row position with smooth animation.
120 public void setSelectedPosition(int position) { argument
121 setSelectedPosition(position, true);
125 * Sets the selected row position.
127 public void setSelectedPosition(int position, boolean smooth) { argument
128 mSelectedPosition = position;
131 mVerticalGridView.setSelectedPositionSmooth(position);
157 getItem(Row row, int position) argument
[all...]
H A DBaseRowSupportFragment.java45 public void onChildSelected(ViewGroup parent, View view, int position, long id) {
46 onRowSelected(parent, view, position, id);
50 void onRowSelected(ViewGroup parent, View view, int position, long id) { argument
120 * Sets the selected row position with smooth animation.
122 public void setSelectedPosition(int position) { argument
123 setSelectedPosition(position, true);
127 * Sets the selected row position.
129 public void setSelectedPosition(int position, boolean smooth) { argument
130 mSelectedPosition = position;
133 mVerticalGridView.setSelectedPositionSmooth(position);
159 getItem(Row row, int position) argument
[all...]
H A DDetailsFragment.java165 // align the top edge of item to a fixed position
190 * Sets the selected row position with smooth animation.
192 public void setSelectedPosition(int position) { argument
193 setSelectedPosition(position, true);
197 * Sets the selected row position.
199 public void setSelectedPosition(int position, boolean smooth) { argument
200 mSetSelectionRunnable.mPosition = position;
H A DDetailsSupportFragment.java167 // align the top edge of item to a fixed position
192 * Sets the selected row position with smooth animation.
194 public void setSelectedPosition(int position) { argument
195 setSelectedPosition(position, true);
199 * Sets the selected row position.
201 public void setSelectedPosition(int position, boolean smooth) { argument
202 mSetSelectionRunnable.mPosition = position;
H A DHeadersFragment.java74 void onRowSelected(ViewGroup parent, View view, int position, long id) { argument
76 if (position >= 0) {
77 Row row = (Row) getAdapter().get(position);
H A DHeadersSupportFragment.java76 void onRowSelected(ViewGroup parent, View view, int position, long id) { argument
78 if (position >= 0) {
79 Row row = (Row) getAdapter().get(position);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DControlBarPresenter.java90 for (int position = 0; position < mViewHolders.size(); position++) {
91 if (mViewHolders.get(position).view == child) {
93 mViewHolders.get(position),
94 getDisplayedAdapter().get(position), mData);
135 for (int position = 0; position < adapterSize && position < MAX_CONTROLS;
136 position
143 bindControlToAction(int position, Presenter presenter) argument
147 bindControlToAction(final int position, ObjectAdapter adapter, Presenter presenter) argument
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DListFragment.java57 public void onItemClick(AdapterView<?> parent, View v, int position, long id) {
58 onListItemClick((ListView)parent, v, position, id);
164 * getListView().getItemAtPosition(position) if they need to access the
169 * @param position The position of the view in the list
172 public void onListItemClick(ListView l, View v, int position, long id) { argument
193 * position with the adapter's data
195 * @param position
197 public void setSelection(int position) { argument
199 mList.setSelection(position);
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTabStrip.java278 void updateTextPositions(int position, float positionOffset, boolean force) { argument
287 super.updateTextPositions(position, positionOffset, force);
/frameworks/support/v4/java/android/support/v4/widget/
H A DCursorAdapter.java211 public Object getItem(int position) { argument
213 mCursor.moveToPosition(position);
223 public long getItemId(int position) { argument
225 if (mCursor.moveToPosition(position)) {
243 public View getView(int position, View convertView, ViewGroup parent) { argument
247 if (!mCursor.moveToPosition(position)) {
248 throw new IllegalStateException("couldn't move cursor to position " + position);
261 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
263 mCursor.moveToPosition(position);
[all...]
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/
H A DTransportMediatorJellybeanMR2.java158 public void refreshState(boolean playing, long position, int transportControls) { argument
161 : RemoteControlClient.PLAYSTATE_STOPPED, position, playing ? 1 : 0);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DAbsSpinnerCompat.java77 * It also provides methods to transform spinner items based on their position
101 int position = mItemCount > 0 ? 0 : INVALID_POSITION;
103 setSelectedPositionInt(position);
104 setNextSelectedPositionInt(position);
237 final int position = mFirstPosition;
242 int index = position + i;
250 public void setSelection(int position, boolean animate) { argument
251 // Animate only if requested position is already on screen somewhere
252 boolean shouldAnimate = animate && mFirstPosition <= position &&
253 position <
258 setSelection(int position) argument
272 setSelectionInt(int position, boolean animate) argument
346 int position; field in class:AbsSpinnerCompat.SavedState
423 put(int position, View v) argument
427 get(int position) argument
[all...]
H A DListViewCompat.java129 * Find a position that can be selected (i.e., is not a separator).
131 * @param position The starting position to look at.
133 * @return The next selectable position starting at position and then searching either up or
136 public int lookForSelectablePosition(int position, boolean lookDown) { argument
145 position = Math.max(0, position);
146 while (position < count && !adapter.isEnabled(position)) {
168 positionSelectorLikeTouchCompat(int position, View sel, float x, float y) argument
177 positionSelectorLikeFocusCompat(int position, View sel) argument
197 positionSelectorCompat(int position, View sel) argument
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteChooserDialog.java204 public boolean isEnabled(int position) { argument
205 return getItem(position).isEnabled();
209 public View getView(int position, View convertView, ViewGroup parent) { argument
214 MediaRouter.RouteInfo route = getItem(position);
231 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
232 MediaRouter.RouteInfo route = getItem(position);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DChildHelper.java173 * This can be used to find a disappearing view by position.
175 * @param position The adapter position of the item.
177 * @return A hidden view with a valid ViewHolder that matches the position and type.
179 View findHiddenNonRemovedView(int position, int type) { argument
184 if (holder.getLayoutPosition() == position && !holder.isInvalid() &&
/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp110 SLmillisecond position; local
111 res = (*playItf)->GetPosition(playItf, &position); ExitOnError(res);
112 printf("position=%u\n", (unsigned) position);
295 /* Setup to receive playback events on position updates */
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp161 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) {
166 return mDrmManager->setPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position);
160 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp191 int playbackStatus, int64_t position) {
190 onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument

Completed in 634 milliseconds

1234567891011>>