/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | LayerTests.java | 123 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testLayerPaintAlphaChanged() 129 root.addView(child, new FrameLayout.LayoutParams(TEST_WIDTH, TEST_HEIGHT, in testLayerPaintAlphaChanged() 133 root.getViewTreeObserver().addOnPreDrawListener( in testLayerPaintAlphaChanged() 139 root.getChildAt(0).setAlpha(1.00f); in testLayerPaintAlphaChanged() 140 root.getViewTreeObserver().removeOnPreDrawListener(this); in testLayerPaintAlphaChanged() 141 root.post(fence::countDown); in testLayerPaintAlphaChanged() 143 root.postInvalidate(); in testLayerPaintAlphaChanged() 198 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testLayerClear() 199 root.setAlpha(0.5f); in testLayerClear() 207 root.addView(child); in testLayerClear() [all …]
|
D | VectorDrawableTests.java | 87 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testInvalidateCache() 88 root.setBackgroundColor(Color.BLUE); in testInvalidateCache() 101 root.addView(child, new FrameLayout.LayoutParams(TEST_WIDTH, TEST_HEIGHT, in testInvalidateCache() 105 root.getViewTreeObserver().addOnPreDrawListener( in testInvalidateCache() 116 root.getViewTreeObserver().removeOnPreDrawListener(this); in testInvalidateCache() 117 root.post(fence::countDown); in testInvalidateCache() 119 root.postInvalidate(); in testInvalidateCache()
|
D | BitmapTests.java | 114 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testChangeDuringRtAnimation() 118 root.addView(child); in testChangeDuringRtAnimation() 180 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testChangeDuringUiAnimation() 181 root.setBackgroundColor(Color.BLUE); in testChangeDuringUiAnimation() 189 root.addView(child); in testChangeDuringUiAnimation() 202 root.setBackgroundColor(Color.RED); in testChangeDuringUiAnimation() 205 root.setBackgroundColor(Color.BLUE); in testChangeDuringUiAnimation()
|
D | AlphaBlendTest.java | 68 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testBlendAlphaNonOverlappingView() 69 root.setBackgroundColor(Color.BLACK); in testBlendAlphaNonOverlappingView() 76 root.addView(child); in testBlendAlphaNonOverlappingView()
|
D | SurfaceViewTests.java | 102 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testMovingWhiteSurfaceView() 103 mAnimator = createInfiniteAnimator(root, "translationY", 0, 50); in testMovingWhiteSurfaceView() 107 root.addView(surfaceViewA, new FrameLayout.LayoutParams( in testMovingWhiteSurfaceView() 149 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in initializeView() local 152 root.addView(mSurfaceView, new FrameLayout.LayoutParams( in initializeView()
|
/cts/suite/audio_quality/lib/src/task/ |
D | ModelBuilder.cpp | 94 const XMLElement* root; in parseTestDescriptionXml() local 95 if ((root = doc.FirstChildElement("case")) != NULL) { in parseTestDescriptionXml() 96 return parseCase(*root); in parseTestDescriptionXml() 97 } else if (!caseOnly && ((root = doc.FirstChildElement("batch")) != NULL)) { in parseTestDescriptionXml() 98 return parseBatch(*root, xmlFileName); in parseTestDescriptionXml() 181 TaskCase* ModelBuilder::parseCase(const XMLElement& root) in parseCase() argument 184 return reinterpret_cast<TaskCase*>(parseGeneric(root, 0)); in parseCase() 188 TaskBatch* ModelBuilder::parseBatch(const XMLElement& root, const android::String8& xmlFileName) in parseBatch() argument 196 if (!parseAttributes(root, *batch.get())) { in parseBatch() 200 const XMLElement* inc = root.FirstChildElement("include"); in parseBatch()
|
/cts/tests/tests/sax/src/android/sax/cts/ |
D | ElementTest.java | 72 RootElement root = new RootElement(ATOM_NAMESPACE, FEED); in testParse() local 73 assertNotNull(root); in testParse() 74 Element name = root.getChild(ATOM_NAMESPACE, NAME); in testParse() 82 Element entry1 = root.getChild(ATOM_NAMESPACE, ENTRY1); in testParse() 94 Element entry2 = root.requireChild(ATOM_NAMESPACE, ENTRY2); in testParse() 122 xmlReader.setContentHandler(root.getContentHandler()); in testParse()
|
D | RootElementTest.java | 28 RootElement root = new RootElement(ATOM_NAMESPACE, FEED); in testRoot() local 29 assertNotNull(root.getContentHandler()); in testRoot()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DumpOnFailure.java | 88 Path root = getDumpRoot(description); 89 File rootFile = root.toFile(); 91 throw new RuntimeException("Unable to create " + root); 96 Log.i(TAG, "Dumping " + root + "/" + fileName); 97 BitmapUtils.saveBitmap(entry.getValue(), root.toString(), fileName);
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewAnimationMatrixTest.java | 69 final View root = activity.mRoot; in testAnimationMatrixAppliedDuringDrawing() local 75 waitForDraw(root); in testAnimationMatrixAppliedDuringDrawing() 76 Bitmap bitmap = captureView(root, view.getWidth(), view.getHeight()); in testAnimationMatrixAppliedDuringDrawing() 85 final View root = activity.mRoot; in testAnimationMatrixClearedWithPassingNull() local 90 waitForDraw(root); in testAnimationMatrixClearedWithPassingNull() 91 Bitmap bitmap = captureView(root, view.getWidth(), view.getHeight()); in testAnimationMatrixClearedWithPassingNull()
|
D | View_InitialFocusTest.java | 65 View root = activity.findViewById(R.id.main_view); in getInitialAndFirstFocus() local 66 View initial = root.findFocus(); in getInitialAndFirstFocus() 68 View first = root.findFocus(); in getInitialAndFirstFocus()
|
/cts/tools/utils/ |
D | android_api_description_splitter.py | 87 self.root = self.doc.documentElement 121 self.__removeAllChild(self.root) 126 doc.appendChild(self.root) 128 self.root.appendChild(elem)
|
/cts/libs/json/src/com/android/json/stream/ |
D | NewlineDelimitedJsonWriter.java | 167 protected void beforeValue(boolean root) throws IOException { in beforeValue() argument 170 if (!root) { in beforeValue()
|
/cts/tools/signature-tools/src/signature/converter/doclet/ |
D | DocletFactory.java | 54 RootDoc root = getRootDoc(visibility, sourcepath, packageNames); in loadApi() local 56 IApi api = converter.convertDocletRoot(name, root, visibility, in loadApi() 117 RootDocImpl root = comp.getRootDocImpl(docLocale, encoding, showAccess, in getRootDoc() local 121 return root; in getRootDoc()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | VirtualDisplayActivity.java | 136 final ViewGroup root = findViewById(R.id.display_content); in createVirtualDisplay() local 145 root.addView(surfaceView); in createVirtualDisplay() 151 final ViewGroup root = findViewById(android.R.id.content); in destroyVirtualDisplays() local 156 root.removeView(entry.surfaceView); in destroyVirtualDisplays() 226 final ViewGroup root = findViewById(android.R.id.content); in surfaceCreated() 228 root.removeView(entry.surfaceView); in surfaceCreated()
|
/cts/suite/audio_quality/lib/include/task/ |
D | ModelBuilder.h | 54 virtual TaskCase* parseCase(const tinyxml2::XMLElement& root); 55 …virtual TaskBatch* parseBatch(const tinyxml2::XMLElement& root, const android::String8& xmlFileNam…
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityWindowQueryTest.java | 658 AccessibilityNodeInfo root = window.getRoot(); in assertSingleAccessibilityFocus() local 660 AccessibilityNodeInfo.FOCUS_ACCESSIBILITY), root); in assertSingleAccessibilityFocus() local 661 assertEquals(root.findFocus( in assertSingleAccessibilityFocus() 662 AccessibilityNodeInfo.FOCUS_ACCESSIBILITY), root); in assertSingleAccessibilityFocus() local 667 AccessibilityNodeInfo root = window.getRoot(); in assertSingleAccessibilityFocus() local 668 if (root != null) { in assertSingleAccessibilityFocus() 669 assertNull(root.findFocus( in assertSingleAccessibilityFocus() 778 AccessibilityNodeInfo root = window.getRoot(); 779 if (root != null) { 780 root.performAction( [all …]
|
/cts/apps/CameraITS/tools/ |
D | hardware.py | 126 def _read_sys_attr(self, root, attr): argument 137 path = os.path.join(root, attr) 143 def _read_sys_hex_attr(self, root, attr): argument 154 path = os.path.join(root, attr)
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | KeyChainTest.java | 110 View root = getLayoutInflater().inflate(R.layout.keychain_main, null); in onCreate() local 111 setContentView(root); in onCreate() 116 mInstructionView = (TextView) root.findViewById(R.id.test_instruction); in onCreate() 117 mLogView = (TextView) root.findViewById(R.id.test_log); in onCreate() 120 mNextButton = (Button) root.findViewById(R.id.action_next); in onCreate() 123 mResetButton = (Button) root.findViewById(R.id.action_reset); in onCreate() 126 mSkipButton = (Button) root.findViewById(R.id.action_skip); in onCreate()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/ |
D | BasePermissionsTest.java | 494 AccessibilityNodeInfo root = getInstrumentation().getUiAutomation().getRootInActiveWindow(); in findByText() local 495 AccessibilityNodeInfo result = findByText(root, text); in findByText() 499 return findByTextInCollection(root, text); in findByText() 502 private static AccessibilityNodeInfo findByText(AccessibilityNodeInfo root, String text) { in findByText() argument 503 List<AccessibilityNodeInfo> nodes = root.findAccessibilityNodeInfosByText(text); in findByText() 512 private static AccessibilityNodeInfo findByTextInCollection(AccessibilityNodeInfo root, in findByTextInCollection() argument 515 final int childCount = root.getChildCount(); in findByTextInCollection() 517 AccessibilityNodeInfo child = root.getChild(i); in findByTextInCollection()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ConscryptIntermediateVerificationTest.java | 65 X509Certificate root = loadCertificates(R.raw.intermediate_test_root)[0]; in getTrustManager() local 66 keystore.setEntry("root", new KeyStore.TrustedCertificateEntry(root), null); in getTrustManager()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | allocation_resize.rs | 5 void root(const int *in, int *out) {
|
D | rs_unpack_color_8888.rs | 4 void root (const uchar4* in, float4* out) {
|
D | rs_frac_f32.rs | 4 void root(const float *in, float *out) {
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | BaseTransitionTest.java | 99 View[] root = new View[1]; in loadLayout() local 102 () -> root[0] = mActivity.getLayoutInflater().inflate(layout, mSceneRoot, false)); in loadLayout() 104 return root[0]; in loadLayout()
|