/packages/apps/Launcher3/src/com/android/launcher3/ |
Workspace.java | 384 // Use the first non-custom page to estimate the child position 537 public void onChildViewAdded(View parent, View child) { 538 if (!(child instanceof CellLayout)) { 541 CellLayout cl = ((CellLayout) child); 545 super.onChildViewAdded(parent, child); 548 protected boolean shouldDrawChild(View child) { 549 final CellLayout cl = (CellLayout) child; 550 return super.shouldDrawChild(child) && 564 View child = dragLayer.getChildAt(i); local 565 if (child instanceof Folder) 1556 View child = getChildAt(i); local 1628 View child = getChildAt(getPageCount() - 1); local 1736 CellLayout child = (CellLayout) getChildAt(i); local 2264 View child = cellInfo.cell; local [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/ |
Entity.java | 105 ContentTypeField child = local 112 return ContentTypeField.getMimeType(child, parent);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
TableRowRule.java | 46 public void onChildInserted(@NonNull INode child, @NonNull INode parent, 73 public DropFeedback onResizeBegin(@NonNull INode child, @NonNull INode parent,
|
/system/core/adb/ |
adb_utils_test.cpp | 37 static std::string subdir(const char* parent, const char* child) { 40 str += child;
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/ |
SourceNodeImplTest.java | 181 final SourceNodeImpl child = new SourceNodeImpl(ElementType.CLASS, local 190 node.increment(child); 202 final SourceNodeImpl child = new SourceNodeImpl(ElementType.CLASS, local 204 child.increment(CounterImpl.getInstance(1, 11), 207 node.increment(child); 208 node.increment(child);
|
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/ |
JHdf.java | 171 for (Data child : d.getChildren()) { 172 if (child.isFirstSibling()) { 173 return new JHdf(child, dataFactory, loadPathCache, options); 175 // The first child returned should be the first sibling. Throw an error 177 throw new IllegalStateException("First child was not first sibling."); 216 for (Data child : data.getChildren()) { 217 if (child.isFirstSibling()) { 218 return new JHdf(child, dataFactory, loadPathCache, options);
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
AccessibilityNodeInfoDumper.java | 126 AccessibilityNodeInfo child = node.getChild(i); local 127 if (child != null) { 128 if (child.isVisibleToUser()) { 129 dumpNodeRec(child, serializer, i, width, height); 130 child.recycle(); 132 Log.i(LOGTAG, String.format("Skipping invisible child: %s", child.toString())); 135 Log.i(LOGTAG, String.format("Null child %d/%d, parent: %s", 178 // and NAF but a child's text or description is available. Will assume
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
KeyboardShortcutKeysLayout.java | 61 View child = getChildAt(i); local 62 if (child.getVisibility() != GONE) { 63 LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); 64 child.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.AT_MOST), 66 int childWidth = child.getMeasuredWidth(); 68 child.getMeasuredHeight() + layoutParams.mVerticalSpacing); 115 // The index of the child which starts the current row.
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/ |
VrActivity.java | 207 final View child = p.getChildAt(i); local 208 if (child instanceof ViewGroup) { 209 uncheckOthers((ViewGroup) child, v); 211 if (v != child && child instanceof ToggleButton) { 212 ToggleButton t = (ToggleButton) child;
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
StaggeredGridLayoutManagerBaseConfigSetTest.java | 127 assertNotNull(logPrefix + " child position 0 should be laid out", child0); 128 assertNotNull(logPrefix + " child position 0 should be laid out", child1); 131 assertTrue(logPrefix + " second child should be to the left of first child", 133 assertEquals(logPrefix + " first child should be right aligned", 136 assertTrue(logPrefix + " first child should be to the left of second child", 138 assertEquals(logPrefix + " first child should be left aligned", 179 View child = mRecyclerView.getChildAt(i); 180 final int pos = mRecyclerView.getChildLayoutPosition(child); 498 final View child = mLayoutManager.getChildAt(mLayoutManager.getChildCount() \/ 2); local 529 final View child = mLayoutManager.findViewByPosition(target.mPosition); local 636 final View child = mLayoutManager.findViewByPosition(target.mPosition); local [all...] |
BaseStaggeredGridLayoutManagerTest.java | 201 // validate all children's order. first child should have min start mPosition 218 View child = mLayoutManager.getChildAt(i); local 219 int position = mRecyclerView.getChildLayoutPosition(child); 230 // where will the child come from ? 598 final View child = getChildAt(i); local 600 getDecoratedBoundsWithMargins(child, childBounds); 606 closestChild = child; 668 View child = getChildAt(i); local 669 sb.append("child (ind:").append(i).append(", pos:").append(getPosition(child)) 683 View child = getChildAt(i); local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AttachmentTileGrid.java | 146 // = [total width] / [child count] 162 final View child = getChildAt(i); local 165 child.measure( 198 final View child = getChildAt(i); local 201 final int childWidth = child.getMeasuredWidth(); 202 final int childHeight = child.getMeasuredHeight(); 214 child.layout(childLeft, childTop, 227 // This method is called when the child tile is INVISIBLE (meaning "empty"), and the
|
/external/boringssl/src/ssl/ |
s3_clnt.c | 596 CBB child; local 597 if (!CBB_add_u16_length_prefixed(out, &child)) { 617 if (!CBB_add_u16(&child, ssl_cipher_get_value(cipher))) { 632 if (!CBB_add_u16(&child, SSL3_CK_SCSV & 0xffff)) { 640 !CBB_add_u16(&child, SSL3_CK_FALLBACK_SCSV & 0xffff)) { 701 CBB child; local 706 !CBB_add_u8_length_prefixed(&cbb, &child) || 708 !CBB_add_bytes(&child, ssl->session->session_id, 714 if (!CBB_add_u8_length_prefixed(&cbb, &child) || 715 !CBB_add_bytes(&child, ssl->d1->cookie, ssl->d1->cookie_len)) 1620 CBB child; local 1659 CBB child, *enc_pms = &cbb; local 1682 CBB child; local 1728 CBB pms_cbb, child; local 1783 CBB cbb, child; local 1972 CBB cbb, child; local 2046 CBB cbb, child; local [all...] |
/libcore/ojluni/src/main/java/java/net/ |
URI.java | [all...] |
/external/deqp/scripts/ |
mustpass.py | 229 for child in node.children: 230 if child.name == name: 231 return child 261 for child in curNode.children: 262 recursiveBuild(child, curPath + '.') 264 for child in root.children: 265 recursiveBuild(child, '') 290 for child in testGroup.children: 291 if isinstance(child, TestCase): 325 for child in testGroup.children [all...] |
/external/mesa3d/src/mesa/main/ |
APIspec.py | 200 child = param_node.children 201 while child: 202 if (child.type == "element" and child.name == "param" and 203 self.support_node(child)): 204 expanded_params.append(Parameter(child, self._gltype)) 207 child = child.next 516 child = node.children 518 while child [all...] |
/frameworks/base/core/java/android/widget/ |
AdapterViewAnimator.java | 51 * The index of the current child, which appears anywhere from the beginning 57 * The index of the child to restore after the asynchronous connection from the 137 * The width and height of some child, used as a size reference in-case our 290 * Sets which child view will be displayed. 292 * @param whichChild the index of the child view to display 320 * transform to the child view. 322 * @param child 325 void applyTransformForChildAtIndex(View child, int relativeIndex) { 329 * Returns the index of the currently displayed child view. 336 * Manually shows the next child 686 final View child = getChildAt(i); local 765 final View child = getChildAt(i); local [all...] |
/frameworks/base/tools/aapt2/xml/ |
XmlDom.cpp | 339 // We are looking for the first element, and namespaces can only have one child. 345 void Node::addChild(std::unique_ptr<Node> child) { 346 child->parent = this; 347 children.push_back(std::move(child)); 367 Node* child = childNode.get(); local 368 while (nodeCast<Namespace>(child)) { 369 if (child->children.empty()) { 372 child = child->children[0].get(); 375 if (Element* el = nodeCast<Element>(child)) { 394 Node* child = childNode.get(); local [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
StaggeredGridLayoutManager.java | 192 * Re-used rectangle to get child decor offsets. 350 View child = getChildAt(i); 351 LayoutParams lp = (LayoutParams) child.getLayoutParams(); 354 return child; 366 // ensure child's end is below nextChild's end 367 int myEnd = mPrimaryOrientation.getDecoratedEnd(child); 370 return child;//i should have a better position 375 int myStart = mPrimaryOrientation.getDecoratedStart(child); 378 return child;//i should have a better position 387 return child; [all...] |
/packages/apps/PackageInstaller/src/android/support/wearable/view/ |
WearableListView.java | 230 * @return the position of the center child's baseline; -1 if no center child exists or if 231 * the center child does not return a valid baseline. 235 // No children implies there is no center child for which a baseline can be computed. 240 // Compute the baseline of the center child. 244 // If the center child has no baseline, neither does this list view. 449 * Simulate tapping the child view at the center of this list. 507 View child = getChildAt(newCenterIndex); local 508 int scrollToMiddle = getCentralViewTop() - child.getTop(); 562 final View child = getChildAt(index) local 630 final View child = getChildAt(i); local 705 final View child = getChildAt(index); local 724 final View child = getChildAt(0); local 850 final View child = getLayoutManager().getChildAt(i); local 882 View child = getChildAt(index + i); local 947 View child = getChildAt(findCenterViewIndex()); local [all...] |
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayout.java | 40 * This layout throws an exception if there is more than one child added to the view. 44 * This layout folds the contents of its child in real time. By applying matrix 45 * transformations when drawing to canvas, the contents of the child may change as 48 * This can be avoided by having the child of this layout wrap its content inside a 60 private final String FOLDING_VIEW_EXCEPTION_MESSAGE = "Folding Layout can only 1 child at " + 120 protected boolean addViewInLayout(View child, int index, LayoutParams params, 123 boolean returnValue = super.addViewInLayout(child, index, params, preventRequestLayout); 128 public void addView(View child, int index, LayoutParams params) { 130 super.addView(child, index, params); 135 View child = getChildAt(0) local 142 View child = getChildAt(0); local [all...] |
/external/libcap/progs/ |
capsh.c | 48 pid_t child; local 51 child = 0; 311 child = fork(); 312 if (child < 0) { 314 } else if (!child) { 324 if (!child) { 328 retval = kill(child, value); 330 perror("Unable to kill child process"); 333 result = waitpid(child, &status, 0); 334 if (result != child) { [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
IconMenuView.java | 270 View child = getChildAt(itemPos++); local 271 LayoutParams lp = (LayoutParams) child.getLayoutParams(); 321 * just computes positions for each child, and then stores them in the child's layout params. 337 View child; local 359 // Tell the child to be exactly this size 360 child = getChildAt(itemPos); 361 child.measure(MeasureSpec.makeMeasureSpec((int) itemWidth, MeasureSpec.EXACTLY), 364 // Remember the child's position for layout 365 childLayoutParams = (IconMenuView.LayoutParams) child.getLayoutParams() 430 View child; local [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
PrintContentView.java | 393 public boolean tryCaptureView(View child, int pointerId) { 398 return child == mDynamicContent && pointerId == FIRST_POINTER_ID; 419 public void onViewReleased(View child, float velocityX, float velocityY) { 420 final int childTop = child.getTop(); 431 mDragger.smoothSlideViewTo(child, child.getLeft(), closedOptionsY); 433 mDragger.smoothSlideViewTo(child, child.getLeft(), openedOptionsY); 445 public int getViewVerticalDragRange(View child) { 450 public int clampViewPositionVertical(View child, int top, int dy) [all...] |
/libcore/ojluni/src/main/java/java/util/ |
PriorityQueue.java | 697 int child = (k << 1) + 1; // assume left child is least local 698 Object c = queue[child]; 699 int right = child + 1; 702 c = queue[child = right]; 706 k = child; 715 int child = (k << 1) + 1; local 716 Object c = queue[child]; 717 int right = child + 1; 720 c = queue[child = right] [all...] |