Home
last modified time | relevance | path

Searched refs:window (Results 1 – 17 of 17) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DTutorial.java69 PopupWindow window; field in Tutorial.Bubble
87 window = new PopupWindow(context); in Bubble()
88 window.setBackgroundDrawable(null); in Bubble()
96 window.setContentView(textView); in Bubble()
97 window.setFocusable(false); in Bubble()
98 window.setTouchable(true); in Bubble()
99 window.setOutsideTouchable(false); in Bubble()
128 int textHeight = chooseSize(window, inputView, text, textView); in show()
133 if ((gravity & Gravity.BOTTOM) == Gravity.BOTTOM) offy -= window.getHeight(); in show()
134 if ((gravity & Gravity.RIGHT) == Gravity.RIGHT) offx -= window.getWidth(); in show()
[all …]
DLatinIME.java1686 Window window = mVoiceWarningDialog.getWindow(); in showVoiceWarningDialog() local
1687 WindowManager.LayoutParams lp = window.getAttributes(); in showVoiceWarningDialog()
1690 window.setAttributes(lp); in showVoiceWarningDialog()
1691 window.addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM); in showVoiceWarningDialog()
2566 Window window = mOptionsDialog.getWindow(); in showOptionsMenu() local
2567 WindowManager.LayoutParams lp = window.getAttributes(); in showOptionsMenu()
2570 window.setAttributes(lp); in showOptionsMenu()
2571 window.addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM); in showOptionsMenu()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DTutorialEN.java90 PopupWindow window; field in TutorialEN.Bubble
120 window = new PopupWindow(context); in init()
121 window.setBackgroundDrawable(null); in init()
131 window.setContentView(textView); in init()
132 window.setFocusable(false); in init()
133 window.setTouchable(true); in init()
134 window.setOutsideTouchable(false); in init()
163 int textHeight = chooseSize(window, inputView, text, textView); in show()
168 if ((gravity & Gravity.BOTTOM) == Gravity.BOTTOM) offy -= window.getHeight(); in show()
169 if ((gravity & Gravity.RIGHT) == Gravity.RIGHT) offx -= window.getWidth(); in show()
[all …]
/packages/apps/Mms/src/com/android/mms/
DSuggestionsProvider.java170 public void fillWindow(int position, CursorWindow window) { in fillWindow() argument
175 window.acquireReference(); in fillWindow()
179 window.clear(); in fillWindow()
180 window.setStartPosition(position); in fillWindow()
182 window.setNumColumns(columnNum); in fillWindow()
183 while (moveToPosition(pos) && window.allocRow()) { in fillWindow()
187 if (!window.putString(field, pos, i)) { in fillWindow()
188 window.freeLastRow(); in fillWindow()
192 if (!window.putNull(pos, i)) { in fillWindow()
193 window.freeLastRow(); in fillWindow()
[all …]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DTutorialJAJP.java92 PopupWindow window; field in TutorialJAJP.Bubble
122 window = new PopupWindow(context); in init()
123 window.setBackgroundDrawable(null); in init()
133 window.setContentView(textView); in init()
134 window.setFocusable(false); in init()
135 window.setTouchable(true); in init()
136 window.setOutsideTouchable(false); in init()
165 int textHeight = chooseSize(window, inputView, text, textView); in show()
170 if ((gravity & Gravity.BOTTOM) == Gravity.BOTTOM) offy -= window.getHeight(); in show()
171 if ((gravity & Gravity.RIGHT) == Gravity.RIGHT) offx -= window.getWidth(); in show()
[all …]
/packages/apps/Stk/src/com/android/stk/
DStkDialogActivity.java74 Window window = getWindow(); in onCreate() local
77 TextView mMessageView = (TextView) window in onCreate()
92 window.setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, in onCreate()
95 window.setFeatureDrawable(Window.FEATURE_LEFT_ICON, in onCreate()
/packages/apps/Browser/src/com/android/browser/
DBrowserHomepagePreference.java109 Window window = getDialog().getWindow(); in showDialog() local
110 View decorView = window.getDecorView(); in showDialog()
114 window.getWindowManager().updateViewLayout(decorView, params); in showDialog()
DTab.java940 public void onCloseWindow(WebView window) {
1316 public void onCloseWindow(WebView window) { in onCloseWindow() argument
1317 if (window != mSubView) { in onCloseWindow()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DCorpusSelectionDialog.java86 Window window = getWindow(); in onCreate() local
87 WindowManager.LayoutParams lp = window.getAttributes(); in onCreate()
92 window.setAttributes(lp); in onCreate()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java161 Window window = mDialog.getWindow(); in showLoading() local
162 WindowManager.LayoutParams lp = window.getAttributes(); in showLoading()
166 window.setType(WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA); in showLoading()
/packages/apps/Browser/tests/src/com/android/browser/
DTestWebChromeClient.java98 public void onCloseWindow(WebView window) { in onCloseWindow() argument
99 mWrappedClient.onCloseWindow(window); in onCloseWindow()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOptions.java208 int window = (Integer)((SpinnerOption)mSyncWindowView.getSelectedItem()).value; in onDone() local
209 mAccount.setSyncLookback(window); in onDone()
/packages/apps/Email/src/com/android/email/
DAccount.java464 public void setSyncWindow(int window) { in setSyncWindow() argument
465 mSyncWindow = window; in setSyncWindow()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DUserDictionaryToolsList.java636 Window window = getWindow(); in updateWordList() local
637 WindowManager windowManager = window.getWindowManager(); in updateWordList()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DPinyinIME.java1228 Window window = mOptionsDialog.getWindow(); in showOptionsMenu() local
1229 WindowManager.LayoutParams lp = window.getAttributes(); in showOptionsMenu()
1232 window.setAttributes(lp); in showOptionsMenu()
1233 window.addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM); in showOptionsMenu()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncher.java1639 final PopupWindow window = (PopupWindow) v.getTag(); in dismissPreview() local
1640 if (window != null) { in dismissPreview()
1641 window.setOnDismissListener(new PopupWindow.OnDismissListener() { in dismissPreview()
1653 window.setOnDismissListener(null); in dismissPreview()
1656 window.dismiss(); in dismissPreview()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java1146 public void fillWindow(int pos, CursorWindow window) { in fillWindow() argument
1147 mCursor.fillWindow(pos, window); in fillWindow()