Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
org.qtproject.qt.android.ExtractStyle Class Reference
+ Collaboration diagram for org.qtproject.qt.android.ExtractStyle:

Classes

class  DrawableCache
 
class  SimpleJsonWriter
 

Public Member Functions

 ExtractStyle (Context context, String extractPath, boolean minimal)
 
JSONObject getDrawable (Object drawable, String filename, Rect padding)
 
void extractViewInformation (int styleName, JSONObject json, String qtClassName)
 
void extractViewInformation (int styleName, JSONObject json, String qtClassName, AttributeSet attributeSet)
 
JSONObject extractTextAppearance (int styleName)
 
JSONObject extractTextAppearance (int styleName, boolean subStyle)
 
JSONObject extractTextAppearanceInformation (int styleName, String qtClass, AttributeSet attributeSet)
 
JSONObject extractTextAppearanceInformation (int styleName, String qtClass)
 
JSONObject extractTextAppearanceInformation (int styleName, String qtClass, int textAppearance, AttributeSet attributeSet)
 
JSONObject extractImageViewInformation (int styleName, String qtClassName)
 

Static Public Member Functions

static void setup (Bundle loaderParams)
 
static void runIfNeeded (Context context, boolean extractDarkMode)
 

Detailed Description

Definition at line 63 of file ExtractStyle.java.

Constructor & Destructor Documentation

◆ ExtractStyle()

org.qtproject.qt.android.ExtractStyle.ExtractStyle ( Context  context,
String  extractPath,
boolean  minimal 
)
inline

Definition at line 175 of file ExtractStyle.java.

References context, e, org.qtproject.qt.android.ExtractStyle.extractImageViewInformation(), org.qtproject.qt.android.ExtractStyle.extractTextAppearanceInformation(), Log, and org.qtproject.qt.android.QtNative.QtTAG.

+ Here is the call graph for this function:

Member Function Documentation

◆ extractImageViewInformation()

JSONObject org.qtproject.qt.android.ExtractStyle.extractImageViewInformation ( int  styleName,
String  qtClassName 
)
inline

Definition at line 1347 of file ExtractStyle.java.

References e, org.qtproject.qt.android.ExtractStyle.extractViewInformation(), org.qtproject.qt.android.ExtractStyle.getDrawable(), and Integer.

Referenced by org.qtproject.qt.android.ExtractStyle.ExtractStyle().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ extractTextAppearance() [1/2]

JSONObject org.qtproject.qt.android.ExtractStyle.extractTextAppearance ( int  styleName)
inline

Definition at line 1049 of file ExtractStyle.java.

References org.qtproject.qt.android.ExtractStyle.extractTextAppearance().

Referenced by org.qtproject.qt.android.ExtractStyle.extractTextAppearance().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ extractTextAppearance() [2/2]

JSONObject org.qtproject.qt.android.ExtractStyle.extractTextAppearance ( int  styleName,
boolean  subStyle 
)
inline

Definition at line 1055 of file ExtractStyle.java.

References e.

◆ extractTextAppearanceInformation() [1/3]

JSONObject org.qtproject.qt.android.ExtractStyle.extractTextAppearanceInformation ( int  styleName,
String  qtClass 
)
inline

Definition at line 1111 of file ExtractStyle.java.

References org.qtproject.qt.android.ExtractStyle.extractTextAppearanceInformation().

+ Here is the call graph for this function:

◆ extractTextAppearanceInformation() [2/3]

JSONObject org.qtproject.qt.android.ExtractStyle.extractTextAppearanceInformation ( int  styleName,
String  qtClass,
AttributeSet  attributeSet 
)
inline

Definition at line 1107 of file ExtractStyle.java.

References org.qtproject.qt.android.ExtractStyle.extractTextAppearanceInformation().

Referenced by org.qtproject.qt.android.ExtractStyle.ExtractStyle(), org.qtproject.qt.android.ExtractStyle.extractTextAppearanceInformation(), and org.qtproject.qt.android.ExtractStyle.extractTextAppearanceInformation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ extractTextAppearanceInformation() [3/3]

JSONObject org.qtproject.qt.android.ExtractStyle.extractTextAppearanceInformation ( int  styleName,
String  qtClass,
int  textAppearance,
AttributeSet  attributeSet 
)
inline

Definition at line 1115 of file ExtractStyle.java.

References e, org.qtproject.qt.android.ExtractStyle.extractViewInformation(), and org.qtproject.qt.android.ExtractStyle.getDrawable().

+ Here is the call graph for this function:

◆ extractViewInformation() [1/2]

void org.qtproject.qt.android.ExtractStyle.extractViewInformation ( int  styleName,
JSONObject  json,
String  qtClassName 
)
inline

Definition at line 923 of file ExtractStyle.java.

References org.qtproject.qt.android.ExtractStyle.extractViewInformation().

Referenced by org.qtproject.qt.android.ExtractStyle.extractImageViewInformation(), org.qtproject.qt.android.ExtractStyle.extractTextAppearanceInformation(), and org.qtproject.qt.android.ExtractStyle.extractViewInformation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ extractViewInformation() [2/2]

void org.qtproject.qt.android.ExtractStyle.extractViewInformation ( int  styleName,
JSONObject  json,
String  qtClassName,
AttributeSet  attributeSet 
)
inline

Definition at line 927 of file ExtractStyle.java.

References e, and org.qtproject.qt.android.ExtractStyle.getDrawable().

+ Here is the call graph for this function:

◆ getDrawable()

JSONObject org.qtproject.qt.android.ExtractStyle.getDrawable ( Object  drawable,
String  filename,
Rect  padding 
)
inline

Definition at line 742 of file ExtractStyle.java.

References Boolean, d, e, org.qtproject.qt.android.ExtractStyle.getDrawable(), Log, out, and org.qtproject.qt.android.QtNative.QtTAG.

Referenced by org.qtproject.qt.android.ExtractStyle.extractImageViewInformation(), org.qtproject.qt.android.ExtractStyle.extractTextAppearanceInformation(), org.qtproject.qt.android.ExtractStyle.extractViewInformation(), and org.qtproject.qt.android.ExtractStyle.getDrawable().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ runIfNeeded()

static void org.qtproject.qt.android.ExtractStyle.runIfNeeded ( Context  context,
boolean  extractDarkMode 
)
inlinestatic

Definition at line 161 of file ExtractStyle.java.

References context.

Referenced by org.qtproject.qt.android.QtActivityDelegate.loadApplication().

+ Here is the caller graph for this function:

◆ setup()

static void org.qtproject.qt.android.ExtractStyle.setup ( Bundle  loaderParams)
inlinestatic

Definition at line 147 of file ExtractStyle.java.

Referenced by org.qtproject.qt.android.QtActivityDelegate.loadApplication().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: