/packages/apps/Settings/src/com/android/settings/notification/ |
ZenModeScheduleDaysSelection.java | 48 private final LinearLayout mLayout; 52 mLayout = new LinearLayout(mContext); 55 mLayout.setPadding(hPad, 0, hPad, 0); 56 addView(mLayout); 62 mLayout.setOrientation(LinearLayout.VERTICAL); 79 mLayout.addView(checkBox);
|
/cts/tests/tests/view/src/android/view/cts/ |
FocusFinderTest.java | 30 private ViewGroup mLayout; 44 mLayout = getActivity().layout; 83 View actualNextFocus = mFocusFinder.findNextFocus(mLayout, currentFocus, direction); 123 View actualNextFocus = mFocusFinder.findNextFocusFromRect(mLayout, rect, direction); 144 View view = mFocusFinder.findNearestTouchable(mLayout, x, y, View.FOCUS_DOWN, deltas); 153 view = mFocusFinder.findNearestTouchable(mLayout, x, y, View.FOCUS_LEFT, deltas); 162 view = mFocusFinder.findNearestTouchable(mLayout, x, y, View.FOCUS_RIGHT, deltas); 171 view = mFocusFinder.findNearestTouchable(mLayout, x, y, View.FOCUS_UP, deltas); 210 View prevFocus1 = mFocusFinder.findNextFocus(mLayout, mBottomLeft, View.FOCUS_BACKWARD); 211 View prevFocus2 = mFocusFinder.findNextFocus(mLayout, mBottomRight, View.FOCUS_BACKWARD) [all...] |
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/ |
CardFlip.java | 67 RelativeLayout mLayout; 91 mLayout = (RelativeLayout)findViewById(R.id.main_relative_layout); 92 ViewTreeObserver observer = mLayout.getViewTreeObserver(); 97 mLayout.getViewTreeObserver().removeOnGlobalLayoutListener(this); 99 mLayout.getViewTreeObserver().removeGlobalOnLayoutListener(this); 102 mCardHeight = mLayout.getHeight(); 103 mCardWidth = mLayout.getWidth() / 2; 128 mLayout.addView(view, params); 186 mLayout.bringChildToFront(cardView); 187 mLayout.requestLayout() [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
MockKeyboardSwitcher.java | 51 private int mLayout = MockConstants.ALPHABET_UNSHIFTED; 63 return mLayout; 90 mLayout = MockConstants.ALPHABET_UNSHIFTED; 95 mLayout = MockConstants.ALPHABET_MANUAL_SHIFTED; 100 mLayout = MockConstants.ALPHABET_AUTOMATIC_SHIFTED; 105 mLayout = MockConstants.ALPHABET_SHIFT_LOCKED; 110 mLayout = MockConstants.ALPHABET_SHIFT_LOCK_SHIFTED; 115 mLayout = MockConstants.SYMBOLS_UNSHIFTED; 120 mLayout = MockConstants.SYMBOLS_SHIFTED;
|
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/activity/ |
Main.java | 58 protected LinearLayout mLayout; 120 mLayout = new LinearLayout(this); 121 mLayout.setOrientation(LinearLayout.VERTICAL); 122 mLayout.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT)); 123 mLayout.setGravity(Gravity.CENTER_HORIZONTAL); 132 mLayout.addView(mButton); 133 setContentView(mLayout); 214 return mLayout;
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiSettingsForSetupWizard.java | 49 private SetupWizardListLayout mLayout; 58 mLayout = (SetupWizardListLayout) 60 final ListView list = mLayout.getListView(); 76 final NavigationBar navigationBar = mLayout.getNavigationBar(); 82 return mLayout; 181 if (mLayout != null) { 183 mLayout.showProgressBar(); 185 mLayout.hideProgressBar();
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowResourceCursorAdapter.java | 36 private int mLayout; 53 mLayout = mDropDownLayout = layout; 72 mLayout = mDropDownLayout = layout; 84 return mInflater.inflate(mLayout, parent, false); 99 mLayout = layout;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
SlotView.java | 72 private final Layout mLayout = new Layout(); 101 mRenderer.onSlotSizeChanged(mLayout.mSlotWidth, mLayout.mSlotHeight); 107 int slotCount = mLayout.mSlotCount; 111 Rect rect = mLayout.getSlotRect(index, mTempRect); 119 Rect rect = mLayout.getSlotRect(index, mTempRect); 139 position = Utils.clamp(position, 0, mLayout.getScrollLimit()); 145 mLayout.setSlotSpec(spec); 161 (mLayout.getVisibleStart() + mLayout.getVisibleEnd()) / 2 [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/ |
SimpleCursorAdapterTest.java | 43 int mLayout; 59 mLayout = com.android.internal.R.layout.simple_list_item_2; 92 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); 103 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, null, mFrom, mTo); 114 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); 133 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); 152 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, mCursor2x2, 178 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, null, null, null); 188 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, null, null, null); 211 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, mCursor2x2, [all...] |
/developers/build/prebuilts/gradle/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/ |
MainActivity.java | 60 private View mLayout; 66 mLayout = findViewById(R.id.main_layout); 86 Snackbar.make(mLayout, "Camera permission was granted. Starting preview.", 92 Snackbar.make(mLayout, "Camera permission request was denied.", 106 Snackbar.make(mLayout, 129 Snackbar.make(mLayout, "Camera access is required to display the camera preview.", 141 Snackbar.make(mLayout,
|
/developers/samples/android/system/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/ |
MainActivity.java | 60 private View mLayout; 66 mLayout = findViewById(R.id.main_layout); 86 Snackbar.make(mLayout, "Camera permission was granted. Starting preview.", 92 Snackbar.make(mLayout, "Camera permission request was denied.", 106 Snackbar.make(mLayout, 129 Snackbar.make(mLayout, "Camera access is required to display the camera preview.", 141 Snackbar.make(mLayout,
|
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/ |
MainActivity.java | 60 private View mLayout; 66 mLayout = findViewById(R.id.main_layout); 86 Snackbar.make(mLayout, "Camera permission was granted. Starting preview.", 92 Snackbar.make(mLayout, "Camera permission request was denied.", 106 Snackbar.make(mLayout, 129 Snackbar.make(mLayout, "Camera access is required to display the camera preview.", 141 Snackbar.make(mLayout,
|
/developers/build/prebuilts/gradle/BasicMediaRouter/Application/src/main/java/com/example/android/basicmediarouter/ |
SamplePresentation.java | 39 private LinearLayout mLayout; 54 mLayout = (LinearLayout) findViewById(R.id.display_layout); 71 mLayout.setBackgroundColor(color);
|
/developers/samples/android/media/BasicMediaRouter/Application/src/main/java/com/example/android/basicmediarouter/ |
SamplePresentation.java | 39 private LinearLayout mLayout; 54 mLayout = (LinearLayout) findViewById(R.id.display_layout); 71 mLayout.setBackgroundColor(color);
|
/development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/ |
SamplePresentation.java | 39 private LinearLayout mLayout; 54 mLayout = (LinearLayout) findViewById(R.id.display_layout); 71 mLayout.setBackgroundColor(color);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
AutoReinflateContainer.java | 37 private final int mLayout; 51 mLayout = a.getResourceId(R.styleable.AutoReinflateContainer_android_layout, 0); 77 LayoutInflater.from(getContext()).inflate(mLayout, this);
|
/frameworks/base/core/java/android/view/ |
SurfaceView.java | 107 final WindowManager.LayoutParams mLayout 234 mLayout.token = getWindowToken(); 235 mLayout.setTitle("SurfaceView - " + getViewRootImpl().getTitle()); 293 mLayout.token = null; 402 mLayout.flags |= WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM; 405 mLayout.flags &= ~WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM; 423 mLayout.flags |= WindowManager.LayoutParams.FLAG_SECURE; 425 mLayout.flags &= ~WindowManager.LayoutParams.FLAG_SECURE; 461 final boolean layoutSizeChanged = getWidth() != mLayout.width 462 || getHeight() != mLayout.height [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
BaselineButtonsTest.java | 34 private View mLayout; 50 mLayout = activity.findViewById(R.id.layout); 60 assertNotNull(mLayout); 74 assertEquals("Layout incorrect height", pauseHeight, mLayout.getHeight());
|
/frameworks/base/core/java/android/widget/ |
ResourceCursorAdapter.java | 33 private int mLayout; 56 mLayout = mDropDownLayout = layout; 79 mLayout = mDropDownLayout = layout; 97 mLayout = mDropDownLayout = layout; 135 return mInflater.inflate(mLayout, parent, false); 149 mLayout = layout;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
DrawerController.java | 125 private DrawerLayout mLayout; 136 mLayout = layout; 140 mLayout.setDrawerListener(this); 151 mLayout.openDrawer(mDrawer); 154 mLayout.closeDrawer(mDrawer); 160 return mLayout.isDrawerOpen(mDrawer);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
ResourceCursorAdapter.java | 33 private int mLayout; 55 mLayout = mDropDownLayout = layout; 83 mLayout = mDropDownLayout = layout; 100 mLayout = mDropDownLayout = layout; 112 return mInflater.inflate(mLayout, parent, false); 126 mLayout = layout;
|
/frameworks/base/core/java/android/service/wallpaper/ |
WallpaperService.java | 173 final WindowManager.LayoutParams mLayout 555 out.print(prefix); out.print("mLayout="); out.println(mLayout); 621 mLayout.x = 0; 622 mLayout.y = 0; 623 mLayout.width = myWidth; 624 mLayout.height = myHeight; 626 mLayout.format = mFormat; 629 mLayout.flags = mWindowFlags 635 mLayout.privateFlags = mWindowPrivateFlags [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
FullScreenTask.java | 50 protected String mLayout; 58 mLayout = layout; 75 StringReader sr = new StringReader(mLayout); 204 mLayout = layout; 251 String mLayout; 255 mLayout = layout; 260 loadLayout(mLayout);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/ |
LayoutTestsBase.java | 42 private LayoutBase mLayout; 51 mLayout = getLayout(); 52 mSubtype = getSubtype(mLayout.getLocale(), mLayout.getName()); 135 final ExpectedKey[][] expectedKeyboard = mLayout.getLayout(isPhone(), elementId);
|
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
CalendarWatchFaceService.java | 71 /** Width specified when {@link #mLayout} was created. */ 75 DynamicLayout mLayout; 174 // Create or update mLayout if necessary. 175 if (mLayout == null || mLayoutWidth != bounds.width()) { 177 mLayout = new DynamicLayout(mEditable, mTextPaint, mLayoutWidth, 194 mLayout.draw(canvas);
|