Searched refs:widgetState (Results 1 – 3 of 3) sorted by relevance
106 val widgetState = currentState.widgetStates.get(child.id) ?: continue in applyCurrentState() constant114 if (child is TextView && widgetState.width < widgetState.measureWidth) { in applyCurrentState()116 widgetState.measureWidth - widgetState.width in applyCurrentState()124 if (child.measuredWidth != widgetState.measureWidth || in applyCurrentState()125 child.measuredHeight != widgetState.measureHeight) { in applyCurrentState()126 val measureWidthSpec = MeasureSpec.makeMeasureSpec(widgetState.measureWidth, in applyCurrentState()128 val measureHeightSpec = MeasureSpec.makeMeasureSpec(widgetState.measureHeight, in applyCurrentState()134 val left = widgetState.x.toInt() + contentTranslationX - clipShift in applyCurrentState()135 val top = widgetState.y.toInt() + contentTranslationY in applyCurrentState()137 val boundsWidth = if (clipMode) widgetState.measureWidth else widgetState.width in applyCurrentState()[all …]
979 byte[] widgetState = AppWidgetBackupBridge.getWidgetState(pkgName, mUserId); in writeWidgetPayloadIfAppropriate()982 if (!priorStateExists && widgetState == null) { in writeWidgetPayloadIfAppropriate()985 mReporter.onWriteWidgetData(priorStateExists, widgetState); in writeWidgetPayloadIfAppropriate()992 if (widgetState != null) { in writeWidgetPayloadIfAppropriate()993 newChecksum = SHA1Checksum(widgetState); in writeWidgetPayloadIfAppropriate()1010 if (widgetState != null) { in writeWidgetPayloadIfAppropriate()1018 out.writeEntityHeader(KEY_WIDGET_STATE, widgetState.length); in writeWidgetPayloadIfAppropriate()1019 out.writeEntityData(widgetState, widgetState.length); in writeWidgetPayloadIfAppropriate()
236 void onWriteWidgetData(boolean priorStateExists, @Nullable byte[] widgetState) { in onWriteWidgetData() argument241 + (widgetState != null) in onWriteWidgetData()