-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from Manabu-GT/develop
Develop
- Loading branch information
Showing
31 changed files
with
509 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
debugoverlay-no-op/src/main/java/com/ms_square/debugoverlay/modules/CpuFreq.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.ms_square.debugoverlay.modules; | ||
|
||
public class CpuFreq { | ||
|
||
public CpuFreq(String cpuName, double minFreq, double curFreq, double maxFreq) { | ||
} | ||
|
||
public String getCpuName() { | ||
return null; | ||
} | ||
|
||
public double getMinFreq() { | ||
return 0f; | ||
} | ||
|
||
public double getCurFreq() { | ||
return 0f; | ||
} | ||
|
||
public double getMaxFreq() { | ||
return 0f; | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
debugoverlay-no-op/src/main/java/com/ms_square/debugoverlay/modules/CpuFreqModule.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package com.ms_square.debugoverlay.modules; | ||
|
||
import com.ms_square.debugoverlay.OverlayModule; | ||
import com.ms_square.debugoverlay.ViewModule; | ||
|
||
import java.util.List; | ||
|
||
public class CpuFreqModule extends OverlayModule<List<CpuFreq>> { | ||
|
||
public static final int DEFAULT_INTERVAL = 2000; // 2000ms | ||
|
||
public CpuFreqModule() { | ||
super(null, null); | ||
} | ||
|
||
public CpuFreqModule(int interval) { | ||
super(null, null); | ||
} | ||
|
||
public CpuFreqModule(int interval, int layoutResId) { | ||
super(null, null); | ||
} | ||
|
||
public CpuFreqModule(ViewModule<List<CpuFreq>> viewModule) { | ||
super(null, null); | ||
} | ||
|
||
public CpuFreqModule(int interval, ViewModule<List<CpuFreq>> viewModule) { | ||
super(null, null); | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
debugoverlay-no-op/src/main/java/com/ms_square/debugoverlay/modules/CpuFreqViewModule.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.ms_square.debugoverlay.modules; | ||
|
||
import android.view.View; | ||
import android.view.ViewGroup; | ||
|
||
import java.util.List; | ||
|
||
public class CpuFreqViewModule extends BaseViewModule<List<CpuFreq>> { | ||
|
||
public CpuFreqViewModule() { | ||
super(0); | ||
} | ||
|
||
public CpuFreqViewModule(int layoutResId) { | ||
super(layoutResId); | ||
} | ||
|
||
@Override | ||
public void onDataAvailable(List<CpuFreq> cpuFreqList) { | ||
} | ||
|
||
@Override | ||
public View createView(ViewGroup root, int textColor, float textSize, float textAlpha) { | ||
return null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.