/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | TlvBufferUtils.java | 66 private int mPosition; field in TlvBufferUtils.TlvConstructor 86 mPosition = 0; in TlvConstructor() 112 mPosition = 0; in wrap() 126 mPosition = 0; in allocate() 168 mArray[mPosition++] = b; in putByte() 180 mArray[mPosition++] = b; in putRawByte() 202 System.arraycopy(array, offset, mArray, mPosition, length); in putByteArray() 204 mPosition += length; in putByteArray() 233 System.arraycopy(array, 0, mArray, mPosition, array.length); in putRawByteArray() 234 mPosition += array.length; in putRawByteArray() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | Ver2DictEncoder.java | 47 private int mPosition; field in Ver2DictEncoder 180 mOutStream.write(mBuffer, 0, mPosition); in writeDictionary() 189 mPosition = position; in setPosition() 194 return mPosition; in getPosition() 205 mPosition = BinaryDictEncoderUtils.writeUIntToBuffer(mBuffer, mPosition, encodedPtNodeCount, in writePtNodeCount() 213 mPosition = BinaryDictEncoderUtils.writeUIntToBuffer(mBuffer, mPosition, in writePtNodeFlags() 220 mPosition = CharEncoding.writeCharArray(codePoints, mBuffer, mPosition, in writeCharacters() 223 mBuffer[mPosition++] = FormatSpec.PTNODE_CHARACTERS_TERMINATOR; in writeCharacters() 229 mPosition = BinaryDictEncoderUtils.writeUIntToBuffer(mBuffer, mPosition, frequency, in writeFrequency() 238 mPosition += BinaryDictEncoderUtils.writeChildrenPosition(mBuffer, mPosition, in writeChildrenPosition() [all …]
|
D | BinaryDictIOUtils.java | 64 public int mPosition; field in BinaryDictIOUtils.Position 94 p.mNumOfPtNode + ", position=" + p.mPosition + ", length=" + p.mLength); in readUnigramsAndBigramsBinaryInner() 103 p.mPosition = 0; in readUnigramsAndBigramsBinaryInner() 113 p.mPosition++; in readUnigramsAndBigramsBinaryInner() 123 if (p.mPosition == p.mNumOfPtNode) { in readUnigramsAndBigramsBinaryInner()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
D | TestItemDetails.java | 31 private int mPosition; field in TestItemDetails 37 mPosition = RecyclerView.NO_POSITION; in TestItemDetails() 41 mPosition = source.mPosition; in TestItemDetails() 53 mPosition = position; // this is both "adapter position" and "item position". in at() 78 return mPosition; in hashCode() 92 return mPosition == other.mPosition in equals() 99 return mPosition; in getPosition()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | DebugHelper.java | 56 private int mPosition; field in DebugHelper 91 if (mPosition == 0) { in debugCheck() 100 if (keyCode == sCode[mCodeIndex][mPosition]) { in debugCheck() 101 mPosition++; in debugCheck() 102 } else if (mPosition > 2 || (mPosition == 2 && keyCode != sCode[mCodeIndex][0])) { in debugCheck() 103 mPosition = 0; in debugCheck() 106 if (mPosition == sCode[mCodeIndex].length) { in debugCheck() 107 mPosition = 0; in debugCheck()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | Face.java | 28 private Rect mPosition; field in Face 35 mPosition = new Rect(); in Face() 37 mPosition.left = Integer.parseInt(tokenizer.nextToken()); in Face() 38 mPosition.top = Integer.parseInt(tokenizer.nextToken()); in Face() 39 mPosition.right = Integer.parseInt(tokenizer.nextToken()); in Face() 40 mPosition.bottom = Integer.parseInt(tokenizer.nextToken()); in Face() 45 return mPosition; in getPosition()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduComposer.java | 100 protected int mPosition = 0; field in PduComposer 143 mPosition = 0; in PduComposer() 196 mPosition = mPosition + length; in arraycopy() 204 mPosition++; in append() 663 mPosition = 0; in makeReadRecInd() 711 mPosition = 0; in makeNotifyResp() 743 mPosition = 0; in makeAckInd() 772 mPosition = 0; in makeNotificationInd() 826 mPosition = 0; in makeSendReqPdu() 1062 mPosition += len; in makeMessageBody() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | ByteArrayDictBuffer.java | 27 private int mPosition; field in ByteArrayDictBuffer 31 mPosition = 0; in ByteArrayDictBuffer() 36 return mBuffer[mPosition++] & 0xFF; in readUnsignedByte() 59 return mPosition; in position() 64 mPosition = position; in position() 69 mBuffer[mPosition++] = b; in put()
|
/packages/services/Mtp/src/com/android/mtp/ |
D | DocumentLoader.java | 252 int mPosition; field in DocumentLoader.LoaderTask 265 mPosition = 0; in LoaderTask() 271 mPosition = 0; in loadObjectHandles() 318 if (mPosition == 0) { in loadObjectInfoList() 329 for (int chunkEnd = mPosition + count; in loadObjectInfoList() 330 mPosition < mObjectHandles.length && mPosition < chunkEnd; in loadObjectInfoList() 331 mPosition++) { in loadObjectInfoList() 334 mIdentifier.mDeviceId, mObjectHandles[mPosition])); in loadObjectInfoList() 391 if (mPosition >= mObjectHandles.length) { in loadObjectInfoList()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | AnimationView.java | 54 private float mPosition = 0f; field in AnimationView 72 setPosition(mPosition); in onSizeChanged() 76 return mPosition; in getPosition() 80 mPosition = position; in setPosition() 83 setY((mSpan > 0) ? (mPosition * mSpan) : 0); in setPosition() 85 if (mPosition != 0) { in setPosition()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | SpinnerPreference.java | 33 private int mPosition; field in SpinnerPreference 58 mPosition = position; in setSelection() 59 mCurrentObject = mAdapter.getItem(mPosition); in setSelection() 68 spinner.setSelection(mPosition); in onBindViewHolder() 81 if (mPosition == position) return; 82 mPosition = position;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
D | MtpFullscreenView.java | 37 private int mPosition = -1; field in MtpFullscreenView 86 return mPosition; in getPosition() 93 mPosition = position; in setPositionAndBroker() 104 mBroker.setItemChecked(mPosition, isChecked); in onCheckedChanged() 110 if (position == mPosition) { in onCheckedChanged() 118 setChecked(mBroker.isItemChecked(mPosition)); in onBulkCheckedChanged()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SuggestionPosition.java | 28 private final int mPosition; field in SuggestionPosition 36 mPosition = suggestionPos; in SuggestionPosition() 48 mCursor.moveTo(mPosition); in current() 53 return mPosition; in getPosition() 58 return mCursor + ":" + mPosition; in toString()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/matchers/ |
D | NthChildMatcher.java | 29 private int mPosition; field in NthChildMatcher 33 mPosition = position; in NthChildMatcher() 38 description.appendText("position " + mPosition + " of parent "); in describeTo() 51 && parent.getChildCount() > mPosition in matchesSafely() 52 && view.equals(parent.getChildAt(mPosition)); in matchesSafely()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | PageIndicator.java | 58 private int mPosition = -1; field in PageIndicator 111 setIndex(mPosition >> 1); in setNumPages() 123 int lastPosition = mPosition; in setLocation() 143 if (mPosition >= 0 && Math.abs(mPosition - position) == 1) { in setPosition() 144 animate(mPosition, position); in setPosition() 147 Log.d(TAG, "Skipping animation " + mPosition in setPosition() 152 mPosition = position; in setPosition()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | WorkEduCard.java | 37 private int mPosition = -1; field in WorkEduCard 97 if (mPosition == -1) { in removeCard() 102 rv.getApps().getAdapterItems().remove(mPosition); in removeCard() 103 rv.getAdapter().notifyItemRemoved(mPosition); in removeCard() 108 mPosition = position; in setPosition()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
D | SortingCursorWrapper.java | 39 private final int[] mPosition; field in SortingCursorWrapper 46 mPosition = new int[count]; in SortingCursorWrapper() 67 mPosition[i] = i; in SortingCursorWrapper() 95 binarySort(stringValues, isDirs, mPosition, ids, dimension.getSortDirection()); in SortingCursorWrapper() 99 binarySort(longValues, isDirs, mPosition, ids, dimension.getSortDirection()); in SortingCursorWrapper() 113 return mCursor.moveToPosition(mPosition[newPosition]); in onMove()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | RenderOverlay.java | 46 private int[] mPosition = new int[2]; field in RenderOverlay 106 getLocationInWindow(mPosition); in adjustPosition() 110 return mPosition[0]; in getWindowPositionX() 114 return mPosition[1]; in getWindowPositionY()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | SliderPreferenceControllerTest.java | 73 private int mPosition; field in SliderPreferenceControllerTest.FakeSlider 81 return mPosition; in getSliderPosition() 86 mPosition = position; in setSliderPosition()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/core/ |
D | SettingsSliderPreferenceControllerTest.java | 77 private int mPosition; field in SettingsSliderPreferenceControllerTest.FakeSliderPreferenceController 85 return mPosition; in getSliderPosition() 90 mPosition = position; in setSliderPosition()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/ |
D | CustomThemeStepFragment.java | 30 protected int mPosition; field in CustomThemeStepFragment 47 mHost.setCurrentStep(mPosition); in onResume() 53 mPosition = getArguments().getInt(ARG_KEY_POSITION); in onCreate()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | LevenshteinDistance.java | 136 private final int mPosition; field in LevenshteinDistance.EditOperation 139 mPosition = position; in EditOperation() 145 return mPosition; in getPosition()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterDraw.java | 189 float[] mPosition = new float[2]; in draw() local 206 mPathMeasure.getPosTan(i, mPosition, mTan); in draw() 208 canvas.drawBitmap(brush, mPosition[0] - s2, mPosition[1] - s2, paint); in draw()
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ChannelDataManagerTest.java | 584 private int mPosition; field in ChannelDataManagerTest.FakeCursor 588 mPosition = -1; in FakeCursor() 611 return mContentProvider.keyAt(mPosition); in getLong() 623 ChannelInfoWrapper channel = mContentProvider.get(mPosition); in getString() 644 ChannelInfoWrapper channel = mContentProvider.get(mPosition); in getInt() 667 return ++mPosition < mContentProvider.getCount(); in moveToNext()
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ViewPagerTabs.java | 277 final int mPosition; field in ViewPagerTabs.OnTabLongClickListener 280 mPosition = position; in OnTabLongClickListener() 294 Toast.makeText(context, mPager.getAdapter().getPageTitle(mPosition), Toast.LENGTH_SHORT); in onLongClick()
|