/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
H A D | NewsCategory.java | 48 /** Gets a particular article by index. */ 49 public NewsArticle getArticle(int index) { argument 50 return mArticles[index];
|
H A D | HeadlinesFragment.java | 52 * @param index the index of the selected headline. 54 public void onHeadlineSelected(int index); argument 89 * @param categoryIndex the index of the news category to display.
|
H A D | NewsReaderActivity.java | 65 // The news category and article index currently being displayed 196 * @param index the index of the selected headline. 199 public void onHeadlineSelected(int index) { argument 200 mArtIndex = index; 203 mArticleFragment.displayArticle(mCurrentCat.getArticle(index)); 209 i.putExtra("artIndex", index); 220 * @param catIndex the index of the selected news category. 227 /** Save instance state. Saves current category/article index. */
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
H A D | GLVertex.java | 26 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);
|
/development/tools/hosttestlib/src/com/android/hosttest/ |
H A D | DeviceTestRunner.java | 79 private String extractArg(String[] args, int index) { argument 80 if (args.length <= index) { 84 return args[index];
|
/development/ndk/sources/android/libportable/arch-arm/ |
H A D | unwind.c | 59 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/samples/ApiDemos/src/com/example/android/apis/app/ |
H A D | FragmentLayout.java | 135 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/ApiDemos/src/com/example/android/apis/graphics/ |
H A D | PurgeableBitmap.java | 46 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 D | UnicodeChart.java | 64 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 D | Vertices.java | 43 private static void setXY(float[] array, int index, float x, float y) { argument 44 array[index*2 + 0] = x; 45 array[index*2 + 1] = y;
|
H A D | BitmapMesh.java | 47 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 D | PictureLayout.java | 50 public void addView(View child, int index) { argument 55 super.addView(child, index); 68 public void addView(View child, int index, LayoutParams params) { argument 73 super.addView(child, index, params);
|
H A D | ScaleToFit.java | 70 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 D | WindowSurface.java | 166 int makeGreen(int index) { argument 167 int dist = Math.abs(mBrightLine-index);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
H A D | FragmentLayoutSupport.java | 138 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/ndk/platforms/android-3/include/linux/ |
H A D | mca.h | 33 int index; member in struct:mca_device
|
/development/samples/ApiDemos/src/com/example/android/apis/preference/ |
H A D | MyPreference.java | 77 protected Object onGetDefaultValue(TypedArray a, int index) { argument 80 return a.getInteger(index, 0);
|
/development/ndk/platforms/android-14/include/OMXAL/ |
H A D | OpenMAXAL_Android.h | 89 XAuint32 index; member in struct:XAAndroidBufferQueueState_
|
/development/ndk/platforms/android-9/include/SLES/ |
H A D | OpenSLES_Android.h | 130 SLuint32 index, 181 SLuint32 index; member in struct:SLAndroidSimpleBufferQueueState_
|
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ |
H A D | SimpleMenu.java | 110 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/Support4Demos/src/com/example/android/supportv4/widget/ |
H A D | ExploreByTouchHelperActivity.java | 173 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/tools/mkstubs/src/com/android/mkstubs/stubber/ |
H A D | MethodStubber.java | 63 0); // index 141 Label start, Label end, int index) { 140 visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) argument
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
H A D | MonkeySourceRandom.java | 242 public void setFactors(int index, float v) { argument 243 mFactors[index] = v;
|
/development/ndk/platforms/android-14/include/SLES/ |
H A D | OpenSLES_Android.h | 134 SLuint32 index, 185 SLuint32 index; member in struct:SLAndroidSimpleBufferQueueState_ 254 SLuint32 index; member in struct:SLAndroidBufferQueueState_
|
/development/ndk/platforms/android-3/include/linux/mmc/ |
H A D | host.h | 81 int index; member in struct:mmc_host
|