/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
Octnode.java | 209 fastNode.child = prev != null ? prev.fastNode : null; 307 Octnode child = children[i]; local 308 if (child == null) 311 if (child.bbox.intersects(r)){ 312 child.intersectWhere(r, geoms, sceneMin, sceneMax, results);
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPNodeUtils.java | 135 * Find or create a child node under a given parent node. If the parent node is no 136 * Returns the found or created child node. 447 * Find the appropriate child node, resolving aliases, and optionally creating nodes. 713 XMPNode child = arrayNode.getChild(i); local 714 if (child.hasQualifier() && X_DEFAULT.equals(child.getQualifier(1).getValue())) 720 arrayNode.addChild(1, child); 724 // cannot occur, because same child is removed before 730 arrayNode.getChild(2).setValue(child.getValue()); 752 XMPNode child = (XMPNode) it.next() local 911 XMPNode child = arrayNode.getChild(index); local [all...] |
/frameworks/base/core/java/android/widget/ |
TableRow.java | 32 * always be used as a child of a {@link android.widget.TableLayout}. If a 101 View child = getVirtualChildAt(columnIndex); local 102 if (child != null) { 103 child.setVisibility(collapsed ? GONE : VISIBLE); 162 final View child = getChildAt(i); local 163 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); 190 void measureChildBeforeLayout(View child, int childIndex, 194 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 222 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); 225 final int childWidth = child.getMeasuredWidth() 296 final View child = getVirtualChildAt(i); local [all...] |
ListView.java | 215 View child; local 220 child = getChildAt(0); 221 delta = child.getTop() - mListPadding.top; 233 child = getChildAt(childCount - 1); 234 delta = child.getBottom() - (getHeight() - mListPadding.bottom); 542 final View child = infos.get(i).view; local 543 final LayoutParams p = (LayoutParams) child.getLayoutParams(); 575 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) { 580 rect.offset(child.getLeft(), child.getTop()) 702 View child = makeAndAddView(pos, nextTop, true, mListPadding.left, selected); local 736 View child = makeAndAddView(pos, nextBottom, false, mListPadding.left, selected); local 1158 final View child = obtainView(0, mIsScrap); local 1271 View child; local 1736 final View child = getChildAt(mMotionPosition - mFirstPosition); local 1744 final View child = getChildAt(mSelectorPosition - mFirstPosition); local 1859 View child; local [all...] |
Gallery.java | 80 * How long the transition animation should run when a child view changes 91 * Left most edge of a child seen so far during layout. 96 * Right most edge of a child seen so far during layout. 143 * The currently selected item's child. 179 * If true, mFirstPosition is the position of the rightmost child, and 185 * Offset between the center of the selected child view and the center of the Gallery. 266 * Sets how long the transition animation should run when a child view 301 protected boolean getChildStaticTransformation(View child, Transformation t) { 304 t.setAlpha(child == mSelectedChild ? 1.0f : mUnselectedAlpha); 365 int getChildHeight(View child) { 494 final View child = getChildAt(n); local 510 final View child = getChildAt(n); local 589 View child = getChildAt(i); local 848 View child; local 1271 View child = getChildAt(childPosition); local 1294 View child = mSelectedChild = getChildAt(mSelectedPosition - mFirstPosition); local [all...] |
ActionMenuView.java | 163 final View child = getChildAt(i); local 164 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 209 final View child = getChildAt(i); local 210 if (child.getVisibility() == GONE) continue; 212 final boolean isGeneratedItem = child instanceof ActionMenuItemView; 218 child.setPadding(mGeneratedItemPadding, 0, mGeneratedItemPadding, 0); 221 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 228 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText(); 233 final int cellsUsed = measureChildForCells(child, cellSize, cellsAvailable, 241 maxChildHeight = Math.max(maxChildHeight, child.getMeasuredHeight()) 258 final View child = getChildAt(i); local 284 final View child = getChildAt(i); local 330 final View child = getChildAt(i); local 366 final View child = getChildAt(i); local 721 final View child = getChildAt(childIndex); local [all...] |
ActivityChooserView.java | 463 View child = mActivityChooserContent; local 471 measureChild(child, widthMeasureSpec, heightMeasureSpec); 472 setMeasuredDimension(child.getMeasuredWidth(), child.getMeasuredHeight());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
StatusBarWindowView.java | 105 View child = getChildAt(i); local 106 if (child.getLayoutParams() instanceof LayoutParams) { 107 LayoutParams lp = (LayoutParams) child.getLayoutParams(); 110 child.requestLayout();
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
MOTree.java | 34 XMLNode child = children.next(); local 35 if (child.getTag().equals(OMAConstants.SyncMLVersionTag)) { 36 dtdRev = child.getText(); 47 for (XMLNode child : node.getChildren()) { 48 buildNode(mRoot, child); 99 for (XMLNode child : node.getChildren()) { 100 XMLNode old = checkMap.put(child.getTag(), child); 102 if (child.getTag().equals(NodeNameTag)) { 105 curValue = new NodeData(child.getText()) 164 XMLNode child = node.getChildren().iterator().next(); local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapSettingsAdapter.java | 124 final BluetoothMapAccountItem child = getChild(groupPosition, childPosition); local 131 boolean oldIsChecked = child.mIsChecked; // needed to prevent updates on UI redraw 132 child.mIsChecked = isChecked; 135 int childIndex = childList.indexOf(child); 145 child.getName(), parentGroup.getName()); 155 child.mIsChecked = false; 160 child.getName())==true)){ 161 BluetoothMapSettingsDataHolder.mCheckedChilds.put(child.getName(), 172 BluetoothMapSettingsDataHolder.mCheckedChilds.remove(child.getName()); 175 BluetoothMapSettingsDataHolder.mCheckedChilds.remove(child.getName()) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
CategoryAdapter.java | 133 View child = null; local 136 child = lv.getChildAt(position - lv.getFirstVisiblePosition()); 139 child = ct.getChildAt(position); 141 if (child != null) { 142 child.invalidate();
|
/packages/apps/Settings/src/com/android/settings/ |
MasterClear.java | 263 TextView child = (TextView)inflater.inflate(R.layout.master_clear_account, local 265 child.setText(account.name); 266 child.setCompoundDrawablesWithIntrinsicBounds(icon, null, null, null); 267 contents.addView(child);
|
/prebuilts/sdk/current/support/design/libs/ |
android-support-design.jar | |
/packages/apps/Gallery2/src/com/android/photos/views/ |
GalleryThumbnailView.java | 197 // View child = getChildAt(i); 199 // if (child.isLayoutRequested()) { 200 // final int widthSpec = MeasureSpec.makeMeasureSpec(child.getMeasuredWidth(), MeasureSpec.EXACTLY); 201 // final int heightSpec = MeasureSpec.makeMeasureSpec(child.getMeasuredHeight(), MeasureSpec.EXACTLY); 202 // child.measure(widthSpec, heightSpec); 203 // child.layout(child.getLeft(), child.getTop(), child.getRight(), child.getBottom()) 258 View child = obtainView(position, null); local 442 final View child = getChildAt(i); local 459 final View child = getChildAt(0); local 480 final View child = getChildAt(i); local [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/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ActivityChooserView.java | 440 View child = mActivityChooserContent; local 448 measureChild(child, widthMeasureSpec, heightMeasureSpec); 449 setMeasuredDimension(child.getMeasuredWidth(), child.getMeasuredHeight());
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ActionMenuView.java | 167 final View child = getChildAt(i); local 168 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 213 final View child = getChildAt(i); local 214 if (child.getVisibility() == GONE) continue; 216 final boolean isGeneratedItem = child instanceof ActionMenuItemView; 222 child.setPadding(mGeneratedItemPadding, 0, mGeneratedItemPadding, 0); 225 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 232 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText(); 237 final int cellsUsed = measureChildForCells(child, cellSize, cellsAvailable, 245 maxChildHeight = Math.max(maxChildHeight, child.getMeasuredHeight()) 262 final View child = getChildAt(i); local 288 final View child = getChildAt(i); local 334 final View child = getChildAt(i); local 370 final View child = getChildAt(i); local 723 final View child = getChildAt(childIndex); local [all...] |
/libcore/luni/src/main/java/java/util/prefs/ |
AbstractPreferences.java | 107 /** cached child nodes */ 166 * Returns an array of all cached child nodes. 168 * @return the array of cached child nodes. 175 * Returns the child node with the specified name or {@code null} if it 182 * the name of the desired child node. 183 * @return the child node with the given name or {@code null} if it doesn't 232 * Returns the names of all of the child nodes of this node or an empty 244 * Returns the child preference node with the given name, creating it 256 * the name of the child preference to be returned. 257 * @return the child preference node 713 AbstractPreferences child = childSpi(childrenName); local [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewCellLayout.java | 96 final View child = getChildAt(i); local 97 child.cancelLongPress(); 101 public boolean addViewToCellLayout(View child, int index, int childId, 114 child.setId(childId); 115 mChildren.addView(child, index, lp); 211 View child = getChildAt(i); local 218 child.measure(childWidthMeasureSpec, childheightMeasureSpec); 246 View child = getChildAt(i); local 247 child.layout(getPaddingLeft(), getPaddingTop(), 258 View child = getChildOnPageAt(count - 1) local [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
GrantPermissionsDefaultViewHandler.java | 281 View child = mDialogContainer.getChildAt(i); local 282 if (child.getId() <= 0) { 286 locMap.put(child.getId(), child.getY()); 299 final View child = mDialogContainer.findViewById(key); local 300 child.setTranslationY(start - end); 301 child.animate()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
MatchParentShrinkingLinearLayout.java | 91 * use the child at this index as the baseline. 100 * The additional offset to the child's baseline. 333 final View child = getVirtualChildAt(i); local 335 if (child != null && child.getVisibility() != GONE) { 337 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 338 final int top = child.getTop() - lp.topMargin - mDividerHeight; 345 final View child = getVirtualChildAt(count - 1); local 347 if (child == null) { 350 final LayoutParams lp = (LayoutParams) child.getLayoutParams() 361 final View child = getVirtualChildAt(i); local 378 final View child = getVirtualChildAt(count - 1); local 476 final View child = getChildAt(mBaselineAlignedChildIndex); local 665 final View child = getVirtualChildAt(i); local 784 final View child = getVirtualChildAt(i); local 827 final View child = getVirtualChildAt(i); local 920 final View child = getVirtualChildAt(i); local 962 final View child = getVirtualChildAt(i); local 1005 final View child = getVirtualChildAt(i); local 1146 final View child = getVirtualChildAt(i); local 1267 final View child = getVirtualChildAt(childIndex); local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
AbstractPreferencesTest.java | 149 p = (MockAbstractPreferences) pref.node("child"); 411 assertNotSame(pref.node("child"), pref.node("Child")); 412 assertNotSame(pref.node("child"), pref.node("Child")); 413 assertNotSame(pref.node("child"), pref.node(" child")); 419 || "child".equals(name) || "Child".equals(name) 420 || " child".equals(name)) 477 MockAbstractPreferences child = (MockAbstractPreferences) ((MockAbstractPreferences) pref) local 735 Preferences child = pref.node("child"); local 809 MockAbstractPreferences child = (MockAbstractPreferences) p local 848 MockAbstractPreferences child = (MockAbstractPreferences) p local 891 MockAbstractPreferences child = new MockAbstractPreferences(p, "child"); local 930 Preferences child = pref.node("child<"); local 962 Preferences child = pref.node("child"); local 986 MockAbstractPreferences child = (MockAbstractPreferences) p local [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
HorizontalScrollViewTest.java | 96 fail("did not throw IllegalStateException when add more than one child"); 113 fail("did not throw IllegalStateException when add more than one child"); 128 fail("did not throw IllegalStateException when add more than one child"); 156 fail("did not throw IllegalStateException when add more than one child"); 185 fail("did not throw IllegalStateException when add more than one child"); 212 fail("did not throw IllegalStateException when add more than one child"); 295 MyView child = new MyView(mActivity); local 296 child.setBackgroundDrawable(null); 297 child.setPadding(0, 0, 0, 0); 298 child.setMinimumWidth(30) 316 MyView child = new MyView(mActivity); local [all...] |
/cts/tests/tests/widget/src/android/widget/cts/util/ |
ListScenario.java | 566 * Have a child of the list view call {@link View#requestRectangleOnScreen(android.graphics.Rect)}. 569 * @param rect The rectangle, in the child's coordinates. 572 final View child = getListView().getChildAt(childIndex); local 574 child.post(new Runnable() { 576 child.requestRectangleOnScreen(rect);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarAST.java | 77 * purposes (Nullable tree child list needs special code gen when matching). 290 Tree child = getChild(0); local 291 if ( child!=null ) { 292 line = child.getLine(); 305 Tree child = getChild(0); local 306 if ( child!=null ) { 307 col = child.getCharPositionInLine(); 368 Tree child = root.getChild(i); local 369 for (Tree subchild : descendants(child, true)) 377 Tree child = root.getChild(i) local 412 GrammarAST child = (GrammarAST)getChild(i); local 491 GrammarAST child = (GrammarAST)t.getChild(i); local 521 GrammarAST child = (GrammarAST)t.getChild(i); local [all...] |