Searched refs:pos (Results 226 - 250 of 323) sorted by relevance

1234567891011>>

/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableContainer.java812 final int pos = mNumChildren;
813 if (pos >= mDrawables.length) {
814 growArray(pos, pos+10);
821 mDrawables[pos] = dr;
832 return pos;
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardParserImpl_V21.java768 int pos = firstString.length() - 1;
769 while (firstString.charAt(pos) != '=') {
772 builder.append(firstString.substring(0, pos + 1));
782 pos = line.length() - 1;
783 while (line.charAt(pos) != '=') {
785 builder.append(line.substring(0, pos + 1));
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java1071 private void placeWindowAfter(WindowState pos, WindowState window) { argument
1072 final WindowList windows = pos.getWindowList();
1073 final int i = windows.indexOf(pos);
1076 + (i+1) + " of " + windows.size() + " (after " + pos + ")");
1081 private void placeWindowBefore(WindowState pos, WindowState window) { argument
1082 final WindowList windows = pos.getWindowList();
1083 int i = windows.indexOf(pos);
1086 + i + " of " + windows.size() + " (before " + pos + ")");
1088 Slog.w(TAG_WM, "placeWindowBefore: Unable to find " + pos + " in " + windows);
1168 WindowState pos
1682 moveInputMethodDialogsLocked(int pos) argument
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.cpp1846 size_t pos = 0; local
1849 if (buffer->size() >= pos + 3 &&
1850 !memcmp("\xef\xbb\xbf", buffer->data() + pos, 3)) {
1851 pos += 3;
1855 if (buffer->size() < pos + 6 ||
1856 memcmp("WEBVTT", buffer->data() + pos, 6)) {
1859 pos += 6;
1861 if (buffer->size() == pos) {
1865 uint8_t sep = buffer->data()[pos];
H A DM3UParser.cpp523 for (ssize_t pos = end - 1; pos >= 0; pos--) {
524 if (baseURL[pos] == '/') {
525 end = pos;
/frameworks/base/media/java/android/media/session/
H A DMediaSession.java591 private void dispatchSeekTo(long pos) { argument
592 postToCallback(CallbackMessageHandler.MSG_SEEK_TO, pos);
951 * @param pos New position to move to, in milliseconds.
953 public void onSeekTo(long pos) { argument
1130 public void onSeekTo(long pos) { argument
1133 session.dispatchSeekTo(pos);
/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaControllerCompat.java690 * @param pos Position to move to, in milliseconds.
692 public abstract void seekTo(long pos); argument
1169 public void seekTo(long pos) { argument
1171 mBinder.seekTo(pos);
1413 public void seekTo(long pos) { argument
1414 MediaControllerCompatApi21.TransportControls.seekTo(mControlsObj, pos);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseStaggeredGridLayoutManagerTest.java600 sb.append("child (ind:").append(i).append(", pos:").append(getPosition(child))
693 sb.append(String.format("index: %d pos: %d top: %d bottom: %d span: %d isFull:%s",
712 int pos = -1;
719 pos = getPosition(getChildAt(i));
722 if (pos == -1) {
730 pos += dir;
731 if (getPosition(getChildAt(i)) != pos) {
H A DBaseRecyclerViewAnimationsTest.java455 for (Integer pos : preLayoutPositions) {
456 if (pos < minPos) {
457 minPos = pos;
559 constraint.mPostLayoutPos = position;// adapter pos does not change
568 constraint.mPostLayoutPos = position;// adapter pos does not change
H A DDefaultItemAnimatorTest.java377 private ViewHolder createViewHolder(final int pos) throws Throwable { argument
382 mAdapter.bindViewHolder(vh, pos);
/frameworks/base/core/java/android/content/pm/
H A DLauncherApps.java690 int pos = findCallbackLocked(callback);
691 if (pos >= 0) {
692 mCallbacks.remove(pos);
/frameworks/base/core/java/android/os/
H A DParcelFileDescriptor.java588 public long seekTo(long pos) throws IOException { argument
590 return mWrapped.seekTo(pos);
593 return Os.lseek(mFd, pos, SEEK_SET);
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
H A DIconTest.java230 int pos = 0;
234 L("used %d bytes parceling: %s", parcel.dataPosition() - pos, img);
235 pos = parcel.dataPosition();
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmAnalyzer.java359 int pos = className.indexOf('$');
360 if (pos > 0) {
361 return className.substring(0, pos);
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DAsmGeneratorTest.java567 int pos = className.indexOf('$');
568 if (pos > 0) {
569 return className.substring(0, pos);
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1836 * the pos array.
1841 * @param pos Array of [x,y] positions, used to position each
1851 @NonNull @Size(multiple=2) float[] pos,
1853 if (index < 0 || index + count > text.length || count*2 > pos.length) {
1857 drawText(text, index + i, 1, pos[i * 2], pos[i * 2 + 1], paint);
1863 * the pos array.
1866 * @param pos Array of [x,y] positions, used to position each character
1874 public void drawPosText(@NonNull String text, @NonNull @Size(multiple=2) float[] pos, argument
1876 drawPosText(text.toCharArray(), 0, text.length(), pos, pain
1850 drawPosText(@onNull char[] text, int index, int count, @NonNull @Size(multiple=2) float[] pos, @NonNull Paint paint) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaAudioTrackTest.java403 int pos = track.getPlaybackHeadPosition();
404 log(TEST_NAME, "position ="+ pos);
405 assertTrue(TEST_NAME, pos == 0);
433 int pos = track.getPlaybackHeadPosition();
434 log(TEST_NAME, "position ="+ pos);
435 assertTrue(TEST_NAME, pos > 0);
/frameworks/base/services/core/java/com/android/server/am/
H A DAppErrors.java175 for (int pos = 0; pos < info.stack.length(); pos++) {
176 if (info.stack.charAt(pos) == '\n') {
178 pw.write(info.stack, lastPos, pos-lastPos);
180 lastPos = pos+1;
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp496 int pos = 2; local
500 sprintf(*outBuf + pos, (i % 4 ? "." : "|"));
501 ++pos;
503 sprintf(*outBuf + pos, "%02x", inBuf[i]);
504 pos += 2;
507 strcpy(*outBuf + pos, "...");
/frameworks/base/core/java/android/content/res/
H A DXmlBlock.java117 public String getNamespacePrefix(int pos) throws XmlPullParserException { argument
132 public String getNamespaceUri(int pos) throws XmlPullParserException { argument
/frameworks/base/core/tests/coretests/src/android/util/
H A DListScenario.java181 for (int pos : positions) {
182 setPositionUnselectable(pos);
/frameworks/compile/mclinker/lib/LD/
H A DGNUArchiveReader.cpp171 size_t pos = name_field.find_first_of('/'); local
172 member_name.assign(name_field.substr(0, pos).str());
/frameworks/compile/mclinker/lib/Script/
H A DScriptParser.yy789 RpnExpr::iterator pos = m_ScriptFile.getCurrentRpnExpr()->begin() +
791 m_ScriptFile.getCurrentRpnExpr()->insert(pos, SymOperand::create("."));
811 RpnExpr::iterator pos = m_ScriptFile.getCurrentRpnExpr()->begin() +
813 m_ScriptFile.getCurrentRpnExpr()->insert(pos, SymOperand::create("."));
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DImageProcessingActivity.java397 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
398 changeTest(TestName.values()[pos]);
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DProcessStats.java848 int pos = 0;
852 int amt = stream.read(data, pos, data.length-pos);
853 if (DEBUG_PARCEL) Slog.i("foo", "Read " + amt + " bytes at " + pos
856 if (DEBUG_PARCEL) Slog.i("foo", "**** FINISHED READING: pos=" + pos
858 outLen[0] = pos;
861 pos += amt;
862 if (pos >= data.length) {
863 byte[] newData = new byte[pos
[all...]

Completed in 793 milliseconds

1234567891011>>