/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | CustomLayout.java | 99 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local 100 if (lp.position == LayoutParams.POSITION_LEFT) { in onMeasure() 102 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); in onMeasure() 103 } else if (lp.position == LayoutParams.POSITION_RIGHT) { in onMeasure() 105 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); in onMeasure() 108 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); in onMeasure() 111 child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin); in onMeasure() 151 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayout() local 157 if (lp.position == LayoutParams.POSITION_LEFT) { in onLayout() 158 mTmpContainerRect.left = leftPos + lp.leftMargin; in onLayout() [all …]
|
D | List9.java | 80 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( in onCreate() 86 mWindowManager.addView(mDialogText, lp); in onCreate()
|
D | ExpandableList1.java | 113 AbsListView.LayoutParams lp = new AbsListView.LayoutParams( in getGenericView() local 117 textView.setLayoutParams(lp); in getGenericView()
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | LocalPlayer.java | 488 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams(); in updateSize() local 492 lp.width = surfaceWidth; in updateSize() 493 lp.height = surfaceWidth * height / width; in updateSize() 497 lp.width = surfaceHeight * width / height; in updateSize() 498 lp.height = surfaceHeight; in updateSize() 500 Log.i(TAG, "video rect is " + lp.width + "x" + lp.height); in updateSize() 501 mSurfaceView.setLayoutParams(lp); in updateSize() 559 ViewGroup.LayoutParams lp = mPresentationSurfaceView.getLayoutParams(); in updateSize() local 561 lp.width = surfaceWidth; in updateSize() 562 lp.height = surfaceWidth * height / width; in updateSize() [all …]
|
/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/ |
D | SoftInputWindow.java | 54 final LayoutParams lp = getWindow().getAttributes(); in SoftInputWindow() local 55 lp.type = LayoutParams.TYPE_INPUT_METHOD; in SoftInputWindow() 56 lp.setTitle("InputMethod"); in SoftInputWindow() 57 lp.gravity = Gravity.BOTTOM; in SoftInputWindow() 58 lp.width = LayoutParams.MATCH_PARENT; in SoftInputWindow() 59 lp.height = LayoutParams.WRAP_CONTENT; in SoftInputWindow() 60 lp.token = token; in SoftInputWindow() 61 getWindow().setAttributes(lp); in SoftInputWindow()
|
/development/apps/Development/src/com/android/development/ |
D | PointerLocation.java | 36 WindowManager.LayoutParams lp = getWindow().getAttributes(); in onCreate() local 37 lp.screenBrightness = 1.0f; in onCreate() 38 getWindow().setAttributes(lp); in onCreate()
|
D | PackageSummary.java | 160 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( in onCreate() local 181 activities.addView(view, lp); in onCreate() 196 receivers.addView(view, lp); in onCreate() 209 services.addView(view, lp); in onCreate() 222 providers.addView(view, lp); in onCreate() 235 instrumentation.addView(view, lp); in onCreate()
|
D | Connectivity.java | 295 public void onLinkPropertiesChanged(Network network, LinkProperties lp) { in onLinkPropertiesChanged() argument 296 Log.d(TAG, "onLinkPropertiesChanged: " + network.netId + " " + lp.toString()); in onLinkPropertiesChanged()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | ActionBarDisplayOptions.java | 102 ActionBar.LayoutParams lp = (ActionBar.LayoutParams) mCustomView.getLayoutParams(); in onClick() local 104 switch (lp.gravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK) { in onClick() 115 lp.gravity = lp.gravity & ~Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK | newGravity; in onClick() 116 bar.setCustomView(mCustomView, lp); in onClick()
|
D | NotificationDisplay.java | 56 RelativeLayout.LayoutParams lp = new RelativeLayout.LayoutParams( in onCreate() local 59 lp.addRule(RelativeLayout.CENTER_IN_PARENT); in onCreate() 61 container.addView(button, lp); in onCreate()
|
D | MenuInflateFromXml.java | 113 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( in onCreate() local 116 lp.setMargins(10, 10, 10, 10); in onCreate() 117 layout.addView(mInstructionsText, lp); in onCreate()
|
D | FragmentReceiveResult.java | 40 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams( in onCreate() local 45 setContentView(frame, lp); in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/media/projection/ |
D | MediaProjectionDemo.java | 176 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams(); in onItemSelected() local 185 lp.height = mDisplayHeight; in onItemSelected() 186 lp.width = mDisplayWidth; in onItemSelected() 187 mSurfaceView.setLayoutParams(lp); in onItemSelected()
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
D | MainActivity.java | 183 final ViewGroup.LayoutParams lp = titlesView.getLayoutParams(); in toggleVisibleTitles() local 191 lp.height = (Integer) valueAnimator.getAnimatedValue(); in toggleVisibleTitles() 193 lp.width = (Integer) valueAnimator.getAnimatedValue(); in toggleVisibleTitles() 195 titlesView.setLayoutParams(lp); in toggleVisibleTitles()
|
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/ |
D | commit.csv | 8835 …atform/tools/test/connectivity,fake_bSGCCfG8QJOGRRU95wUSsg@fakeemail.com,Fixed bug with -tp and -lp
|