Searched refs:index (Results 1 - 25 of 84) sorted by relevance

1234

/development/ndk/platforms/android-9/arch-x86/include/asm/
H A Dmsr.h21 #include <asm/msr-index.h>
/development/ndk/platforms/android-9/arch-x86_64/include/asm/
H A Dmsr.h21 #include <asm/msr-index.h>
/development/samples/ApiDemos/src/com/example/android/apis/animation/
H A DFixedGridLayout.java31 * child order (the order in which they were added, or the index
63 for (int index=0; index<count; index++) {
64 final View child = getChildAt(index);
86 for (int index=0; index<count; index++) {
87 final View child = getChildAt(index);
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
H A DPurgeableBitmap.java46 int index = mView.update(this);
47 if (index > 0) {
48 showAlertDialog(getDialogMessage(true, index));
49 } else if (index < 0){
51 showAlertDialog(getDialogMessage(false, -index));
91 private String getDialogMessage(boolean isOutOfMemory, int index) { argument
95 sb.append(index);
99 .append(index)
H A DUnicodeChart.java64 int index = 0;
68 pos[index++] = x;
69 pos[index++] = row * YMUL + YBASE;
74 private float computeX(int index) { argument
75 return (index >> 4) * XMUL + 10;
78 private float computeY(int index) { argument
79 return (index & 0xF) * YMUL + YMUL;
H A DScaleToFit.java70 private void setSrcR(int index) { argument
71 int w = sSrcData[index*3 + 0];
72 int h = sSrcData[index*3 + 1];
76 private void drawSrcR(Canvas canvas, int index) { argument
77 mPaint.setColor(sSrcData[index*3 + 2]);
81 private void drawFit(Canvas canvas, int index, Matrix.ScaleToFit stf) { argument
84 setSrcR(index);
87 drawSrcR(canvas, index);
H A DBitmapMesh.java47 private static void setXY(float[] array, int index, float x, float y) { argument
48 array[index*2 + 0] = x;
49 array[index*2 + 1] = y;
62 int index = 0;
67 setXY(mVerts, index, fx, fy);
68 setXY(mOrig, index, fx, fy);
69 index += 1;
99 // android.util.Log.d("skia", "index " + i + " dist=" + d + " pull=" + pull);
H A DSensorTest.java65 int index = mCurr;
68 sum += mWeights[i] * mSamples[index];
69 index -= 1;
70 if (index < 0) {
71 index = depth - 1;
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
H A DNewsCategory.java48 /** Gets a particular article by index. */
49 public NewsArticle getArticle(int index) { argument
50 return mArticles[index];
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
H A DGLVertex.java26 final short index; // index in vertex table field in class:GLVertex
33 this.index = -1;
36 GLVertex(float x, float y, float z, int index) { argument
40 this.index = (short)index;
75 vertexBuffer.position(index * 3);
H A DGLFace.java85 buffer.put(v0.index);
86 buffer.put(v1.index);
87 buffer.put(vn.index);
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
H A DFixedGridLayout.java34 * child order (the order in which they were added, or the index
76 for (int index=0; index<count; index++) {
77 final View child = getChildAt(index);
97 for (int index=0; index<count; index++) {
98 final View child = getChildAt(index);
/development/ndk/platforms/android-3/include/
H A Dstrings.h49 char *index(const char *, int);
/development/ndk/platforms/android-9/include/
H A Dstrings.h50 char *index(const char *, int);
/development/ndk/sources/android/libportable/arch-arm/
H A Dunwind.c59 uint64_t WRAP(_Unwind_GetGR)(struct _Unwind_Context* ctx, int index) { argument
61 _Unwind_VRS_Get(ctx, _UVRSC_CORE, index, _UVRSD_UINT32, &val);
65 void WRAP(_Unwind_SetGR)(struct _Unwind_Context* ctx, int index, uint64_t new_value) { argument
67 _Unwind_VRS_Set(ctx, _UVRSC_CORE, index, _UVRSD_UINT32, &val);
/development/tools/idegen/
H A Dintellij-gen.sh51 index_file=$root_dir/module-index.txt
59 echo "Module index file missing; generating this is only done the first time."
60 echo "If any dependencies change, you should generate a new index file by running index-gen.sh."
61 $script_dir/index-gen.sh
H A Dindex-gen.sh17 # Generates a module index file by searching through android source
25 # index-gen.sh
42 dest_file=module-index.txt
44 echo "Generating index file $dest_file..."
53 # Exclude specific directories from index here.
/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DFragmentLayout.java135 void showDetails(int index) { argument
136 mCurCheckPosition = index;
141 getListView().setItemChecked(index, true);
146 if (details == null || details.getShownIndex() != index) {
148 details = DetailsFragment.newInstance(index);
153 if (index == 0) {
167 intent.putExtra("index", index);
182 * show the text at 'index'.
184 public static DetailsFragment newInstance(int index) { argument
[all...]
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DFragmentLayoutSupport.java138 void showDetails(int index) { argument
139 mCurCheckPosition = index;
144 getListView().setItemChecked(index, true);
149 if (details == null || details.getShownIndex() != index) {
151 details = DetailsFragment.newInstance(index);
166 intent.putExtra("index", index);
181 * show the text at 'index'.
183 public static DetailsFragment newInstance(int index) { argument
186 // Supply index inpu
[all...]
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
H A DMyRssReader.java51 int index = mRssList.getSelectedItemIndex();
52 if(index > -1){
53 outState.putInteger("lastIndexItem", index);
/development/samples/Support4Demos/src/com/example/android/supportv4/widget/
H A DExploreByTouchHelperActivity.java173 protected boolean onItemClicked(int index) { argument
174 final CustomItem item = getItem(index);
186 mTouchHelper.invalidateVirtualView(index);
191 mTouchHelper.sendEventForVirtualView(index, AccessibilityEvent.TYPE_VIEW_CLICKED);
211 protected CustomItem getItem(int index) { argument
212 if ((index < 0) || (index >= mItems.size())) {
216 return mItems.get(index);
238 final int index = getItemIndexUnder(x, y);
239 if (index
[all...]
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/
H A DSimpleMenu.java110 private void removeItemAtInt(int index) { argument
111 if ((index < 0) || (index >= mItems.size())) {
114 mItems.remove(index);
137 public MenuItem getItem(int index) { argument
138 return mItems.get(index);
/development/samples/Snake/src/com/example/android/snake/
H A DSnakeView.java230 for (int index = 0; index < coordCount; index += 2) {
231 Coordinate c = new Coordinate(rawArray[index], rawArray[index + 1]);
390 for (int index = 0; index < snakelength; index++) {
391 if (mSnakeTrail.get(index).equals(newCoord)) {
523 int index
[all...]
/development/samples/NotePad/tests/src/com/example/android/notepad/
H A DNotePadProviderTest.java143 for (int index = 0; index < TEST_NOTES.length; index++) {
146 TEST_NOTES[index].setCreationDate(START_DATE + (index * ONE_DAY_MILLIS));
147 TEST_NOTES[index].setModificationDate(START_DATE + (index * ONE_WEEK_MILLIS));
153 TEST_NOTES[index].getContentValues() // the values map to insert
399 for (int index = 0; index < inputDat
[all...]
/development/scripts/app_engine_server/gae_shell/
H A Dshell.py118 index = self.global_names.index(name)
119 self.globals[index] = blob
133 index = self.global_names.index(name)
134 del self.global_names[index]
135 del self.globals[index]

Completed in 1022 milliseconds

1234