Searched defs:position (Results 26 - 50 of 576) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListManagedCursor.java55 public void onItemClick(AdapterView parent, View view, int position, long id) { argument
H A DListSimple.java45 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
46 View view = super.createView(position, parent, desiredHeight);
/frameworks/base/packages/ExtServices/src/android/ext/services/storage/
H A DCacheQuotaServiceImpl.java105 private double getFairShareForPosition(int position) { argument
106 double value = 1.0 / Math.log(position + 3) - 0.285;
/frameworks/base/test-runner/src/android/test/
H A DTestCaseUtil.java143 public static Test getTestAtIndex(TestSuite testSuite, int position) { argument
148 if (index == position) {
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestGalleryImages.java52 public Object getItem(int position) { argument
53 return position;
57 public long getItemId(int position) { argument
58 return position;
62 public View getView(int position, View convertView, ViewGroup parent) { argument
64 i.setImageResource(mImageIds[position]);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewLayersActivity.java107 public View getView(int position, View convertView, ViewGroup parent) { argument
108 TextView v = (TextView) super.getView(position, convertView, parent);
H A DViewLayersActivity2.java57 public View getView(int position, View convertView, ViewGroup parent) { argument
58 TextView v = (TextView) super.getView(position, convertView, parent);
H A DViewLayersActivity3.java54 public View getView(int position, View convertView, ViewGroup parent) { argument
55 TextView v = (TextView) super.getView(position, convertView, parent);
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DListViewAddRemove.java94 int position = listview.getPositionForView(view);
103 int position = listview.getPositionForView(view);
115 public void onItemClick(AdapterView<?> parent, final View view, int position, long id) {
117 String item = (String) parent.getItemAtPosition(position);
157 public long getItemId(int position) { argument
158 String item = getItem(position);
H A DListViewAddRemoveNoTransition.java55 public void onItemClick(AdapterView<?> parent, final View view, int position, long id) {
56 String item = (String) parent.getItemAtPosition(position);
92 public long getItemId(int position) { argument
93 String item = getItem(position);
/frameworks/compile/mclinker/unittests/
H A DInputTreeTest.cpp57 size_t position = 0; local
58 actions.push_back(new StartGroupAction(position++));
59 actions.push_back(new InputFileAction(position++, "path1"));
60 actions.push_back(new EndGroupAction(position++));
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgram.h36 // known locations for position and texture coordinates
37 enum { position=0, texCoords=1 }; enumerator in enum:android::Program::__anon1896
/frameworks/opt/chips/src/com/android/ex/chips/
H A DSingleRecipientArrayAdapter.java47 public View getView(int position, View convertView, ViewGroup parent) { argument
48 return mDropdownChipLayouter.bindView(convertView, parent, getItem(position), position,
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
H A DAbstractItem.java42 public IItem getItemAt(int position) { argument
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DTabLayoutActions.java142 * Calls <code>setScrollPosition(position, positionOffset, true)</code> on the
145 public static ViewAction setScrollPosition(final int position, final float positionOffset) { argument
155 return "setScrollPosition(" + position + ", " + positionOffset + ", true)";
161 tabs.setScrollPosition(position, positionOffset, true);
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DFragmentListArraySupport.java57 public void onListItemClick(ListView l, View v, int position, long id) { argument
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DGridLayoutManagerActivity.java45 public int getSpanSize(int position) {
46 String item = mAdapter.getValueAt(position);
105 protected void scrollToPositionWithOffset(boolean smooth, int position, int offset) { argument
107 super.scrollToPositionWithOffset(smooth, position, offset);
109 mLayoutManager.scrollToPositionWithOffset(position, offset);
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DPlaybackSeekDataProviderSample.java43 protected Bitmap doInBackground(Object task, int index, long position) { argument
55 canvas.drawText(formatTime(position), 10, 80, mPaint);
H A DPlaybackSeekDiskDataProvider.java50 protected Bitmap doInBackground(Object task, int index, long position) { argument
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DFragmentListArraySupport.java57 public void onListItemClick(ListView l, View v, int position, long id) { argument
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DGridLayoutManagerActivity.java45 public int getSpanSize(int position) {
46 String item = mAdapter.getValueAt(position);
105 protected void scrollToPositionWithOffset(boolean smooth, int position, int offset) { argument
107 super.scrollToPositionWithOffset(smooth, position, offset);
109 mLayoutManager.scrollToPositionWithOffset(position, offset);
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DPlaybackSeekDataProviderSample.java43 protected Bitmap doInBackground(Object task, int index, long position) { argument
55 canvas.drawText(formatTime(position), 10, 80, mPaint);
H A DPlaybackSeekDiskDataProvider.java50 protected Bitmap doInBackground(Object task, int index, long position) { argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DOnChildLaidOutListener.java30 * @param position The position of the view in the adapter.
33 void onChildLaidOut(ViewGroup parent, View view, int position, long id); argument
H A DOnChildSelectedListener.java33 * @param position The position of the view in the adapter, or NO_POSITION
38 void onChildSelected(ViewGroup parent, View view, int position, long id); argument

Completed in 579 milliseconds

1234567891011>>