Searched refs:mSetupTextLayout (Results 1 – 2 of 2) sorted by relevance
38 private Layout mSetupTextLayout; field in DeferredAppWidgetHostView68 if (mSetupTextLayout != null && mSetupTextLayout.getText().equals(info.label) in onMeasure()69 && mSetupTextLayout.getWidth() == availableWidth) { in onMeasure()72 mSetupTextLayout = new StaticLayout(info.label, mPaint, availableWidth, in onMeasure()78 if (mSetupTextLayout != null) { in onDraw()80 (getHeight() - mSetupTextLayout.getHeight()) / 2); in onDraw()81 mSetupTextLayout.draw(canvas); in onDraw()
64 private Layout mSetupTextLayout; field in PendingAppWidgetHostView238 mSetupTextLayout = null; in updateDrawableBounds()242 mSetupTextLayout = new StaticLayout( in updateDrawableBounds()245 int textHeight = mSetupTextLayout.getHeight(); in updateDrawableBounds()258 mSetupTextLayout = null; in updateDrawableBounds()272 if (mSetupTextLayout != null) { in updateDrawableBounds()296 if (mSetupTextLayout != null) { in onDraw()299 mSetupTextLayout.draw(canvas); in onDraw()