/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
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 | 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 | 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 | 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 | SurfaceViewTests.java | 100 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testMovingWhiteSurfaceView() 101 mAnimator = createInfiniteAnimator(root, "translationY", 0, 50); in testMovingWhiteSurfaceView() 105 root.addView(surfaceViewA, new FrameLayout.LayoutParams( in testMovingWhiteSurfaceView() 147 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in initializeView() local 151 root.addView(mSurfaceView, new FrameLayout.LayoutParams( in initializeView()
|
/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/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/common/device-side/bedstead/testapp/tools/index/ |
D | index_testapps.py | 131 root = augment(simple_root) 135 android_app.package_name = root.attributes["package"] 136 android_app.sharedUserId = root.attributes.get("sharedUserId", "") 138 parse_uses_sdk(root, android_app) 139 parse_permissions(root, android_app) 141 application_element = find_single_element(root.children, "application") 150 def parse_uses_sdk(root, android_app): argument 151 uses_sdk_element = find_single_element(root.children, "uses-sdk") 169 def parse_permissions(root, android_app): argument 170 for permission_element in find_elements(root.children, "uses-permission"):
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DumpOnFailure.java | 89 Path root = getDumpRoot(description); 90 File rootFile = root.toFile(); 92 throw new RuntimeException("Unable to create " + root); 97 Log.i(TAG, "Dumping " + root + "/" + fileName); 98 BitmapUtils.saveBitmap(entry.getValue(), root.toString(), fileName);
|
/cts/tools/cts-tradefed/tests/src/com/android/compatibility/tradefed/ |
D | CtsTradefedTest.java | 63 File root = FileUtil.createTempDir("root"); in testSuiteInfoLoad() local 64 System.setProperty(PROPERTY_NAME, root.getAbsolutePath()); in testSuiteInfoLoad() 65 File base = new File(root, "android-cts"); in testSuiteInfoLoad() 77 FileUtil.recursiveDelete(root); in testSuiteInfoLoad()
|
/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/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/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/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | CaCertInstallViaIntentTest.java | 44 View root = getLayoutInflater().inflate(R.layout.ca_install_via_intent, null); in onCreate() local 45 setContentView(root); in onCreate() 51 mRunButton = root.findViewById(R.id.run_test_button); in onCreate()
|
/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/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() 217 final ViewGroup root = findViewById(android.R.id.content); in surfaceCreated() 219 root.removeView(entry.surfaceView); in surfaceCreated()
|
/cts/tests/accessibility/common/src/android/accessibility/cts/common/ |
D | AccessibilityDumper.java | 157 AccessibilityNodeInfo root = window.getRoot(); in dumpAccessibilityNodeTreeOnLogcat() local 158 if (root == null) { in dumpAccessibilityNodeTreeOnLogcat() 162 roots.add(root); in dumpAccessibilityNodeTreeOnLogcat() 169 for (AccessibilityNodeInfo root : roots) { in dumpAccessibilityNodeTreeOnLogcat() 170 dumpTreeWithPrefix(root, ""); in dumpAccessibilityNodeTreeOnLogcat()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | TvAppVerifierActivity.java | 127 CharSequence instructionCharSequence, ViewGroup root) { in createAutoItem() argument 128 View item = inflater.inflate(R.layout.tv_item, root, false); in createAutoItem() 147 public static View createButtonItem(LayoutInflater inflater, ViewGroup root, int buttonTextId, in createButtonItem() argument 149 View item = inflater.inflate(R.layout.tv_item, root, false); in createButtonItem()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | allocation_resize.rscript | 5 void root(const int *in, int *out) {
|
D | rs_frac_f32.rscript | 4 void root(const float *in, float *out) {
|
D | rs_unpack_color_8888.rscript | 4 void root (const uchar4* in, float4* out) {
|
D | init_test.rscript | 11 void root(const float *in, float *out) {
|