/frameworks/base/tools/aapt2/cmd/ |
H A D | Util_test.cpp | 31 const auto &root = doc->root; local 32 EXPECT_EQ(root->name, "manifest"); 34 EXPECT_EQ(root->FindAttribute("", "split")->value, "config.b_sr_Latn_en_rUS_land"); 36 EXPECT_EQ(root->FindAttribute("", "targetConfig")->value, "b+sr+Latn,en-rUS-land");
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | SnapshotTests.cpp | 27 auto root = TestUtils::makeSnapshot(Matrix4::identity(), Rect(10, 10, 90, 90)); local 29 root->previous = actualRoot.get(); 30 child->previous = root.get(); 46 EXPECT_EQ(Rect(10, 10, 75, 75), intersectWithRoot->rect) << "Expect intersect with root"; 52 auto root = TestUtils::makeSnapshot(Matrix4::identity(), Rect(10, 10, 90, 90)); local 53 root->previous = actualRoot.get(); 58 child->previous = root.get(); 68 child->previous = root.get();
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
H A D | AssignableFrom.java | 23 private final Class<?> root; field in class:AssignableFrom 25 AssignableFrom(Class<?> root) { argument 26 this.root = root; 30 return root.isAssignableFrom(testMethod.getEnclosingClass());
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
H A D | LayoutUtils.java | 43 public static List<View> gatherViewTree(ViewGroup root) { argument 45 recursivelyGather(root, result);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrintProgressFragment.java | 36 public View onCreateView(LayoutInflater inflater, ViewGroup root, Bundle state) { argument 37 return inflater.inflate(R.layout.print_progress_fragment, root, false);
|
H A D | PrintErrorFragment.java | 56 public View onCreateView(LayoutInflater inflater, ViewGroup root, argument 58 return inflater.inflate(R.layout.print_error_fragment, root, false);
|
/frameworks/compile/mclinker/unittests/ |
H A D | PathTest.cpp | 41 std::string root(TOPDIR); 42 root += "/test/lit.cfg"; 43 m_pTestee->assign(root); 47 m_pTestee = new Path(root); 52 const std::string root = "/luck"; local 53 m_pTestee->assign(root); 57 m_pTestee = new Path(root); 62 const std::string root = "../././.."; local 63 m_pTestee->assign(root); 67 m_pTestee = new Path(root); 73 const std::string root = "/luck"; local 84 const std::string root = "aaa/bbb/../../ccc/"; local 98 const std::string root = "aa/"; local 111 const std::string root = "aa/"; local [all...] |
/frameworks/base/core/java/android/view/ |
H A D | SurfaceSession.java | 39 public SurfaceSession(Surface root) { argument 40 mNativeClient = nativeCreateScoped(root.mNativeObject);
|
/frameworks/base/tests/JankBench/scripts/ |
H A D | adbutil.py | 38 def root(serial): function 39 subprocess.call(["adb", "-s", serial, "root"])
|
/frameworks/base/tools/preload/ |
H A D | WritePreloadedClassFile.java | 49 Root root = Root.fromFile(rootFile); 52 for (LoadedClass loadedClass : root.loadedClasses.values()) { 80 for (LoadedClass loadedClass : root.loadedClasses.values()) { 98 for (Proc proc : root.processes.values()) { 118 addAllClassesFrom("zygote", root, toPreload); 130 root.toFile(rootFile); 133 private static void addAllClassesFrom(String processName, Root root, argument 135 for (Proc proc : root.processes.values()) {
|
/frameworks/layoutlib/bridge/src/android/preference/ |
H A D | Preference_Delegate.java | 57 public static View inflatePreference(Context context, XmlPullParser parser, ViewGroup root) { argument 62 ListView preferenceView = createContainerView(context, root); 67 private static ListView createContainerView(Context context, ViewGroup root) { argument 76 inflater.inflate(mLayoutResId, root, true); 78 return (ListView) root.findViewById(android.R.id.list);
|
/frameworks/support/frameworks/support/samples/SupportTransitionDemos/src/main/java/com/example/android/support/transition/widget/ |
H A D | CustomUsage.java | 43 Scene[] setUpScenes(ViewGroup root) { argument 45 Scene.getSceneForLayout(root, R.layout.custom0, this), 46 Scene.getSceneForLayout(root, R.layout.custom1, this), 47 Scene.getSceneForLayout(root, R.layout.custom2, this),
|
H A D | SceneUsage.java | 32 Scene[] setUpScenes(ViewGroup root) { argument 34 Scene.getSceneForLayout(root, R.layout.scene0, this), 35 Scene.getSceneForLayout(root, R.layout.scene1, this),
|
H A D | SceneUsageBase.java | 36 abstract Scene[] setUpScenes(ViewGroup root); argument 44 FrameLayout root = findViewById(R.id.root); 45 mScenes = setUpScenes(root);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | ItemBridgeAdapterShadowOverlayWrapper.java | 33 public View createWrapper(View root) { argument 34 Context context = root.getContext();
|
/frameworks/support/samples/SupportTransitionDemos/src/main/java/com/example/android/support/transition/widget/ |
H A D | CustomUsage.java | 43 Scene[] setUpScenes(ViewGroup root) { argument 45 Scene.getSceneForLayout(root, R.layout.custom0, this), 46 Scene.getSceneForLayout(root, R.layout.custom1, this), 47 Scene.getSceneForLayout(root, R.layout.custom2, this),
|
H A D | SceneUsage.java | 32 Scene[] setUpScenes(ViewGroup root) { argument 34 Scene.getSceneForLayout(root, R.layout.scene0, this), 35 Scene.getSceneForLayout(root, R.layout.scene1, this),
|
H A D | SceneUsageBase.java | 36 abstract Scene[] setUpScenes(ViewGroup root); argument 44 FrameLayout root = findViewById(R.id.root); 45 mScenes = setUpScenes(root);
|
/frameworks/av/packages/MediaComponents/src/com/android/media/update/ |
H A D | ApiHelper.java | 122 @Nullable ViewGroup root, boolean attachToRoot) { 124 return getLayoutInflater(context, theme).inflate(parser, root, attachToRoot); 121 inflateLibLayout(Context context, Theme theme, int libResId, @Nullable ViewGroup root, boolean attachToRoot) argument
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | AccessibilityNodeInfoDumper.java | 47 * @param root The root accessibility node. 52 public static void dumpWindowToFile(AccessibilityNodeInfo root, int rotation, argument 61 dumpWindowToFile(root, 69 * @param root The root accessibility node. 75 public static void dumpWindowToFile(AccessibilityNodeInfo root, File dumpFile, int rotation, argument 77 if (root == null) { 89 dumpNodeRec(root, serializer, 0, width, height);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | BackgroundFallback.java | 46 * @param root The view group containing the content. 52 public void draw(ViewGroup boundsView, ViewGroup root, Canvas c, View content, argument 62 final int rootOffsetX = root.getLeft(); 63 final int rootOffsetY = root.getTop(); 70 final int childCount = root.getChildCount(); 72 final View child = root.getChildAt(i);
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | HorizontalFocusSearch.java | 102 private Button addShort(LinearLayout root, String label, boolean atBottom) { argument 126 root.addView(ll); 130 root.addView(ll);
|
H A D | VerticalFocusSearch.java | 113 * @param root The layout to add the button to. 118 private Button addSkinny(LinearLayout root, String label, boolean atRight) { argument 142 root.addView(ll); 146 root.addView(ll);
|
H A D | VerticalFocusSearchTest.java | 51 View findNextFocus(ViewGroup root, View focused, int direction); argument 57 public View findNextFocus(ViewGroup root, View focused, int direction) { argument 59 .findNextFocus(root, focused, direction);
|
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
H A D | DataBindingUtil.java | 76 * a set of LayoutParams values for root of the returned hierarchy 80 * the correct subclass of LayoutParams for the root view in the XML. 101 * a set of LayoutParams values for root of the returned hierarchy 105 * the correct subclass of LayoutParams for the root view in the XML. 125 * Returns the binding for the given layout root or creates a binding if one 130 * when it is known that <code>root</code> has not yet been bound. 132 * @param root The root View of the inflated binding layout. 133 * @return A ViewDataBinding for the given root View. If one already exists, the 135 * @throws IllegalArgumentException when root i 139 bind(View root) argument 158 bind(View root, DataBindingComponent bindingComponent) argument 183 bind(DataBindingComponent bindingComponent, View root, int layoutId) argument [all...] |