Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 433) 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/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()
/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 …]
DDefaultSoftKeyboard.java367 protected void createKeyboards(OpenWnn parent) { in createKeyboards() argument
593 public View initView(OpenWnn parent, int width, int height) { in initView() argument
594 mWnn = parent; in initView()
596 … (parent.getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) in initView()
604 createKeyboards(parent); in initView()
607 mSymbolKeyboard = new Keyboard(parent, R.xml.keyboard_4key); in initView()
609 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(parent); in initView()
612 int id = parent.getResources().getIdentifier(skin, "layout", "jp.co.omronsoft.openwnn"); in initView()
618 …mMainView = (BaseInputView) parent.getLayoutInflater().inflate(R.layout.keyboard_default_main, nul… in initView()
619 … mSubView = (ViewGroup) parent.getLayoutInflater().inflate(R.layout.keyboard_default_sub, null); in initView()
[all …]
/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/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/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 …]
/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/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/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/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/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeSettings.java591 public static void show(PrivateVolumeSettings parent, VolumeInfo vol) { in show() argument
592 if (!parent.isAdded()) return; in show()
595 dialog.setTargetFragment(parent, 0); in show()
599 dialog.show(parent.getFragmentManager(), TAG_RENAME); in show()
637 public static void show(Fragment parent, String title, VolumeInfo sharedVol) { in show() argument
638 if (!parent.isAdded()) return; in show()
641 dialog.setTargetFragment(parent, 0); in show()
646 dialog.show(parent.getFragmentManager(), TAG_OTHER_INFO); in show()
674 public static void show(Fragment parent, CharSequence userLabel, CharSequence userSize) { in show() argument
675 if (!parent.isAdded()) return; in show()
[all …]
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DCallButtonFragment.java148 final View parent = inflater.inflate(R.layout.call_button_fragment, container, false); in onCreateView() local
150 mAudioButton = (CompoundButton) parent.findViewById(R.id.audioButton); in onCreateView()
152 mMuteButton = (CompoundButton) parent.findViewById(R.id.muteButton); in onCreateView()
154 mShowDialpadButton = (CompoundButton) parent.findViewById(R.id.dialpadButton); in onCreateView()
156 mHoldButton = (CompoundButton) parent.findViewById(R.id.holdButton); in onCreateView()
158 mSwapButton = (ImageButton) parent.findViewById(R.id.swapButton); in onCreateView()
160 mChangeToVideoButton = (ImageButton) parent.findViewById(R.id.changeToVideoButton); in onCreateView()
162 mChangeToVoiceButton = (ImageButton) parent.findViewById(R.id.changeToVoiceButton); in onCreateView()
164 mSwitchCameraButton = (CompoundButton) parent.findViewById(R.id.switchCameraButton); in onCreateView()
166 mAddCallButton = (ImageButton) parent.findViewById(R.id.addButton); in onCreateView()
[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()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DCarLayoutManager.java504 public boolean onRequestChildFocus(RecyclerView parent, RecyclerView.State state, in onRequestChildFocus() argument
519 return onRequestChildFocusMarioStyle(parent, child); in onRequestChildFocus()
521 return onRequestChildFocusSuperMarioStyle(parent, state, child); in onRequestChildFocus()
701 public boolean settleScrollForFling(RecyclerView parent, int flingVelocity) { in settleScrollForFling() argument
716 parent.smoothScrollToPosition(scrollPosition); in settleScrollForFling()
732 parent.smoothScrollToPosition(mAnchorPageBreakPosition); in settleScrollForFling()
735 parent.smoothScrollToPosition(mUpperPageBreakPosition); in settleScrollForFling()
744 parent.smoothScrollToPosition(mSmoothScroller.getTargetPosition()); in settleScrollForFling()
1271 private boolean onRequestChildFocusMarioStyle(RecyclerView parent, View child) { in onRequestChildFocusMarioStyle() argument
1282 int childIndex = parent.indexOfChild(child); in onRequestChildFocusMarioStyle()
[all …]
/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/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/apps/UnifiedEmail/src/com/android/mail/providers/
DFolder.java187 public Uri parent; field in Folder
326 public Builder setParent(final Uri parent) { in setParent() argument
327 mParent = parent; in setParent()
344 String fgColor, Uri loadMoreUri, String hierarchicalDesc, Uri parent, in Folder() argument
374 this.parent = parent; in Folder()
416 parent = parentString == null ? Uri.EMPTY : Uri.parse(parentString); in Folder()
470 parent = in.readParcelable(loader); in Folder()
472 parent = in.readParcelable(loader); in Folder()
500 dest.writeParcelable(parent, 0); in writeToParcel()
502 dest.writeParcelable(parent, 0); in writeToParcel()
[all …]
/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()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorAnimator.java189 ViewParent parent = view.getParent(); in getParentScrollView() local
190 if (parent instanceof ScrollView) in getParentScrollView()
191 return (ScrollView) parent; in getParentScrollView()
192 if (!(parent instanceof View)) in getParentScrollView()
195 view = (View) parent; in getParentScrollView()
241 final ViewParent parent = container.getParent(); in getViewsBelowOfRecursive() local
242 if (parent instanceof LinearLayout) { in getViewsBelowOfRecursive()
243 final LinearLayout parentLayout = (LinearLayout) parent; in getViewsBelowOfRecursive()
/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()

12345678910>>...18