/frameworks/base/libs/hwui/jni/ |
D | ByteBufferStreamAdaptor.cpp | 19 , mPosition(0) in ByteBufferStream() 56 if (size > mLength - mPosition) { in read() 57 size = mLength - mPosition; in read() 64 return this->setPosition(mPosition + size) ? size : 0; in read() 77 mPosition = mLength; in read() 86 mPosition = mLength; in read() 90 mPosition += requested; in read() 98 bool isAtEnd() const override { return mLength == mPosition; } in isAtEnd() 112 size_t getPosition() const override { return mPosition; } in getPosition() 119 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/base/packages/SystemUI/src/com/android/keyguard/ |
D | PinShapeHintingView.java | 44 private int mPosition = 0; field in PinShapeHintingView 69 if (mPosition == DEFAULT_PIN_LENGTH) { in append() 72 setAnimatedDrawable(mPosition, mPinShapeAdapter.getShape(mPosition)); in append() 73 mPosition++; in append() 78 if (mPosition == 0) { in delete() 81 mPosition--; in delete() 82 setAnimatedDrawable(mPosition, R.drawable.pin_dot_delete_avd); in delete() 92 int size = mPosition; in reset() 96 mPosition = 0; in reset()
|
D | PinShapeNonHintingView.java | 53 private int mPosition = 0; field in PinShapeNonHintingView 89 pinDot.setImageResource(mPinShapeAdapter.getShape(mPosition)); 99 mPosition++; 104 if (mPosition == 0) { 111 mPosition--; 112 ImageView pinDot = (ImageView) getChildAt(mPosition); 139 if (mPosition == 0) { in reset() 142 final int position = mPosition; in reset()
|
/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/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/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 | 38 private int mPosition; field in SettingsSpinnerPreference 99 return mAdapter == null ? null : mAdapter.getItem(mPosition); in getSelectedItem() 104 if (mPosition == position) { in setSelection() 107 mPosition = position; in setSelection() 117 spinner.setSelection(mPosition); in onBindViewHolder() 130 if (mPosition == position) return; 131 mPosition = position;
|
/frameworks/base/telephony/java/android/telephony/euicc/ |
D | EuiccRulesAuthTable.java | 63 private int mPosition; field in EuiccRulesAuthTable.Builder 81 if (mPosition != mPolicyRules.length) { in build() 86 + mPosition); in build() 98 if (mPosition >= mPolicyRules.length) { in add() 99 throw new ArrayIndexOutOfBoundsException(mPosition); in add() 101 mPolicyRules[mPosition] = policyRules; in add() 103 mCarrierIds[mPosition] = carrierId.toArray(new CarrierIdentifier[carrierId.size()]); in add() 105 mPolicyRuleFlags[mPosition] = policyRuleFlags; in add() 106 mPosition++; in add()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/ |
D | ComplicationLayoutParams.java | 76 private final int mPosition; field in ComplicationLayoutParams 208 mPosition = position; in ComplicationLayoutParams() 230 mPosition = source.mPosition; in ComplicationLayoutParams() 256 iteratePositions(consumer, mPosition); in iteratePositions() 293 return mPosition; in getPosition()
|
/frameworks/base/media/java/android/media/session/ |
D | PlaybackState.java | 311 private final long mPosition; field in PlaybackState 326 mPosition = position; in PlaybackState() 339 mPosition = in.readLong(); in PlaybackState() 358 bob.append(", position=").append(mPosition); in toString() 378 dest.writeLong(mPosition); in writeToParcel() 416 return mPosition; in getPosition() 760 private long mPosition; field in PlaybackState.Builder 786 mPosition = from.mPosition; in Builder() 840 mPosition = position; in setState() 1017 return new PlaybackState(mState, mPosition, mUpdateTime, mSpeed, mBufferedPosition, in build()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/ |
D | FloatingRotationButton.java | 83 private Position mPosition; field in FloatingRotationButton 232 if (newPosition.getTranslationX() != mPosition.getTranslationX() in onTaskbarStateChanged() 233 || newPosition.getTranslationY() != mPosition.getTranslationY()) { in onTaskbarStateChanged() 235 mPosition = newPosition; in onTaskbarStateChanged() 274 mPosition = mPositionCalculator in adjustViewPositionAndCreateLayoutParams() 277 lp.gravity = mPosition.getGravity(); in adjustViewPositionAndCreateLayoutParams() 279 mPosition.getGravity(); in adjustViewPositionAndCreateLayoutParams() 281 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/biometrics/ |
D | AuthPanelController.java | 53 @Position private int mPosition = POSITION_BOTTOM; field in AuthPanelController 67 final int left = getLeftBound(mPosition); in getOutline() 68 final int right = getRightBound(mPosition, left); in getOutline() 72 final int top = getTopBound(mPosition); in getOutline() 135 mPosition = position; in setPosition() 139 return mPosition; in getPosition()
|
/frameworks/base/services/core/java/com/android/server/display/layout/ |
D | Layout.java | 295 private final int mPosition; field in Layout.Display 330 mPosition = position; in Display() 346 + ((mPosition == POSITION_UNKNOWN) ? "" : ", position: " + mPosition) in toString() 365 && otherDisplay.mPosition == this.mPosition in equals() 384 result = 31 * result + mPosition; in hashCode() 431 return mPosition; in getPosition()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecordExtractorData.java | 30 private final int mPosition; field in NotificationRecordExtractorData 58 mPosition = position; in NotificationRecordExtractorData() 81 return mPosition != newPosition in hasDiffForRankingLocked() 108 return mPosition != newPosition in hasDiffForLoggingLocked()
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrack.cpp | 676 mPosition = 0; in set() 691 mStartTs.mPosition = 0; in set() 789 mStartTs.mPosition = 0; in start() 799 mPosition = 0; in start() 816 + mStartEts.mPosition[ExtendedTimestamp::LOCATION_SERVER]), in start() 820 mFramesWrittenServerOffset -= mStartEts.mPosition[ExtendedTimestamp::LOCATION_SERVER]; in start() 843 mNewPosition = mPosition + mUpdatePeriod; in start() 1660 mPosition = 0; in reload() 2524 const auto frameCount = isTimestampValid ? timestamp.mPosition : 0; in processAudioBuffer() 2530 && getTimestamp(timestamp) == OK && frameCount != timestamp.mPosition) { in processAudioBuffer() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PageIndicator.java | 50 private int mPosition = -1; field in PageIndicator 147 setIndex(mPosition >> 1); in setNumPages() 186 int lastPosition = mPosition; in setLocation() 201 if (isVisibleToUser() && Math.abs(mPosition - position) == 1) { in setPosition() 202 animate(mPosition, position); in setPosition() 204 if (DEBUG) Log.d(TAG, "Skipping animation " + isVisibleToUser() + " " + mPosition in setPosition() 208 mPosition = position; in setPosition()
|
/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/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()
|