/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | ViewSelectedFilter.java | 47 ViewGroup host, View child,AccessibilityEvent event) { 48 if (child == mView && event.getEventType() == AccessibilityEvent.TYPE_VIEW_SELECTED) { 51 return super.onRequestSendAccessibilityEvent(host, child, event); 46 onRequestSendAccessibilityEvent( ViewGroup host, View child,AccessibilityEvent event) argument
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/toast/ |
H A D | LinearLayoutWithSnackbarBehavior.java | 35 public boolean layoutDependsOn(CoordinatorLayout parent, LinearLayout child, View dependency) { argument 40 public boolean onDependentViewChanged(CoordinatorLayout parent, LinearLayout child, argument 44 child.setTranslationY(translationY);
|
/packages/apps/Dialer/src/com/android/dialer/ |
H A D | FloatingActionButtonBehavior.java | 36 public boolean layoutDependsOn(CoordinatorLayout parent, FrameLayout child, View dependency) { argument 41 public boolean onDependentViewChanged(CoordinatorLayout parent, FrameLayout child, argument 44 child.setTranslationY(translationY);
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
H A D | ContentChangedFilter.java | 31 public boolean onRequestSendAccessibilityEvent (ViewGroup host, View child, AccessibilityEvent event){ argument 32 if(child == mView){ 37 return super.onRequestSendAccessibilityEvent(host,child,event);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | PreferenceGroup.java | 36 public void addChild(CameraPreference child) { argument 37 list.add(child);
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
H A D | DashboardDecorator.java | 44 final View child = parent.getChildAt(i); 45 final ViewHolder holder = parent.getChildViewHolder(child); 55 int top = getChildTop(child); 56 mDivider.setBounds(child.getLeft(), top, child.getRight(), 62 private int getChildTop(View child) { argument 63 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) child 65 return child.getTop() + params.topMargin + Math.round(ViewCompat.getTranslationY(child));
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
H A D | EntityDiff.java | 59 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 D | FrameLayoutWithOverlay.java | 43 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 D | HideFromAccessibilityHelper.java | 50 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 D | PagedViewCellLayoutChildren.java | 50 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 D | ShortcutAndWidgetContainer.java | 63 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...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | BorderCropDrawable.java | 30 BorderCropDrawable(Drawable child, boolean cropLeft, argument 32 mChild = child;
|
H A D | InsettableFrameLayout.java | 21 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 D | FocusIndicatorView.java | 185 private static void computeLocationRelativeToParentHelper(View child, argument 187 View parent = (View) child.getParent(); 188 shift[0] += child.getLeft(); 189 shift[1] += child.getTop(); 192 shift[0] -= page.getScrollForPage(page.indexOfChild(child));
|
H A D | LauncherAppWidgetHostView.java | 252 public void requestChildFocus(View child, View focused) { argument 253 super.requestChildFocus(child, focused); 261 public void clearChildFocus(View child) { argument 262 super.clearChildFocus(child);
|
H A D | ShortcutAndWidgetContainer.java | 70 View child = getChildAt(i); 71 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 75 return child; 90 final View child = getChildAt(i); 91 final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 108 View child = getChildAt(i); 109 if (child.getVisibility() != GONE) { 110 measureChild(child); 141 public void measureChild(View child) { argument 145 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child 205 requestChildFocus(View child, View focused) argument [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | FileUtil.java | 139 * Checks, whether the child directory is the same as, or a sub-directory of the base 142 private static boolean isSameOrSubDirectory(File base, File child) { argument 145 child = child.getCanonicalFile(); 146 File parentFile = child;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
H A D | SimpleScrollAdapterTransform.java | 48 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/UnifiedEmail/src/org/apache/james/mime4j/field/ |
H A D | ContentTypeField.java | 100 * 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/Car/car-support-lib/src/android/support/car/ui/ |
H A D | CarRecyclerView.java | 111 public boolean drawChild(@NonNull Canvas canvas, @NonNull View child, long drawingTime) { argument 114 if ((child.getTop() < getBottom() && child.getBottom() > getBottom())) { 115 onScreen = ((float) (getBottom() - child.getTop())) / (float) child.getHeight(); 116 } else if ((child.getTop() < getTop() && child.getBottom() > getTop())) { 117 onScreen = ((float) (child.getBottom() - getTop())) / (float) child.getHeight(); 120 fadeChild(child, alph 185 fadeChild(@onNull View child, float alpha) argument [all...] |
/packages/services/Telephony/src/org/apache/james/mime4j/field/ |
H A D | ContentTypeField.java | 100 * 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/TV/src/com/android/tv/guide/ |
H A D | ProgramGrid.java | 151 public void requestChildFocus(View child, View focused) { argument 153 mChildFocusListener.onRequestChildFocus(getFocusedChild(), child); 155 super.requestChildFocus(child, focused); 201 Log.w(TAG, "No child view has focus");
|
H A D | ProgramRow.java | 96 ProgramItemView child = (ProgramItemView) getChildAt(i); 97 if (getLeft() <= child.getRight() && child.getLeft() <= getRight()) { 98 child.layoutVisibleArea(getLayoutDirection() == LAYOUT_DIRECTION_LTR 99 ? getLeft() - child.getLeft() : child.getRight() - getRight()); 223 public void onChildDetachedFromWindow(View child) { argument 224 if (child.hasFocus()) { 226 TableEntry entry = ((ProgramItemView) child).getTableEntry(); 236 super.onChildDetachedFromWindow(child); 240 onChildAttachedToWindow(View child) argument [all...] |
/packages/apps/TV/src/com/android/tv/menu/ |
H A D | ItemListRowView.java | 101 public void onChildSelected(ViewGroup parent, View child, int position, long id) { argument 102 if (DEBUG) Log.d(TAG, "onChildSelected: child=" + child); 103 if (mSelectedCard == child) { 109 mSelectedCard = (CardView<?>) child;
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | MessageScrollView.java | 34 * 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;
|