Searched defs:child (Results 1 - 25 of 42) sorted by relevance

12

/packages/apps/Camera/src/com/android/camera/
H A DPreferenceGroup.java36 public void addChild(CameraPreference child) { argument
37 list.add(child);
/packages/apps/LegacyCamera/src/com/android/camera/
H A DPreferenceGroup.java36 public void addChild(CameraPreference child) { argument
37 list.add(child);
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DEntityDiff.java59 for (NamedContentValues child : after.getSubValues()) {
61 builder = ContentProviderOperation.newInsert(child.uri);
62 builder.withValues(child.values);
71 for (NamedContentValues child : before.getSubValues()) {
72 builder = ContentProviderOperation.newDelete(child.uri);
73 builder.withSelection(getSelectIdClause(child.values), null);
102 // After child doesn't exist, so delete "before" child
107 // After child still exists, and is different, so update
115 // Remove the now-handled "after" child
130 buildChildKey(NamedContentValues child) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DFrameLayoutWithOverlay.java43 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
44 super.addView(child, index, params);
51 * necessary to set this if some child views need to appear above the
/packages/apps/Launcher2/src/com/android/launcher2/
H A DHideFromAccessibilityHelper.java50 View child = vg.getChildAt(i);
52 if (includeView(child)) {
53 setImportantForAccessibilityToNoHelper(child);
82 View child = vg.getChildAt(i);
83 if (includeView(child)) {
84 restoreImportantForAccessibilityHelper(child);
90 public void onChildViewAdded(View parent, View child) { argument
91 if (mHide && includeView(child)) {
92 setImportantForAccessibilityToNoHelper(child);
96 public void onChildViewRemoved(View parent, View child) { argument
[all...]
H A DPagedViewCellLayoutChildren.java50 final View child = getChildAt(i);
51 child.cancelLongPress();
68 public void requestChildFocus(View child, View focused) { argument
69 super.requestChildFocus(child, focused);
70 if (child != null) {
72 child.getDrawingRect(r);
91 View child = getChildAt(i);
93 (PagedViewCellLayout.LayoutParams) child.getLayoutParams();
103 child.measure(childWidthMeasureSpec, childheightMeasureSpec);
119 View child
[all...]
H A DShortcutAndWidgetContainer.java63 View child = getChildAt(i);
64 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
68 return child;
83 final View child = getChildAt(i);
84 final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
96 View child = getChildAt(i);
97 measureChild(child);
114 public void measureChild(View child) { argument
117 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
123 child
166 requestChildFocus(View child, View focused) argument
[all...]
H A DPagedViewCellLayout.java96 final View child = getChildAt(i);
97 child.cancelLongPress();
101 public boolean addViewToCellLayout(View child, int index, int childId, argument
114 child.setId(childId);
115 mChildren.addView(child, index, lp);
211 View child = getChildAt(i);
218 child.measure(childWidthMeasureSpec, childheightMeasureSpec);
246 View child = getChildAt(i);
247 child.layout(getPaddingLeft(), getPaddingTop(),
258 View child
308 onDragChild(View child) argument
[all...]
/packages/apps/Messaging/src/com/android/messaging/util/
H A DFileUtil.java120 * Checks, whether the child directory is the same as, or a sub-directory of the base
123 private static boolean isSameOrSubDirectory(File base, File child) { argument
126 child = child.getCanonicalFile();
127 File parentFile = child;
/packages/apps/Launcher3/src/com/android/launcher3/
H A DBorderCropDrawable.java30 BorderCropDrawable(Drawable child, boolean cropLeft, argument
32 mChild = child;
H A DInsettableFrameLayout.java21 public void setFrameLayoutChildInsets(View child, Rect newInsets, Rect oldInsets) { argument
22 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
24 if (child instanceof Insettable) {
25 ((Insettable) child).setInsets(newInsets);
32 child.setLayoutParams(lp);
39 final View child = getChildAt(i);
40 setFrameLayoutChildInsets(child, insets, mInsets);
88 public void onChildViewAdded(View parent, View child) { argument
89 setFrameLayoutChildInsets(child, mInsets, new Rect());
93 public void onChildViewRemoved(View parent, View child) { argument
[all...]
H A DFocusIndicatorView.java166 private static void computeLocationRelativeToParentHelper(View child, argument
168 View parent = (View) child.getParent();
169 shift[0] += child.getLeft();
170 shift[1] += child.getTop();
173 shift[0] -= page.getScrollForPage(page.indexOfChild(child));
H A DShortcutAndWidgetContainer.java71 View child = getChildAt(i);
72 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
76 return child;
91 final View child = getChildAt(i);
92 final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
109 View child = getChildAt(i);
110 if (child.getVisibility() != GONE) {
111 measureChild(child);
142 public void measureChild(View child) { argument
146 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child
207 requestChildFocus(View child, View focused) argument
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DSimpleScrollAdapterTransform.java48 public void transform(View child, int distanceFromCenter, int distanceFromCenter2ndAxis) { argument
54 applyTransformationRecursive(absDistance, mLowItemTransform, child);
56 applyTransformationRecursive(absDistance, mHighItemTransform, child);
61 int distanceFromCenter, Animator animator, View child) {
65 applyTransformationRecursive(distanceFromCenter, children.get(i), child);
69 valueAnim.setTarget(child);
60 applyTransformationRecursive( int distanceFromCenter, Animator animator, View child) argument
/packages/apps/Browser/src/com/android/browser/
H A DBookmarkItem.java157 protected void measureChild(View child, int parentWidthMeasureSpec, argument
160 super.measureChild(child, parentWidthMeasureSpec, parentHeightMeasureSpec);
164 final ViewGroup.LayoutParams lp = child.getLayoutParams();
171 child.measure(childWidthMeasureSpec, childHeightMeasureSpec);
175 protected void measureChildWithMargins(View child, argument
179 super.measureChildWithMargins(child, parentWidthMeasureSpec,
184 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams();
193 child.measure(childWidthMeasureSpec, childHeightMeasureSpec);
H A DTabScrollView.java144 private void ensureChildVisible(View child) { argument
145 if (child != null) {
146 int childl = child.getLeft();
147 int childr = childl + child.getWidth();
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/
H A DContentTypeField.java100 * Gets the MIME type defined in the child's
102 * if child is <code>null</code> or hasn't got a MIME type value set.
103 * If child's MIME type is multipart but no boundary
104 * has been set the MIME type of child will be derived from
107 * @param child the child.
111 public static String getMimeType(ContentTypeField child, argument
114 if (child == null || child.getMimeType().length() == 0
115 || child
[all...]
/packages/services/Telephony/src/org/apache/james/mime4j/field/
H A DContentTypeField.java100 * Gets the MIME type defined in the child's
102 * if child is <code>null</code> or hasn't got a MIME type value set.
103 * If child's MIME type is multipart but no boundary
104 * has been set the MIME type of child will be derived from
107 * @param child the child.
111 public static String getMimeType(ContentTypeField child, argument
114 if (child == null || child.getMimeType().length() == 0
115 || child
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
H A DReorderHelper.java31 // and this child supports reordering, the dragged view will be reordered to be next
32 // to this child.
35 // The current child that is being dragged for reordering.
59 * Handle dropping the dragged child.
67 Log.w(TAG, "Current dragged over child does not exist");
71 // reordering areas. Don't update dragged over child if its the same as
72 // it was before or is the same as the child's original item.
88 // Even if the dragged child is not dropped in a reorder area, we
108 * Handles determining which child views should be moved out of the way to
110 * new child vie
230 updateDraggedOverChild(View child) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DMessageScrollView.java34 * A container that tries to play nice with an internally scrollable {@link Touchable} child view.
35 * The assumption is that the child view can scroll horizontally, but not vertically, so any
36 * touch events on that child view should ALSO be sent here so it can simultaneously vertically
39 * Touch events on any other child of this ScrollView are intercepted in the standard fashion.
60 * want to intercept a touch stream from any child OTHER than {@link #mTouchableChild}.
64 * The special child that we want to NOT intercept from in the normal way. Instead, this child
121 public void setInnerScrollableView(Touchable child) { argument
122 mTouchableChild = child;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DFolderSelectorAdapter.java164 void addChild(final TreeNode child) { argument
165 mChildren.add(child);
195 * It should be noted that it is only valid to add a child node after the mWrappedObject
268 // ... then add the child node and loop around to deal with it...
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
H A DAllAppsGridAdapter.java170 View child = parent.getChildAt(i);
171 ViewHolder holder = (ViewHolder) parent.getChildViewHolder(child);
172 if (!isValidHolderAndChild(holder, child, items)) {
178 int top = child.getTop() + child.getHeight() + mPredictionBarDividerOffset;
186 int viewTopOffset = (2 * child.getPaddingTop());
213 int y = child.getTop() + sectionBaseline;
275 private boolean isValidHolderAndChild(ViewHolder holder, View child, argument
279 child.getLayoutParams();
296 * Returns whether to draw the divider for a given child
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
H A DPicker.java484 public void requestChildFocus(View child, View focused) { argument
485 super.requestChildFocus(child, focused);
/packages/apps/Browser/src/com/android/browser/view/
H A DScrollerView.java50 * 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) { argument
255 throw new IllegalStateException("ScrollView can host only one direct child");
258 super.addView(child);
262 addView(View child, int index) argument
271 addView(View child, ViewGroup.LayoutParams params) argument
280 addView(View child, int index, ViewGroup.LayoutParams params) argument
1385 measureChild(View child, int parentWidthMeasureSpec, int parentHeightMeasureSpec) argument
1407 measureChildWithMargins(View child, int parentWidthMeasureSpec, int widthUsed, int parentHeightMeasureSpec, int heightUsed) argument
1480 scrollToChild(View child) argument
1651 requestChildFocus(View child, View focused) argument
1706 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument
1771 isViewDescendantOf(View child, View parent) argument
1839 clamp(int n, int my, int child) argument
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DCustomContactListFilterActivity.java494 final GroupDelta child = oppositeChildren.next();
495 setShouldSync(child, shouldSync, false);
500 public void setShouldSync(GroupDelta child, boolean shouldSync) { argument
501 setShouldSync(child, shouldSync, true);
508 public void setShouldSync(GroupDelta child, boolean shouldSync, boolean attemptRemove) { argument
509 child.putShouldSync(shouldSync);
512 mUnsyncedGroups.remove(child);
514 mSyncedGroups.add(child);
518 mSyncedGroups.remove(child);
520 mUnsyncedGroups.add(child);
767 showRemoveSync(ContextMenu menu, final AccountDisplay account, final GroupDelta child, final int syncMode) argument
781 handleRemoveSync(final AccountDisplay account, final GroupDelta child, final int syncMode, CharSequence title) argument
[all...]

Completed in 877 milliseconds

12