/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/ |
D | DisplayLayoutTest.java | 81 DisplayLayout dl = new DisplayLayout(info, res, false, false); in testInsets() local 83 dl.recalcInsets(res); in testInsets() 84 assertEquals(new Rect(0, 0, 0, 0), dl.stableInsets()); in testInsets() 85 assertEquals(new Rect(0, 0, 0, 0), dl.nonDecorInsets()); in testInsets() 88 dl = new DisplayLayout(info, res, true, true); in testInsets() 89 dl.recalcInsets(res); in testInsets() 90 assertEquals(new Rect(0, 40, 0, 50), dl.stableInsets()); in testInsets() 91 assertEquals(new Rect(0, 0, 0, 50), dl.nonDecorInsets()); in testInsets() 95 dl = new DisplayLayout(info, res, false, false); in testInsets() 96 dl.recalcInsets(res); in testInsets() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | DynamicLayoutBlocksTest.java | 42 private DynamicLayout dl = new DynamicLayout("", new TextPaint(), 0, ALIGN_NORMAL, 0, 0, false); field in DynamicLayoutBlocksTest 56 for (int i = 0; i < dl.getNumberOfBlocks(); i++) { in printBlocks() 57 System.out.print(" " + Integer.toString(dl.getBlockEndLines()[i])); in printBlocks() 63 assertTrue(dl.getNumberOfBlocks() > 0); in checkInvariants() 64 assertTrue(dl.getNumberOfBlocks() <= dl.getBlockEndLines().length); in checkInvariants() 65 assertEquals(dl.getBlockEndLines().length, dl.getBlockIndices().length); in checkInvariants() 67 for (int i = 1; i < dl.getNumberOfBlocks(); i++) { in checkInvariants() 68 assertTrue(dl.getBlockEndLines()[i] > dl.getBlockEndLines()[i-1]); in checkInvariants() 75 dl.setBlocksDataForTest( in update() 78 dl.updateBlocks(startLine, endLine, newLineCount); in update() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayLayout.java | 161 public DisplayLayout(DisplayLayout dl) { in DisplayLayout() argument 162 set(dl); in DisplayLayout() 166 public void set(DisplayLayout dl) { in set() argument 167 mUiMode = dl.mUiMode; in set() 168 mWidth = dl.mWidth; in set() 169 mHeight = dl.mHeight; in set() 170 mCutout = dl.mCutout; in set() 171 mRotation = dl.mRotation; in set() 172 mDensityDpi = dl.mDensityDpi; in set() 173 mHasNavigationBar = dl.mHasNavigationBar; in set() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LaunchParamsModifierTestsBase.java | 73 final int dl = displayFrame.left; in configInsetsState() local 85 if (sl > dl) { in configInsetsState() 87 .setFrame(dl, dt, sl, db); in configInsetsState() 91 .setFrame(dl, dt, dr, st); in configInsetsState() 99 .setFrame(dl, sb, dr, db); in configInsetsState()
|
/frameworks/compile/libbcc/lib/ |
D | Compiler.cpp | 312 const llvm::DataLayout dl = getTargetMachine().createDataLayout(); in compile() local 313 unsigned int pointerSize = dl.getPointerSizeInBits(); in compile() 327 if (!validateLayoutOfExportedTypes(module, module.getDataLayout(), dl)) in compile() 334 if (dl.getStringRepresentation().compare(X86_DEFAULT_DL_STRING) != 0) { in compile()
|
/frameworks/native/libs/nativewindow/ |
D | ANativeWindow.cpp | 52 void* dl = dlopen("libgui.so", RTLD_NOW); in getSurfaceParcelFunctions() local 53 LOG_ALWAYS_FATAL_IF(!dl, "Failed to find libgui.so"); in getSurfaceParcelFunctions() 55 (android_view_Surface_writeToParcel)dlsym(dl, "android_view_Surface_writeToParcel"); in getSurfaceParcelFunctions() 60 (android_view_Surface_readFromParcel)dlsym(dl, in getSurfaceParcelFunctions()
|
/frameworks/av/media/libstagefright/tests/extractorFactory/ |
D | README.md | 22 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|
/frameworks/av/media/module/codecs/amrwb/enc/test/ |
D | README.md | 25 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|
/frameworks/av/media/libstagefright/tests/HEVC/ |
D | README.md | 25 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|
/frameworks/av/media/module/codecs/m4v_h263/enc/test/ |
D | README.md | 24 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|
/frameworks/av/media/module/foundation/tests/OpusHeader/ |
D | README.md | 25 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|
/frameworks/av/media/module/codecs/amrwb/dec/test/ |
D | README.md | 25 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|
/frameworks/av/media/module/foundation/tests/AVCUtils/ |
D | README.md | 25 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|
/frameworks/av/media/libstagefright/timedtext/test/ |
D | README.md | 25 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|
/frameworks/av/media/module/codecs/m4v_h263/dec/test/ |
D | README.md | 25 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|
/frameworks/av/media/module/codecs/mp3dec/test/ |
D | README.md | 25 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|
/frameworks/av/media/module/extractors/tests/ |
D | README.md | 25 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|
/frameworks/av/media/module/metadatautils/test/ |
D | README.md | 25 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|
/frameworks/av/media/module/esds/tests/ |
D | README.md | 25 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|
/frameworks/av/media/module/codecs/amrnb/enc/test/ |
D | README.md | 25 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|
/frameworks/av/media/module/id3/test/ |
D | README.md | 25 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|
/frameworks/av/media/module/codecs/flac/dec/test/ |
D | README.md | 25 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|
/frameworks/av/media/module/codecs/amrnb/dec/test/ |
D | README.md | 25 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|
/frameworks/av/media/module/mpeg2ts/test/ |
D | README.md | 23 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|
/frameworks/av/media/libstagefright/tests/writer/ |
D | README.md | 22 The resource file for the tests is taken from [here](https://dl.google.com/android-unittest/media/f…
|