/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | LayerTests.java | 151 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testLayerClear() 152 root.setAlpha(0.5f); in testLayerClear() 161 root.addView(child); in testLayerClear() 185 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testAlphaLayerChild() 186 root.setAlpha(0.5f); in testAlphaLayerChild() 195 root.addView(child); in testAlphaLayerChild() 209 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testLayerInitialSizeZero() 211 root.setClipChildren(false); in testLayerInitialSizeZero() 219 root.addView(child, new FrameLayout.LayoutParams( in testLayerInitialSizeZero() 233 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testLayerResizeZero() [all …]
|
D | BitmapTests.java | 108 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testChangeDuringRtAnimation() 112 root.addView(child); in testChangeDuringRtAnimation() 172 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testChangeDuringUiAnimation() 173 root.setBackgroundColor(Color.BLUE); in testChangeDuringUiAnimation() 181 root.addView(child); in testChangeDuringUiAnimation() 194 root.setBackgroundColor(Color.RED); in testChangeDuringUiAnimation() 197 root.setBackgroundColor(Color.BLUE); in testChangeDuringUiAnimation()
|
D | SurfaceViewTests.java | 101 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in testMovingWhiteSurfaceView() 102 mAnimator = createInfiniteAnimator(root, "translationY", 0, 50); in testMovingWhiteSurfaceView() 106 root.addView(surfaceViewA, new FrameLayout.LayoutParams( in testMovingWhiteSurfaceView() 146 FrameLayout root = (FrameLayout) view.findViewById(R.id.frame_layout); in initializeView() local 149 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/tools/cts-tradefed/tests/src/com/android/compatibility/tradefed/ |
D | CtsTradefedTest.java | 55 File root = FileUtil.createTempDir("root"); in testSuiteInfoLoad() local 56 System.setProperty(PROPERTY_NAME, root.getAbsolutePath()); in testSuiteInfoLoad() 57 File base = new File(root, "android-cts"); in testSuiteInfoLoad() 69 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/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/ |
D | BasePermissionsTest.java | 366 AccessibilityNodeInfo root = getInstrumentation().getUiAutomation().getRootInActiveWindow(); in findByText() local 367 AccessibilityNodeInfo result = findByText(root, text); in findByText() 371 return findByTextInCollection(root, text); in findByText() 374 private static AccessibilityNodeInfo findByText(AccessibilityNodeInfo root, String text) { in findByText() argument 375 List<AccessibilityNodeInfo> nodes = root.findAccessibilityNodeInfosByText(text); in findByText() 384 private static AccessibilityNodeInfo findByTextInCollection(AccessibilityNodeInfo root, in findByTextInCollection() argument 387 final int childCount = root.getChildCount(); in findByTextInCollection() 389 AccessibilityNodeInfo child = root.getChild(i); in findByTextInCollection() 467 private static AccessibilityNodeInfo findSwitch(AccessibilityNodeInfo root) throws Exception { in findSwitch() argument 468 if (Switch.class.getName().equals(root.getClassName().toString())) { in findSwitch() [all …]
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityActivityTestCase.java | 107 AccessibilityNodeInfo root = windows.get(i).getRoot(); in startActivityAndWaitForFirstEvent() 108 if ((root != null) && in startActivityAndWaitForFirstEvent() 109 root.getPackageName().equals(getActivity().getPackageName())) { in startActivityAndWaitForFirstEvent()
|
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/ |
D | VirtualDisplayActivity.java | 124 final ViewGroup root = (ViewGroup) findViewById(android.R.id.content); in createVirtualDisplay() local 131 root.addView(surfaceView); in createVirtualDisplay() 137 final ViewGroup root = (ViewGroup) findViewById(android.R.id.content); in destroyVirtualDisplays() local 142 root.removeView(entry.surfaceView); in destroyVirtualDisplays() 191 final ViewGroup root = (ViewGroup) findViewById(android.R.id.content); in surfaceCreated() 193 root.removeView(entry.surfaceView); in surfaceCreated()
|
/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/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/testng/ |
D | gen-test-list-xml.py | 180 root = TestPackage(name=name) 187 root.add_class_and_method(fq_class_name, method_name) 189 root.properties = xml_properties 190 return root
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | allocation_resize.rs | 5 void root(const int *in, int *out) {
|
D | rs_frac_f32.rs | 4 void root(const float *in, float *out) {
|
D | rs_unpack_color_8888.rs | 4 void root (const uchar4* in, float4* out) {
|
D | negate.rs | 18 void root(const int *ain, int *aout) {
|
D | large_global.rs | 21 void __attribute__((kernel)) root(char c) {
|
D | init_test.rs | 11 void root(const float *in, float *out) {
|
D | get_element_at_x.rs | 6 void root(uint32_t *out, uint32_t x) {
|
D | get_element_at_x_y.rs | 6 void root(uint32_t *out, uint32_t x, uint32_t y) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | KeyChainTest.java | 107 View root = getLayoutInflater().inflate(R.layout.keychain_main, null); in onCreate() local 108 setContentView(root); in onCreate() 113 mInstructionView = (TextView) root.findViewById(R.id.test_instruction); in onCreate() 114 mLogView = (TextView) root.findViewById(R.id.test_log); in onCreate() 117 mNextButton = (Button) root.findViewById(R.id.action_next); in onCreate() 120 mResetButton = (Button) root.findViewById(R.id.action_reset); in onCreate() 123 mSkipButton = (Button) root.findViewById(R.id.action_skip); in onCreate()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | BaseTransitionTest.java | 93 View[] root = new View[1]; in loadLayout() local 96 () -> root[0] = mActivity.getLayoutInflater().inflate(layout, mSceneRoot, false)); in loadLayout() 98 return root[0]; in loadLayout()
|
/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)
|