Searched refs:index (Results 551 - 575 of 1076) sorted by relevance

<<21222324252627282930>>

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardWidgetPager.java301 public void onAddView(View v, final int index) { argument
309 // Subtract from the index to take into account pages before the reorderable
314 mLockPatternUtils.addAppWidget(appWidgetId, index - pagesRange[0]);
381 public void addView(View child, int index) { argument
383 super.addView(child, index);
411 public void addView(View child, int index, LayoutParams params) { argument
413 super.addView(child, index, params);
423 public KeyguardWidgetFrame getWidgetPageAt(int index) { argument
425 return (KeyguardWidgetFrame) getChildAt(index);
501 public float getAlphaForPage(int screenCenter, int index, boolea argument
512 getOutlineAlphaForPage(int screenCenter, int index, boolean showSidePages) argument
521 isOverScrollChild(int index, float scrollProgress) argument
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DElement.java50 * <a href="{@docRoot}guide/topics/renderscript/index.html">RenderScript</a> developer guide.</p>
228 * sub-element at index
229 * @param index index of the sub-element to return
230 * @return sub-element in this element at given index
232 public Element getSubElement(int index) { argument
236 if (index < 0 || index >= mVisibleElementMap.length) {
237 throw new RSIllegalArgumentException("Illegal sub-element index");
239 return mElements[mVisibleElementMap[index]];
248 getSubElementName(int index) argument
265 getSubElementArraySize(int index) argument
281 getSubElementOffsetBytes(int index) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DViewServer.java228 int index = request.indexOf(' ');
229 if (index == -1) {
233 command = request.substring(0, index);
234 parameters = request.substring(index + 1);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DCompoundTransform.java165 public void setComponent(int index, Component c) { argument
169 if (index >= mTransformComponents.size()) {
170 throw new IllegalArgumentException("Invalid component index");
173 c.mParentIndex = index;
174 mTransformComponents.set(index, c);
/frameworks/base/tools/aapt/
H A DXMLNode.h75 attribute_entry() : index(~(uint32_t)0), nameResId(0)
90 uint32_t index; member in struct:XMLNode::attribute_entry
114 status_t insertChildAt(const sp<XMLNode>& child, size_t index);
119 status_t removeAttribute(size_t index);
/frameworks/minikin/libs/minikin/
H A DFontFamily.cpp178 MinikinFont* FontFamily::getFont(size_t index) const {
179 return mFonts[index].typeface;
182 FontStyle FontFamily::getStyle(size_t index) const {
183 return mFonts[index].style;
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DLearning_MulticlassPA.java41 splited.indexArray[i] = s.get(i).index;
/frameworks/native/include/input/
H A DInputTransport.h104 uint32_t index = (action & AMOTION_EVENT_ACTION_POINTER_INDEX_MASK) local
106 return pointers[index].properties.id;
408 const History* getHistory(size_t index) const {
409 return &history[(historyCurrent + index) & 1];
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES20.spec3 void glBindAttribLocation ( GLuint program, GLuint index, const char *name )
40 void glDisableVertexAttribArray ( GLuint index )
45 void glEnableVertexAttribArray ( GLuint index )
56 void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
57 void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
79 void glGetVertexAttribfv ( GLuint index, GLenum pname, GLfloat *params )
80 void glGetVertexAttribiv ( GLuint index, GLenum pname, GLint *params )
81 // void glGetVertexAttribPointerv ( GLuint index, GLenum pname, void **pointer )
/frameworks/rs/driver/
H A DrsdVertexArray.h56 void clear(uint32_t index);
/frameworks/rs/
H A DrsCppUtils.h99 void removeAt(uint32_t index) { argument
100 this->erase(this->begin() + index);
125 void removeAt(uint32_t index) { argument
126 this->erase(this->begin() + index);
/frameworks/support/v4/java/android/support/v4/app/
H A DTaskStackBuilder.java260 * Get the intent at the specified index.
264 * @param index Index from 0-getIntentCount()
265 * @return the intent at position index
269 public Intent getIntent(int index) { argument
270 return editIntentAt(index);
274 * Return the intent at the specified index for modification.
278 * @param index Index from 0-getIntentCount()
279 * @return the intent at position index
281 public Intent editIntentAt(int index) { argument
282 return mIntents.get(index);
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DElement.java57 * <a href="{@docRoot}guide/topics/renderscript/index.html">RenderScript</a>
225 * sub-element at index
226 * @param index index of the sub-element to return
227 * @return sub-element in this element at given index
229 public Element getSubElement(int index) { argument
233 if (index < 0 || index >= mVisibleElementMap.length) {
234 throw new RSIllegalArgumentException("Illegal sub-element index");
236 return mElements[mVisibleElementMap[index]];
245 getSubElementName(int index) argument
262 getSubElementArraySize(int index) argument
278 getSubElementOffsetBytes(int index) argument
[all...]
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp32 // Returns the sample rate based on the sampling frequency index
186 sp<MediaSource> AacAdtsExtractor::getTrack(size_t index) { argument
187 if (mInitCheck != OK || index != 0) {
195 sp<MetaData> AacAdtsExtractor::getTrackMetaData(size_t index, uint32_t flags) { argument
196 if (mInitCheck != OK || index != 0) {
/frameworks/wilhelm/src/itf/
H A DIEffectSend.c22 /** \brief Maps AUX index to OutputMix interface index */
63 int index = MPH_to_OutputMix[MPH]; local
64 if (0 > index) {
68 unsigned mask = 1 << index;
70 SLuint32 state = outputMix->mObject.mInterfaceStates[index];
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dqgain795.cpp143 gain_pit_ind -- Pointer to Word16 -- Pitch gain index, Q0
145 gain_cod_ind -- Pointer to Word16 -- Code gain index, Q0
215 Word16 *gain_pit_ind, /* o : Pitch gain index, Q0 */
217 Word16 *gain_cod_ind, /* o : Code gain index, Q0 */
309 * squared error for the LPT/CB gain pair. The index for the mini- *
350 /* store table index if MSE for this index is lower
418 index of quantization (Word16)
475 MR795_gain_code_quant_mod( /* o : index of quantization. */
496 Word16 index; local
[all...]
/frameworks/av/media/libstagefright/codecs/flac/enc/
H A DSoftFlacEncoder.cpp153 OMX_INDEXTYPE index, OMX_PTR params) {
154 ALOGV("SoftFlacEncoder::internalGetParameter(index=0x%x)", index);
156 switch (index) {
190 return SimpleSoftOMXComponent::internalGetParameter(index, params);
195 OMX_INDEXTYPE index, const OMX_PTR params) {
196 switch (index) {
261 return SimpleSoftOMXComponent::internalSetParameter(index, params);
152 internalGetParameter( OMX_INDEXTYPE index, OMX_PTR params) argument
194 internalSetParameter( OMX_INDEXTYPE index, const OMX_PTR params) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s94 index RN 4 label
211 M_BD_VLD index,T1,T2,VlcMVD,3,2 ;// variable lenght decoding using the macro
213 TEQ index,temp
216 SUB mvHorData,index,#32 ;// mvHorData=index-32
241 M_BD_VLD index,T1,T2,VlcMVD,3,2 ;// VLC decoding using the macro
243 TEQ index,temp
246 SUB mvVerData,index,#32 ;// mvVerData=index-32
H A DomxVCM4P2_PredictReconCoefIntra_s.s109 index RN 12 label
133 LDR index, =armVCM4P2_DCScaler
134 ADD index,index,videoComp,LSL #5
135 LDRB dcScaler,[index,QP]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s94 index RN 4 label
211 M_BD_VLD index,T1,T2,VlcMVD,3,2 ;// variable lenght decoding using the macro
213 TEQ index,temp
216 SUB mvHorData,index,#32 ;// mvHorData=index-32
241 M_BD_VLD index,T1,T2,VlcMVD,3,2 ;// VLC decoding using the macro
243 TEQ index,temp
246 SUB mvVerData,index,#32 ;// mvVerData=index-32
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerBaseTest.java494 int index = response.getColumnIndex(DownloadManager.COLUMN_ID);
495 if (id == response.getLong(index)) {
499 int index = response.getColumnIndex(DownloadManager.COLUMN_BYTES_DOWNLOADED_SO_FAR);
500 if (index < 0) {
505 long size = response.getLong(index);
522 int index = cursor.getColumnIndex(DownloadManager.COLUMN_ID);
523 long downloadId = cursor.getLong(index);
/frameworks/native/services/sensorservice/
H A DSensorDevice.cpp148 ALOGD_IF(DEBUG_CONNECTIONS, "enable index=%zd", info.batchParams.indexOfKey(ident));
160 ALOGD_IF(DEBUG_CONNECTIONS, "disable index=%zd", info.batchParams.indexOfKey(ident));
288 ssize_t index = info.batchParams.indexOfKey(ident); local
289 if (index < 0) {
292 BatchParams& params = info.batchParams.editValueAt(index);
318 ssize_t index = batchParams.indexOfKey(ident); local
319 if (index < 0) {
321 ident, samplingPeriodNs, maxBatchReportLatencyNs, strerror(-index));
324 BatchParams& params = batchParams.editValueAt(index);
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestSlowDownUri.cpp307 SLuint8 index; local
308 for (index = 0; ; ++index) {
311 res = (*rateItf)->GetRateRange(rateItf, index, &minRate, &maxRate, &stepSize,
314 if (index == 0) {
320 if (index == 255) {
324 printf("range[%u]: min=%d, max=%d, capabilities=", index, minRate, maxRate);
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp357 size_t index; local
358 err = state->mCodec->dequeueInputBuffer(&index, -1ll);
361 const sp<ABuffer> &dstBuffer = state->mBuffers[0].itemAt(index);
368 index,
427 size_t index; local
428 err = state->mCodec->dequeueInputBuffer(&index);
434 state->mAvailInputBufferIndices.push_back(index);
484 size_t index = *state->mAvailInputBufferIndices.begin(); local
489 state->mBuffers[0].itemAt(index);
498 index,
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DSwipeRefreshLayout.java570 // Get the index of the circleview.
571 for (int index = 0; index < getChildCount(); index++) {
572 if (getChildAt(index) == mCircleView) {
573 mCircleViewIndex = index;
656 final int index = MotionEventCompat.findPointerIndex(ev, activePointerId);
657 if (index < 0) {
660 return MotionEventCompat.getY(ev, index);
754 final int index
[all...]

Completed in 4891 milliseconds

<<21222324252627282930>>