Searched defs:root (Results 26 - 50 of 141) sorted by relevance

123456

/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
H A DDataBindingUtil.java76 * 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...]
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.c237 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) */
248 Word32 root = 0; local
266 if (root < value)
267 ++root;
[all...]
/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java46 /** Operation on view root, first parameter in packet should be one of VURT_* constants */
133 return createFailChunk(ERR_INVALID_OP, "Unknown view root operation: " + op);
193 private View getTargetView(View root, ByteBuffer in) { argument
204 return ViewDebug.findView(root, viewName);
213 * TODO: Currently this only returns views starting at the root, need to fix so that
/frameworks/base/core/java/android/util/
H A DJsonWriter.java492 * @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 DMenuPresenter.java69 * @param root Intended parent of the MenuView.
72 public MenuView getMenuView(ViewGroup root); argument
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryLoader.java62 public DirectoryLoader(Context context, int type, RootInfo root, DocumentInfo doc, Uri uri, argument
64 super(context, ProviderExecutor.forAuthority(root.authority));
66 mRoot = root;
H A DLocalPreferences.java44 public static @ViewMode int getViewMode(Context context, RootInfo root, argument
46 return getPrefs(context).getInt(createKey(root), fallback);
62 public static void setViewMode(Context context, RootInfo root, @ViewMode int viewMode) { argument
64 getPrefs(context).edit().putInt(createKey(root), viewMode).apply();
71 private static String createKey(RootInfo root) { argument
72 return ROOT_VIEW_MODE_PREFIX + root.authority + root.rootId;
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
H A DDocumentsProviderHelper.java79 throw new IllegalArgumentException("Can't find matching root for id=" + documentId);
81 throw new RuntimeException("Can't load root for id=" + documentId , e);
105 public Uri createDocument(RootInfo root, String mimeType, String name) { argument
106 return createDocument(root.documentId, mimeType, name);
133 public Uri createFolder(RootInfo root, String name) { argument
134 return createDocument(root, Document.MIME_TYPE_DIR, name);
164 public void assertChildCount(RootInfo root, int expected) throws Exception { argument
165 assertChildCount(root.documentId, expected);
183 public void assertHasFile(RootInfo root, String name) throws Exception { argument
184 assertHasFile(root
202 assertHasDirectory(RootInfo root, String name) argument
220 assertDoesNotExist(RootInfo root, String name) argument
289 createVirtualFile( RootInfo root, String path, String mimeType, byte[] content, String... streamTypes) argument
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUClient.java449 private static void getCertURLs(OMANode root, Iterator<String> path, List<String> urls) argument
453 // Log.d(TAG, "Pulling '" + name + "' out of '" + root.getName() + "'");
457 for (OMANode node : root.getChildren()) {
465 nodes = root.getChildren();
468 nodes = Arrays.asList(root.getChild(name));
473 throw new IllegalArgumentException("No matching node in " + root.getName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DUserDetailItemView.java83 ViewGroup root) {
86 R.layout.qs_user_detail_item, root, false);
82 convertOrInflate(Context context, View convertView, ViewGroup root) argument
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
H A DDpiTestActivity.java82 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 DDisplayListLayersActivity.java43 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/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DAssistVisualizer.java140 void buildTextRects(AssistStructure.ViewNode root, int matrixStackIndex, argument
142 if (root.getVisibility() != View.VISIBLE) {
155 matrix.preTranslate(root.getLeft(), root.getTop());
156 int left = parentLeft + root.getLeft();
157 int top = parentTop + root.getTop();
158 Matrix transform = root.getTransformation();
162 if (root.getText() != null || root.getContentDescription() != null) {
163 TextEntry te = new TextEntry(root, parentLef
[all...]
/frameworks/base/tools/aapt2/link/
H A DManifestFixer.cpp257 xml::Element* root = xml::findRootElement(doc->root.get()); local
258 if (!root || !root->namespaceUri.empty() || root->name != u"manifest") {
260 << "root tag must be <manifest>");
265 && root->findChild({}, u"uses-sdk") == nullptr) {
269 root->addChild(std::move(usesSdk));
285 if (!renameManifestPackage(mOptions.renameManifestPackage.value(), root)) {
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DBridgeInflater.java194 public View inflate(int resource, ViewGroup root) { argument
225 return inflate(bridgeParser, root);
/frameworks/base/tools/split-select/
H A DRuleGenerator.cpp31 double root = sqrt((h*h) + (8*l*h)); local
32 return (double(-h) + root) / 2.0;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
H A DConfigBuilder.java90 private static WifiConfiguration parse(MIMEContainer root) argument
93 if (root.getMimeContainers() == null) {
102 for (MIMEContainer subContainer : root.getMimeContainers()) {
/frameworks/support/tests/java/android/support/v4/provider/
H A DDocumentFileTest.java42 private File root; field in class:DocumentFileTest
69 root = Environment.getExternalStorageDirectory();
70 rootFoo = new File(root, FOO);
71 rootMeow = new File(root, MEOW);
80 final File tmp = new File(root, "bark.pdf");
126 test.exec(DocumentFile.fromFile(root));
158 test.exec(DocumentFile.fromFile(root));
189 test.exec(DocumentFile.fromFile(root));
214 test.exec(DocumentFile.fromFile(root));
258 test.exec(DocumentFile.fromFile(root));
[all...]
/frameworks/support/v4/jellybean/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatJellyBean.java32 public static void setSource(Object info, View root, int virtualDescendantId) { argument
33 ((AccessibilityNodeInfo) info).setSource(root, virtualDescendantId);
56 public static Object obtain(View root, int virtualDescendantId) { argument
57 return AccessibilityNodeInfo.obtain(root, virtualDescendantId);
68 public static void setParent(Object info, View root, int virtualDescendantId) { argument
69 ((AccessibilityNodeInfo) info).setParent(root, virtualDescendantId);
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DMenuPresenter.java70 * @param root Intended parent of the MenuView.
73 public MenuView getMenuView(ViewGroup root); argument
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DPreferenceInflater.java109 * @param root Optional parent of the generated hierarchy.
110 * @return The root of the inflated hierarchy. If root was supplied,
111 * this is the root item; otherwise it is the root of the inflated
114 public Preference inflate(int resource, @Nullable PreferenceGroup root) { argument
117 return inflate(parser, root);
134 * @param root Optional to be the parent of the generated hierarchy (if
136 * provides a set of values for root of the returned
138 * @return The root o
142 inflate(XmlPullParser parser, @Nullable PreferenceGroup root) argument
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DConfigParsingUtils.cpp34 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
368 loadGlobalConfig(cnode *root, AudioPolicyConfig &config, const sp<HwModule>& primaryModule) argument
393 cnode *root; local
[all...]
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyEffects.cpp466 effect_param_t *AudioPolicyEffects::loadEffectParameter(cnode *root) argument
480 param = config_find(root, PARAM_TAG);
481 value = config_find(root, VALUE_TAG);
484 param = root->first_child;
501 root->name);
541 void AudioPolicyEffects::loadEffectParameters(cnode *root, Vector <effect_param_t *>& params) argument
543 cnode *node = root->first_child;
556 cnode *root,
559 cnode *node = root->first_child;
561 ALOGW("loadInputSource() empty element %s", root
555 loadEffectConfig( cnode *root, const Vector <EffectDesc *>& effects) argument
594 loadInputEffectConfigurations(cnode *root, const Vector <EffectDesc *>& effects) argument
621 loadStreamEffectConfigurations(cnode *root, const Vector <EffectDesc *>& effects) argument
648 loadEffect(cnode *root) argument
662 loadEffects(cnode *root, Vector <EffectDesc *>& effects) argument
684 cnode *root; local
[all...]
/frameworks/base/core/java/android/preference/
H A DGenericInflater.java215 * @param root Optional parent of the generated hierarchy.
216 * @return The root of the inflated hierarchy. If root was supplied,
217 * this is the root item; otherwise it is the root of the inflated
220 public T inflate(@XmlRes int resource, P root) { argument
221 return inflate(resource, root, root != null);
235 * @param root Optional parent of the generated hierarchy.
236 * @return The root o
240 inflate(XmlPullParser parser, P root) argument
260 inflate(@mlRes int resource, P root, boolean attachToRoot) argument
291 inflate(XmlPullParser parser, P root, boolean attachToRoot) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DTimePickerSpinnerDelegate.java521 private void trySetContentDescription(View root, int viewId, int contDescResId) { argument
522 View target = root.findViewById(viewId);

Completed in 6234 milliseconds

123456