/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
H A D | WindowCallbacksCompat.java | 94 ViewRootImpl root = mView.getViewRootImpl(); 95 if (root != null) { 96 root.addWindowCallbacks(mWindowCallbacks); 97 root.requestInvalidateRootRenderNode(); 104 ViewRootImpl root = mView.getViewRootImpl(); 105 if (root != null) { 106 root.removeWindowCallbacks(mWindowCallbacks);
|
/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/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | ViewWithTagTest.java | 34 ViewGroup root = (ViewGroup) binder.getRoot(); 35 View view1 = root.getChildAt(0); 36 View view2 = root.getChildAt(1);
|
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/type/ |
H A D | JavaType.kt | 48 * Returns the root type of this type stripped from any inner types (e.g. for MyClass$Inner 60 * Returns this type with its root top level type replaced with the give root type. 62 fun remapWithNewRootType(root: JavaType): JavaType { 63 if (root.hasInnerType()) { 64 throw IllegalArgumentException("Cannot remap type with a nested types as a root!") 68 tokens[0] = root.fullName
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | ConfigParsingUtils.cpp | 34 void ConfigParsingUtils::loadAudioPortGain(cnode *root, AudioPort &audioPort, int index) argument 36 cnode *node = root->first_child; 80 void ConfigParsingUtils::loadAudioPortGains(cnode *root, AudioPort &audioPort) argument 82 cnode *node = root->first_child; 92 void ConfigParsingUtils::loadDeviceDescriptorGains(cnode *root, sp<DeviceDescriptor> &deviceDesc) argument 94 loadAudioPortGains(root, *deviceDesc); 101 status_t ConfigParsingUtils::loadHwModuleDevice(cnode *root, DeviceVector &devices) argument 103 cnode *node = root->first_child; 118 sp<DeviceDescriptor> deviceDesc = new DeviceDescriptor(type, String8(root->name)); 120 node = root 150 loadHwModuleProfile(cnode *root, sp<HwModule> &module, audio_port_role_t role) argument 221 loadHwModule(cnode *root, sp<HwModule> &module, AudioPolicyConfig &config) argument 268 loadHwModules(cnode *root, HwModuleCollection &hwModules, AudioPolicyConfig &config) argument 320 loadModuleGlobalConfig(cnode *root, const sp<HwModule> &module, AudioPolicyConfig &config) argument 367 loadGlobalConfig(cnode *root, AudioPolicyConfig &config, const sp<HwModule>& primaryModule) argument 392 cnode *root; local [all...] |
H A D | Serializer.cpp | 54 static void getReference(const _xmlNode *root, const _xmlNode *&refNode, const string &refName) argument 56 const _xmlNode *col = root; 81 const xmlNode *root = cur->xmlChildrenNode; local 82 while (root != NULL) { 83 if (xmlStrcmp(root->name, (const xmlChar *)Trait::collectionTag) && 84 xmlStrcmp(root->name, (const xmlChar *)Trait::tag)) { 85 root = root->next; 88 const xmlNode *child = root; 106 if (!xmlStrcmp(root 126 deserialize(_xmlDoc * , const _xmlNode *root, PtrElement &gain, PtrSerializingCtx ) argument 195 deserialize(_xmlDoc * , const _xmlNode *root, PtrElement &profile, PtrSerializingCtx ) argument 289 deserialize(_xmlDoc *doc, const _xmlNode *root, PtrElement &deviceDesc, PtrSerializingCtx ) argument 356 deserialize(_xmlDoc * , const _xmlNode *root, PtrElement &element, PtrSerializingCtx ctx) argument 425 deserialize(xmlDocPtr doc, const xmlNode *root, PtrElement &module, PtrSerializingCtx ctx) argument 504 const xmlNode *root = cur->xmlChildrenNode; local 530 deserialize(_xmlDoc *doc, const _xmlNode *root, PtrElement &element, PtrSerializingCtx ) argument [all...] |
/frameworks/base/libs/hwui/tests/scripts/ |
H A D | prep_ryu.sh | 1 adb root
|
/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);
|
/frameworks/base/tools/aapt2/link/ |
H A D | XmlNamespaceRemover.cpp | 53 if (!resource->root) { 58 resource->root->Accept(&visitor);
|
/frameworks/base/tools/preload/ |
H A D | PrintPsTree.java | 38 Root root = (Root) oin.readObject(); 40 for (Proc proc : root.processes.values()) {
|
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()) {
|
H A D | Compile.java | 39 Root root = new Root(); 62 root.indexProcess(record); 66 root.indexClassOperation(record); 71 root.toFile(args[1]);
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
H A D | check_dims.rs | 27 void root(const int *o, uint32_t x, uint32_t y) {
|
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/ |
H A D | Asn1DecoderTest.java | 45 Asn1Node root = decoder.nextNode(); 47 assertTrue(root.isConstructed()); 48 assertEquals(0xE3, root.getTag()); 49 assertEquals(0x0E, root.getEncodedLength()); 50 assertFalse(root.hasValue()); 52 Asn1Node node = root.getChild(0x5A); 53 assertEquals(1, root.getChildren().size()); 54 assertEquals(1, root.getChildren(0x5A).size()); 55 assertEquals(node, root.getChildren().get(0)); 56 assertEquals(node, root [all...] |
/frameworks/base/core/java/android/view/ |
H A D | FocusFinder.java | 72 * Find the next view to take focus in root's descendants, starting from the view 74 * @param root Contains focused. Cannot be null. 79 public final View findNextFocus(ViewGroup root, View focused, int direction) { argument 80 return findNextFocus(root, focused, null, direction); 84 * Find the next view to take focus in root's descendants, searching from 85 * a particular rectangle in root's coordinates. 86 * @param root Contains focusedRect. Cannot be null. 91 public View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) { argument 93 return findNextFocus(root, null, mFocusedRect, direction); 96 private View findNextFocus(ViewGroup root, Vie argument 126 getEffectiveRoot(ViewGroup root, View focused) argument 157 findNextKeyboardNavigationCluster( @onNull View root, @Nullable View currentCluster, @View.FocusDirection int direction) argument 183 findNextUserSpecifiedKeyboardNavigationCluster(View root, View currentCluster, int direction) argument 193 findNextUserSpecifiedFocus(ViewGroup root, View focused, int direction) argument 218 findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction, ArrayList<View> focusables) argument 275 findNextKeyboardNavigationCluster( View root, View currentCluster, List<View> clusters, @View.FocusDirection int direction) argument 303 findNextFocusInRelativeDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument 323 setFocusBottomRight(ViewGroup root, Rect focusedRect) argument 329 setFocusTopLeft(ViewGroup root, Rect focusedRect) argument 335 findNextFocusInAbsoluteDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument 401 getNextKeyboardNavigationCluster( View root, View currentCluster, List<View> clusters, int count) argument 424 getPreviousKeyboardNavigationCluster( View root, View currentCluster, List<View> clusters, int count) argument 691 findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas) argument 819 sort(View[] views, int start, int end, ViewGroup root, boolean isRtl) argument 874 sort(View[] views, int start, int end, ViewGroup root, boolean isRtl) argument 891 get(View root, View view) argument 906 setFocusables(List<View> focusables, View root) argument [all...] |
H A D | WindowManagerGlobal.java | 270 final ViewRootImpl root = mRoots.get(i); 271 if (name.equals(getWindowName(root))) return root.getView(); 304 ViewRootImpl root; 325 // Don't wait for MSG_DIE to make it's way through root's queue. 346 root = new ViewRootImpl(view.getContext(), display); 351 mRoots.add(root); 356 root.setView(view, wparams, panelParentView); 381 ViewRootImpl root = mRoots.get(index); 384 root 467 doRemoveView(ViewRootImpl root) argument 600 getWindowName(ViewRootImpl root) argument [all...] |
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/ |
H A D | ParameterManagerWrapper.cpp | 139 void ParameterManagerWrapper::loadCriterionType(cnode *root, bool isInclusive) argument 141 ALOG_ASSERT(root != NULL, "error in parsing file"); 143 for (node = root->first_child; node != NULL; node = node->next) { 184 void ParameterManagerWrapper::loadInclusiveCriterionType(cnode *root) argument 186 ALOG_ASSERT(root != NULL, "error in parsing file"); 187 cnode *node = config_find(root, gInclusiveCriterionTypeTag.c_str()); 194 void ParameterManagerWrapper::loadExclusiveCriterionType(cnode *root) argument 196 ALOG_ASSERT(root != NULL, "error in parsing file"); 197 cnode *node = config_find(root, gExclusiveCriterionTypeTag.c_str()); 204 void ParameterManagerWrapper::parseChildren(cnode *root, strin argument 239 loadCriteria(cnode *root) argument 274 loadCriterion(cnode *root) argument 292 loadConfig(cnode *root) argument 310 cnode *root; local [all...] |
/frameworks/base/apct-tests/perftests/core/src/android/view/ |
H A D | ViewPerfTest.java | 42 FrameLayout root = new FrameLayout(context); 44 inflater.inflate(R.layout.test_simple_view, root, false); 53 FrameLayout root = new FrameLayout(context); 55 inflater.inflate(R.layout.twelve_key_entry, root, false);
|
/frameworks/support/frameworks/support/samples/SupportTransitionDemos/src/main/java/com/example/android/support/transition/widget/ |
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/samples/SupportTransitionDemos/src/main/java/com/example/android/support/transition/widget/ |
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/services/audiopolicy/engineconfigurable/wrapper/include/ |
H A D | ParameterManagerWrapper.h | 176 * @param[in] root node of the configuration file. 178 void loadInclusiveCriterionType(cnode *root); 183 * @param[in] root node of the configuration file. 185 void loadExclusiveCriterionType(cnode *root); 190 * @param[in] root node of the configuration file. 192 void loadCriteria(cnode *root); 197 * @param[in] root node of the configuration file. 199 void loadCriterion(cnode *root); 204 * @param[in] root node of the configuration file 207 void loadCriterionType(cnode *root, boo [all...] |
/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/fragment/src/main/java/androidx/fragment/app/ |
H A D | ListFragment.java | 98 FrameLayout root = new FrameLayout(context); 113 root.addView(pframe, new FrameLayout.LayoutParams( 133 root.addView(lframe, new FrameLayout.LayoutParams( 138 root.setLayoutParams(new FrameLayout.LayoutParams( 141 return root; 331 View root = getView(); 332 if (root == null) { 335 if (root instanceof ListView) { 336 mList = (ListView)root; 338 mStandardEmptyView = (TextView)root [all...] |
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsConfigLoader.c | 38 static int loadLibraries(cnode *root); 39 static int loadLibrary(cnode *root, const char *name); 40 static int loadEffects(cnode *root); 43 static int addSubEffect(cnode *root); 60 cnode *root; local 67 root = config_node("", ""); 68 config_load(root, data); 69 loadLibraries(root); 70 loadEffects(root); 71 config_free(root); 78 loadLibraries(cnode *root) argument 151 loadLibrary(cnode *root, const char *name) argument 233 addSubEffect(cnode *root) argument 289 loadEffects(cnode *root) argument 305 loadEffect(cnode *root) argument [all...] |