/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
D | Transport.java | 259 final int contentSize = buffer.getInt(); in handleMessage() local 260 if (contentSize == 0) { in handleMessage() 263 final int end = buffer.position() + contentSize; in handleMessage() 293 int contentSize = -1; in loop() local 316 if (contentSize < 0 && position >= Protocol.HEADER_SIZE) { in loop() 317 contentSize = buffer.getInt(4); in loop() 318 if (contentSize < 0 || contentSize > Protocol.MAX_CONTENT_SIZE) { in loop() 319 mLogger.logError("Encountered invalid content size: " + contentSize); in loop() 322 length += contentSize; in loop() 336 contentSize = -1; in loop() [all …]
|
/frameworks/base/core/java/android/view/ |
D | InputWindowHandle.java | 108 public Size contentSize = new Size(0, 0); field in InputWindowHandle 213 contentSize = new Size(other.contentSize.getWidth(), other.contentSize.getHeight()); in InputWindowHandle() 228 .append(", contentSize=").append(contentSize) in toString()
|
/frameworks/native/libs/gui/ |
D | WindowInfo.cpp | 96 info.contentSize == contentSize && info.surfaceInset == surfaceInset && in operator ==() 133 parcel->writeInt32(contentSize.width) ?: in writeToParcel() 134 parcel->writeInt32(contentSize.height) ?: in writeToParcel() 186 parcel->readInt32(&contentSize.width) ?: in readFromParcel() 187 parcel->readInt32(&contentSize.height) ?: in readFromParcel()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TrustedPresentationListenerController.java | 275 windowHandle.contentSize, in computeTpl() 374 Size contentSize, in computeFractionRendered() argument 379 visibleRegion, screenBounds, contentSize, sx, sy); in computeFractionRendered() 381 if (contentSize.getWidth() == 0 || contentSize.getHeight() == 0) { in computeFractionRendered() 391 float boundsOverSourceW = screenBounds.width() / (float) contentSize.getWidth(); in computeFractionRendered() 392 float boundsOverSourceH = screenBounds.height() / (float) contentSize.getHeight(); in computeFractionRendered()
|
/frameworks/native/libs/gui/tests/ |
D | WindowInfo_test.cpp | 57 i.contentSize = Size(10, 40); in TEST() 88 ASSERT_EQ(i.contentSize, i2.contentSize); in TEST()
|
/frameworks/base/core/jni/ |
D | android_hardware_input_InputWindowHandle.cpp | 62 jfieldID contentSize; member 287 ScopedLocalRef<jobject> sizeObj(env, JNICommon::objFromSize(env, windowInfo.contentSize)); in android_view_InputWindowHandle_fromWindowInfo() 288 env->SetObjectField(inputWindowHandle, gInputWindowHandleClassInfo.contentSize, sizeObj.get()); in android_view_InputWindowHandle_fromWindowInfo() 406 GET_FIELD_ID(gInputWindowHandleClassInfo.contentSize, clazz, "contentSize", in register_android_view_InputWindowHandle()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | TarBackupReader.java | 726 final int contentSize = (int) info.size; in readPaxExtendedHeader() local 731 while (eol < contentSize && data[eol] != ' ') { in readPaxExtendedHeader() 734 if (eol >= contentSize) { in readPaxExtendedHeader() 766 } while (offset < contentSize); in readPaxExtendedHeader()
|
/frameworks/native/libs/gui/include/gui/ |
D | WindowInfo.h | 205 ui::Size contentSize = ui::Size(0, 0); member
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | GridLayoutManager.java | 737 final int contentSize = Math.round(maxSizeInOther * mSpanCount); in guessMeasurement() local 739 calculateItemBorders(Math.max(contentSize, currentOtherDirSize)); in guessMeasurement()
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerSnapshotBuilder.cpp | 1135 snapshot.inputInfo.contentSize = snapshot.croppedBufferSize.getSize(); in updateInput()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 2538 info.contentSize = Size(bufferSize.width(), bufferSize.height()); in fillInputInfo()
|