/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/chromium_org/chrome/browser/ui/views/accessibility/ |
accessibility_event_router_views_unittest.cc | 326 ViewWithNameAndRole* child = new ViewWithNameAndRole( local 329 child->SetFocusable(true); 330 contents->AddChildView(child); 335 // Set focus to the child view. 337 child->RequestFocus(); 339 // Change the child's name after the focus notification. 340 child->set_name(ASCIIToUTF16(kNewNameASCII)); 362 ViewWithNameAndRole* child = new ViewWithNameAndRole( local 365 child->SetFocusable(true); 366 contents->AddChildView(child); [all...] |
/external/chromium_org/content/zygote/ |
zygote_linux.cc | 76 // Kill the child process in case it's not already dead, so we can safely 226 base::ProcessId child; local 228 if (!pickle.ReadInt(&iter, &child)) { 234 if (!GetProcessInfo(child, &child_info)) { 235 LOG(ERROR) << "Child not found!"; 244 // disable race detection in the child process. 253 << "base::EnsureProcessTerminated() for child pid " << child 264 GetTerminationStatus(child, true /* known_dead */, &status, &exit_code); 267 process_info_map_.erase(child); 283 const base::ProcessHandle child = child_info.internal_pid; local [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/profiler/ |
CanvasReplayStateView.js | 326 for (var i = 0, child; child = node.children[i]; ++i) { 328 node: child, 331 map[child.name] = item; 332 populateNameToNodesMap(item.children, child); 420 for (var i = 0, child; child = node.children[i]; ++i) { 421 var childKey = key + "#" + child.name; 422 callback(child, childKey); 423 processRecursively(child, childKey) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
GlyphPageTreeNode.cpp | 317 GlyphPageTreeNode* child = new GlyphPageTreeNode; 318 child->m_parent = this; 319 child->m_level = m_level + 1; 326 child->m_pageNumber = m_pageNumber; 329 m_children.set(fontData, adoptPtr(child)); 330 fontData->setMaxGlyphPageTreeLevel(max(fontData->maxGlyphPageTreeLevel(), child->m_level)); 332 m_systemFallbackChild = adoptPtr(child); 333 child->m_isSystemFallback = true; 335 child->initializePage(fontData, pageNumber); 336 return child; [all...] |
/external/chromium_org/tools/deep_memory_profiler/visualizer/static/ |
menu-view.js | 65 origin.children.forEach(function(child) { 66 // Find child with the same label in target tree. 68 if (child.label === current.label) 73 target.children.push(child); 75 merge(child, target.children[index]);
|
graph-view.js | 29 snapNode.children.forEach(function(child) { 30 if (!(child.id in treeNode.children)) 31 treeNode.children[child.id] = {}; 32 mergeCategoryTree(child, treeNode.children[child.id]); 58 snapNode.children.forEach(function(child) { 59 getLineValues(child, index, categories);
|
/external/chromium_org/tools/grit/grit/tool/ |
android2grd.py | 236 for child in resources.childNodes: 237 if child.nodeType == Node.COMMENT_NODE: 239 description = ' '.join(child.data.split()) 240 elif child.nodeType == Node.ELEMENT_NODE: 241 if child.tagName != 'string': 242 print 'Warning: ignoring unknown tag <%s>' % child.tagName 244 translatable = self.IsTranslatable(child) 245 raw_name = child.getAttribute('name') 246 product = child.getAttribute('product') or None 251 msg = self.CreateTclibMessage(child) [all...] |
/external/chromium_org/ui/views/window/ |
dialog_client_view.cc | 267 if (details.is_add && details.child == this) { 275 } else if (!details.is_add && details.child == this) { 280 if (details.child == default_button_) 282 if (details.child == ok_button_) 284 if (details.child == cancel_button_) 364 void DialogClientView::ChildPreferredSizeChanged(View* child) { 365 if (child == footnote_view_ || child == extra_view_) 369 void DialogClientView::ChildVisibilityChanged(View* child) { 370 ChildPreferredSizeChanged(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/core/java/com/android/internal/widget/ |
SizeAdaptiveLayout.java | 43 * Each child specifies its minimum and maximum valid height. Results are undefined 44 * if children specify overlapping ranges. A child may specify the maximum height 166 if (DEBUG) Log.d(TAG, "measured child at: " + childHeight); 175 private int clampSizeToBounds(int measuredHeight, View child) { 177 (SizeAdaptiveLayout.LayoutParams) child.getLayoutParams(); 185 Log.d(TAG, this + "child view " + child + " " + 204 View child = getChildAt(i); local 205 if (child != mModestyPanel) { 207 (SizeAdaptiveLayout.LayoutParams) child.getLayoutParams() [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; 418 public void onViewReleased(View child, float velocityX, float velocityY) { 419 final int childTop = child.getTop(); 430 mDragger.smoothSlideViewTo(child, child.getLeft(), closedOptionsY); 432 mDragger.smoothSlideViewTo(child, child.getLeft(), openedOptionsY); 442 public int getViewVerticalDragRange(View child) { 446 public int clampViewPositionVertical(View child, int top, int dy) [all...] |
/packages/apps/Dialer/src/com/android/dialer/list/ |
SpeedDialFragment.java | 313 Log.d(TAG, "Child count : " + mListView.getChildCount()); 316 final View child = mListView.getChildAt(i); local 320 Log.d(TAG, "Saving itemId: " + itemId + " for listview child " + i + " Top: " 321 + child.getTop()); 323 mItemIdTopMap.put(itemId, child.getTop()); 324 mItemIdLeftMap.put(itemId, child.getLeft()); 351 final View child = mListView.getChildAt(i); 358 child, "alpha", 0.0f, 1.0f)); 363 final int top = child.getTop(); 364 final int left = child.getLeft() [all...] |
/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...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderLayer.cpp | 174 // Child layers will be deleted by their corresponding render objects, so 305 for (RenderLayer* child = firstChild(); child; child = child->nextSibling()) 306 child->updateLayerPositionRecursive(flags); 387 // This layer does not scroll with respect to the other layer if the other one does not scroll and this one is a child. 454 for (RenderLayer* child = firstChild(); child; child = child->nextSibling() [all...] |
/external/chromium_org/ash/wm/dock/ |
docked_window_layout_manager.cc | 218 // Returns true if a window is a popup or a transient child. 439 aura::Window* child = dock_container_->children()[i]; local 440 child->RemoveObserver(this); 441 wm::GetWindowState(child)->RemoveObserver(this); 462 // Start observing a window unless it is docked container's child in which 519 // Stop observing a window unless it is docked container's child in which 530 // A window is no longer dragged and is a child. 531 // When a window becomes a child at drag start this is 577 // Find a child that is not being dragged and is not a popup. 655 void DockedWindowLayoutManager::OnWindowAddedToLayout(aura::Window* child) { [all...] |
/external/chromium_org/ash/wm/ |
window_modality_controller_unittest.cc | 233 // Creates windows w1 and non activatiable child w11. Creates transient window 234 // w2 and adds it as a transeint child of w1. Ensures that w2 is parented to 379 // Child-modal test. 385 // - A |child| window with parent window |parent|, but is modal to 388 // - Clicking on the |modal_parent| should activate the |child| window. 391 // - Clicking on the |child| while |parent| is active should activate the 392 // |child| window. 410 aura::Window* child = delegate->GetChild(); local 411 EXPECT_NE(static_cast<aura::Window*>(NULL), child); local 413 EXPECT_TRUE(wm::IsActiveWindow(child)); 470 aura::Window* child = delegate->GetChild(); local 471 EXPECT_NE(static_cast<aura::Window*>(NULL), child); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
AXNodeObject.cpp | 432 // Selects and listboxes both have options as child roles, but they map to different roles within WebCore. 1102 for (AXObject* child = firstChild(); child; child = child->nextSibling()) { 1103 if (!shouldUseAccessiblityObjectInnerText(child)) 1106 if (child->isAXNodeObject()) { 1108 toAXNodeObject(child)->alternativeText(textOrder); 1115 builder.append(child->textUnderElement()); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/ |
BreakingContextInlineHeaders.h | 199 inline void setStaticPositions(RenderBlockFlow* block, RenderBox* child) 203 RenderObject* containerBlock = child->container(); 212 block->updateStaticInlinePositionForChild(child, blockHeight); 213 child->layer()->setStaticBlockPosition(blockHeight); 292 inline LayoutUnit borderPaddingMarginStart(RenderInline* child) 294 return child->marginStart() + child->paddingStart() + child->borderStart(); 297 inline LayoutUnit borderPaddingMarginEnd(RenderInline* child) 299 return child->marginEnd() + child->paddingEnd() + child->borderEnd() [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
CellLayout.java | 464 View child = getChildAt(fra.mCellX, fra.mCellY); local 466 if (child != null) { 469 child.getPaddingTop() + grid.folderBackgroundOffset; 501 View child = getChildAt(mFolderLeaveBehindCell[0], mFolderLeaveBehindCell[1]); local 502 if (child != null) { 505 child.getPaddingTop() + grid.folderBackgroundOffset; 572 final View child = getChildAt(i); local 573 child.cancelLongPress(); 594 public boolean addViewToCellLayout(View child, int index, int childId, LayoutParams params, 599 if (child instanceof BubbleTextView) 884 View child = getChildAt(i); local 908 View child = getChildAt(i); local 2075 View child = mShortcutsAndWidgets.getChildAt(i); local 2096 View child = mShortcutsAndWidgets.getChildAt(i); local 2124 View child = mShortcutsAndWidgets.getChildAt(i); local 2145 View child = mShortcutsAndWidgets.getChildAt(i); local 2163 View child; field in class:CellLayout.ReorderPreviewAnimation 2301 View child = mShortcutsAndWidgets.getChildAt(i); local 2408 View child = mShortcutsAndWidgets.getChildAt(i); local 2434 View child = mShortcutsAndWidgets.getChildAt(i); local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_signal.py | 67 def wait(self, child): 68 """Wait for child to finish, ignoring EINTR.""" 71 child.wait() 94 child = ignoring_eintr(subprocess.Popen, ['kill', '-HUP', str(pid)]) 95 if child: 96 self.wait(child) 106 del child 108 child = subprocess.Popen(['kill', '-USR1', str(pid)]) 110 self.wait(child) 119 child = ignoring_eintr(subprocess.Popen, ['kill', '-USR2', str(pid)] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_signal.py | 67 def wait(self, child): 68 """Wait for child to finish, ignoring EINTR.""" 71 child.wait() 94 child = ignoring_eintr(subprocess.Popen, ['kill', '-HUP', str(pid)]) 95 if child: 96 self.wait(child) 106 del child 108 child = subprocess.Popen(['kill', '-USR1', str(pid)]) 110 self.wait(child) 119 child = ignoring_eintr(subprocess.Popen, ['kill', '-USR2', str(pid)] [all...] |
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
ListViewItemAnimations.java | 268 View child = listview.getChildAt(i); local 271 if (child != viewToRemove) { 272 mItemIdTopMap.put(itemId, child.getTop()); 288 final View child = listview.getChildAt(i); 292 int top = child.getTop(); 297 int childHeight = child.getHeight() + listview.getDividerHeight(); 313 moveView(child, 0, 0, delta, 0, endAction);
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
BaseTreeAdaptor.cs | 127 // ensure new subtree root has parent/child index set 133 object child = GetChild( t, i ); 134 object newSubTree = DupTree( child, t ); 141 * Add a child to the tree t. If child is a flat tree (a list), make all 142 * in list children of t. Warning: if t has no children, but child does 143 * and child isNil then you can decide it is ok to move children to t via 144 * t.children = child.children; i.e., without copying the array. Just 149 public virtual void AddChild( object t, object child ) 151 if ( t != null && child != null [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
Strip.java | 155 CommonTree child = (CommonTree)a.getChild(0); 157 tokens.delete(child.token.getTokenIndex()); 165 CommonTree child = (CommonTree)a.getChild(0); 167 tokens.delete(child.token.getTokenIndex()); 177 CommonTree child = (CommonTree)a.getChild(0); 178 int stop = child.getTokenStopIndex(); 179 if ( child.getType()==ANTLRv3Parser.SEMPRED ) {
|