Home
last modified time | relevance | path

Searched refs:startPosition (Results 1 – 25 of 25) sorted by relevance

/packages/services/Car/cpp/car_binder_lib/largeParcelable/include/
DLargeParcelableVector.h77 int32_t startPosition; in serializePayload() local
79 startPosition = AParcel_getDataPosition(dest); in serializePayload()
86 ALOGD("serialize-payload, start:%d size: %d", startPosition, in serializePayload()
87 (AParcel_getDataPosition(dest) - startPosition)); in serializePayload()
105 int32_t startPosition; in deserialize() local
107 startPosition = AParcel_getDataPosition(&src); in deserialize()
108 ALOGD("start position: %d", startPosition); in deserialize()
116 ALOGD("deserialize-payload, start:%d size: %d", startPosition, in deserialize()
117 (AParcel_getDataPosition(&src) - startPosition)); in deserialize()
DLargeParcelable.h77 int32_t startPosition; in serializeNullablePayload() local
79 startPosition = AParcel_getDataPosition(dest); in serializeNullablePayload()
98 ALOGD("serialize-payload, start:%d size: %d", startPosition, in serializeNullablePayload()
99 (AParcel_getDataPosition(dest) - startPosition)); in serializeNullablePayload()
116 int32_t startPosition = AParcel_getDataPosition(&src); in deserialize() local
118 ALOGD("start position: %d", startPosition); in deserialize()
126 int32_t size = (AParcel_getDataPosition(&src) - startPosition); in deserialize()
129 ALOGD("deserialize-payload: null parcelable, start: %d, size: %d", startPosition, size); in deserialize()
136 ALOGD("deserialize-payload, start: %d, size: %d", startPosition, size); in deserialize()
DLargeParcelableBase.h197 static int32_t updatePayloadSize(AParcel* dest, int32_t startPosition);
/packages/services/Car/car-lib/src/com/android/car/internal/
DLargeParcelable.java97 int startPosition; in serialize() local
99 startPosition = dest.dataPosition(); in serialize()
103 Slog.d(TAG, "serialize-payload, start:" + startPosition in serialize()
104 + " size:" + (dest.dataPosition() - startPosition)); in serialize()
110 int startPosition; in serializeNullPayload() local
112 startPosition = dest.dataPosition(); in serializeNullPayload()
116 Slog.d(TAG, "serializeNullPayload-payload, start:" + startPosition in serializeNullPayload()
117 + " size:" + (dest.dataPosition() - startPosition)); in serializeNullPayload()
125 int startPosition; in deserialize() local
127 startPosition = src.dataPosition(); in deserialize()
[all …]
DLargeParcelableBase.java96 int startPosition = in.dataPosition(); in LargeParcelableBase() local
110 in.setDataPosition(startPosition + totalPayloadSize); in LargeParcelableBase()
112 Slog.d(TAG, "Read, start:" + startPosition + " totalPayloadSize:" + totalPayloadSize in LargeParcelableBase()
120 int startPosition = dest.dataPosition(); in writeToParcel() local
131 Slog.d(TAG, "Write, reusing shared memory, start:" + startPosition in writeToParcel()
166 Slog.d(TAG, "Write, start:" + startPosition + " totalPayloadSize:" + totalPayloadSize in writeToParcel()
172 private int updatePayloadSize(Parcel dest, int startPosition) { in updatePayloadSize() argument
174 int totalPayloadSize = lastPosition - startPosition; in updatePayloadSize()
175 dest.setDataPosition(startPosition); in updatePayloadSize()
342 int startPosition = dest.dataPosition(); in serializeMemoryFdOrPayloadToParcel() local
[all …]
/packages/services/Car/cpp/car_binder_lib/largeParcelable/
DLargeParcelableBase.cpp68 int32_t startPosition = AParcel_getDataPosition(in); in readFromParcel() local
96 startPosition, totalPayloadSize, sharedMemoryPosition, hasSharedMemory); in readFromParcel()
103 int32_t startPosition = AParcel_getDataPosition(parcel); in prepareSharedMemory() local
108 int32_t payloadSize = AParcel_getDataPosition(parcel) - startPosition; in prepareSharedMemory()
117 serializeParcelToSharedMemory(*parcel, startPosition, payloadSize, &status); in prepareSharedMemory()
130 int startPosition = AParcel_getDataPosition(dest); in writeToParcel() local
140 AParcel_setDataPosition(dest, startPosition); in writeToParcel()
148 int32_t totalPayloadSize = AParcel_getDataPosition(dest) - startPosition; in writeToParcel()
150 ALOGD("Write, start:%d totalPayloadSize:%d hasSharedMemory:%d", startPosition, in writeToParcel()
294 int32_t LargeParcelableBase::updatePayloadSize(AParcel* dest, int32_t startPosition) { in updatePayloadSize() argument
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DFlingSpringAnim.java43 float startPosition, float targetPosition, float startVelocityPxPerS, in FlingSpringAnim() argument
60 mSkipFlingAnim = startPosition <= minValue && startVelocityPxPerS < 0 in FlingSpringAnim()
61 || startPosition >= maxValue && startVelocityPxPerS > 0; in FlingSpringAnim()
79 public void updatePosition(float startPosition, float targetPosition) { in updatePosition() argument
80 mFlingAnim.setMinValue(Math.min(startPosition, targetPosition)) in updatePosition()
81 .setMaxValue(Math.max(startPosition, targetPosition)); in updatePosition()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestDocumentsAdapter.java53 public void onItemRangeChanged(int startPosition, int itemCount, Object payload) { in TestDocumentsAdapter()
55 int last = startPosition + itemCount; in TestDocumentsAdapter()
56 for (int i = startPosition; i < last; i++) { in TestDocumentsAdapter()
63 public void onItemRangeInserted(int startPosition, int itemCount) { in TestDocumentsAdapter()
67 public void onItemRangeRemoved(int startPosition, int itemCount) { in TestDocumentsAdapter()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DTranslationAnimationCreator.java58 Integer startPosition = (Integer) values.view.getTag(R.id.transitionPosition); in createAnimation() local
59 if (startPosition != null) { in createAnimation()
60 startX = startPosition - viewPosX + terminalX; in createAnimation()
/packages/apps/Nfc/src/com/android/nfc/
DNfcWifiProtectedSetup.java122 int startPosition = payload.position(); in parseCredential() local
124 while (payload.position() < startPosition + size) { in parseCredential()
129 if (payload.position() + fieldSize > startPosition + size) { in parseCredential()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DPickerProviderMediaGenerator.java340 int startPosition = (pageSize * page); in getCursor() local
342 int endPosition = startPosition + pageSize; in getCursor()
344 for (int i = startPosition; i < endPosition; i++) { in getCursor()
383 int startPosition = (pageSize * page); in getCursor() local
385 int endPosition = startPosition + pageSize; in getCursor()
388 for (int i = startPosition; i < endPosition; i++) { in getCursor()
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripDataAdapterProxy.java132 public List<Integer> getItemsInRange(int startPosition, int endPosition) { in getItemsInRange() argument
133 return mAdapter.getItemsInRange(startPosition, endPosition); in getItemsInRange()
DCameraFilmstripDataAdapter.java303 public List<Integer> getItemsInRange(int startPosition, int endPosition) { in getItemsInRange() argument
305 for (int i = Math.max(0, startPosition); i < endPosition; i++) { in getItemsInRange()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DCursorPreviewsInteractor.kt81 val startPosition = uriCursor.extras?.getInt(POSITION, 0) ?: 0 in <lambda>() constant
84 initialState = readInitialState(pagedCursor, startPosition, unclaimedRecords), in <lambda>()
174 startPosition: Int, in <lambda>()
177 val startPageIdx = startPosition / pageSize in <lambda>()
/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java237 private int makeAndAddColumn(int startPosition, int x, boolean forward) { in makeAndAddColumn() argument
241 remaining > 0 && startPosition + i >= 0 && startPosition + i < mItemCount; in makeAndAddColumn()
243 if (mAdapter.getIntrinsicAspectRatio(startPosition + i) >= 1f) { in makeAndAddColumn()
257 int position = startPosition + (forward ? i : -i); in makeAndAddColumn()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DNetlinkMessage.java53 final int startPosition = (byteBuffer != null) ? byteBuffer.position() : -1; in parse() local
91 byteBuffer.position(startPosition + messageLength); in parse()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAlphabeticalAppsList.java393 private int addAppsWithSections(List<AppInfo> appList, int startPosition) { in addAppsWithSections() argument
396 int position = startPosition; in addAppsWithSections()
/packages/apps/Camera2/src/com/android/camera/widget/
DPreloader.java29 public List<T> getItemsInRange(int startPosition, int endPosition); in getItemsInRange() argument
/packages/apps/Calendar/src/com/android/calendar/
DDayView.kt2303 var startPosition = -1 in computeAllDayNeighbors() variable
2305 startPosition = mPrevSelectedEvent?.getColumn() as Int in computeAllDayNeighbors()
2313 if (position == startPosition) { in computeAllDayNeighbors()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/
Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/libs/m2/
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Djavac-shaded-9-dev-r4023-3.jarorg/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...