Java Code Examples for android.support.v4.view.ViewCompat#setLayerPaint()

The following examples show how to use android.support.v4.view.ViewCompat#setLayerPaint() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SlidingPaneLayout.java    From letv with Apache License 2.0 4 votes vote down vote up
public void invalidateChildRegion(SlidingPaneLayout parent, View child) {
    ViewCompat.setLayerPaint(child, ((LayoutParams) child.getLayoutParams()).dimPaint);
}
 
Example 2
Source File: SlideFrameLayout.java    From AccountBook with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void invalidateChildRegion(SlideFrameLayout parent, View child) {
    ViewCompat.setLayerPaint(child, ((LayoutParams) child.getLayoutParams()).dimPaint);
}
 
Example 3
Source File: SwipeBackLayout.java    From AndroidProjects with MIT License 4 votes vote down vote up
@Override
public void invalidateChildRegion(SwipeBackLayout parent, View child) {
    ViewCompat.setLayerPaint(child, ((LayoutParams) child.getLayoutParams()).dimPaint);
}
 
Example 4
Source File: SlidingPaneLayout.java    From CodenameOne with GNU General Public License v2.0 4 votes vote down vote up
@Override
public void invalidateChildRegion(SlidingPaneLayout parent, View child) {
    ViewCompat.setLayerPaint(child, ((LayoutParams) child.getLayoutParams()).dimPaint);
}
 
Example 5
Source File: ResideLayout.java    From ResideLayout with Apache License 2.0 4 votes vote down vote up
@Override
public void invalidateChildRegion(ResideLayout parent, View child) {
    ViewCompat.setLayerPaint(child, ((LayoutParams) child.getLayoutParams()).dimPaint);
}
 
Example 6
Source File: SlidingPaneLayout.java    From adt-leanback-support with Apache License 2.0 4 votes vote down vote up
@Override
public void invalidateChildRegion(SlidingPaneLayout parent, View child) {
    ViewCompat.setLayerPaint(child, ((LayoutParams) child.getLayoutParams()).dimPaint);
}
 
Example 7
Source File: SlidingPaneLayout.java    From android-recipes-app with Apache License 2.0 4 votes vote down vote up
@Override
public void invalidateChildRegion(SlidingPaneLayout parent, View child) {
    ViewCompat.setLayerPaint(child, ((LayoutParams) child.getLayoutParams()).dimPaint);
}
 
Example 8
Source File: SlidingUpPaneLayout.java    From SlidingUpPaneLayout with Apache License 2.0 4 votes vote down vote up
@Override
public void invalidateChildRegion(SlidingUpPaneLayout parent, View child) {
    ViewCompat.setLayerPaint(child, ((LayoutParams) child.getLayoutParams()).dimPaint);
}
 
Example 9
Source File: SlidingLayout.java    From UltimateAndroid with Apache License 2.0 4 votes vote down vote up
@Override
public void invalidateChildRegion(SlidingLayout parent, View child) {
    ViewCompat.setLayerPaint(child, ((LayoutParams) child.getLayoutParams()).dimPaint);
}
 
Example 10
Source File: SlidingPaneLayout.java    From V.FlyoutTest with MIT License 4 votes vote down vote up
@Override
public void invalidateChildRegion(SlidingPaneLayout parent, View child) {
    ViewCompat.setLayerPaint(child, ((LayoutParams) child.getLayoutParams()).dimPaint);
}
 
Example 11
Source File: SlideLayout.java    From SlideActivity with MIT License 4 votes vote down vote up
@Override
public void invalidateChildRegion(SlideLayout parent, View child) {
    ViewCompat.setLayerPaint(child, ((LayoutParams) child.getLayoutParams()).dimPaint);
}
 
Example 12
Source File: SlidingPaneLayout.java    From guideshow with MIT License 4 votes vote down vote up
@Override
public void invalidateChildRegion(SlidingPaneLayout parent, View child) {
    ViewCompat.setLayerPaint(child, ((LayoutParams) child.getLayoutParams()).dimPaint);
}
 
Example 13
Source File: SlidingPaneLayout.java    From KlyphMessenger with MIT License 4 votes vote down vote up
@Override
public void invalidateChildRegion(SlidingPaneLayout parent, View child) {
    ViewCompat.setLayerPaint(child, ((LayoutParams) child.getLayoutParams()).dimPaint);
}