/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/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 | 46 std::string root(TOPDIR); 47 root += "/test/lit.cfg"; 48 m_pTestee->assign(root); 52 m_pTestee = new Path(root); 57 const std::string root = "/luck"; local 58 m_pTestee->assign(root); 62 m_pTestee = new Path(root); 67 const std::string root = "../././.."; local 68 m_pTestee->assign(root); 72 m_pTestee = new Path(root); 78 const std::string root = "/luck"; local 89 const std::string root = "aaa/bbb/../../ccc/"; local 103 const std::string root = "aa/"; local 117 const std::string root = "aa/"; local [all...] |
/frameworks/support/v4/jellybean/android/support/v4/view/accessibility/ |
H A D | AccessibilityRecordCompatJellyBean.java | 27 public static void setSource(Object record, View root, int virtualDescendantId) { argument 28 ((AccessibilityRecord) record).setSource(root, virtualDescendantId);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | BackgroundFallback.java | 42 public void draw(ViewGroup root, Canvas c, View content) { argument 48 final int width = root.getWidth(); 49 final int height = root.getHeight(); 55 final int childCount = root.getChildCount(); 57 final View child = root.getChildAt(i);
|
/frameworks/base/tools/layoutlib/bridge/src/android/preference/ |
H A D | Preference_Delegate.java | 60 public static View inflatePreference(Context context, XmlPullParser parser, ViewGroup root) { argument 65 ListView preferenceView = createContainerView(context, root); 70 private static ListView createContainerView(Context context, ViewGroup root) { argument 79 inflater.inflate(mLayoutResId, root, true); 81 return (ListView) root.findViewById(android.R.id.list);
|
/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/support/v4/api22/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompatApi22.java | 35 public static void setTraversalBefore(Object info, View root, int virtualDescendantId) { argument 36 ((AccessibilityNodeInfo) info).setTraversalBefore(root, virtualDescendantId); 47 public static void setTraversalAfter(Object info, View root, int virtualDescendantId) { argument 48 ((AccessibilityNodeInfo) info).setTraversalAfter(root, virtualDescendantId);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
H A D | DocumentStack.java | 38 public RootInfo root; field in class:DocumentStack 41 if (size() == 1 && root != null) { 42 return root.title; 55 for (RootInfo root : matchingRoots) { 56 if (root.equals(this.root)) { 57 this.root = root; 61 throw new FileNotFoundException("Failed to find matching root for " + root); [all...] |
/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/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 | 49 View findNextFocus(ViewGroup root, View focused, int direction); argument 55 public View findNextFocus(ViewGroup root, View focused, int direction) { argument 57 .findNextFocus(root, focused, direction);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | UserDetailItemView.java | 81 ViewGroup root) { 84 R.layout.qs_user_detail_item, root, false); 80 convertOrInflate(Context context, View convertView, ViewGroup root) argument
|
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/ |
H A D | oper_32b.c | 237 if ((0x40000000l >> shift) + root <= value) \ 239 value -= (0x40000000l >> shift) + root; \ 240 root = (root >> 1) | (0x40000000l >> shift); \ 242 root = root >> 1; \ 245 Word32 rsqrt(Word32 value, /*!< Operand to square root (0.0 ... 1) */ 250 Word32 root = 0; local 267 if (root < value) 268 ++root; [all...] |
/frameworks/base/core/java/android/util/ |
H A D | JsonWriter.java | 492 * @param root true if the value is a new array or object, the two values 495 private void beforeValue(boolean root) throws IOException { argument 498 if (!lenient && !root) {
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuPresenter.java | 65 * @param root Intended parent of the MenuView. 68 public MenuView getMenuView(ViewGroup root); argument
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | DirectoryLoader.java | 80 public DirectoryLoader(Context context, int type, RootInfo root, DocumentInfo doc, Uri uri, argument 82 super(context, ProviderExecutor.forAuthority(root.authority)); 84 mRoot = root;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | Utilities.java | 75 public static float mapCoordInDescendentToSelf(View descendant, View root, argument 82 while(v != root && v != null) { 86 ancestorChain.add(root); 110 /** Maps a coordinate in the root to a descendent. */ 111 public static float mapCoordInSelfToDescendent(View descendant, View root, argument 118 while(v != root) { 122 ancestorChain.add(root);
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
H A D | DpiTestActivity.java | 82 LinearLayout root = new LinearLayout(this); 83 root.setOrientation(LinearLayout.VERTICAL); 89 addLabelToRoot(root, "Prescaled bitmap in drawable"); 90 addChildToRoot(root, layout); 96 addLabelToRoot(root, "Autoscaled bitmap in drawable"); 97 addChildToRoot(root, layout); 103 addLabelToRoot(root, "Prescaled resource drawable"); 104 addChildToRoot(root, layout); 107 addLabelToRoot(root, "Inflated layout"); 108 addChildToRoot(root, layou 152 addLabelToRoot(LinearLayout root, String text) argument 159 addChildToRoot(LinearLayout root, LinearLayout layout) argument [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | DisplayListLayersActivity.java | 43 LinearLayout root = createContainer(); 44 addChild(root, new LayerView(this, 0xffff0000, LAYER_TYPE_HARDWARE, "hardware"), 46 addChild(root, new LayerView(this, 0xff0000ff, LAYER_TYPE_SOFTWARE, "software"), 48 addChild(root, createButton(root), WRAP_CONTENT, WRAP_CONTENT); 50 setContentView(root); 53 private Button createButton(final LinearLayout root) { argument 59 for (int i = 0; i < root.getChildCount(); i++) { 60 View child = root.getChildAt(i); 71 private void addChild(LinearLayout root, Vie argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | BridgeInflater.java | 152 public View inflate(int resource, ViewGroup root) { argument 184 return inflate(bridgeParser, root);
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
H A D | Main.java | 120 // Test if workingDir is android checkout root. 125 // Test if workingDir is platform/frameworks/base/tools/layoutlib. That is, root should be 136 private static String getPlatformDirFromRoot(File root) { argument 137 if (!root.isDirectory()) { 140 File out = new File(root, "out");
|
/frameworks/base/tools/split-select/ |
H A D | RuleGenerator.cpp | 31 double root = sqrt((h*h) + (8*l*h)); local 32 return (double(-h) + root) / 2.0;
|