Home
last modified time | relevance | path

Searched refs:mLayout (Results 1 – 10 of 10) sorted by relevance

/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
DCardFlip.java67 RelativeLayout mLayout; field in CardFlip
91 mLayout = (RelativeLayout)findViewById(R.id.main_relative_layout); in onCreate()
92 ViewTreeObserver observer = mLayout.getViewTreeObserver(); in onCreate()
97 mLayout.getViewTreeObserver().removeOnGlobalLayoutListener(this); in onCreate()
99 mLayout.getViewTreeObserver().removeGlobalOnLayoutListener(this); in onCreate()
102 mCardHeight = mLayout.getHeight(); in onCreate()
103 mCardWidth = mLayout.getWidth() / 2; in onCreate()
128 mLayout.addView(view, params); in addNewCard()
186 mLayout.bringChildToFront(cardView); in rotateCardView()
187 mLayout.requestLayout(); in rotateCardView()
[all …]
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCardStreamFragment.java40 private CardStreamLinearLayout mLayout = null; field in CardStreamFragment
60 mLayout = (CardStreamLinearLayout) view.findViewById(R.id.card_stream); in onCreateView()
61 mLayout.setOnDismissListener(mCardDismissListener); in onCreateView()
106 mLayout.removeView(card.getView()); in removeCard()
138 mLayout.addCard(card.getView(), dismissible); in showCard()
160 mLayout.removeView(card.getView()); in hideCard()
215 mLayout.setFirstVisibleCard(tag); in setFirstVisibleCard()
248 mLayout.setFirstVisibleCard(firstShown); in restoreState()
251 mLayout.triggerShowInitialAnimation(); in restoreState()
258 final String firstVisible = mLayout.getFirstVisibleCardTag(); in dumpState()
/development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/
DSamplePresentation.java39 private LinearLayout mLayout; field in SamplePresentation
54 mLayout = (LinearLayout) findViewById(R.id.display_layout); in onCreate()
71 mLayout.setBackgroundColor(color); in setColor()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DCalendarWatchFaceService.java71 DynamicLayout mLayout; field in CalendarWatchFaceService.Engine
135 if (mLayout == null || mLayoutWidth != bounds.width()) { in onDraw()
137 mLayout = new DynamicLayout(mEditable, mTextPaint, mLayoutWidth, in onDraw()
149 mLayout.draw(canvas); in onDraw()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DExternalStorage.java50 ViewGroup mLayout; field in ExternalStorage
67 mLayout = (ViewGroup)findViewById(R.id.layout); in onCreate()
84 mLayout.addView(mExternalStoragePublicPicture.mRoot); in onCreate()
100 mLayout.addView(mExternalStoragePrivatePicture.mRoot); in onCreate()
116 mLayout.addView(mExternalStoragePrivateFile.mRoot); in onCreate()
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
DInsertingCells.java67 RelativeLayout mLayout = (RelativeLayout)findViewById(R.id.relative_layout); in onCreate() local
75 mListView.setLayout(mLayout); in onCreate()
DInsertionListView.java62 private RelativeLayout mLayout; field in InsertionListView
157 Point layoutLoc = getLocationOnScreen(mLayout); in addRow()
185 mLayout.addView(copyImgView, params); in addRow()
275 mLayout.removeView(copyImgView); in addRow()
351 mLayout = layout; in setLayout()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DLocalPlayer.java379 private final FrameLayout mLayout; field in LocalPlayer.SurfaceViewPlayer
385 mLayout = (FrameLayout)((Activity)context).findViewById(R.id.player); in SurfaceViewPlayer()
417 mLayout.setVisibility(View.GONE); in release()
483 int surfaceWidth = mLayout.getWidth(); in updateSize()
484 int surfaceHeight = mLayout.getHeight(); in updateSize()
511 mLayout.setVisibility(View.GONE); in updateContents()
514 mLayout.setVisibility(View.VISIBLE); in updateContents()
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
DLocalPlayer.java382 private final FrameLayout mLayout; field in LocalPlayer.SurfaceViewPlayer
388 mLayout = (FrameLayout)((Activity)context).findViewById(R.id.player); in SurfaceViewPlayer()
420 mLayout.setVisibility(View.GONE); in release()
486 int surfaceWidth = mLayout.getWidth(); in updateSize()
487 int surfaceHeight = mLayout.getHeight(); in updateSize()
514 mLayout.setVisibility(View.GONE); in updateContents()
517 mLayout.setVisibility(View.VISIBLE); in updateContents()
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/
DMainActivity.java69 private View mLayout; field in MainActivity
81 mLayout = findViewById(R.id.layout); in onCreate()
155 mLayout.setBackground(new BitmapDrawable(getResources(), bitmap)); in onDataChanged()