Searched refs:hasFocus (Results 26 - 50 of 68) sorted by relevance

123

/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditText.java143 @Override public boolean hasFocus() { method in class:ExtractEditText
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListItemFocusablesFarApartTest.java95 "item should have focus", mListView.getChildAt(0).hasFocus());
/frameworks/base/native/include/android/
H A Dnative_activity.h155 void (*onWindowFocusChanged)(ANativeActivity* activity, int hasFocus);
/frameworks/base/services/jni/
H A Dcom_android_server_InputWindowHandle.cpp48 jfieldID hasFocus; member in struct:android::__anon1190
140 mInfo->hasFocus = env->GetBooleanField(obj,
141 gInputWindowHandleClassInfo.hasFocus);
274 GET_FIELD_ID(gInputWindowHandleClassInfo.hasFocus, clazz,
275 "hasFocus", "Z");
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DRequestRectangleVisibleTest.java99 assertTrue(mClickToScrollFromAbove.hasFocus());
140 assertTrue(mClickToScrollFromBelow.hasFocus());
182 while(!view.hasFocus()) {
/frameworks/base/core/java/android/widget/
H A DTabHost.java204 if (mCurrentView != null && (!mCurrentView.hasFocus() || mCurrentView.isFocused())) {
307 && (mCurrentView.hasFocus())
318 public void dispatchWindowFocusChanged(boolean hasFocus) { argument
320 mCurrentView.dispatchWindowFocusChanged(hasFocus);
357 if (!mTabWidget.hasFocus()) {
H A DTabWidget.java506 public void onFocusChange(View v, boolean hasFocus) { argument
507 if (v == this && hasFocus && getTabCount() > 0) {
512 if (hasFocus) {
H A DViewAnimator.java107 boolean hasFocus = getFocusedChild() != null;
110 if (hasFocus) {
H A DSearchView.java275 public void onFocusChange(View v, boolean hasFocus) {
277 mOnQueryTextFocusChangeListener.onFocusChange(SearchView.this, hasFocus);
731 if (mSubmitButtonEnabled && isSubmitAreaEnabled() && hasFocus()
762 boolean focused = mQueryTextView.hasFocus();
1171 if (mQueryTextView.hasFocus()) {
1622 if (hasWindowFocus && mSearchView.hasFocus() && getVisibility() == VISIBLE) {
H A DAdapterViewAnimator.java302 boolean hasFocus = getFocusedChild() != null;
305 if (hasFocus) {
H A DListPopupWindow.java1209 public boolean hasFocus() { method in class:ListPopupWindow.DropDownListView
1210 return mHijackFocus || super.hasFocus();
H A DListView.java1651 if (mItemsCanFocus && hasFocus() && !sel.hasFocus()) {
1682 if (hasFocus() && focusLayoutRestoreView != null) {
2303 if (selectedView != null && selectedView.hasFocus() &&
2404 && selectedView != null && selectedView.hasFocus()) {
2735 if (selectedView != null && selectedView.hasFocus()) {
/frameworks/base/core/java/android/app/
H A DNativeActivity.java269 public void onWindowFocusChanged(boolean hasFocus) { argument
270 super.onWindowFocusChanged(hasFocus);
272 onWindowFocusChangedNative(mNativeHandle, hasFocus);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DRecentApplicationsDialog.java140 if (mIcons[i].hasFocus()) {
174 if (i == 0 || mIcons[i].hasFocus()) {
176 if (mIcons[i].hasFocus()) {
H A DSimPukUnlockScreen.java206 public void onFocusChange(View v, boolean hasFocus) { argument
207 if (hasFocus)
/frameworks/base/services/java/com/android/server/wm/
H A DInputMonitor.java190 final boolean hasFocus = (child == mInputFocus);
208 inputWindowHandle.hasFocus = hasFocus;
H A DDragState.java111 mDragWindowHandle.hasFocus = true;
/frameworks/base/core/tests/coretests/src/android/view/
H A DVisibilityCallbackTest.java76 assertTrue(mVisible.hasFocus());
/frameworks/base/services/input/
H A DInputWindow.h128 bool hasFocus; member in struct:android::InputWindowInfo
/frameworks/base/core/java/android/view/
H A DWindowManagerPolicy.java353 boolean hasFocus, boolean touchFullscreen);
351 addFakeWindow(Looper looper, InputHandler inputHandler, String name, int windowType, int layoutParamsFlags, boolean canReceiveKeys, boolean hasFocus, boolean touchFullscreen) argument
H A DSurfaceView.java644 public void windowFocusChanged(boolean hasFocus, boolean touchEnabled) { argument
645 Log.w("SurfaceView", "Unexpected focus in surface: focus=" + hasFocus + ", touchEnabled=" + touchEnabled);
H A DViewRootImpl.java1581 if (DEBUG_INPUT_RESIZE) Log.v(TAG, "First: mView.hasFocus()="
1582 + mView.hasFocus());
1584 if (!mView.hasFocus()) {
2198 if (mView != null && !mView.hasFocus()) {
2213 if (!mView.hasFocus()) {
2768 if (mView.hasFocus()) {
2820 if (mView.hasFocus()) {
3935 public void windowFocusChanged(boolean hasFocus, boolean inTouchMode) { argument
3938 msg.arg1 = hasFocus ? 1 : 0;
4142 public void windowFocusChanged(boolean hasFocus, boolea argument
[all...]
H A DWindow.java307 * @param hasFocus Whether the window now has focus.
309 public void onWindowFocusChanged(boolean hasFocus); argument
/frameworks/base/core/tests/coretests/src/android/util/
H A DInternalSelectionView.java157 if (i == mSelectedRow && hasFocus()) {
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java328 public void onFocusChanged(boolean hasFocus, int direction, Rect previous) { argument
329 super.onFocusChanged(hasFocus, direction, previous);
330 if (!hasFocus) {
731 if (hasFocus() || mTemporaryRecipients.size() < CHIP_LIMIT) {
1078 return !mNoChips && hasFocus() && enoughToFilter() && !alreadyHasChip(start, end);

Completed in 8814 milliseconds

123