MCPcopy Index your code
hub / github.com/IntruderShanky/Blaze

github.com/IntruderShanky/Blaze @2.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.1.0 ↗ · + Follow
40 symbols 83 edges 8 files 14 documented · 35%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Blaze

Provide view for Moving Image and Zooming Image. Easy to create continuosly moving background.

Android Arsenal Apache License API Download

View Available

Zoom View

gif


Motion View

gif

#Download ###Download via JitPack #####Step 1. Add it in your root build.gradle at the end of repositories: groovy allprojects { repositories { ... maven { url "https://jitpack.io" } } }

Step 2. Add the dependency
        compile 'com.github.IntruderShanky:Blaze:2.1.0'

OR

Download via Gradle

compile 'com.intrusoft.library:blaze:2.1.0'

Implementation

Motion View

XML Implementation:

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:blaze="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/activity_main"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context="com.intrusoft.blaze.app.MainActivity">

    <com.intrusoft.blaze.MotionView
        android:id="@+id/motion_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        blaze:src="https://github.com/IntruderShanky/Blaze/raw/2.1.0/@drawable/your_image"
        blaze:translation_factor="3" />
</FrameLayout>
blaze:translation_factor 

Java Implementation:

MotionView motionView = (MotionView) findViewById(R.id.motion_view);

// to set image from resources        
motionView.setImageResource(R.drawable.your_image);

// to set bitmap
motionView.setImageBitmap(yourBitmap);

// to set the animation speed
motionView.setTranslationFactor(4);    

Zoom View

XML Implementation:

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:blaze="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/activity_main"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context="com.intrusoft.blaze.app.MainActivity">

    <com.intrusoft.blaze.ZoomView
        android:id="@+id/zoom_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        blaze:src="https://github.com/IntruderShanky/Blaze/raw/2.1.0/@drawable/place_holder"
        blaze:translation_factor="0.4" />
</FrameLayout>
blaze:translation_factor 

Java Implementation:

ZoomView zoomView = (MotionView) findViewById(R.id.motion_view);

// to set image from resources
zoomView.setImageResource(R.drawable.your_image);

// to set bitmap
zoomView.setImageBitmap(yourBitmap);

// to set the animation speed
zoomView.setTranslationFactor(0.4f);

Licence

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 31
Class 8
Interface 1

Languages

Java100%

Modules by API surface

blaze/src/main/java/com/intrusoft/blaze/ZoomView.java11 symbols
blaze/src/main/java/com/intrusoft/blaze/MotionView.java11 symbols
blaze/src/main/java/com/intrusoft/blaze/BitmapResolver.java8 symbols
blaze/src/test/java/com/intrusoft/blaze/ExampleUnitTest.java2 symbols
blaze/src/androidTest/java/com/intrusoft/blaze/ExampleInstrumentedTest.java2 symbols
app/src/test/java/com/intrusoft/blaze/app/ExampleUnitTest.java2 symbols
app/src/main/java/com/intrusoft/blaze/app/MainActivity.java2 symbols
app/src/androidTest/java/com/intrusoft/blaze/app/ExampleInstrumentedTest.java2 symbols

For agents

$ claude mcp add Blaze \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page