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

123456

/development/ndk/platforms/android-9/arch-x86/include/asm/
H A Dmsr.h21 #include <asm/msr-index.h>
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DBrowseAnimationFragment.java94 int index = adapter.indexOf(item);
95 if (index >= 0) {
96 if (index > 0)
97 index--;
98 adapter.removeItems(index, 1);
108 int index = adapter.indexOf(item);
109 if (index >= 0) {
110 if (index < adapter.size() - 1)
111 index++;
112 adapter.removeItems(index,
[all...]
/development/ndk/platforms/android-L/arch-x86/include/asm/
H A Dmsr.h21 #include <asm/msr-index.h>
/development/ndk/platforms/android-L/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);
/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/browseable/BasicMediaDecoder/src/com.example.android.common.media/
H A DMediaCodecWrapper.java60 // refers to these buffers by index, never by reference so it's up to us
73 // Information about each output buffer, by index. Each entry in this array
74 // is valid if and only if its index is currently contained in mAvailableOutputBuffers.
195 int index = mAvailableInputBuffers.remove();
196 ByteBuffer buffer = mInputBuffers[index];
213 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags);
215 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags);
250 int index = mAvailableInputBuffers.remove();
251 ByteBuffer buffer = mInputBuffers[index];
262 mDecoder.queueInputBuffer(index,
[all...]
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
H A DMediaCodecWrapper.java60 // refers to these buffers by index, never by reference so it's up to us
73 // Information about each output buffer, by index. Each entry in this array
74 // is valid if and only if its index is currently contained in mAvailableOutputBuffers.
195 int index = mAvailableInputBuffers.remove();
196 ByteBuffer buffer = mInputBuffers[index];
213 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags);
215 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags);
250 int index = mAvailableInputBuffers.remove();
251 ByteBuffer buffer = mInputBuffers[index];
262 mDecoder.queueInputBuffer(index,
[all...]
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
H A DMediaCodecWrapper.java60 // refers to these buffers by index, never by reference so it's up to us
73 // Information about each output buffer, by index. Each entry in this array
74 // is valid if and only if its index is currently contained in mAvailableOutputBuffers.
195 int index = mAvailableInputBuffers.remove();
196 ByteBuffer buffer = mInputBuffers[index];
213 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags);
215 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags);
250 int index = mAvailableInputBuffers.remove();
251 ByteBuffer buffer = mInputBuffers[index];
262 mDecoder.queueInputBuffer(index,
[all...]
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
H A DQueueHelper.java69 int index = 0;
72 return index;
74 index++;
81 int index = 0;
84 return index;
86 index++;
96 // We don't expect queues to change after created, so we use the item index as the
126 public static final boolean isIndexPlayable(int index, List<MediaSession.QueueItem> queue) { argument
127 return (queue != null && index >= 0 && index < queu
[all...]
/development/ndk/platforms/android-L/include/linux/dvb/
H A Dca.h54 unsigned int index; member in struct:ca_msg
61 unsigned int index; member in struct:ca_descr
69 int index; member in struct:ca_pid
/development/ndk/platforms/android-L/include/linux/
H A Dptp_clock.h45 unsigned int index; member in struct:ptp_extts_request
54 unsigned int index; member in struct:ptp_perout_request
76 unsigned int index; member in struct:ptp_extts_event
/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);
/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.sh53 index_file=$root_dir/module-index.txt
65 echo "Module index file missing; generating this is only done the first time."
66 echo "If any dependencies change, you should generate a new index file by running index-gen.sh."
67 $script_dir/index-gen.sh
/development/samples/browseable/PdfRendererBasic/src/com.example.android.pdfrendererbasic/
H A DPdfRendererBasicFragment.java42 * Key string for saving the state of current page index.
96 int index = 0;
97 // If there is a savedInstanceState (screen orientations, etc.), we restore the page index.
99 index = savedInstanceState.getInt(STATE_CURRENT_PAGE_INDEX, 0);
101 showPage(index);
160 * @param index The page index.
162 private void showPage(int index) { argument
163 if (mPdfRenderer.getPageCount() <= index) {
171 mCurrentPage = mPdfRenderer.openPage(index);
[all...]
/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/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/
H A DTouchDisplayView.java149 * the pointer identifier of this touch from the first index
178 * extract the index at which the data for this particular event
181 int index = event.getActionIndex();
182 int id = event.getPointerId(index);
184 TouchHistory data = TouchHistory.obtain(event.getX(index), event.getY(index),
185 event.getPressure(index));
189 * Store the data under its pointer identifier. The index of
228 * extract the index at which the data for this particular event
231 int index
[all...]

Completed in 459 milliseconds

123456