/packages/apps/Calendar/src/com/android/calendar/month/ |
MonthByWeekFragment.java | 143 SimpleWeekView child = (SimpleWeekView) mListView.getChildAt(0); local 144 if (child != null) { 145 int julianDay = child.getFirstJulianDay();
|
/packages/apps/Camera/src/com/android/camera/ |
CameraSettings.java | 244 CameraPreference child = group.get(i); local 245 if (child instanceof PreferenceGroup) { 246 if (removePreference((PreferenceGroup) child, key)) { 250 if (child instanceof ListPreference && 251 ((ListPreference) child).getKey().equals(key)) {
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ContactDetailTabCarousel.java | 129 // Set the child {@link LinearLayout} to be TAB_COUNT * the computed tab width so that the 132 View child = getChildAt(0); local 133 child.measure(MeasureSpec.makeMeasureSpec(TAB_COUNT * tabWidth, MeasureSpec.EXACTLY),
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
RawContactEditorView.java | 415 View child = mFields.getChildAt(i); local 416 if (child instanceof KindSectionView) { 417 final KindSectionView sectionView = (KindSectionView) child;
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
PinnedHeaderListView.java | 304 View child = getChildAt(position - getFirstVisiblePosition()); local 305 if (child == null) return; 316 int bottom = child.getBottom() - top;
|
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
FolderSyncParserTests.java | 349 Mailbox child = getMailboxWithName(childName); local 351 assertNotNull(child); 353 return child.mParentKey == parent.mId;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedView.java | 468 final View child = getPageAt(i); local 469 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 490 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); 491 maxChildHeight = Math.max(maxChildHeight, child.getMeasuredHeight()); 492 if (DEBUG) Log.d(TAG, "\tmeasure-child" + i + ": " + child.getMeasuredWidth() + ", " 493 + child.getMeasuredHeight()); 539 final View child = getPageAt(i); local 540 childrenX[i] = child.getX(); 541 childrenY[i] = child.getY() 550 final View child = getPageAt(i); local 587 final View child = getPageAt(i); local 623 View child = getChildAt(i); local [all...] |
/packages/apps/Music/src/com/android/music/ |
TouchInterceptor.java | 170 final View child = getChildAt(i); local 171 child.getHitRect(frame);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
CandidatesContainer.java | 282 int child = mFlipper.getDisplayedChild(); local 283 int childNext = (child + 1) % 2; 284 CandidateView cv = (CandidateView) mFlipper.getChildAt(child); 309 int child = mFlipper.getDisplayedChild(); local 310 int childNext = (child + 1) % 2; 311 CandidateView cv = (CandidateView) mFlipper.getChildAt(child);
|
/sdk/attribute_stats/src/ |
Analyzer.java | 221 Node child = childNodes.item(i); local 222 if (child.getNodeType() == Node.ELEMENT_NODE) { 223 analyzeElement((Element) child);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
AndroidXmlFormattingStrategy.java | 299 // for </baz>. We don't measure the depth of <bar/>, a child of the start node, 306 // (which may not be the smallest level, e.g. where you select a child 653 Node child = children.item(i); local 654 visit(depth + 1, child);
|
XmlPrettyPrinter.java | 176 Node child = children.item(i); local 177 visitNode(depth + 1, child); 355 // Comment before first child in node 781 // In resource files we keep the child content directly on the same [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
DomUtilities.java | 154 * Returns the editing context at the given offset, as a pair of parent node and child 161 * and the child is null which represents a potential text node. 164 * bracket) then the child node will be the element and whatever parent (element or 167 * If the node is in a text node, then the text node will be the child and its parent 171 * considered the child, regardless of whether it is on the left or right of the 177 * @return a pair of parent and child elements, where either the parent or the child 178 * but not both can be null, and if non null the child.getParentNode() should 510 * @return a list of child elements, possibly empty but never null 515 // An iterator would have been more natural (to directly drive the child lis 521 Element child = (Element) node; local 720 Element child = (Element) node; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/ |
AndroidManifestDescriptors.java | 92 APPLICATION_ELEMENT = createElement("application", null, Mandatory.MANDATORY_LAST); //$NON-NLS-1$ + no child & mandatory 97 USES_SDK_ELEMENT = createElement("uses-sdk", null, Mandatory.MANDATORY); //$NON-NLS-1$ + no child & mandatory 330 // Creates an element with no child and not mandatory 358 * as child to this ElementDescriptor. 420 ElementDescriptor child = existingElementDescs.get(childXmlName); local 421 if (child == null) { 422 child = createElement(childXmlName); 423 existingElementDescs.put(childXmlName, child); 425 children.add(child); 431 child, [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
SdkSource.java | 705 for (Node child = doc.getFirstChild(); child != null; child = child.getNextSibling()) {
706 if (child.getNodeType() == Node.ELEMENT_NODE) {
708 String name = child.getNodeName();
715 NamedNodeMap attrs = child.getAttributes();
792 for (Node child = root.getFirstChild();
793 child != null;
794 child = child.getNextSibling()) { [all...] |
/system/core/sdcard/ |
sdcard.c | 90 struct node *child; /* first contained file by this dir */ member in struct:node 245 node->next = parent->child; 246 parent->child = node; 357 for (node = node->child; node; node = node->next) { 367 for (node = node->child; node; node = node->next) { 389 for (node = parent->child; node; node = node->next) { 394 parent->child = node->next; 442 if (node->parent->child == node) { 443 node->parent->child = node->parent->child->next [all...] |
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
LogManagerTest.java | 161 Logger child = new MockLogger("testAddGetLogger_Hierachy.foo.child", local 164 "testAddGetLogger_Hierachy.foo2.child", null); 166 "testAddGetLogger_Hierachy.foo.child.grandson", null); 168 "testAddGetLogger_Hierachy.foo.child", null); 170 assertNull(child.getParent()); 176 assertTrue(mockManager.addLogger(child)); 177 assertNull(child.getParent()); 183 assertSame(child, grandson.getParent()); 186 assertSame(foo, child.getParent()) [all...] |
/frameworks/base/core/java/android/widget/ |
HorizontalScrollView.java | 43 * is a {@link FrameLayout}, meaning you should place one child in it 44 * containing the entire contents to scroll; this child may itself be a layout 45 * manager with a complex hierarchy of objects. A child that is often used 89 * The child to give focus to in the event that a child has requested focus while the 90 * layout is dirty. This prevents the scroll from being wrong if the child has not been 108 * When set to true, the scroll view measure its child to make it fill the currently 211 public void addView(View child) { 213 throw new IllegalStateException("HorizontalScrollView can host only one direct child"); 216 super.addView(child); 250 View child = getChildAt(0); local 315 final View child = getChildAt(0); local 389 final View child = getChildAt(0); local 740 View child = getChildAt(0); local 1466 View child = getChildAt(0); local [all...] |
ScrollView.java | 46 * is a {@link FrameLayout}, meaning you should place one child in it 47 * containing the entire contents to scroll; this child may itself be a layout 48 * manager with a complex hierarchy of objects. A child that is often used 85 * The child to give focus to in the event that a child has requested focus while the 86 * layout is dirty. This prevents the scroll from being wrong if the child has not been 104 * When set to true, the scroll view measure its child to make it fill the currently 221 public void addView(View child) { 223 throw new IllegalStateException("ScrollView can host only one direct child"); 226 super.addView(child); 260 View child = getChildAt(0); local 324 final View child = getChildAt(0); local 400 final View child = getChildAt(0); local 741 View child = getChildAt(0); local 1498 View child = getChildAt(0); local [all...] |
/packages/apps/Browser/src/com/android/browser/view/ |
ScrollerView.java | 50 * is a {@link FrameLayout}, meaning you should place one child in it 51 * containing the entire contents to scroll; this child may itself be a layout 52 * manager with a complex hierarchy of objects. A child that is often used 87 * The child to give focus to in the event that a child has requested focus while the 88 * layout is dirty. This prevents the scroll from being wrong if the child has not been 106 * When set to true, the scroll view measure its child to make it fill the currently 253 public void addView(View child) { 255 throw new IllegalStateException("ScrollView can host only one direct child"); 258 super.addView(child); 292 View child = getChildAt(0); local 359 final View child = getChildAt(0); local 455 final View child = getChildAt(0); local 909 View child = getChildAt(0); local 1830 View child = getChildAt(0); local [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/ |
EntityModifierTests.java | 482 final ValuesDelta child = state.getEntry(TEST_ID); local 483 child.put(Phone.NUMBER, ""); 521 // Try creating a contact without any child entries 603 final ValuesDelta child = state.getEntry(TEST_ID); local 604 child.put(Phone.NUMBER, ""); 668 final ValuesDelta child = state.getEntry(TEST_ID); local 669 child.put(Phone.NUMBER, ""); [all...] |
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityWindowQueryActivityTest.java | 139 AccessibilityNodeInfo child = getQueryBridge().getChild(current, i); local 140 fringe.add(child); 289 AccessibilityNodeInfo child = getQueryBridge().getChild(parent, i); local 290 assertNotNull(child); 291 if (child.equals(button)) { 293 child.hashCode()); 428 public AccessibilityNodeInfo getParent(AccessibilityNodeInfo child) { 432 AccessibilityNodeInfo childClone = AccessibilityNodeInfo.obtain(child);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ListViewTest.java | 667 final TextView child = (TextView) mAdapter_countries.getView(2, null, mListView); local 668 assertNotNull(child); 669 assertEquals(mCountryList[2], child.getText().toString()); 675 mListView.performItemClick(child, 2, itemID); 689 mListView.performItemClick(child, 2, itemID); 694 assertSame(child, onClickListener.getView()); 773 TextView child = (TextView) mAdapter_countries.getView(0, null, mListView); local 774 assertNotNull(child); 775 assertEquals(mCountryList[0], child.getText().toString()); 778 assertFalse(mListView.requestChildRectangleOnScreen(child, rect, false)) [all...] |
/cts/tools/utils/ |
DescriptionGenerator.java | 317 Node child = suiteChildren.iterator().next(); local 321 + getAttribute(child, ATTRIBUTE_NAME); 322 setAttribute(child, ATTRIBUTE_NAME, newName); 327 parentNode.appendChild(child); 329 mergeEmptySuites(child); 334 * Get the unmuatable child nodes for specified node. 337 * @return A collection of copied child node. 364 for (Node child : children) { 365 String childName = child.getAttributes().getNamedItem(ATTRIBUTE_NAME) 371 appendTestCases(child, testSuite.mCases) 396 Node child = children.item(i); local [all...] |
/external/antlr/src/org/antlr/runtime/debug/ |
RemoteDebugEventSocketListener.java | 417 ProxyTree child = new ProxyTree(childID); local 418 listener.addChild(root, child);
|