/frameworks/base/libs/hwui/jni/ |
D | ByteBufferStreamAdaptor.cpp | 18 , mPosition(0) in ByteBufferStream() 55 if (size > mLength - mPosition) { in read() 56 size = mLength - mPosition; in read() 63 return this->setPosition(mPosition + size) ? size : 0; in read() 76 mPosition = mLength; in read() 85 mPosition = mLength; in read() 89 mPosition += requested; in read() 97 bool isAtEnd() const override { return mLength == mPosition; } in isAtEnd() 111 size_t getPosition() const override { return mPosition; } in getPosition() 118 long newPosition = mPosition + offset; in move() [all …]
|
/frameworks/base/services/core/java/com/android/server/integrity/parser/ |
D | RandomAccessInputStream.java | 27 private int mPosition; field in RandomAccessInputStream 31 mPosition = 0; in RandomAccessInputStream() 36 return mPosition; in getPosition() 42 mPosition = position; in seek() 47 return mRandomAccessObject.length() - mPosition; in available() 60 mPosition++; in read() 79 mPosition += result; in read() 93 mPosition += skipAmount; in skip() 94 mRandomAccessObject.seek(mPosition); in skip()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioTimestamp.h | 28 AudioTimestamp() : mPosition(0) { in AudioTimestamp() 33 uint32_t mPosition; // a frame position in AudioTrack::getPosition() units variable 68 int64_t mPosition[LOCATION_MAX]; member 91 memset(mPosition, 0, sizeof(mPosition)); // actually not necessary if time is -1 in clear() 113 *position = mPosition[i]; 130 timestamp->mPosition = position; 145 mPosition[location1] - mPosition[location2]; in getLatencyMs() 160 << mPosition[i] << " time: " << mTimeNs[i] << "\n"; in toString()
|
/frameworks/av/media/libaaudio/src/utility/ |
D | FixedBlockReader.cpp | 27 mPosition = mSize; in FixedBlockReader() 32 mPosition = mSize; // Indicate no data in storage. in open() 38 int32_t dataAvailable = mSize - mPosition; in readFromStorage() 42 memcpy(buffer, &mStorage[mPosition], bytesToRead); in readFromStorage() 43 mPosition += bytesToRead; in readFromStorage() 51 if (mPosition < mSize) { in processVariableBlock() 64 mPosition = 0; in processVariableBlock()
|
D | FixedBlockWriter.cpp | 29 int32_t roomAvailable = mSize - mPosition; in writeToStorage() 33 memcpy(&mStorage[mPosition], buffer, bytesToStore); in writeToStorage() 34 mPosition += bytesToStore; in writeToStorage() 43 if (mPosition > 0) { in processVariableBlock() 48 if (mPosition == mSize) { in processVariableBlock() 50 mPosition = 0; in processVariableBlock()
|
D | FixedBlockAdapter.cpp | 25 mPosition = 0; in open() 33 mPosition = 0; in close()
|
/frameworks/base/core/java/android/view/ |
D | RoundedCorner.java | 72 private final @Position int mPosition; field in RoundedCorner 83 mPosition = position; in RoundedCorner() 103 mPosition = position; in RoundedCorner() 114 mPosition = rc.getPosition(); in RoundedCorner() 128 return mPosition; in getPosition() 185 return mPosition == r.mPosition && mRadius == r.mRadius in equals() 194 result = 31 * result + mPosition; in hashCode() 203 + "position=" + getPositionString(mPosition) in toString() 216 out.writeInt(mPosition); in writeToParcel()
|
/frameworks/base/core/java/android/window/ |
D | PictureInPictureSurfaceTransaction.java | 41 public final PointF mPosition; field in PictureInPictureSurfaceTransaction 58 mPosition = in.readTypedObject(PointF.CREATOR); in PictureInPictureSurfaceTransaction() 72 mPosition = position; in PictureInPictureSurfaceTransaction() 87 this(other.mAlpha, other.mPosition, in PictureInPictureSurfaceTransaction() 126 && Objects.equals(mPosition, that.mPosition) in equals() 138 return Objects.hash(mAlpha, mPosition, Arrays.hashCode(mFloat9), in hashCode() 151 out.writeTypedObject(mPosition, 0 /* flags */); in writeToParcel() 165 + " position=" + mPosition in toString() 181 if (surfaceTransaction.mPosition != null) { in apply() 183 surfaceTransaction.mPosition.x, surfaceTransaction.mPosition.y); in apply() [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | CompletionInfo.java | 53 private final int mPosition; field in CompletionInfo 68 mPosition = index; in CompletionInfo() 89 mPosition = index; in CompletionInfo() 96 mPosition = source.readInt(); in CompletionInfo() 114 return mPosition; in getPosition() 136 return "CompletionInfo{#" + mPosition + " \"" + mText in toString() 148 dest.writeInt(mPosition); in writeToParcel()
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/ |
D | Asn1Decoder.java | 30 private int mPosition; field in Asn1Decoder 61 mPosition = offset; in Asn1Decoder() 67 return mPosition; in getPosition() 72 return mPosition < mEnd; in hasNextNode() 85 if (mPosition >= mEnd) { in nextNode() 89 int offset = mPosition; in nextNode() 148 mPosition = offset + dataLen; in nextNode()
|
/frameworks/base/packages/SettingsLib/SettingsSpinner/src/com/android/settingslib/widget/ |
D | SettingsSpinnerPreference.java | 37 private int mPosition; field in SettingsSpinnerPreference 98 return mAdapter == null ? null : mAdapter.getItem(mPosition); in getSelectedItem() 103 if (mPosition == position) { in setSelection() 106 mPosition = position; in setSelection() 116 spinner.setSelection(mPosition); in onBindViewHolder() 129 if (mPosition == position) return; 130 mPosition = position;
|
/frameworks/base/telephony/java/android/telephony/euicc/ |
D | EuiccRulesAuthTable.java | 60 private int mPosition; field in EuiccRulesAuthTable.Builder 78 if (mPosition != mPolicyRules.length) { in build() 83 + mPosition); in build() 95 if (mPosition >= mPolicyRules.length) { in add() 96 throw new ArrayIndexOutOfBoundsException(mPosition); in add() 98 mPolicyRules[mPosition] = policyRules; in add() 100 mCarrierIds[mPosition] = carrierId.toArray(new CarrierIdentifier[carrierId.size()]); in add() 102 mPolicyRuleFlags[mPosition] = policyRuleFlags; in add() 103 mPosition++; in add()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/complication/ |
D | ComplicationLayoutParams.java | 76 private final int mPosition; field in ComplicationLayoutParams 206 mPosition = position; in ComplicationLayoutParams() 228 mPosition = source.mPosition; in ComplicationLayoutParams() 254 iteratePositions(consumer, mPosition); in iteratePositions() 291 return mPosition; in getPosition()
|
/frameworks/base/media/java/android/media/session/ |
D | PlaybackState.java | 294 private final long mPosition; field in PlaybackState 309 mPosition = position; in PlaybackState() 322 mPosition = in.readLong(); in PlaybackState() 337 bob.append(", position=").append(mPosition); in toString() 357 dest.writeLong(mPosition); in writeToParcel() 394 return mPosition; in getPosition() 702 private long mPosition; field in PlaybackState.Builder 728 mPosition = from.mPosition; in Builder() 781 mPosition = position; in setState() 957 return new PlaybackState(mState, mPosition, mUpdateTime, mSpeed, mBufferedPosition, in build()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/ |
D | FloatingRotationButton.java | 84 private Position mPosition; field in FloatingRotationButton 242 if (newPosition.getTranslationX() != mPosition.getTranslationX() in onTaskbarStateChanged() 243 || newPosition.getTranslationY() != mPosition.getTranslationY()) { in onTaskbarStateChanged() 245 mPosition = newPosition; in onTaskbarStateChanged() 284 mPosition = mPositionCalculator in adjustViewPositionAndCreateLayoutParams() 287 lp.gravity = mPosition.getGravity(); in adjustViewPositionAndCreateLayoutParams() 289 mPosition.getGravity(); in adjustViewPositionAndCreateLayoutParams() 291 updateTranslation(mPosition, /* animate */ false); in adjustViewPositionAndCreateLayoutParams()
|
/frameworks/base/telephony/common/com/google/android/mms/pdu/ |
D | PduComposer.java | 101 protected int mPosition = 0; field in PduComposer 149 mPosition = 0; in PduComposer() 200 mPosition = mPosition + length; in arraycopy() 208 mPosition ++; in append() 678 mPosition = 0; in makeReadRecInd() 726 mPosition = 0; in makeNotifyResp() 760 mPosition = 0; in makeAckInd() 789 mPosition = 0; in makeSendRetrievePdu() 1034 mPosition += len; in makeMessageBody() 1092 return mPosition - c_pos; in getLength() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PageIndicator.java | 44 private int mPosition = -1; field in PageIndicator 100 setIndex(mPosition >> 1); in setNumPages() 139 int lastPosition = mPosition; in setLocation() 154 if (isVisibleToUser() && Math.abs(mPosition - position) == 1) { in setPosition() 155 animate(mPosition, position); in setPosition() 157 if (DEBUG) Log.d(TAG, "Skipping animation " + isVisibleToUser() + " " + mPosition in setPosition() 161 mPosition = position; in setPosition()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecordExtractorData.java | 30 private final int mPosition; field in NotificationRecordExtractorData 57 mPosition = position; in NotificationRecordExtractorData() 79 return mPosition != newPosition in hasDiffForRankingLocked() 105 return mPosition != newPosition in hasDiffForLoggingLocked()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PinnedTaskController.java | 245 final boolean emptyPipPositionTx = pipTx == null || pipTx.mPosition == null; in startSeamlessRotationIfNeeded() 261 float dx = pipTx.mPosition.x; in startSeamlessRotationIfNeeded() 262 float dy = pipTx.mPosition.y; in startSeamlessRotationIfNeeded() 265 dx = pipTx.mPosition.y; in startSeamlessRotationIfNeeded() 266 dy = areaBounds.right - pipTx.mPosition.x; in startSeamlessRotationIfNeeded() 269 dx = areaBounds.bottom - pipTx.mPosition.y; in startSeamlessRotationIfNeeded() 270 dy = pipTx.mPosition.x; in startSeamlessRotationIfNeeded()
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrack.cpp | 815 mPosition = 0; in set() 830 mStartTs.mPosition = 0; in set() 928 mStartTs.mPosition = 0; in start() 938 mPosition = 0; in start() 955 + mStartEts.mPosition[ExtendedTimestamp::LOCATION_SERVER]), in start() 959 mFramesWrittenServerOffset -= mStartEts.mPosition[ExtendedTimestamp::LOCATION_SERVER]; in start() 982 mNewPosition = mPosition + mUpdatePeriod; in start() 1769 mPosition = 0; in reload() 2966 mPosition = mReleased; in restoreTrack_l() 3057 mPosition += delta; in updateAndGetPosition_l() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthPanelController.java | 52 @Position private int mPosition = POSITION_BOTTOM; field in AuthPanelController 66 final int left = getLeftBound(mPosition); in getOutline() 71 final int top = getTopBound(mPosition); in getOutline() 113 mPosition = position; in setPosition()
|
/frameworks/wilhelm/src/itf/ |
D | IMIDITime.cpp | 49 thiz->mPosition = position; in IMIDITime_SetPosition() 67 SLuint32 position = thiz->mPosition; in IMIDITime_GetPosition() 133 thiz->mPosition = 0; in IMIDITime_init()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | AccessibilityFloatingMenuView.java | 125 private final Position mPosition; field in AccessibilityFloatingMenuView 210 mPosition = position; in AccessibilityFloatingMenuView() 211 mAlignment = transformToAlignment(mPosition.getPercentageX()); in AccessibilityFloatingMenuView() 231 mPosition.update(transformCurrentPercentageXToEdge(), in AccessibilityFloatingMenuView() 233 mAlignment = transformToAlignment(mPosition.getPercentageX()); in AccessibilityFloatingMenuView() 235 updateLocationWith(mPosition); in AccessibilityFloatingMenuView() 247 onDragEndListener -> onDragEndListener.onDragEnd(mPosition)); in AccessibilityFloatingMenuView() 394 updateLocationWith(mPosition); in setSizeType() 518 updateLocationWith(mPosition); in onWindowInsetsApplied() 529 updateLocationWith(mPosition); in onWindowInsetsApplied() [all …]
|
/frameworks/av/services/audioflinger/ |
D | FastMixer.cpp | 401 perTrackTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = in onWork() 404 perTrackTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = 0; in onWork() 407 perTrackTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER] = trackFramesWritten; in onWork() 527 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL], in onWork() 531 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]; in onWork() 535 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = in onWork() 536 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]; in onWork() 562 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = 0; in onWork()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/ |
D | PhotoViewFragment.java | 109 protected int mPosition; field in PhotoViewFragment 199 mPosition = bundle.getInt(ARG_POSITION); in onCreate() 252 mCallback.addScreenListener(mPosition, this); in onResume() 295 mCallback.removeScreenListener(mPosition); in onPause() 392 mCallback.onNewPhotoLoaded(mPosition); in onLoadFinished() 535 if (cursor.moveToPosition(mPosition) && !isPhotoBound()) { in onCursorChanged() 563 return mPosition; in getPosition()
|