Home
last modified time | relevance | path

Searched refs:dl (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DDisplayLayoutTest.java55 DisplayLayout dl = new DisplayLayout(info, res, false, false); in testInsets() local
56 assertEquals(new Rect(0, 0, 0, 0), dl.stableInsets()); in testInsets()
57 assertEquals(new Rect(0, 0, 0, 0), dl.nonDecorInsets()); in testInsets()
60 dl = new DisplayLayout(info, res, true, true); in testInsets()
61 assertEquals(new Rect(0, 40, 0, 50), dl.stableInsets()); in testInsets()
62 assertEquals(new Rect(0, 0, 0, 50), dl.nonDecorInsets()); in testInsets()
66 dl = new DisplayLayout(info, res, false, false); in testInsets()
67 assertEquals(new Rect(0, 60, 0, 0), dl.stableInsets()); in testInsets()
68 assertEquals(new Rect(0, 60, 0, 0), dl.nonDecorInsets()); in testInsets()
71 dl = new DisplayLayout(info, res, true, true); in testInsets()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/
DDynamicLayoutBlocksTest.java42 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/legacysplitscreen/
DLegacySplitDisplayLayout.java66 public LegacySplitDisplayLayout(Context ctx, DisplayLayout dl, in LegacySplitDisplayLayout() argument
69 mDisplayLayout = dl; in LegacySplitDisplayLayout()
185 private void adjustForIME(DisplayLayout dl, int currImeTop, int hiddenTop, int shownTop, in adjustForIME() argument
193 dl.getStableBounds(displayStableRect); in adjustForIME()
216 final int yOffset = Math.max(0, dl.height() - adjustedTop); in adjustForIME()
228 static int getSmallestWidthDpForBounds(@NonNull Context context, DisplayLayout dl, in getSmallestWidthDpForBounds() argument
239 Rect displayRect = new Rect(0, 0, dl.width(), dl.height()); in getSmallestWidthDpForBounds()
243 tmpDL.set(dl); in getSmallestWidthDpForBounds()
248 rotateBounds(tmpRect, displayRect, dl.rotation(), rotation); in getSmallestWidthDpForBounds()
264 return (int) (minWidth / dl.density()); in getSmallestWidthDpForBounds()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayLayout.java139 public DisplayLayout(DisplayLayout dl) { in DisplayLayout() argument
140 set(dl); in DisplayLayout()
144 public void set(DisplayLayout dl) { in set() argument
145 mUiMode = dl.mUiMode; in set()
146 mWidth = dl.mWidth; in set()
147 mHeight = dl.mHeight; in set()
148 mCutout = dl.mCutout; in set()
149 mRotation = dl.mRotation; in set()
150 mDensityDpi = dl.mDensityDpi; in set()
151 mHasNavigationBar = dl.mHasNavigationBar; in set()
[all …]
/frameworks/compile/libbcc/lib/
DCompiler.cpp312 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/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragAndDropController.java267 PerDisplay(int dispId, Context c, WindowManager w, FrameLayout rv, DragLayout dl) {
272 dragLayout = dl;
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp302 SkiaDisplayList* dl = node->getDisplayList().asSkiaDl(); in collectLayers() local
303 if (dl) { in collectLayers()
309 dl->updateChildren([&](RenderNode* child) { collectLayers(child, layers); }); in collectLayers()
/frameworks/native/cmds/installd/
Dinstalld.rc14 mkdir /config/sdcardfs/extensions/1056/dl
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskLaunchParamsModifierTests.java1683 final int dl = displayFrame.left; in configInsetsState() local
1693 if (sl > dl) { in configInsetsState()
1694 state.getSource(ITYPE_CLIMATE_BAR).setFrame(dl, dt, sl, db); in configInsetsState()
1697 state.getSource(ITYPE_STATUS_BAR).setFrame(dl, dt, dr, st); in configInsetsState()
1703 state.getSource(ITYPE_NAVIGATION_BAR).setFrame(dl, sb, dr, db); in configInsetsState()
/frameworks/compile/mclinker/include/mcld/Config/
DConfig.h.cmake102 /* Define to 1 if you have the <dl.h> header file. */
435 /* Define to 1 if you have the <sys/dl.h> header file. */
/frameworks/base/libs/hwui/
DRecordingCanvas.cpp893 void RecordingCanvas::reset(DisplayListData* dl, const SkIRect& bounds) { in reset() argument
895 fDL = dl; in reset()
/frameworks/base/media/tests/contents/media_api/music/
Dtest_amr_ietf.amr260 $Σ����dKh냽)� ���Q���^~�<y�rP����P��I;����O���+@<�{g�{���׵����~etr�/��0*���aP<dl������…