Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 431) sorted by relevance

12345678910>>...18

/packages/apps/Launcher2/src/com/android/launcher2/
DFocusHelper.java136 final PagedViewGridLayout parent = (PagedViewGridLayout) w.getParent(); in handlePagedViewGridLayoutWidgetKeyEvent() local
137 final PagedView container = (PagedView) parent.getParent(); in handlePagedViewGridLayoutWidgetKeyEvent()
140 final int widgetIndex = parent.indexOfChild(w); in handlePagedViewGridLayoutWidgetKeyEvent()
141 final int widgetCount = parent.getChildCount(); in handlePagedViewGridLayoutWidgetKeyEvent()
142 final int pageIndex = ((PagedView) container).indexToPage(container.indexOfChild(parent)); in handlePagedViewGridLayoutWidgetKeyEvent()
144 final int cellCountX = parent.getCellCountX(); in handlePagedViewGridLayoutWidgetKeyEvent()
145 final int cellCountY = parent.getCellCountY(); in handlePagedViewGridLayoutWidgetKeyEvent()
161 parent.getChildAt(widgetIndex - 1).requestFocus(); in handlePagedViewGridLayoutWidgetKeyEvent()
178 parent.getChildAt(widgetIndex + 1).requestFocus(); in handlePagedViewGridLayoutWidgetKeyEvent()
196 child = parent.getChildAt(newWidgetIndex); in handlePagedViewGridLayoutWidgetKeyEvent()
[all …]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DDefaultSoftKeyboardJAJP.java328 @Override protected void createKeyboards(OpenWnn parent) { in createKeyboards() argument
336 createKeyboardsPortrait(parent); in createKeyboards()
338 createKeyboardsLandscape(parent); in createKeyboards()
446 @Override public View initView(OpenWnn parent, int width, int height) { in initView() argument
448 View view = super.initView(parent, width, height); in initView()
791 @Override public void onUpdateState(OpenWnn parent) { in onUpdateState() argument
792 super.onUpdateState(parent); in onUpdateState()
859 private void createKeyboardsPortrait(OpenWnn parent) { in createKeyboardsPortrait() argument
864 keyList[KEYMODE_JA_FULL_HIRAGANA][0] = new Keyboard(parent, R.xml.keyboard_qwerty_jp); in createKeyboardsPortrait()
865 …keyList[KEYMODE_JA_FULL_NUMBER][0] = new Keyboard(parent, R.xml.keyboard_qwerty_jp_full_symbols); in createKeyboardsPortrait()
[all …]
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DFadeAndShortSlide.java145 View parent = view; in findParentForDelay() local
146 while (parent.getParent() instanceof View) { in findParentForDelay()
147 parent = (View) parent.getParent(); in findParentForDelay()
148 if (isParentForDelay(parent.getId())) { in findParentForDelay()
149 return parent; in findParentForDelay()
164 private void getTransitionTargets(ViewGroup parent, List<View> transitionTargets) { in getTransitionTargets() argument
165 int count = parent.getChildCount(); in getTransitionTargets()
167 View child = parent.getChildAt(i); in getTransitionTargets()
345 ViewParent parent = child.getParent(); in getRelativeLeft() local
347 while (parent instanceof View) { in getRelativeLeft()
[all …]
/packages/services/Telephony/src/com/android/phone/settings/
DVoicemailDialogUtil.java39 public static Dialog getDialog(VoicemailSettingsActivity parent, int id) { in getDialog() argument
44 AlertDialog.Builder b = new AlertDialog.Builder(parent); in getDialog()
53 b.setNegativeButton(R.string.close_dialog, parent); in getDialog()
61 b.setNegativeButton(R.string.close_dialog, parent); in getDialog()
66 b.setPositiveButton(R.string.close_dialog, parent); in getDialog()
71 b.setPositiveButton(R.string.close_dialog, parent); in getDialog()
75 b.setPositiveButton(R.string.alert_dialog_yes, parent); in getDialog()
76 b.setNegativeButton(R.string.alert_dialog_no, parent); in getDialog()
82 b.setPositiveButton(R.string.ok, parent); in getDialog()
88 b.setNeutralButton(R.string.close_dialog, parent); in getDialog()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java234 ViewGroup parent = null; in handleHotseatButtonKeyEvent() local
242 parent = iconParent; in handleHotseatButtonKeyEvent()
248 parent = iconParent; in handleHotseatButtonKeyEvent()
264 parent = hotseatParent; in handleHotseatButtonKeyEvent()
274 parent = getCellLayoutChildrenForIndex(workspace, pageIndex + 1); in handleHotseatButtonKeyEvent()
275 newIcon = parent.getChildAt(0); in handleHotseatButtonKeyEvent()
281 parent = getCellLayoutChildrenForIndex(workspace, pageIndex - 1); in handleHotseatButtonKeyEvent()
282 newIcon = parent.getChildAt(0); in handleHotseatButtonKeyEvent()
288 parent = getCellLayoutChildrenForIndex(workspace, pageIndex - 1); in handleHotseatButtonKeyEvent()
289 newIcon = parent.getChildAt(parent.getChildCount() - 1); in handleHotseatButtonKeyEvent()
[all …]
DStats.java63 ViewParent parent = v.getParent(); in populateSourceDataFromAncestorProvider() local
64 while (parent != null && parent instanceof View) { in populateSourceDataFromAncestorProvider()
65 if (parent instanceof Stats.LaunchSourceProvider) { in populateSourceDataFromAncestorProvider()
66 provider = (Stats.LaunchSourceProvider) parent; in populateSourceDataFromAncestorProvider()
69 parent = parent.getParent(); in populateSourceDataFromAncestorProvider()
DFocusIndicatorView.java175 private static void computeLocationRelativeToParent(View v, View parent, int[] pos) { in computeLocationRelativeToParent() argument
177 computeLocationRelativeToParentHelper(v, parent, pos); in computeLocationRelativeToParent()
187 View parent = (View) child.getParent(); in computeLocationRelativeToParentHelper() local
190 if (parent instanceof PagedView) { in computeLocationRelativeToParentHelper()
191 PagedView page = (PagedView) parent; in computeLocationRelativeToParentHelper()
195 if (parent != commonParent) { in computeLocationRelativeToParentHelper()
196 computeLocationRelativeToParentHelper(parent, commonParent, shift); in computeLocationRelativeToParentHelper()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
DMtpImageView.java248 MtpImageView parent = ((WeakReference<MtpImageView>) msg.obj).get(); in handleMessage() local
249 if (parent == null) { in handleMessage()
254 synchronized (parent.mFetchLock) { in handleMessage()
255 parent.mFetchPending = false; in handleMessage()
256 device = parent.mFetchDevice; in handleMessage()
257 objectInfo = parent.mFetchObjectInfo; in handleMessage()
262 Object result = parent.fetchMtpImageDataFromDevice(device, objectInfo); in handleMessage()
266 synchronized (parent.mFetchLock) { in handleMessage()
267 if (parent.mFetchObjectInfo != objectInfo) { in handleMessage()
270 parent.mFetchResult = result; in handleMessage()
[all …]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboard.java186 private Keyboard parent; field in Keyboard.Row
189 public Row(Keyboard parent) { in Row() argument
190 this.parent = parent; in Row()
194 public Row(Resources res, Keyboard parent, XmlResourceParser parser) { in Row() argument
195 this.parent = parent; in Row()
200 parent.mDisplayWidth, parent.mDefaultWidth); in Row()
203 parent.mDisplayHeight, parent.mDefaultHeight); in Row()
206 parent.mDisplayWidth, parent.mDefaultHorizontalGap); in Row()
209 parent.mDisplayHeight, parent.mDefaultVerticalGap); in Row()
306 public Key(Row parent) { in Key() argument
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreviewFactory.java65 final MessagePartData attachmentData, final ViewGroup parent, in createAttachmentPreview() argument
71 attachmentView = createPendingAttachmentPreview(layoutInflater, parent, in createAttachmentPreview()
74 attachmentView = createImagePreview(layoutInflater, attachmentData, parent, viewType, in createAttachmentPreview()
77 attachmentView = createAudioPreview(layoutInflater, attachmentData, parent, viewType); in createAttachmentPreview()
79 attachmentView = createVideoPreview(layoutInflater, attachmentData, parent, viewType); in createAttachmentPreview()
81 attachmentView = createVCardPreview(layoutInflater, attachmentData, parent, viewType); in createAttachmentPreview()
150 final MessagePartData attachmentData, final ViewGroup parent, in createImagePreview() argument
167 final View view = layoutInflater.inflate(layoutId, parent, false /* attachToRoot */); in createImagePreview()
188 parent.getResources().getString(R.string.message_image_content_description)); in createImagePreview()
193 final ViewGroup parent, final PendingAttachmentData attachmentData) { in createPendingAttachmentPreview() argument
[all …]
DVCardDetailAdapter.java54 final boolean isLastChild, final View convertView, final ViewGroup parent) { in getChildView() argument
57 v = instantiateView(parent); in getChildView()
91 final View convertView, final ViewGroup parent) { in getGroupView() argument
94 v = instantiateView(parent); in getGroupView()
114 private PersonItemView instantiateView(final ViewGroup parent) { in instantiateView() argument
116 parent, false); in instantiateView()
/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java157 public static void show(BillingCycleSettings parent, boolean isLimit) { in show() argument
158 if (!parent.isAdded()) return; in show()
161 args.putParcelable(EXTRA_TEMPLATE, parent.mNetworkTemplate); in show()
166 dialog.setTargetFragment(parent, 0); in show()
167 dialog.show(parent.getFragmentManager(), TAG_WARNING_EDITOR); in show()
248 public static void show(BillingCycleSettings parent) { in show() argument
249 if (!parent.isAdded()) return; in show()
252 args.putParcelable(EXTRA_TEMPLATE, parent.mNetworkTemplate); in show()
256 dialog.setTargetFragment(parent, 0); in show()
257 dialog.show(parent.getFragmentManager(), TAG_CYCLE_EDITOR); in show()
[all …]
/packages/apps/UnifiedEmail/assets/
Dscript.js50 var parent = el;
52 while (parent) {
53 result.left += parent.offsetLeft;
54 result.top += parent.offsetTop;
55 parent = parent.offsetParent;
66 var parent = el;
67 while (parent) {
68 if (parent.classList && parent.classList.contains(className)) {
71 parent = parent.parentNode;
73 return parent || null;
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
DMultipart.java49 private Entity parent = null; field in Multipart
84 return parent; in getParent()
90 public void setParent(Entity parent) { in setParent() argument
91 this.parent = parent; in setParent()
93 it.next().setParent(parent); in setParent()
132 it.next().setParent(parent); in setBodyParts()
143 bodyPart.setParent(parent); in addBodyPart()
DEntity.java38 private Entity parent = null; field in Entity
47 return parent; in getParent()
56 public void setParent(Entity parent) { in setParent() argument
57 this.parent = parent; in setParent()
107 ContentTypeField parent = getParent() != null in getMimeType() local
112 return ContentTypeField.getMimeType(child, parent); in getMimeType()
DAbstractBody.java31 private Entity parent = null; field in AbstractBody
37 return parent; in getParent()
43 public void setParent(Entity parent) { in setParent() argument
44 this.parent = parent; in setParent()
DMemoryBinaryBody.java46 private Entity parent = null; field in MemoryBinaryBody
69 return parent; in getParent()
75 public void setParent(Entity parent) { in setParent() argument
76 this.parent = parent; in setParent()
DTempFileBinaryBody.java45 private Entity parent = null; field in TempFileBinaryBody
68 return parent; in getParent()
74 public void setParent(Entity parent) { in setParent() argument
75 this.parent = parent; in setParent()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DBummerView.java43 final View parent = (View) BummerView.this.getParent();
44 if (parent == null)
47 final float framew = parent.getMeasuredWidth();
48 final float frameh = parent.getMeasuredHeight();
92 final View parent = (View) this.getParent(); in onAttachedToWindow() local
93 parent.addOnLayoutChangeListener(new OnLayoutChangeListener() { in onAttachedToWindow()
96 if (v == parent && right != oldRight) { in onAttachedToWindow()
/packages/experimental/Bummer/src/com/android/dreams/bummer/
DBummerView.java43 final View parent = (View) BummerView.this.getParent();
44 if (parent == null)
47 final float framew = parent.getMeasuredWidth();
48 final float frameh = parent.getMeasuredHeight();
92 final View parent = (View) this.getParent(); in onAttachedToWindow() local
93 parent.addOnLayoutChangeListener(new OnLayoutChangeListener() { in onAttachedToWindow()
96 if (v == parent && right != oldRight) { in onAttachedToWindow()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsGridAdapter.java210 public void onDraw(Canvas c, RecyclerView parent, RecyclerView.State state) { in onDraw() argument
219 parent.getMeasuredHeight(), p); in onDraw()
225 int childCount = parent.getChildCount(); in onDraw()
229 View child = parent.getChildAt(i); in onDraw()
230 ViewHolder holder = (ViewHolder) parent.getChildViewHolder(child); in onDraw()
239 parent.getWidth() - mBackgroundPadding.right, top, in onDraw()
269 parent.getWidth() - mBackgroundPadding.left - mSectionNamesMargin : in onDraw()
313 public void getItemOffsets(Rect outRect, View view, RecyclerView parent, in getItemOffsets() argument
514 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
517 return new ViewHolder(new View(parent.getContext())); in onCreateViewHolder()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationViewAdapter.java131 public View createView(Context context, LayoutInflater inflater, ViewGroup parent) { in createView() argument
133 R.layout.conversation_view_header, parent, false); in createView()
181 public View createView(Context context, LayoutInflater inflater, ViewGroup parent) { in createView() argument
183 inflater.inflate(R.layout.conversation_footer, parent, false); in createView()
271 public View createView(Context context, LayoutInflater inflater, ViewGroup parent) { in createView() argument
273 R.layout.conversation_message_header, parent, false); in createView()
415 public View createView(Context context, LayoutInflater inflater, ViewGroup parent) { in createView() argument
417 R.layout.conversation_message_footer, parent, false); in createView()
489 public View createView(Context context, LayoutInflater inflater, ViewGroup parent) { in createView() argument
491 R.layout.super_collapsed_block, parent, false); in createView()
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardDecorator.java41 public void onDrawOver(Canvas c, RecyclerView parent, State state) { in onDrawOver() argument
42 final int childCount = parent.getChildCount(); in onDrawOver()
44 final View child = parent.getChildAt(i); in onDrawOver()
45 final ViewHolder holder = parent.getChildViewHolder(child); in onDrawOver()
47 if (parent.getChildViewHolder(parent.getChildAt(i - 1)).getItemViewType() in onDrawOver()
/packages/experimental/TestBack/src/foo/bar/testback/
DTestBackService.java95 AccessibilityNodeInfo parent = root.getParent(); in dumpWindow() local
96 if (parent == null) { in dumpWindow()
98 } else if (parent.equals(root)) { in dumpWindow()
101 root = parent; in dumpWindow()
119 AccessibilityNodeInfo parent = child.getParent(); in dumpTree() local
120 if (parent == null) { in dumpTree()
122 } else if (!parent.equals(root)) { in dumpTree()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DDefaultSoftKeyboardEN.java72 @Override protected void createKeyboards(OpenWnn parent) { in createKeyboards() argument
81 keyList[KEYMODE_EN_ALPHABET][0] = new Keyboard(parent, R.xml.default_en_qwerty); in createKeyboards()
82 keyList[KEYMODE_EN_NUMBER][0] = new Keyboard(parent, R.xml.default_en_symbols); in createKeyboards()
83 keyList[KEYMODE_EN_PHONE][0] = new Keyboard(parent, R.xml.keyboard_12key_phone); in createKeyboards()
89 keyList[KEYMODE_EN_NUMBER][0] = new Keyboard(parent, R.xml.default_en_symbols_shift); in createKeyboards()
90 keyList[KEYMODE_EN_PHONE][0] = new Keyboard(parent, R.xml.keyboard_12key_phone); in createKeyboards()
126 @Override public View initView(OpenWnn parent, int width, int height) { in initView() argument
127 View view = super.initView(parent, width, height); in initView()

12345678910>>...18