Home
last modified time | relevance | path

Searched refs:initialPosition (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DCodedOutputStreamTest.java115 private final int initialPosition; field in CodedOutputStreamTest.NioHeapCoder
121 NioHeapCoder(int size, int initialPosition) { in NioHeapCoder() argument
122 this.initialPosition = initialPosition; in NioHeapCoder()
124 buffer.position(initialPosition); in NioHeapCoder()
136 dup.position(initialPosition); in toByteArray()
151 private final int initialPosition; field in CodedOutputStreamTest.NioDirectCoder
159 NioDirectCoder(int size, int initialPosition) { in NioDirectCoder() argument
160 this.initialPosition = initialPosition; in NioDirectCoder()
162 buffer.position(initialPosition); in NioDirectCoder()
174 dup.position(initialPosition); in toByteArray()
/frameworks/base/core/java/android/app/admin/
DNetworkEvent.java91 final int initialPosition = in.dataPosition();
94 in.setDataPosition(initialPosition);
/frameworks/base/core/jni/android/graphics/
DByteBufferStreamAdaptor.h24 size_t initialPosition, size_t limit);
DByteBufferStreamAdaptor.cpp14 ByteBufferStream(JavaVM* jvm, jobject jbyteBuffer, size_t initialPosition, size_t length, in ByteBufferStream() argument
19 , mInitialPosition(initialPosition) in ByteBufferStream()
DImageDecoder.cpp171 jint initialPosition, jint limit, jobject source) { in ImageDecoder_nCreateByteBuffer() argument
173 initialPosition, limit); in ImageDecoder_nCreateByteBuffer()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java1491 private int initialPosition; field in CodedOutputStream.NioHeapEncoder
1497 this.initialPosition = byteBuffer.position(); in NioHeapEncoder()
1503 byteBuffer.position(initialPosition + getTotalBytesWritten()); in flush()
1513 private final int initialPosition; field in CodedOutputStream.NioEncoder
1518 initialPosition = buffer.position(); in NioEncoder()
1805 return buffer.position() - initialPosition; in getTotalBytesWritten()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java644 final int initialPosition = mBreakIterator.current(); in estimateOptimalSqueezedButtonTextWidth() local
645 final float initialLeftTextWidth = Layout.getDesiredWidth(text, 0, initialPosition, paint); in estimateOptimalSqueezedButtonTextWidth()
647 Layout.getDesiredWidth(text, initialPosition, length, paint); in estimateOptimalSqueezedButtonTextWidth()
/frameworks/native/libs/binder/
DParcel.cpp624 const size_t initialPosition = dataPosition(); in replaceCallingWorkSourceUid() local
627 setDataPosition(initialPosition); in replaceCallingWorkSourceUid()
637 const size_t initialPosition = dataPosition(); in readCallingWorkSourceUid() local
640 setDataPosition(initialPosition); in readCallingWorkSourceUid()