Searched refs:landscape (Results 1 – 11 of 11) sorted by relevance
111 Configuration landscape = new Configuration(); in createInflaters() local112 landscape.setTo(mContext.getResources().getConfiguration()); in createInflaters()113 landscape.orientation = Configuration.ORIENTATION_LANDSCAPE; in createInflaters()114 mLandscapeInflater = LayoutInflater.from(mContext.createConfigurationContext(landscape)); in createInflaters()281 private void inflateButtons(String[] buttons, ViewGroup parent, boolean landscape, in inflateButtons() argument284 inflateButton(buttons[i], parent, landscape, start); in inflateButtons()297 protected View inflateButton(String buttonSpec, ViewGroup parent, boolean landscape, in inflateButton() argument299 LayoutInflater inflater = landscape ? mLandscapeInflater : mLayoutInflater; in inflateButton()303 v = applySize(v, buttonSpec, landscape, start); in inflateButton()306 View lastView = landscape ? mLastLandscape : mLastPortrait; in inflateButton()[all …]
50 final Bitmap bm3 = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) in testWithBitmap()162 final Bitmap res1 = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) in testWithBitmapResource()165 final Icon im1 = Icon.createWithResource(getContext(), R.drawable.landscape); in testWithBitmapResource()185 final Bitmap bit1 = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) in testWithFile()209 final Bitmap bit1 = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) in testAsync()252 … final Bitmap originalbits = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) in testParcel()275 final Icon res1 = Icon.createWithResource(getContext(), R.drawable.landscape); in testParcel()
94 final boolean landscape = configuration.orientation == ORIENTATION_LANDSCAPE; in addDivider()95 final int width = landscape ? size : MATCH_PARENT; in addDivider()96 final int height = landscape ? MATCH_PARENT : size; in addDivider()
297 boolean landscape = getResources().getConfiguration().orientation in onFinishInflate()300 landscape ? TYPE_HORIZONTAL_DOUBLE_ARROW : TYPE_VERTICAL_DOUBLE_ARROW)); in onFinishInflate()
166 RemoteViews landscape = new RemoteViews(mPackage, R.layout.remote_views_test); in parcelSize_differentOrientation() local170 RemoteViews views = new RemoteViews(landscape, portrait); in parcelSize_differentOrientation()171 assertTrue(getParcelSize(views) < (getParcelSize(landscape) + getParcelSize(portrait))); in parcelSize_differentOrientation()
62 public void landscape() { in landscape() method in DisplayPolicyInsetsTests
170 // Which orientation the device is in (portrait, landscape).
1624 final boolean landscape = bounds.width() > bounds.height(); in canResizeToBounds()1628 || landscape == (configBounds.width() > configBounds.height()); in canResizeToBounds()1630 return (mResizeMode != RESIZE_MODE_FORCE_RESIZABLE_PORTRAIT_ONLY || !landscape) in canResizeToBounds()1631 && (mResizeMode != RESIZE_MODE_FORCE_RESIZABLE_LANDSCAPE_ONLY || landscape); in canResizeToBounds()
1109 final boolean landscape = frame.height() > frame.width(); in selectDockedDividerAnimationLw()1110 final boolean offscreenLandscape = landscape && (frame.right - insets <= 0 in selectDockedDividerAnimationLw()1112 final boolean offscreenPortrait = !landscape && (frame.top - insets <= 0 in selectDockedDividerAnimationLw()
1378 // in portrait and landscape.
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...