HomeSort by relevance Sort by last modified time
    Searched full:cardview (Results 1 - 25 of 148) sorted by null

1 2 3 4 5 6

  /frameworks/support/v7/cardview/api21/android/support/v7/widget/
CardViewApi21.java 24 public void initialize(CardViewDelegate cardView, Context context, int backgroundColor,
27 cardView.setBackgroundDrawable(backgroundDrawable);
28 View view = (View) cardView;
31 setMaxElevation(cardView, maxElevation);
35 public void setRadius(CardViewDelegate cardView, float radius) {
36 ((RoundRectDrawable) (cardView.getBackground())).setRadius(radius);
44 public void setMaxElevation(CardViewDelegate cardView, float maxElevation) {
45 ((RoundRectDrawable) (cardView.getBackground())).setPadding(maxElevation,
46 cardView.getUseCompatPadding(), cardView.getPreventCornerOverlap())
    [all...]
  /frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
CardViewEclairMr1.java 69 public void initialize(CardViewDelegate cardView, Context context, int backgroundColor,
73 background.setAddPaddingForCorners(cardView.getPreventCornerOverlap());
74 cardView.setBackgroundDrawable(background);
75 updatePadding(cardView);
85 public void updatePadding(CardViewDelegate cardView) {
87 getShadowBackground(cardView).getMaxShadowAndCornerPadding(shadowPadding);
88 ((View)cardView).setMinimumHeight((int) Math.ceil(getMinHeight(cardView)));
89 ((View)cardView).setMinimumWidth((int) Math.ceil(getMinWidth(cardView)));
    [all...]
  /frameworks/support/v7/cardview/base/android/support/v7/widget/
CardViewImpl.java 20 * Interface for platform specific CardView implementations.
23 void initialize(CardViewDelegate cardView, Context context, int backgroundColor, float radius,
26 void setRadius(CardViewDelegate cardView, float radius);
28 float getRadius(CardViewDelegate cardView);
30 void setElevation(CardViewDelegate cardView, float elevation);
32 float getElevation(CardViewDelegate cardView);
36 void setMaxElevation(CardViewDelegate cardView, float maxElevation);
38 float getMaxElevation(CardViewDelegate cardView);
40 float getMinWidth(CardViewDelegate cardView);
42 float getMinHeight(CardViewDelegate cardView);
    [all...]
  /development/samples/browseable/CardView/
_index.jd 1 page.tags="CardView Sample"
7 This sample demonstrates how to use CardView introduced in the support library for the
  /frameworks/support/v7/cardview/
Android.mk 22 LOCAL_MODULE := android-support-v7-cardview-res
29 # A helper sub-library to resolve cyclic dependencies between CardView and platform dependent
32 LOCAL_MODULE := android-support-v7-cardview-base
39 LOCAL_MODULE := android-support-v7-cardview-eclair-mr1
42 LOCAL_STATIC_JAVA_LIBRARIES := android-support-v7-cardview-base
43 LOCAL_JAVA_LIBRARIES := android-support-v7-cardview-res
48 LOCAL_MODULE := android-support-v7-cardview-jellybean-mr1
51 LOCAL_STATIC_JAVA_LIBRARIES := android-support-v7-cardview-eclair-mr1
52 LOCAL_JAVA_LIBRARIES := android-support-v7-cardview-res
57 LOCAL_MODULE := android-support-v7-cardview-api2
    [all...]
  /frameworks/support/v7/cardview/res/values/
attrs.xml 18 <declare-styleable name="CardView">
19 <!-- Background color for CardView. -->
21 <!-- Corner radius for CardView. -->
23 <!-- Elevation for CardView. -->
25 <!-- Maximum Elevation for CardView. -->
29 <!-- Add padding to CardView on v20 and before to prevent intersections between the Card content and rounded corners. -->
31 <!-- Inner padding between the edges of the Card and children of the CardView. -->
33 <!-- Inner padding between the left edge of the Card and children of the CardView. -->
35 <!-- Inner padding between the right edge of the Card and children of the CardView. -->
37 <!-- Inner padding between the top edge of the Card and children of the CardView. --
    [all...]
colors.xml 18 <!-- Background color for light CardView. -->
20 <!-- Background color for dark CardView. -->
22 <!-- Shadow color for the first pixels around CardView. -->
24 <!-- Shadow color for the furthest pixels around CardView. -->
styles.xml 17 <style name="CardView">
25 <style name="CardView.Light">
28 <style name="CardView.Dark">
  /prebuilts/sdk/current/support/v7/cardview/res/values/
attrs.xml 18 <declare-styleable name="CardView">
19 <!-- Background color for CardView. -->
21 <!-- Corner radius for CardView. -->
23 <!-- Elevation for CardView. -->
25 <!-- Maximum Elevation for CardView. -->
29 <!-- Add padding to CardView on v20 and before to prevent intersections between the Card content and rounded corners. -->
31 <!-- Inner padding between the edges of the Card and children of the CardView. -->
33 <!-- Inner padding between the left edge of the Card and children of the CardView. -->
35 <!-- Inner padding between the right edge of the Card and children of the CardView. -->
37 <!-- Inner padding between the top edge of the Card and children of the CardView. --
    [all...]
colors.xml 18 <!-- Background color for light CardView. -->
20 <!-- Background color for dark CardView. -->
22 <!-- Shadow color for the first pixels around CardView. -->
24 <!-- Shadow color for the furthest pixels around CardView. -->
styles.xml 17 <style name="CardView">
25 <style name="CardView.Light">
28 <style name="CardView.Dark">
  /frameworks/support/v7/cardview/src/android/support/v7/widget/
CardView.java 23 import android.support.v7.cardview.R;
30 * CardView uses <code>elevation</code> property on L for shadows and falls back to a custom shadow
33 * Due to expensive nature of rounded corner clipping, on platforms before L, CardView does not
37 * Before L, CardView adds padding to its content and draws shadows to that area. This padding
41 * Since padding is used to offset content for shadows, you cannot set padding on CardView.
44 * in code to set the padding between the edges of the Card and children of CardView.
46 * Note that, if you specify exact dimensions for the CardView, because of the shadows, its content
48 * resource values, you can avoid these changes. Alternatively, If you want CardView to add inner
52 * To change CardView's elevation in a backward compatible way, use
53 * {@link #setCardElevation(float)}. CardView will use elevation API on L and before L, it wil
    [all...]
  /development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
CardFlip.java 69 List<ArrayList<CardView>> mStackCards;
78 mStackCards = new ArrayList<ArrayList<CardView>>();
79 mStackCards.add(new ArrayList<CardView>());
80 mStackCards.add(new ArrayList<CardView>());
117 CardView view = new CardView(this);
141 rotateCardsFullRotation(stack, CardView.Corner.BOTTOM_LEFT);
149 ArrayList<CardView> cardStack = mStackCards.get(stack);
170 public void rotateCardView(final CardView cardView, int stack, float velocityX
    [all...]
  /developers/samples/android/ui/views/CardView/
template-params.xml 21 <name>CardView Sample</name>
23 <package>com.example.android.cardview</package>
31 <dependency>com.android.support:cardview-v7:21.+</dependency>
36 This sample demonstrates how to use CardView introduced in the support library for the
  /prebuilts/maven_repo/android/com/android/support/cardview-v7/
maven-metadata.xml 4 <artifactId>cardview-v7</artifactId>
  /developers/build/prebuilts/gradle/CardView/Application/src/main/res/values/
base-strings.xml 18 <string name="app_name">CardView Sample</string>
23 This sample demonstrates how to use CardView introduced in the support library for the
  /development/samples/browseable/CardView/res/values/
base-strings.xml 18 <string name="app_name">CardView Sample</string>
23 This sample demonstrates how to use CardView introduced in the support library for the
  /prebuilts/maven_repo/android/com/android/support/cardview-v7/21.0.0/
cardview-v7-21.0.0-sources.jar 
  /frameworks/support/
settings.gradle 22 include ':support-cardview-v7'
23 project(':support-cardview-v7').projectDir = new File(rootDir, 'v7/cardview')
  /packages/apps/Contacts/
Android.mk 14 frameworks/support/v7/cardview/res
20 --extra-packages android.support.v7.cardview
28 android-support-v7-cardview \
  /packages/apps/Contacts/res/layout/
quickcontact_content.xml 18 xmlns:cardview="http://schemas.android.com/apk/res-auto"
37 cardview:cardCornerRadius="@dimen/expanding_entry_card_card_corner_radius" />
43 cardview:cardCornerRadius="@dimen/expanding_entry_card_card_corner_radius" />
49 cardview:cardCornerRadius="@dimen/expanding_entry_card_card_corner_radius" />
55 cardview:cardCornerRadius="@dimen/expanding_entry_card_card_corner_radius" />
  /developers/build/prebuilts/gradle/CardView/Application/src/main/java/com/example/android/cardview/
CardViewFragment.java 17 package com.example.android.cardview;
21 import android.support.v7.widget.CardView;
29 * Fragment that demonstrates how to use CardView.
35 /** The CardView widget. */
37 CardView mCardView;
82 mCardView = (CardView) view.findViewById(R.id.cardview);
  /developers/samples/android/ui/views/CardView/Application/src/main/java/com/example/android/cardview/
CardViewFragment.java 17 package com.example.android.cardview;
21 import android.support.v7.widget.CardView;
29 * Fragment that demonstrates how to use CardView.
35 /** The CardView widget. */
37 CardView mCardView;
82 mCardView = (CardView) view.findViewById(R.id.cardview);
  /development/samples/browseable/CardView/src/com.example.android.cardview/
CardViewFragment.java 17 package com.example.android.cardview;
21 import android.support.v7.widget.CardView;
29 * Fragment that demonstrates how to use CardView.
35 /** The CardView widget. */
37 CardView mCardView;
82 mCardView = (CardView) view.findViewById(R.id.cardview);
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
CardPresenter.java 34 * It contains an Image CardView
82 ImageCardView cardView = new ImageCardView(mContext);
83 cardView.setFocusable(true);
84 cardView.setFocusableInTouchMode(true);
85 cardView.setBackgroundColor(mContext.getResources().getColor(R.color.fastlane_background));
86 return new ViewHolder(cardView);

Completed in 1024 milliseconds

1 2 3 4 5 6