Home
last modified time | relevance | path

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

12345678910>>...16

/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/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java135 final PagedViewGridLayout parent = (PagedViewGridLayout) w.getParent(); in handlePagedViewGridLayoutWidgetKeyEvent() local
136 final PagedView container = (PagedView) parent.getParent(); in handlePagedViewGridLayoutWidgetKeyEvent()
139 final int widgetIndex = parent.indexOfChild(w); in handlePagedViewGridLayoutWidgetKeyEvent()
140 final int widgetCount = parent.getChildCount(); in handlePagedViewGridLayoutWidgetKeyEvent()
141 final int pageIndex = ((PagedView) container).indexToPage(container.indexOfChild(parent)); in handlePagedViewGridLayoutWidgetKeyEvent()
143 final int cellCountX = parent.getCellCountX(); in handlePagedViewGridLayoutWidgetKeyEvent()
144 final int cellCountY = parent.getCellCountY(); in handlePagedViewGridLayoutWidgetKeyEvent()
160 parent.getChildAt(widgetIndex - 1).requestFocus(); in handlePagedViewGridLayoutWidgetKeyEvent()
177 parent.getChildAt(widgetIndex + 1).requestFocus(); in handlePagedViewGridLayoutWidgetKeyEvent()
195 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/Settings/src/com/android/settings/
DDataUsageSummary.java1093 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
1095 final AppItem app = (AppItem) parent.getItemAtPosition(position);
1107 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
1108 final CycleItem cycle = (CycleItem) parent.getItemAtPosition(position);
1132 public void onNothingSelected(AdapterView<?> parent) {
1566 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
1568 convertView = LayoutInflater.from(parent.getContext()).inflate( in getView()
1569 R.layout.data_usage_item, parent, false); in getView()
1576 final Context context = parent.getContext(); in getView()
1608 public static void show(DataUsageSummary parent, AppItem app, CharSequence label) { in show() argument
[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 …]
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.java243 MtpImageView parent = ((WeakReference<MtpImageView>) msg.obj).get(); in handleMessage() local
244 if (parent == null) return; in handleMessage()
247 synchronized (parent.mFetchLock) { in handleMessage()
248 parent.mFetchPending = false; in handleMessage()
249 device = parent.mFetchDevice; in handleMessage()
250 objectInfo = parent.mFetchObjectInfo; in handleMessage()
253 Object result = parent.fetchMtpImageDataFromDevice(device, objectInfo); in handleMessage()
255 synchronized (parent.mFetchLock) { in handleMessage()
256 if (parent.mFetchObjectInfo != objectInfo) return; in handleMessage()
257 parent.mFetchResult = result; in handleMessage()
[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/Email/src/com/android/email/activity/
DUiUtilities.java71 public static <T extends View> T getViewOrNull(Activity parent, int viewId) { in getViewOrNull() argument
72 return (T) parent.findViewById(viewId); in getViewOrNull()
77 public static <T extends View> T getViewOrNull(View parent, int viewId) { in getViewOrNull() argument
78 return (T) parent.findViewById(viewId); in getViewOrNull()
85 public static <T extends View> T getView(Activity parent, int viewId) { in getView() argument
86 return (T) checkView(parent.findViewById(viewId)); in getView()
93 public static <T extends View> T getView(View parent, int viewId) { in getView() argument
94 return (T) checkView(parent.findViewById(viewId)); in getView()
116 public static void setVisibilitySafe(Activity parent, int viewId, int visibility) { in setVisibilitySafe() argument
117 setVisibilitySafe(parent.findViewById(viewId), visibility); in setVisibilitySafe()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationViewAdapter.java98 public View createView(Context context, LayoutInflater inflater, ViewGroup parent) { in createView() argument
100 R.layout.conversation_view_header, parent, false); in createView()
164 public View createView(Context context, LayoutInflater inflater, ViewGroup parent) { in createView() argument
166 R.layout.conversation_message_header, parent, false); in createView()
277 public View createView(Context context, LayoutInflater inflater, ViewGroup parent) { in createView() argument
279 R.layout.conversation_message_footer, parent, false); in createView()
334 public View createView(Context context, LayoutInflater inflater, ViewGroup parent) { in createView() argument
336 R.layout.super_collapsed_block, parent, false); in createView()
392 public View createView(Context context, LayoutInflater inflater, ViewGroup parent) { in createView() argument
393 return inflater.inflate(R.layout.card_border, parent, false); in createView()
[all …]
/packages/apps/InCallUI/src/com/android/incallui/
DCallButtonFragment.java79 final View parent = inflater.inflate(R.layout.call_button_fragment, container, false); in onCreateView() local
81 mExtraRowButton = parent.findViewById(R.id.extraButtonRow); in onCreateView()
83 mManageConferenceButton = parent.findViewById(R.id.manageConferenceButton); in onCreateView()
90 mGenericMergeButton = parent.findViewById(R.id.cdmaMergeButton); in onCreateView()
98 mEndCallButton = parent.findViewById(R.id.endButton); in onCreateView()
110 mMuteButton = (ImageButton) parent.findViewById(R.id.muteButton); in onCreateView()
119 mAudioButton = (ImageButton) parent.findViewById(R.id.audioButton); in onCreateView()
127 mHoldButton = (ImageButton) parent.findViewById(R.id.holdButton); in onCreateView()
136 mShowDialpadButton = (ToggleButton) parent.findViewById(R.id.dialpadButton); in onCreateView()
138 mAddCallButton = (ImageButton) parent.findViewById(R.id.addButton); in onCreateView()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/adapter/
DDrawerItem.java235 public View getView(View convertView, ViewGroup parent) { in getView() argument
239 result = getFolderView(convertView, parent); in getView()
242 result = getHeaderView(convertView, parent); in getView()
245 result = getAccountView(convertView, parent); in getView()
248 result = getEmptyView(convertView, parent); in getView()
341 private View getAccountView(View convertView, ViewGroup parent) { in getAccountView() argument
362 private View getHeaderView(View convertView, ViewGroup parent) { in getHeaderView() argument
368 R.layout.folder_list_header, parent, false); in getHeaderView()
381 private View getFolderView(View convertView, ViewGroup parent) { in getFolderView() argument
402 private View getEmptyView(View convertView, ViewGroup parent) { in getEmptyView() argument
[all …]
/packages/apps/Browser/src/com/android/browser/
DBrowserHistoryPage.java255 AdapterView<?> parent, View view, int position, long id) {
266 AdapterView<?> parent, View view, int position, long id) {
272 public boolean onChildClick(ExpandableListView parent, View view, in onChildClick() argument
352 Activity parent = getActivity(); in onCreateContextMenu() local
353 MenuInflater inflater = parent.getMenuInflater(); in onCreateContextMenu()
358 mContextHeader = new HistoryItem(parent, false); in onCreateContextMenu()
376 PackageManager pm = parent.getPackageManager(); in onCreateContextMenu()
479 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
480 return mAdapter.getGroupView(position, false, convertView, parent); in getView()
514 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.java127 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
136 lapInfo = mInflater.inflate(R.layout.lap_view, parent, false); in getView()
579 Activity parent = getActivity(); in showSharePopup() local
580 PackageManager packageManager = parent.getPackageManager(); in showSharePopup()
618 mSharePopup = new ListPopupWindow(parent); in showSharePopup()
622 ImageLabelAdapter showAllAdapter = new ImageLabelAdapter(parent, in showSharePopup()
626 mSharePopup.setAdapter(new ImageLabelAdapter(parent, R.layout.popup_window_item, in showSharePopup()
635 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { in showSharePopup()
639 ((ImageLabelAdapter) parent.getAdapter()).getShowAllAdapter()); in showSharePopup()
645 ImageLabelAdapter adapter = (ImageLabelAdapter) parent.getAdapter(); in showSharePopup()
[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/apps/Contacts/src/com/android/contacts/detail/
DContactDetailFragment.java882 public void onItemClick(AdapterView<?> parent, View view, int position, in addMoreNetworks()
1040 public void onItemClick(AdapterView<?> parent, View view, int position, in showListPopup()
1042 onItemClickListener.onItemClick(parent, view, position, id); in showListPopup()
1481 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
1484 return getHeaderEntryView(convertView, parent); in getView()
1486 return getSeparatorEntryView(position, convertView, parent); in getView()
1488 return getKindTitleEntryView(position, convertView, parent); in getView()
1490 return getDetailEntryView(position, convertView, parent); in getView()
1492 return getNetworkTitleEntryView(position, convertView, parent); in getView()
1494 return getAddConnectionEntryView(position, convertView, parent); in getView()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DFolder.java183 public Uri parent; field in Folder
322 public Builder setParent(final Uri parent) { in setParent() argument
323 mParent = parent; in setParent()
340 String fgColor, Uri loadMoreUri, String hierarchicalDesc, Uri parent, in Folder() argument
371 this.parent = parent; in Folder()
414 parent = parentString == null ? Uri.EMPTY : Uri.parse(parentString); in Folder()
469 parent = in.readParcelable(loader); in Folder()
471 parent = in.readParcelable(loader); in Folder()
500 dest.writeParcelable(parent, 0); in writeToParcel()
502 dest.writeParcelable(parent, 0); in writeToParcel()
[all …]
/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/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/Gallery2/src/com/android/gallery3d/ingest/
DIngestActivity.java514 public ItemListHandler(IngestActivity parent) { in ItemListHandler() argument
516 mParentReference = new WeakReference<IngestActivity>(parent); in ItemListHandler()
520 IngestActivity parent = mParentReference.get(); in handleMessage() local
521 if (parent == null || !parent.mActive) in handleMessage()
525 parent.cleanupProgressDialog(); in handleMessage()
528 parent.updateProgressDialog(); in handleMessage()
531 parent.UiThreadNotifyIndexChanged(); in handleMessage()
534 parent.mPositionMappingCheckBroker.onBulkCheckedChange(); in handleMessage()
537 parent.makeProgressDialogIndeterminate(); in handleMessage()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettingsForSetupWizardXL.java438 final ViewGroup parent = (ViewGroup)findViewById(R.id.wifi_config_ui); in showConfigUi() local
439 parent.setVisibility(View.VISIBLE); in showConfigUi()
440 parent.removeAllViews(); in showConfigUi()
441 mWifiConfig = new WifiConfigUiForSetupWizardXL(this, parent, selectedAccessPoint, edit); in showConfigUi()
559 final ViewGroup parent = (ViewGroup)findViewById(R.id.wifi_config_ui); in onConnectButtonPressed() local
560 parent.setVisibility(View.GONE); in onConnectButtonPressed()
623 final ViewGroup parent = (ViewGroup)findViewById(R.id.wifi_config_ui); in onBackButtonPressed() local
624 parent.removeAllViews(); in onBackButtonPressed()
625 parent.setVisibility(View.GONE); in onBackButtonPressed()
704 final ViewGroup parent = (ViewGroup)findViewById(R.id.wifi_config_ui); in onAuthenticationFailure() local
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAnimatedAdapter.java478 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
499 return getUndoingView(position - getPositionOffset(position), conv, parent, in getView()
502 return getUndoingView(position - getPositionOffset(position), conv, parent, in getView()
505 return getDeletingView(position - getPositionOffset(position), conv, parent, false); in getView()
507 return getDeletingView(position - getPositionOffset(position), conv, parent, true); in getView()
541 convertView = newView(mContext, cursor, parent); in getView()
723 private View getDeletingView(int position, Conversation conversation, ViewGroup parent, in getDeletingView() argument
730 deletingView = newConversationItemView(position, parent, conversation); in getDeletingView()
739 private View getUndoingView(int position, Conversation conv, ViewGroup parent, boolean swipe) { in getUndoingView() argument
745 undoView = newConversationItemView(position, parent, conv); in getUndoingView()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DChartSweepView.java418 final View parent = (View) getParent(); in onTouchEvent()
455 if (!parent.isActivated()) { in onTouchEvent()
456 parent.setActivated(true); in onTouchEvent()
551 final View parent = (View) getParent();
552 return new Rect(parent.getPaddingLeft(), parent.getPaddingTop(),
553 parent.getWidth() - parent.getPaddingRight(),
554 parent.getHeight() - parent.getPaddingBottom());

12345678910>>...16