Searched refs:pos (Results 276 - 300 of 323) sorted by relevance

<<111213

/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java2132 int pos = descriptor.indexOf('/');
2133 if (pos < 0 || pos + 1 == descriptor.length()) {
2136 int pos2 = descriptor.indexOf('/', pos + 1);
2137 if (pos2 < pos + 2 || pos2 + 1 == descriptor.length()) {
2142 result.packageName = descriptor.substring(0, pos);
2143 result.receiverName = descriptor.substring(pos + 1, pos2);
/frameworks/base/tools/aapt/
H A DResource.cpp2233 ssize_t pos = idents.indexOf(origOrder.itemAt(a)); local
2234 if (pos >= 0) {
2289 ssize_t pos = idents.indexOf(origOrder.itemAt(a)); local
2290 if (pos >= 0) {
2324 ssize_t pos = idents.indexOf(origOrder.itemAt(a)); local
2325 if (pos >= 0) {
2396 flattenSymbol(name8).string(), (int)pos);
2466 ssize_t pos = idents.indexOf(origOrder.itemAt(a)); local
2467 if (pos >= 0) {
2494 flattenSymbol(name8).string(), (int)pos);
[all...]
/frameworks/base/core/java/android/provider/
H A DContactsContract.java8398 final int[] pos = new int[2];
8399 target.getLocationOnScreen(pos);
8402 rect.left = (int) (pos[0] * appScale + 0.5f);
8403 rect.top = (int) (pos[1] * appScale + 0.5f);
8404 rect.right = (int) ((pos[0] + target.getWidth()) * appScale + 0.5f);
8405 rect.bottom = (int) ((pos[1] + target.getHeight()) * appScale + 0.5f);
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java816 final int[] pos = new int[2];
817 v.getLocationOnScreen(pos);
820 rect.left = (int) (pos[0] * appScale + 0.5f);
821 rect.top = (int) (pos[1] * appScale + 0.5f);
822 rect.right = (int) ((pos[0] + v.getWidth()) * appScale + 0.5f);
823 rect.bottom = (int) ((pos[1] + v.getHeight()) * appScale + 0.5f);
H A DRemoteViewsAdapter.java638 private int getFarthestPositionFrom(int pos, int[] visibleWindow) { argument
646 int dist = Math.abs(index-pos);
/frameworks/compile/mclinker/tools/mcld/
H A DMain.cpp690 const size_t pos = value.find('='); local
692 value.substr(pos + 1).getAsInteger(0, addr);
695 script_.addressMap().insert(value.substr(0, pos), exist);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer_hwc1.cpp909 status_t HWComposer::setCursorPositionAsync(int32_t id, const Rect& pos)
912 return (status_t)mHwc->setCursorPositionAsync(mHwc, id, pos.left, pos.top);
/frameworks/support/v4/java/android/support/v4/widget/
H A DSlidingPaneLayout.java699 final int pos = (int) (range * mSlideOffset);
700 xStart += pos + lpMargin;
701 mSlideOffset = (float) pos / mSlideRange;
/frameworks/base/core/java/com/android/internal/app/
H A DChooserActivity.java1532 final int pos = mChooserRowAdapter.getCallerTargetRowCount() + i;
1533 final int vt = mChooserRowAdapter.getItemViewType(pos);
1537 final View v = mChooserRowAdapter.getView(pos, mCachedView, mListView);
1540 offset += (int) (height * mChooserRowAdapter.getRowScale(pos));
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
H A DItemTouchHelper.java805 int pos = 0;
809 pos++;
814 mSwapTargets.add(pos, otherVh);
815 mDistances.add(pos, dist);
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java1529 int pos = len > 0
1531 if (pos < 0) {
1532 pos = -pos - 1;
1534 if (pos < topFilters.length) {
1535 int copylen = topFilters.length - pos - 1;
1537 System.arraycopy(topFilters, pos, topFilters, pos+1, copylen);
1539 topFilters[pos] = fs;
/frameworks/base/core/jni/
H A Dandroid_os_Parcel.cpp130 static void android_os_Parcel_setDataPosition(JNIEnv* env, jclass clazz, jlong nativePtr, jint pos) argument
134 parcel->setDataPosition(pos);
/frameworks/base/include/androidfw/
H A DResourceTypes.h775 void getPosition(ResXMLPosition* pos) const;
776 void setPosition(const ResXMLPosition& pos);
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DGuidedStepFragment.java1119 int pos = (mSelectedIndex >= 0 && mSelectedIndex < mActions.size()) ?
1121 setSelectedActionPosition(pos);
H A DGuidedStepSupportFragment.java1121 int pos = (mSelectedIndex >= 0 && mSelectedIndex < mActions.size()) ?
1123 setSelectedActionPosition(pos);
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
H A DAdapterHelperTest.java1005 boolean isItemLaidOut(int pos) { argument
1007 if (viewHolder.mOldPosition == pos) {
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewLayoutTest.java2476 final int pos = 1;
2481 View child = lm.findViewByPosition(pos);
2488 lm.findViewByPosition(pos));
2493 View replacement = lm.findViewByPosition(pos);
4004 final int pos = pendingScrollPosition < 0 ? 0: pendingScrollPosition;
4005 layoutRange(recycler, pos, pos + 10);
/frameworks/base/core/java/android/os/
H A DParcel.java261 private static native void nativeSetDataPosition(long nativePtr, int pos); argument
411 * @param pos New offset in the parcel; must be between 0 and
414 public final void setDataPosition(int pos) { argument
415 nativeSetDataPosition(mNativePtr, pos);
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java1334 int pos = dashPositions[i];
1335 text.replace(pos + i, pos + i, "-");
/frameworks/base/tools/aapt2/
H A DResourceParser.cpp1007 size_t pos = styleName.find_last_of(u'.'); local
1008 if (pos != std::string::npos) {
1011 styleName.substr(0, pos)));
/frameworks/base/media/java/android/media/
H A DExifInterface.java1740 ParsePosition pos = new ParsePosition(0);
1744 Date datetime = sFormatter.parse(dateTimeString, pos);
1782 ParsePosition pos = new ParsePosition(0);
1784 Date datetime = sFormatter.parse(dateTimeString, pos);
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java6103 int pos;
6104 for (pos = offset; pos < end; pos++) {
6105 byte c = buffer[pos];
6112 outStr[0] = new String(buffer, offset, pos - offset);
6113 pos++; // may be pointing an extra byte past the end but that's okay
6114 return pos;
7514 int pos;
7515 for (pos
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java3429 final int pos = holder.getLayoutPosition();
3430 if (pos < minPositionPreLayout) {
3431 minPositionPreLayout = pos;
3433 if (pos > maxPositionPreLayout) {
3434 maxPositionPreLayout = pos;
5583 final int pos = holder.getLayoutPosition();
5584 if (pos >= positionStart && pos < positionEnd) {
11147 final int pos = viewHolder.getAdapterPosition();
11148 if (oldPos != NO_POSITION && pos !
[all...]
/frameworks/base/tests/UiBench/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ...

Completed in 542 milliseconds

<<111213