Lines Matching refs:wrapper
69 final Drawable wrapper = DrawableCompat.wrap(drawable);
70 wrapper.setBounds(bounds);
85 final Drawable wrapper = DrawableCompat.wrap(drawable);
87 // Assert that the bounds were copied to the wrapper
88 assertEquals(bounds, wrapper.getBounds());
104 // Now wrap and assert that the wrapper also returns a constant state
105 final Drawable wrapper = DrawableCompat.wrap(drawable);
106 assertNotNull(wrapper.getConstantState());
114 // Now wrap it and set a mock as the wrapper's callback
115 final Drawable wrapper = DrawableCompat.wrap(drawable);
117 wrapper.setCallback(mockCallback);
122 // ...and verify that the wrapper calls to be invalidated
123 verify(mockCallback, times(1)).invalidateDrawable(wrapper);