/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...] |
/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/core/java/android/transition/ |
Scene.java | 37 private View mLayout; // alternative to layoutId 119 mLayout = layout; 128 mLayout = layout; 170 if (mLayoutId > 0 || mLayout != null) { 177 mSceneRoot.addView(mLayout);
|
/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/ |
CardStreamFragment.java | 40 private CardStreamLinearLayout mLayout = null; 60 mLayout = (CardStreamLinearLayout) view.findViewById(R.id.card_stream); 61 mLayout.setOnDismissListener(mCardDismissListener); 106 mLayout.removeView(card.getView()); 138 mLayout.addCard(card.getView(), dismissible); 160 mLayout.removeView(card.getView()); 215 mLayout.setFirstVisibleCard(tag); 248 mLayout.setFirstVisibleCard(firstShown); 251 mLayout.triggerShowInitialAnimation(); 258 final String firstVisible = mLayout.getFirstVisibleCardTag() [all...] |
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
CardStreamFragment.java | 43 private CardStreamLinearLayout mLayout = null; 63 mLayout = (CardStreamLinearLayout) view.findViewById(R.id.card_stream); 64 mLayout.setOnDismissListener(mCardDismissListener); 109 mLayout.removeView(card.getView()); 141 mLayout.addCard(card.getView(), dismissible); 163 mLayout.removeView(card.getView()); 218 mLayout.setFirstVisibleCard(tag); 251 mLayout.setFirstVisibleCard(firstShown); 254 mLayout.triggerShowInitialAnimation(); 261 final String firstVisible = mLayout.getFirstVisibleCardTag() [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/ |
SimpleCursorAdapterTest.java | 41 int mLayout; 57 mLayout = com.android.internal.R.layout.simple_list_item_2; 90 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); 101 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, null, mFrom, mTo); 112 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); 131 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); 150 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, mCursor2x2, 176 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, null, null, null); 186 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, null, null, null); 209 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, mCursor2x2, [all...] |
/frameworks/base/core/java/android/view/ |
SurfaceView.java | 100 final WindowManager.LayoutParams mLayout 221 mLayout.token = getWindowToken(); 222 mLayout.setTitle("SurfaceView"); 280 mLayout.token = null; 389 mLayout.flags |= WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM; 392 mLayout.flags &= ~WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM; 410 mLayout.flags |= WindowManager.LayoutParams.FLAG_SECURE; 412 mLayout.flags &= ~WindowManager.LayoutParams.FLAG_SECURE; 468 // Scaling/Translate window's layout here because mLayout is not used elsewhere. 471 mLayout.x = mLeft [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());
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
TwoPaneController.java | 54 private TwoPaneLayout mLayout; 88 && !mLayout.shouldShowPreviewPanel(); 139 return !mLayout.isConversationListCollapsed(); 155 mLayout = (TwoPaneLayout) mActivity.findViewById(R.id.two_pane_activity); 156 if (mLayout == null) { 158 LogUtils.wtf(LOG_TAG, "mLayout is null!"); 161 mLayout.setController(this, Intent.ACTION_SEARCH.equals(mActivity.getIntent().getAction())); 178 mViewMode.addListener(mLayout); 192 if (hasFocus && !mLayout.isConversationListCollapsed()) { 249 mLayout.requestLayout() [all...] |
FolderSelectorAdapter.java | 91 private final int mLayout; 97 mLayout = layout; 104 mLayout = layout; 313 view = mInflater.inflate(mLayout, parent, false);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
SettingsLayoutFragment.java | 110 private Layout mLayout; 124 args.putParcelable(EXTRA_ACTION_LAYOUT, mLayout); 125 mLayout.setRefreshViewListener(fragment); 167 mLayout = layout; 199 private Layout mLayout; 214 mLayout.setSelectedIndex(mListView.getSelectedPosition()); 215 mLayout.reloadLayoutRows(); 216 mAdapter.setLayoutRows(mLayout.getLayoutRows()); 219 mListView.setSelectedPositionSmooth(mLayout.getSelectedIndex()); 255 mLayout = state.getParcelable(EXTRA_ACTION_LAYOUT) [all...] |
/frameworks/base/core/java/android/service/wallpaper/ |
WallpaperService.java | 181 final WindowManager.LayoutParams mLayout 559 out.print(prefix); out.print("mLayout="); out.println(mLayout); 625 mLayout.x = 0; 626 mLayout.y = 0; 627 mLayout.width = myWidth; 628 mLayout.height = myHeight; 630 mLayout.format = mFormat; 633 mLayout.flags = mWindowFlags 639 mLayout.privateFlags = mWindowPrivateFlags [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
PlatLogoActivity.java | 56 FrameLayout mLayout; 79 mLayout = new FrameLayout(this); 80 setContentView(mLayout); 126 mLayout.addView(stick, new FrameLayout.LayoutParams((int) (32 * dp), 230 mLayout.addView(im, new FrameLayout.LayoutParams(size, size, Gravity.CENTER));
|
/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()); 152 final ExpectedKey[][] expectedKeyboard = mLayout.getLayout(isPhone(), elementId);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
GridLayoutConverter.java | 113 private final Element mLayout; 125 mLayout = layout; 138 CanvasViewInfo layoutView = findViewForElement(mRootView, mLayout); 145 GridModel gridModel = new GridModel(layoutView, mLayout, mFlatten); 163 mRefactoring.setAttribute(mRootEdit, mLayout, ANDROID_URI, 181 if (view.mElement == mLayout) { 216 String gridLayout = mLayout.getTagName(); 217 if (mLayout instanceof IndexedRegion) { 218 IndexedRegion region = (IndexedRegion) mLayout; 323 mRefactoring.setAttribute(mRootEdit, mLayout, ANDROID_URI [all...] |
/frameworks/base/core/java/android/widget/ |
TextView.java | 520 private Layout mLayout; [all...] |
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
InsertingCells.java | 67 RelativeLayout mLayout = (RelativeLayout)findViewById(R.id.relative_layout); 75 mListView.setLayout(mLayout);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
RecyclerView.java | 162 private LayoutManager mLayout; 406 mLayout.onItemsAdded(RecyclerView.this, op.positionStart, op.itemCount); 409 mLayout.onItemsRemoved(RecyclerView.this, op.positionStart, op.itemCount); 412 mLayout.onItemsUpdated(RecyclerView.this, op.positionStart, op.itemCount); 415 mLayout.onItemsMoved(RecyclerView.this, op.positionStart, op.itemCount, 1); 523 // Since animations are ended, mLayout.children should be equal to 525 // expected. (e.g. not release children instantly). It is safer to use mLayout's child 527 if (mLayout != null) { 528 mLayout.removeAndRecycleAllViews(mRecycler); 529 mLayout.removeAndRecycleScrapInt(mRecycler, true) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
ExternalStorage.java | 50 ViewGroup mLayout; 67 mLayout = (ViewGroup)findViewById(R.id.layout); 84 mLayout.addView(mExternalStoragePublicPicture.mRoot); 100 mLayout.addView(mExternalStoragePrivatePicture.mRoot); 116 mLayout.addView(mExternalStoragePrivateFile.mRoot);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
IconMenuView.java | 118 private int[] mLayout; 161 mLayout = new int[mMaxRows]; 231 int[] layout = mLayout; 254 int[] layout = mLayout; 333 final int numItemsForRow[] = mLayout; 519 return mLayout;
|
/frameworks/base/core/java/com/android/internal/widget/ |
SubtitleView.java | 72 private StaticLayout mLayout; 222 final StaticLayout layout = mLayout; 258 mLayout = new StaticLayout( 291 final StaticLayout layout = mLayout;
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
AlbumDataAdapter.java | 44 private final int mLayout; 52 mLayout = resource; 85 item = mInflater.inflate(mLayout, parent, false);
|
SectionedAlbumDataAdapter.java | 39 private final int mLayout; 45 mLayout = headerLayout; 182 item = mInflater.inflate(mLayout, parent, false);
|