/frameworks/base/core/java/android/text/method/ |
H A D | CharacterPickerDialog.java | 89 public void onItemClick(AdapterView parent, View view, int position, long id) { argument 90 String result = String.valueOf(mOptions.charAt(position)); 123 public View getView(int position, View convertView, ViewGroup parent) { argument 126 b.setText(String.valueOf(mOptions.charAt(position))); 135 public final Object getItem(int position) { argument 136 return String.valueOf(mOptions.charAt(position)); 139 public final long getItemId(int position) { argument 140 return position;
|
/frameworks/base/core/java/android/webkit/ |
H A D | PluginList.java | 109 public synchronized void pluginClicked(Context context, int position) { argument 111 Plugin plugin = mPlugins.get(position);
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
H A D | GridSimple.java | 49 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 50 View view = super.createView(position, parent, desiredHeight);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListSimple.java | 45 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 46 View view = super.createView(position, parent, desiredHeight);
|
H A D | ListWithEmptyView.java | 42 public long getItemId(int position) { argument 43 if (position < 0 || position >= this.getCount()) { 46 return super.getItemId(position);
|
H A D | ListHorizontalFocusWithinItemWins.java | 51 protected View createView(int position, ViewGroup parent, argument 54 if (position == 0) { 57 } else if (position == 1) { 61 throw new IllegalArgumentException("expecting position 0 or 1");
|
H A D | ListItemISVAndButton.java | 42 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 48 final InternalSelectionView isv = new InternalSelectionView(context, 8, "ISV postion " + position); 61 topButton.setText("button " + position + ")");
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
H A D | CameraBrowser.java | 64 public Object getItem(int position) { argument 65 return mDeviceList.get(position); 68 public long getItemId(int position) { argument 69 return position; 72 public View getView(int position, View convertView, ViewGroup parent) { argument 83 MtpDevice device = mDeviceList.get(position); 117 protected void onListItemClick(ListView l, View v, int position, long id) { argument 119 intent.putExtra("device", mDeviceList.get(position).getDeviceName());
|
H A D | ObjectBrowser.java | 71 public Object getItem(int position) { argument 72 return mObjectList.get(position); 75 public long getItemId(int position) { argument 76 return position; 79 public View getView(int position, View convertView, ViewGroup parent) { argument 88 MtpObjectInfo info = mObjectList.get(position); 133 protected void onListItemClick(ListView l, View v, int position, long id) { argument 134 MtpObjectInfo info = mObjectList.get(position);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
H A D | TileAdapter.java | 174 public int getItemViewType(int position) { argument 175 if (mAccessibilityMoving && position == mEditIndex - 1) { 178 if (position == mTileDividerIndex) { 181 if (mTiles.get(position) == null) { 215 public void onBindViewHolder(final Holder holder, int position) { argument 234 R.string.accessibility_qs_edit_position_label, position + 1)); 258 TileInfo info = mTiles.get(position); 260 if (position > mEditIndex) { 265 R.string.accessibility_qs_edit_position_label, position + 1); 268 R.string.accessibility_qs_edit_tile_label, position 301 selectPosition(int position, View v) argument 314 showAccessibilityDialog(final int position, final View v) argument 339 startAccessibleDrag(int position) argument [all...] |
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
H A D | UsageLogActivity.java | 100 public UsageEvents.Event getItem(int position) { argument 101 return mEvents.get(position); 105 public long getItemId(int position) { argument 106 return position; 110 public int getItemViewType(int position) { argument 111 final int eventType = getItem(position).getEventType(); 119 public View getView(int position, View convertView, ViewGroup parent) { argument 120 final UsageEvents.Event event = getItem(position);
|
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/items/ |
H A D | RecyclerItemAdapter.java | 61 public IItem getItem(int position) { argument 62 return mItemHierarchy.getItemAt(position); 66 public long getItemId(int position) { argument 67 IItem mItem = getItem(position); 127 public void onBindViewHolder(ItemViewHolder holder, int position) { argument 128 final IItem item = getItem(position); 135 public int getItemViewType(int position) { argument 138 IItem item = getItem(position);
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
H A D | ListPopupWindowActivity.java | 83 public Object getItem(int position) { 84 return POPUP_CONTENT[position]; 88 public long getItemId(int position) { 89 return position; 93 public View getView(int position, View convertView, ViewGroup parent) { 105 viewHolder.title.setText(POPUP_CONTENT[position]); 118 public void onItemClick(AdapterView<?> parent, View view, int position, 120 addToLog("Item #"+ position + " clicked");
|
/frameworks/support/media-compat/api22/android/support/v4/media/session/ |
H A D | PlaybackStateCompatApi22.java | 31 public static Object newInstance(int state, long position, long bufferedPosition, argument 36 stateObj.setState(state, position, speed, updateTime);
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
H A D | ListPopupWindowActivity.java | 83 public Object getItem(int position) { 84 return POPUP_CONTENT[position]; 88 public long getItemId(int position) { 89 return position; 93 public View getView(int position, View convertView, ViewGroup parent) { 105 viewHolder.title.setText(POPUP_CONTENT[position]); 118 public void onItemClick(AdapterView<?> parent, View view, int position, 120 addToLog("Item #"+ position + " clicked");
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
H A D | DividerView.java | 397 public void stopDragging(int position, float velocity, boolean avoidDismissStart, argument 400 fling(position, velocity, avoidDismissStart, logMetrics); 405 public void stopDragging(int position, SnapTarget target, long duration, argument 407 stopDragging(position, target, duration, 0 /* startDelay*/, 0 /* endDelay */, interpolator); 410 public void stopDragging(int position, SnapTarget target, long duration, argument 412 stopDragging(position, target, duration, 0 /* startDelay*/, endDelay, interpolator); 415 public void stopDragging(int position, SnapTarget target, long duration, long startDelay, argument 418 flingTo(position, target, duration, startDelay, endDelay, interpolator); 507 int position = calculatePosition(x, y); 508 stopDragging(position, isHorizontalDivisio 548 fling(int position, float velocity, boolean avoidDismissStart, boolean logMetrics) argument 563 flingTo(int position, SnapTarget target, long duration, long startDelay, long endDelay, Interpolator interpolator) argument 572 getFlingAnimator(int position, final SnapTarget snapTarget, final long endDelay) argument 915 calculateBoundsForPosition(int position, int dockSide, Rect outRect) argument 920 resizeStackDelayed(int position, int taskPosition, SnapTarget taskSnapTarget) argument 927 resizeStack(int position, int taskPosition, SnapTarget taskSnapTarget) argument 1011 applyExitAnimationParallax(Rect taskRect, int position) argument 1021 getDimFraction(int position, SnapTarget dismissTarget) argument 1074 applyDismissingParallax(Rect taskRect, int dockSide, SnapTarget snapTarget, int position, int taskPosition) argument 1134 isDismissing(SnapTarget snapTarget, int position, int dockSide) argument [all...] |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
H A D | AbstractItem.java | 42 public IItem getItemAt(int position) { argument
|
/frameworks/support/compat/ics/android/support/v4/view/animation/ |
H A D | PathInterpolatorApi14.java | 45 final float[] position = new float[2]; 48 pathMeasure.getPosTan(distance, position, null /* tangent */); 50 mX[i] = position[0]; 51 mY[i] = position[1];
|
/frameworks/base/core/java/android/widget/ |
H A D | SimpleAdapter.java | 106 public Object getItem(int position) { argument 107 return mData.get(position); 113 public long getItemId(int position) { argument 114 return position; 120 public View getView(int position, View convertView, ViewGroup parent) { argument 121 return createViewFromResource(mInflater, position, convertView, parent, mResource); 124 private View createViewFromResource(LayoutInflater inflater, int position, View convertView, argument 133 bindView(position, v); 177 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument 179 return createViewFromResource(inflater, position, convertVie 182 bindView(int position, View view) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | PageIndicator.java | 73 int position = index << 1 | ((location != index) ? 1 : 0); 74 if (DEBUG) Log.d(TAG, "setLocation " + location + " " + index + " " + position); 80 if (position == lastPosition) return; 82 if (DEBUG) Log.d(TAG, "Queueing transition to " + Integer.toHexString(position)); 83 mQueuedPositions.add(position); 87 setPosition(position); 90 private void setPosition(int position) { argument 91 if (isVisibleToUser() && Math.abs(mPosition - position) == 1) { 92 animate(mPosition, position); 95 + " " + position); [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | StackActivity.java | 45 public View getView(int position, View convertView, ViewGroup parent) { 52 getItem(position % getCount())); 53 ((TextView) item.findViewById(R.id.mini_text)).setText("" + position);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | SingleRecipientArrayAdapter.java | 47 public View getView(int position, View convertView, ViewGroup parent) { argument 48 return mDropdownChipLayouter.bindView(convertView, parent, getItem(position), position,
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZoneResultAdapter.java | 243 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/frameworks/support/samples/SupportWearDemos/src/com/example/android/support/wear/app/ |
H A D | SimpleWearableRecyclerViewDemo.java | 65 public void onBindViewHolder(ViewHolder holder, int position) { argument 66 holder.mView.setText("Holder at position " + position); 67 holder.mView.setTag(position);
|
/frameworks/support/samples/SupportWearDemos/src/com/example/android/support/wear/app/ |
H A D | SimpleWearableRecyclerViewDemo.java | 65 public void onBindViewHolder(ViewHolder holder, int position) { argument 66 holder.mView.setText("Holder at position " + position); 67 holder.mView.setTag(position);
|