Searched refs:pos (Results 51 - 75 of 357) sorted by relevance

1234567891011>>

/frameworks/native/opengl/tests/lighting1709/src/com/android/lightingtest/
H A DClearActivity.java102 final float pos[] = {
134 v[j*3+0] -= pos[i*3+0];
135 v[j*3+1] -= pos[i*3+1];
136 v[j*3+2] -= pos[i*3+2];
152 gl.glTranslatef(pos[0], pos[1], pos[2]);
158 gl.glTranslatef(pos[3], pos[4], pos[
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dc4t64fx.c103 Word16 nb_pos_ix, /* (i) nb of pos for pulse 1 (1..8) */
136 Word16 st, ix, iy, pos, index, track, nb_pulse, nbiter, j_temp; local
300 pos = 0;
311 pos = j;
314 dn2[pos] = (k - NB_MAX); /* dn2 < 0 when position is selected */
317 pos_max[i] = pos;
412 pos = MSIZE - 1;
417 p3 = &rrixiy[2][pos];
418 p2 = &rrixiy[1][pos];
419 p1 = &rrixiy[0][pos];
844 Word32 i, j, pos, corr; local
916 Word32 i, j, pos, corr; local
987 Word32 x, y, pos, thres_ix; local
[all...]
H A Ddecim54.c96 Word32 i, j, frac, pos; local
100 pos = 0; /* position is in Q2 -> 1/4 resolution */
103 i = (pos >> 2); /* integer part */
104 frac = pos & 3; /* fractional part */
141 pos += FAC5; /* pos + 5/4 */
/frameworks/base/core/java/android/os/
H A DPooledStringWriter.java75 final int pos = mOut.dataPosition();
78 mOut.setDataPosition(pos);
H A DParcelableParcel.java42 int pos = src.dataPosition();
43 src.setDataPosition(MathUtils.addOrThrow(pos, size));
44 mParcel.appendFrom(src, pos, size);
/frameworks/compile/libbcc/bcinfo/Wrap/
H A Dfile_wrapper_input.cpp62 bool FileWrapperInput::Seek(uint32_t pos) { argument
63 return fseek(_file, (long) pos, SEEK_SET) == 0;
/frameworks/av/media/libstagefright/include/
H A DVBRISeeker.h34 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos);
H A DXINGSeeker.h32 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos);
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DRefactorClassAdapter.java49 int pos = oldClassName.indexOf('$');
50 if (pos > 0) {
51 newName = mRefactorClasses.get(oldClassName.substring(0, pos));
53 return newName + oldClassName.substring(pos);
/frameworks/compile/libbcc/include/bcinfo/Wrap/
H A Dfile_wrapper_input.h42 virtual bool Seek(uint32_t pos);
H A Din_memory_wrapper_input.h42 virtual bool Seek(uint32_t pos);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
H A Dcor_h_vec_opt.s44 @r0 --- h[], r1 --- vec[], r2 --- pos
49 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos]
51 RSB r11, r2, #62 @j=62-pos
71 ADD r9, r3, r2, LSL #1 @address of sign[pos]
73 LDRSH r10, [r9], #2 @sign[pos]
74 LDRSH r11, [r9] @sign[pos + 1]
94 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos]
96 RSB r11, r2, #62 @j=62-pos
118 ADD r9, r3, r2, LSL #1 @address of sign[pos]
120 LDRSH r10, [r9], #2 @sign[pos]
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
H A Dcor_h_vec_neon.s44 @r0 --- h[], r1 --- vec[], r2 --- pos
50 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos]
52 RSB r11, r2, #62 @j=62-pos
72 ADD r9, r3, r2, LSL #1 @address of sign[pos]
74 LDRSH r10, [r9], #2 @sign[pos]
75 LDRSH r11, [r9] @sign[pos + 1]
95 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos]
97 RSB r11, r2, #62 @j=62-pos
119 ADD r9, r3, r2, LSL #1 @address of sign[pos]
121 LDRSH r10, [r9], #2 @sign[pos]
[all...]
/frameworks/base/core/jni/
H A Dcom_android_internal_net_NetworkStatsFactory.cpp131 char* pos = buffer; local
134 idx = (int)strtol(pos, &endPos, 10);
136 if (pos == endPos) {
147 pos = endPos;
149 while (*pos == ' ') {
150 pos++;
154 while (*pos != ' ' && *pos != 0 && ifaceIdx < (int)(sizeof(s.iface)-1)) {
155 s.iface[ifaceIdx] = *pos;
157 pos
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DFastPrintWriter.java282 int pos = mPos;
283 if (pos >= (mBufferLen-1)) {
285 pos = mPos;
287 mText[pos] = c;
288 mPos = pos+1;
302 int pos = mPos;
303 if ((pos+length) > BUFFER_LEN) {
305 pos = mPos;
307 str.getChars(i, i + length, mText, pos);
308 mPos = pos
[all...]
/frameworks/base/tools/aapt/
H A Dpseudolocalize.cpp43 size_t lastpos, pos; local
47 for (lastpos = pos = 0; pos < length; pos++) {
48 char16_t c = str[pos];
64 if (mLastDepth != depth || pos == length - 1) {
66 size_t nextpos = pos;
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DGridLayoutManagerActivity.java123 final int pos = vh.getAdapterPosition();
124 if (pos == RecyclerView.NO_POSITION) {
127 if (pos + 1 < getItemCount()) {
128 swap(pos, pos + 1);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DGridLayoutManagerActivity.java123 final int pos = vh.getAdapterPosition();
124 if (pos == RecyclerView.NO_POSITION) {
127 if (pos + 1 < getItemCount()) {
128 swap(pos, pos + 1);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DGridLayoutManagerBaseConfigSetTest.java75 final int pos = mRecyclerView.getChildLayoutPosition(child);
76 if (globalPositions[pos] != Integer.MIN_VALUE) {
83 globalPositions[pos] = globalScrollPosition +
86 globalPositions[pos] = globalScrollPosition +
90 mGlm.getSpanSizeLookup().getSpanIndex(pos, mGlm.getSpanCount()),
134 + " global pos must match when scrolling in reverse for position ";
139 int pos = mRecyclerView.getChildLayoutPosition(child);
140 if (!shouldTest.get(pos)) {
145 shouldTest.clear(pos);
154 assertEquals(assertPrefix + pos,
[all...]
/frameworks/compile/mclinker/lib/Support/
H A DPath.cpp166 size_t pos = m_PathName.find_last_of(separator); local
167 if (pos != StringType::npos) {
168 ++pos;
169 return Path(m_PathName.substr(pos));
182 size_t pos = m_PathName.find_last_of('.'); local
183 if (pos == StringType::npos)
185 return Path(m_PathName.substr(pos));
/frameworks/base/services/core/jni/
H A Dcom_android_server_am_BatteryStatsService.cpp113 char* pos = reasonline; local
117 int irq = (int)strtol(pos, &endPos, 10);
118 if (pos != endPos) {
124 if (strncmp(pos, "Abort:", abortPrefixLen) != 0) {
132 endPos = pos + abortPrefixLen;
134 pos = endPos;
142 while (*pos == ' ') {
143 pos++;
147 char* endpos = pos;
156 len = snprintf(mergedreasonpos, remainreasonlen, ":%s", pos);
[all...]
/frameworks/base/libs/hwui/hwui/
H A DCanvas.cpp82 DrawTextFunctor(const Layout& layout, Canvas* canvas, uint16_t* glyphs, float* pos, argument
87 , pos(pos)
99 pos[2 * i] = x + layout.getX(i);
100 pos[2 * i + 1] = y + layout.getY(i);
105 pos[2 * i] = layout.getX(i);
106 pos[2 * i + 1] = layout.getY(i);
122 canvas->drawGlyphs(glyphs + start, pos + (2 * start), glyphCount, outlinePaint, x, y,
129 canvas->drawGlyphs(glyphs + start, pos + (2 * start), glyphCount, innerPaint, x, y,
133 canvas->drawGlyphs(glyphs + start, pos
141 float* pos; member in class:android::DrawTextFunctor
[all...]
/frameworks/base/core/java/android/widget/
H A DExpandableListView.java375 PositionMetadata pos;
408 pos = mConnector.getUnflattenedPos(childFlPos);
415 if (pos.position.type != lastItemType) {
416 if (pos.position.type == ExpandableListPosition.CHILD) {
438 lastItemType = pos.position.type;
453 indicator = getIndicator(pos);
460 pos.recycle();
472 * @param pos The flat list position of the item whose indicator
476 private Drawable getIndicator(PositionMetadata pos) { argument
479 if (pos
[all...]
/frameworks/minikin/sample/
H A Dexample_skia.cpp83 SkPoint *pos = new SkPoint[nGlyphs]; local
93 pos[i].fX = x + layout->getX(i);
94 pos[i].fY = y + layout->getY(i);
97 canvas->drawPosText(glyphs + start, (i - start) << 1, pos + start, *paint);
103 canvas->drawPosText(glyphs + start, (nGlyphs - start) << 1, pos + start, *paint);
105 delete[] pos;
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DFocusManager.java266 * @param pos
268 private void focusItem(final int pos) { argument
269 focusItem(pos, null);
276 * @param pos
279 private void focusItem(final int pos, @Nullable final FocusCallback callback) { argument
281 RecyclerView.ViewHolder vh = mView.findViewHolderForAdapterPosition(pos);
295 view.findViewHolderForAdapterPosition(pos);
304 Log.w(TAG, "Unable to focus position " + pos + " after scroll");
310 mView.smoothScrollToPosition(pos);
436 for (int pos
[all...]

Completed in 876 milliseconds

1234567891011>>