/frameworks/base/services/core/java/com/android/server/wm/ |
DragState.java | 405 WindowState child = windows.get(i); local 406 final int flags = child.mAttrs.flags; 407 if (!child.isVisibleLw()) { 416 child.getStackBounds(mTmpRect); 422 child.getTouchableRegion(mTmpRegion); 429 touchedWin = child;
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
Expr.java | 172 for (Expr child : getChildren()) { 173 if (child.resolveListeners(valueType)) { 262 for (Expr child : mChildren) { 263 child.onParentSwapped(this, existing); 327 * Creates a dependency for each dynamic child. Should work for any expression besides 605 for (Expr child : getChildren()) { 606 child.setIsUsed(isUsed); 615 for (Expr child : mChildren) { 616 child.updateExpr(modelAnalyzer);
|
/frameworks/data-binding/library/src/main/java/android/databinding/ |
ViewDataBinding.java | 637 final View child = viewGroup.getChildAt(i); local 640 String childTag = (String) child.getTag(); 653 bindings[index] = DataBindingUtil.bind(bindingComponent, child, 669 mapBindings(bindingComponent, child, bindings, includes, viewsWithIds, false); [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
CollapsingToolbarLayout.java | 50 * It is designed to be used as a direct child of a {@link AppBarLayout}. 69 * Child views can opt to be scrolled within this layout in a parallax fashion. 74 * Child views can opt to be pinned in space globally. This is useful when implementing a 274 protected boolean drawChild(Canvas canvas, View child, long drawingTime) { 279 if (child == mToolbar && mContentScrim != null && mScrimAlpha > 0) { 284 // Carry on drawing the child... 285 return super.drawChild(canvas, child, drawingTime); 304 final View child = getChildAt(i); local 305 if (child instanceof Toolbar) { 308 if (mToolbarId == child.getId()) 365 final View child = getChildAt(i); local 862 final View child = getChildAt(i); local [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
BaseCardView.java | 42 * visibilities of the child types, and the state of the widget. A child may be 522 final View child = getChildAt(i); local 524 if (child == null) { 528 BaseCardView.LayoutParams lp = (BaseCardView.LayoutParams) child 531 mInfoViewList.add(child); 532 child.setVisibility(infoVisible ? View.VISIBLE : View.GONE); 534 mExtraViewList.add(child); 535 child.setVisibility(extraVisible ? View.VISIBLE : View.GONE); 538 mMainViewList.add(child); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ListPopupWindow.java | 782 final View child = list.getChildAt(position - list.getFirstVisiblePosition()); local 784 mItemClickListener.onItemClick(list, child, position, adapter.getItemId(position)); [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
GridLayoutManager.java | 541 Log.d(TAG, "laid out child at position " + getPosition(view) + ", with l:" 563 private void measureChildWithDecorationsAndMargin(View child, int widthSpec, int heightSpec, 565 calculateItemDecorationsForChild(child, mDecorInsets); 566 RecyclerView.LayoutParams lp = (RecyclerView.LayoutParams) child.getLayoutParams(); 575 child.measure(widthSpec, heightSpec); [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
GridLayoutManagerTest.java | 207 View child = mRecyclerView.getChildAt(i); local 208 final int size = config.mOrientation == HORIZONTAL ? child.getWidth() 209 : child.getHeight(); 210 assertEquals("child " + i + " should have the size specified in its layout params", 259 assertNotNull(logPrefix + " child position 0 should be laid out", child0); 261 logPrefix + " second child position " + (secondChildPos) + " should be laid out", 264 assertTrue(logPrefix + " second child should be to the left of first child", 266 assertEquals(logPrefix + " first child should be right aligned", 269 assertTrue(logPrefix + " first child should be to the left of second child" 329 View child = recyclerView.getChildAt(i * config.mSpanCount + j); local 656 View child = mGlm.getChildAt(i); local 682 View child = mGlm.getChildAt(i); local [all...] |
LinearLayoutManagerTest.java | 204 View child = mLayoutManager.getChildAt(i); local 205 RecyclerView.ViewHolder holder = mRecyclerView.getChildViewHolder(child); 222 assertTrue("removed child should receive remove animation", 230 View child = mLayoutManager.getChildAt(i); local 231 RecyclerView.ViewHolder holder = mRecyclerView.getChildViewHolder(child); 269 assertNotNull("focused child should stay in layout", postVH); 270 assertSame("same view holder should be kept for unchanged child", vh, postVH); 271 assertEquals("focused child's screen position should stay unchanged", top, 311 // scroll enough to offset the child 327 // scroll enough to offset the child 438 final View child = mLayoutManager.getChildAt(mLayoutManager.getChildCount() \/ 2); local 473 final View child = mLayoutManager.findViewByPosition(target.mPosition); local 503 View child = mLayoutManager.getChildAt(i); local [all...] |
/libcore/luni/src/main/java/java/util/ |
TreeMap.java | 298 Node<K, V> child = (comparison < 0) ? nearest.left : nearest.right; local 299 if (child != null) { 300 nearest = child; 520 * Rotates the subtree so that its root's right child is the new root. 528 // move the pivot's left child to the root's right 548 * Rotates the subtree so that its root's left child is the new root. 556 // move the pivot's right child to the root's left 839 Node<K, V> child = node.left; local 840 while (child != null) { 841 node = child; 852 Node<K, V> child = node.right; local [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ScheduledThreadPoolExecutor.java | 895 int child = (k << 1) + 1; local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
NodeImpl.java | 415 Node child; local 416 while ((child = getFirstChild()) != null) { 417 removeChild(child); 530 * element. Since child elements can redefine prefixes, this check is 608 for (Node child = node.getFirstChild(); child != null; child = child.getNextSibling()) { 609 values.add(child);
|
/packages/apps/Browser/src/com/android/browser/ |
NavTabScroller.java | 374 final View child = mContentView.getChildAt(i); local 375 adjustViewGap(child, i); 420 View child = mContentView.getChildAt(i); local 421 if (child.getVisibility() == View.VISIBLE) { 422 if ((x >= child.getLeft()) && (x < child.getRight()) 423 && (y >= child.getTop()) && (y < child.getBottom())) { 424 return child; 490 View child = mContentView.getChildAt((mPullValue < 0 local 518 View child = mContentView.getChildAt((mPullValue < 0) local [all...] |
/packages/apps/Calendar/src/com/android/calendar/month/ |
MonthByWeekFragment.java | 175 SimpleWeekView child = (SimpleWeekView) mListView.getChildAt(0); local 176 if (child != null) { 177 int julianDay = child.getFirstJulianDay();
|
/packages/apps/Camera/src/com/android/camera/ |
CameraSettings.java | 282 CameraPreference child = group.get(i); local 283 if (child instanceof PreferenceGroup) { 284 if (removePreference((PreferenceGroup) child, key)) { 288 if (child instanceof ListPreference && 289 ((ListPreference) child).getKey().equals(key)) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
PinnedHeaderListView.java | 311 View child = getChildAt(position - getFirstVisiblePosition()); local 312 if (child == null) return; 323 int bottom = child.getBottom() - top;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
GLView.java | 31 // events. A GLView may have zero or more child GLView and they form a tree 139 // Adds a child to this GLView. 144 // Build parent-child links 157 // Removes a child from this GLView. 424 GLView child = getComponent(i); local 425 if (child.getVisibility() == GLView.VISIBLE) { 426 child.onVisibilityChanged(visibility);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
CellLayout.java | 594 final View child = getChildAt(i); local 595 child.cancelLongPress(); 615 public boolean addViewToCellLayout(View child, int index, int childId, LayoutParams params, 620 if (child instanceof BubbleTextView) { 621 BubbleTextView bubbleChild = (BubbleTextView) child; 631 child.setScaleX(getChildrenScale()); 632 child.setScaleY(getChildrenScale()); 642 child.setId(childId); 644 mShortcutsAndWidgets.addView(child, index, lp); 646 if (markCells) markCellsAsOccupiedForView(child); 720 final View child = mShortcutsAndWidgets.getChildAt(i); local 1017 View child = getChildAt(i); local 1031 View child = getChildAt(i); local 2198 View child = mShortcutsAndWidgets.getChildAt(i); local 2219 View child = mShortcutsAndWidgets.getChildAt(i); local 2247 View child = mShortcutsAndWidgets.getChildAt(i); local 2266 View child = mShortcutsAndWidgets.getChildAt(i); local 2281 View child; field in class:CellLayout.ReorderHintAnimation 2408 View child = mShortcutsAndWidgets.getChildAt(i); local 2515 View child = mShortcutsAndWidgets.getChildAt(i); local 2540 View child = mShortcutsAndWidgets.getChildAt(i); local [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
Workspace.java | 341 // Use the first non-custom page to estimate the child position 459 public void onChildViewAdded(View parent, View child) { 460 if (!(child instanceof CellLayout)) { 463 CellLayout cl = ((CellLayout) child); 467 super.onChildViewAdded(parent, child); 470 protected boolean shouldDrawChild(View child) { 471 final CellLayout cl = (CellLayout) child; 472 return super.shouldDrawChild(child) && 485 View child = dragLayer.getChildAt(i); local 486 if (child instanceof Folder) 1265 View child = getChildAt(getPageCount() - 1); local 1544 CellLayout child = (CellLayout) getChildAt(i); local 1558 CellLayout child = (CellLayout) getChildAt(i); local 2208 View child = cellInfo.cell; local [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsActor.java | 204 final UserInfo child = getUserInfo(userHandle); local 205 if (child == null) { 209 if (ui.id != userHandle && ui.id == child.profileGroupId) {
|
/sdk/attribute_stats/src/ |
Analyzer.java | 238 Node child = childNodes.item(i); local 239 if (child.getNodeType() == Node.ELEMENT_NODE) { 240 analyzeElement((Element) child);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
AndroidXmlFormattingStrategy.java | 319 // for </baz>. We don't measure the depth of <bar/>, a child of the start node, 326 // (which may not be the smallest level, e.g. where you select a child 742 Node child = children.item(i); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
ViewMetadataRepository.java | 172 Element child = (Element) children.item(1); local 173 String childId = child.getAttributeNS(ANDROID_URI, ATTR_ID); 234 Element child = (Element) childNode; local 235 ViewData view = createViewData(fillTypes, child, 253 Element child, String defaultFqcn, FillPreference defaultFill, 255 String fqcn = child.getAttribute("class"); //$NON-NLS-1$ 259 String fill = child.getAttribute("fill"); //$NON-NLS-1$ 267 String skip = child.getAttribute("skip"); //$NON-NLS-1$ 269 String render = child.getAttribute("render"); //$NON-NLS-1$ 273 String displayName = child.getAttribute("name"); //$NON-NLS-1 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
ChangeLayoutRefactoring.java | 187 // Don't convert a root GestureOverlayView; convert its child. This looks for 188 // gesture overlays, and if found, it generates a new child list where the gesture 339 for (Element child : DomUtilities.getChildren(layout)) { 340 if (skip != null && skip.contains(child)) { 344 if (!child.hasAttributeNS(ANDROID_URI, ATTR_LAYOUT_WIDTH)) { 345 setAttribute(rootEdit, child, ANDROID_URI, 348 if (!child.hasAttributeNS(ANDROID_URI, ATTR_LAYOUT_HEIGHT)) { 349 setAttribute(rootEdit, child, ANDROID_URI, 368 Element child = (Element) node; local 374 String oldName = child.getNodeName() 416 Element child = (Element) node; local 435 Element child = (Element) node; local 533 Element child = (Element) node; local [all...] |
GridLayoutConverter.java | 282 Element child = view.mElement; local 284 List<Attr> attributes = mRefactoring.findLayoutAttributes(child); 290 mRefactoring.removeAttribute(mRootEdit, child, attribute.getNamespaceURI(), 451 private void convert0dipToWrapContent(Element child) { 460 Attr height = child.getAttributeNodeNS(ANDROID_URI, ATTR_LAYOUT_HEIGHT); 465 Attr width = child.getAttributeNodeNS(ANDROID_URI, ATTR_LAYOUT_WIDTH); 484 for (CanvasViewInfo child : info.getChildren()) { 485 CanvasViewInfo result = findViewForElement(child, element); 809 for (CanvasViewInfo child : view.getChildren()) { 810 Element childElement = getElement(child); [all...] |